Sha256: 4c919c42e958c4fd8c6915f02e2fbb87454783fb80becd78f37f64e1de8be3f2

Contents?: true

Size: 527 Bytes

Versions: 1

Compression:

Stored size: 527 Bytes

Contents

class CreateEcomCoreCrewContractTransactions < ActiveRecord::Migration[6.0]
  def change
    create_table :ecom_core_crew_contract_transactions do |t|
      t.string :transaction_type, null: false
      t.string :status, null: false, default: 'Pending'
      t.date :effective_date, null: false

      t.references :crew_contract,
                   null: false,
                   index: { name: 'cct_on_cc_indx' },
                   foreign_key: { to_table: :ecom_core_crew_contracts }

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ecom_core-1.3.14 db/migrate/20201013072924_create_ecom_core_crew_contract_transactions.rb