Skip to content

Commit

Permalink
Fixes invalid foreign key add
Browse files Browse the repository at this point in the history
  • Loading branch information
Brice TEXIER committed May 15, 2017
1 parent 1b0a428 commit 6a5fae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migrate/20170421131536_add_payslips.rb
Expand Up @@ -85,7 +85,7 @@ def change
end
end
add_foreign_key :outgoing_payments, :outgoing_payment_modes, column: :mode_id, on_delete: :restrict
add_foreign_key :outgoing_payments, :outgoing_payment_modes, column: :list_id
add_foreign_key :outgoing_payments, :outgoing_payment_lists, column: :list_id
add_foreign_key :outgoing_payments, :entities, column: :payee_id, on_delete: :restrict
add_foreign_key :outgoing_payments, :journal_entries, column: :journal_entry_id

Expand Down

0 comments on commit 6a5fae4

Please sign in to comment.