Sha256: 4522ac630dd020bea788b74ded989fc373d0914864d55c8f8c9e40ab43fb6961

Contents?: true

Size: 250 Bytes

Versions: 44

Compression:

Stored size: 250 Bytes

Contents

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

    down do
        drop_table(:scripts)
    end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
perus-0.1.3 lib/perus/server/migrations/010_create_scripts.rb
perus-0.1.2 lib/perus/server/migrations/010_create_scripts.rb
perus-0.1.1 lib/perus/server/migrations/010_create_scripts.rb
perus-0.1.0 lib/perus/server/migrations/010_create_scripts.rb