The proposition_accepting columns did not have a FK constraint

This commit is contained in:
Petko Bordjukov 2015-08-15 04:36:40 +03:00
parent 6c9bdf0cec
commit b2dd7bc0a8
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
class RemovePropositionAcceptingFieldsFromPropositions < ActiveRecord::Migration
def change
remove_reference :propositions, :proposition_accepting, index: true, foreign_key: true, polymorphic: true
remove_reference :propositions, :proposition_accepting, index: true, polymorphic: true
end
end