The proposition_accepting columns did not have a FK constraint
This commit is contained in:
parent
6c9bdf0cec
commit
b2dd7bc0a8
|
@ -1,5 +1,5 @@
|
||||||
class RemovePropositionAcceptingFieldsFromPropositions < ActiveRecord::Migration
|
class RemovePropositionAcceptingFieldsFromPropositions < ActiveRecord::Migration
|
||||||
def change
|
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
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue