Sha256: b87b95d6023b9ac182fada9561a98d939fd4ba763326cbc7c642019e1fe72095

Contents?: true

Size: 500 Bytes

Versions: 9

Compression:

Stored size: 500 Bytes

Contents

class CreateLogisticsCoreContractKilogramRates < ActiveRecord::Migration[5.0]
  def change
    create_table :logistics_core_contract_kilogram_rates do |t|
      t.references :client_contract, index: { name: 'ckr_on_cc_indx' }
      t.float :from
      t.boolean :in_contract
      t.float :margin
      t.float :rate
      t.float :to

      t.timestamps
    end

    add_foreign_key :logistics_core_contract_kilogram_rates, :logistics_core_client_contracts, :column => :client_contract_id
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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