Sha256: 25137d24ce4f6ad3442dbc74450296c47879b24f5c5a073dad4e026929bd2b06

Contents?: true

Size: 585 Bytes

Versions: 1

Compression:

Stored size: 585 Bytes

Contents

class CreateUnidomPickLists < ActiveRecord::Migration

  def change

    create_table :unidom_pick_lists, id: :uuid do |t|

      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

1 entries across 1 versions & 1 rubygems

Version Path
unidom-inventory-2.0 db/migrate/20020921000000_create_unidom_pick_lists.rb