Sha256: 10c4d8be3e2bcbaaa57706805d488a8b032809ae52777628d20cb66bfd751c5f
Contents?: true
Size: 712 Bytes
Versions: 2
Compression:
Stored size: 712 Bytes
Contents
class CreateUnidomReasons < ActiveRecord::Migration def change create_table :unidom_reasons, id: :uuid do |t| t.column :activity_code, 'char(4)', null: false, default: 'ZZZZ' t.string :name, null: false, default: '', limit: 200 t.text :description t.text :instruction 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 end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
unidom-action-2.0 | db/migrate/20000501000000_create_unidom_reasons.rb |
unidom-action-1.17.18 | db/migrate/20000501000000_create_unidom_reasons.rb |