Don't use ForeignKey for User.last_read_notification

https://gitlab.com/soapbox-pub/soapbox/commit/dc7bc17267d68f6e9d15830390d41dc07047489a
This commit is contained in:
mgabdev
2020-01-16 18:25:25 -05:00
parent 7fb0b462e2
commit f7037644f0
2 changed files with 6 additions and 2 deletions
@@ -0,0 +1,5 @@
class RemoveForeignKeyConstraintToUserLastReadNotification < ActiveRecord::Migration[5.2]
def change
remove_foreign_key :users, column: :last_read_notification
end
end