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