Sha256: fdc954183220f30113a7de5392ad04a804ae4a40e2b796e922052dadf1a371c3
Contents?: true
Size: 269 Bytes
Versions: 22
Compression:
Stored size: 269 Bytes
Contents
class CreateLeagues < Sequel::Migration def up create_table(:leagues) do primary_key(:id) DateTime(:created_at) DateTime(:updated_at) String(:name, :limit => 50, :null => false) end end def down drop_table(:leagues) end end
Version data entries
22 entries across 22 versions & 1 rubygems