Sha256: 31b856d0afbdd648ad581973fc387c7a2414e7bf634bb60f8bfa63cfc661ce3c
Contents?: true
Size: 723 Bytes
Versions: 9
Compression:
Stored size: 723 Bytes
Contents
class CreateLogisticsCoreEslTransportTariffRates < ActiveRecord::Migration[5.0] def change create_table :logistics_core_esl_transport_tariff_rates do |t| t.references :esl_transport_tariff, index: {name: 'tariff_rate_on_transport_tariff_indx'}, null: false t.float :qt_from, null: false t.float :qt_to, null: false t.float :rate, null: false t.timestamps end add_index :logistics_core_esl_transport_tariff_rates, [:esl_transport_tariff_id, :qt_from, :qt_to], :unique => true, :name => 'transport_from_to_uniq_indx' add_foreign_key :logistics_core_esl_transport_tariff_rates, :logistics_core_esl_transport_tariffs, :column => :esl_transport_tariff_id end end
Version data entries
9 entries across 9 versions & 1 rubygems