fixed broken migration

This commit is contained in:
Ralf Teusner
2017-11-08 17:06:19 +01:00
parent 08c7154708
commit 2118e610f9

View File

@ -1,5 +1,5 @@
class AddUserToCodeHarborLink < ActiveRecord::Migration
def change
add_reference :code_harbor_links, :user, index: true, foreign_key: true
add_reference :code_harbor_links, :user, polymorphic: true, index: true
end
end