Sha256: 3cf8e22c6e069bb123cd55560e3d3faa738facdf60339282132c24e7b94b7081
Contents?: true
Size: 478 Bytes
Versions: 9
Compression:
Stored size: 478 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: 'Valid' t.timestamps end end end
Version data entries
9 entries across 9 versions & 1 rubygems