Sha256: 09735c5bc9e3ea7439746fc33e30523a55749916bf8da259d17aa7606e274821

Contents?: true

Size: 485 Bytes

Versions: 14

Compression:

Stored size: 485 Bytes

Contents

Sequel.migration do
    up do
        create_table(:systems) do
            primary_key :id
            String  :name, null: false, unique: true
            String  :logical_name
            String  :orientation
            Integer :group_id
            Integer :config_id
            String  :links, text: true
            String  :ip
            String  :metrics, text: true
            Integer :last_updated
        end
    end

    down do
        drop_table(:systems)
    end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
perus-0.1.13 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.12 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.11 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.10 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.9 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.8 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.7 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.6 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.5 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.4 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.3 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.2 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.1 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.0 lib/perus/server/migrations/001_create_systems.rb