Sha256: 4886af4b0a560e762aad7eca43de31b264cb8fea8301a4e97a2d27f499302050
Contents?: true
Size: 565 Bytes
Versions: 9
Compression:
Stored size: 565 Bytes
Contents
class CreateLogisticsCoreEslTransportTariffs < ActiveRecord::Migration[5.0] def change create_table :logistics_core_esl_transport_tariffs do |t| t.references :route, index: {name: 'route_on_transport_tariffs_indx'}, null: false t.string :storage_point, null: false t.timestamps end add_index :logistics_core_esl_transport_tariffs, [:route_id, :storage_point], :unique => true, :name => 'route_storage_point_uniq_indx' add_foreign_key :logistics_core_esl_transport_tariffs, :logistics_core_routes, :column => :route_id end end
Version data entries
9 entries across 9 versions & 1 rubygems