Sha256: d6bca4a778a3469f6eb8c9954162ab9bb4f210e2d83dadf1c6fb19f6b70d6755
Contents?: true
Size: 770 Bytes
Versions: 1
Compression:
Stored size: 770 Bytes
Contents
class CreateUnidomShops < ActiveRecord::Migration def change create_table :unidom_shops, id: :uuid do |t| t.string :name, null: false, default: '', limit: 200 t.text :description t.string :slug, null: false, default: nil, limit: 200 t.column :state, 'char(1)', null: false, default: 'C' t.datetime :opened_at, null: false, default: Unidom::Common::OPENED_AT t.datetime :closed_at, null: false, default: Unidom::Common::CLOSED_AT t.boolean :defunct, null: false, default: false t.jsonb :notation, null: false, default: {} t.timestamps null: false end add_index :unidom_shops, :name add_index :unidom_shops, :slug, unique: true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unidom-party-1.9.8 | db/migrate/20010103000000_create_unidom_shops.rb |