Sha256: d0b487d65d094cf54f32dbe5303d2e7ed0371582157749717e0f72c69aa03825
Contents?: true
Size: 584 Bytes
Versions: 9
Compression:
Stored size: 584 Bytes
Contents
class CreateLogisticsCoreKilogramMinimumRates < ActiveRecord::Migration[5.1] def change create_table :logistics_core_kilogram_minimum_rates do |t| t.integer :chargeable_service_unit_of_charge_id t.integer :transaction_type_id t.float :minimum_price t.timestamps end add_foreign_key :logistics_core_kilogram_minimum_rates, :logistics_core_chargeable_service_unit_of_charges, column: :chargeable_service_unit_of_charge_id add_foreign_key :logistics_core_kilogram_minimum_rates, :logistics_core_lookups, column: :transaction_type_id end end
Version data entries
9 entries across 9 versions & 1 rubygems