Sha256: a74fb3d5b9388feefe18b81341bd681e2acaff4903a025bfc35c0dd0a6a7f435
Contents?: true
Size: 731 Bytes
Versions: 2
Compression:
Stored size: 731 Bytes
Contents
class CreateUnidomCode128Barcodes < ActiveRecord::Migration def change create_table :unidom_code_128_barcodes, id: :uuid do |t| t.column :code, 'char(20)', null: false, default: '0'*20 t.column :code_set_code, 'char(1)', null: false, default: 'A' 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_code_128_barcodes, :code, unique: true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
unidom-article_number-0.2 | db/migrate/20020111000000_create_unidom_code_128_barcodes.rb |
unidom-article_number-0.1 | db/migrate/20020111000000_create_unidom_code_128_barcodes.rb |