Sha256: d66744e294c6d9ab9ff9026517016c82eb05c6ee4281343fe67c8ba8013e69f1

Contents?: true

Size: 424 Bytes

Versions: 9

Compression:

Stored size: 424 Bytes

Contents

class CreateLogisticsCoreIncrementRates < ActiveRecord::Migration[5.0]
  def change
    create_table :logistics_core_increment_rates do |t|
      t.float :percent
      t.date :effective_date
      t.references :service_increment, index: { name: 'ir_on_si_indx'}

      t.timestamps
    end

    add_foreign_key :logistics_core_increment_rates, :logistics_core_service_increments, :column => :service_increment_id
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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