Sha256: d79e0a7b9ff14efc41884b12a7f5741c75ce0a6cfb3ce236d5c03d8343576e5e
Contents?: true
Size: 777 Bytes
Versions: 6
Compression:
Stored size: 777 Bytes
Contents
class CreateUnidomLots < ActiveRecord::Migration def change create_table :unidom_lots, id: :uuid do |t| t.string :identification_number, null: false, default: '', limit: 200 t.decimal :quantity, null: false, default: 0.0, precision: 12, scale: 2 t.text :description t.text :instruction t.column :state, 'char(1)', null: false, default: 'C' t.datetime :opened_at, null: false, default: ::Time.utc(1970) t.datetime :closed_at, null: false, default: ::Time.utc(3000) t.boolean :defunct, null: false, default: false t.jsonb :notation, null: false, default: {} t.timestamps null: false end add_index :unidom_lots, :identification_number end end
Version data entries
6 entries across 6 versions & 1 rubygems