mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-10 21:24:20 +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
|