Sha256: 0baacad0c1d0f6f4b83b2648e00837d9826287b028e9f2b3de9ff1426f91718d

Contents?: true

Size: 217 Bytes

Versions: 44

Compression:

Stored size: 217 Bytes

Contents

Sequel.migration do
    up do
        create_table(:groups) do
            primary_key :id
            String  :name, null: false, unique: true
        end
    end

    down do
        drop_table(:groups)
    end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
perus-0.1.3 lib/perus/server/migrations/004_create_groups.rb
perus-0.1.2 lib/perus/server/migrations/004_create_groups.rb
perus-0.1.1 lib/perus/server/migrations/004_create_groups.rb
perus-0.1.0 lib/perus/server/migrations/004_create_groups.rb