Folllow up for issue #1977 - recent_views fk already exists (no test needed).

This commit is contained in:
Martin Edenhofer 2018-05-08 16:19:34 +02:00
parent 6e899948c1
commit 7ed98af7ee

View file

@ -70,12 +70,4 @@ RSpec.describe Issue1977RemoveInvalidUserForeignKeys, type: :db_migration do
end end
end end
context 'no recent_views foreign key' do
self.use_transactional_tests = false
it 'adds RecentView#created_by_id foreign key' do
adds_foreign_key(:recent_views, column: :created_by_id)
end
end
end end