Don't use ForeignKey for User.last_read_notification
https://gitlab.com/soapbox-pub/soapbox/commit/dc7bc17267d68f6e9d15830390d41dc07047489a
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
class RemoveForeignKeyConstraintToUserLastReadNotification < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
remove_foreign_key :users, column: :last_read_notification
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user