Sha256: 50fe2644f5a06cc2640c4acd7b94b53dc815c697934c28d574e27fe11b32e165
Contents?: true
Size: 479 Bytes
Versions: 8
Compression:
Stored size: 479 Bytes
Contents
class CreateEcomCoreCrewIdCards < ActiveRecord::Migration[6.0] def change create_table :ecom_core_crew_id_cards do |t| t.references :crew, null: false, index: { name: 'ci_on_crew_indx' }, foreign_key: { to_table: :ecom_core_crews } t.datetime :issued_on, null: false t.datetime :valid_until, null: false t.string :status, null: false, default: 'Active' t.timestamps end end end
Version data entries
8 entries across 8 versions & 1 rubygems