mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-04 15:24:23 +01:00
7 lines
203 B
Ruby
7 lines
203 B
Ruby
|
class AddOperatorToInvoice < ActiveRecord::Migration
|
||
|
def change
|
||
|
add_column :invoices, :operator_id, :integer
|
||
|
add_foreign_key :invoices, :users, column: :operator_id, primary_key: :id
|
||
|
end
|
||
|
end
|