Sha256: d1416355bfce59ce219c96b3ffea3b8f857936257afe6d419aace21811ef89c4

Contents?: true

Size: 326 Bytes

Versions: 9

Compression:

Stored size: 326 Bytes

Contents

class AddOwnerIdToOperation < ActiveRecord::Migration[5.0]
  def change
    add_column :logistics_core_operations, :owner_id, :integer, null: true
    add_index :logistics_core_operations, :owner_id, name: 'operations_on_owner_indx'
    add_foreign_key :logistics_core_operations, :mks_auth_users, column: :owner_id
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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