Sha256: 52f00aef90402cc8b6d0d81bd21084d7d13b1a296a7b8791bfb6b46d29f7ce68

Contents?: true

Size: 452 Bytes

Versions: 9

Compression:

Stored size: 452 Bytes

Contents

class CreateLogisticsCoreDemurrageRatePeriods < ActiveRecord::Migration[5.0]
  def change
    create_table :logistics_core_demurrage_rate_periods do |t|
      t.references :carrier_agent, index: { name: 'drp_on_ca_indx' }
      t.integer :from
      t.integer :to
      t.string :rate_period

      t.timestamps
    end

    add_foreign_key :logistics_core_demurrage_rate_periods, :logistics_core_carrier_agents, :column => :carrier_agent_id
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
logistics_core-21.11.2 db/migrate/20170106084427_create_logistics_core_demurrage_rate_periods.rb
logistics_core-21.11.1 db/migrate/20170106084427_create_logistics_core_demurrage_rate_periods.rb
logistics_core-21.08.1 db/migrate/20170106084427_create_logistics_core_demurrage_rate_periods.rb
logistics_core-21.03.1 db/migrate/20170106084427_create_logistics_core_demurrage_rate_periods.rb
logistics_core-20.10.3 db/migrate/20170106084427_create_logistics_core_demurrage_rate_periods.rb
logistics_core-20.10.2 db/migrate/20170106084427_create_logistics_core_demurrage_rate_periods.rb
logistics_core-20.10.1 db/migrate/20170106084427_create_logistics_core_demurrage_rate_periods.rb
logistics_core-20.9.1 db/migrate/20170106084427_create_logistics_core_demurrage_rate_periods.rb
logistics_core-20.8.1 db/migrate/20170106084427_create_logistics_core_demurrage_rate_periods.rb