Sha256: ff944eba92d8fe0eec42653f9b5938fb05df12b0d0a0ff9960c84735d93a82dd

Contents?: true

Size: 444 Bytes

Versions: 30

Compression:

Stored size: 444 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
            Integer :last_updated
        end
    end

    down do
        drop_table(:systems)
    end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
perus-1.0.7 lib/perus/server/migrations/001_create_systems.rb
perus-1.0.6 lib/perus/server/migrations/001_create_systems.rb
perus-1.0.5 lib/perus/server/migrations/001_create_systems.rb
perus-1.0.4 lib/perus/server/migrations/001_create_systems.rb
perus-1.0.3 lib/perus/server/migrations/001_create_systems.rb
perus-1.0.2 lib/perus/server/migrations/001_create_systems.rb
perus-1.0.1 lib/perus/server/migrations/001_create_systems.rb
perus-1.0.0 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.35 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.34 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.33 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.32 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.31 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.30 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.29 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.28 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.27 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.26 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.25 lib/perus/server/migrations/001_create_systems.rb
perus-0.1.24 lib/perus/server/migrations/001_create_systems.rb