mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 08:19:05 +00:00
Adding notifications column
This commit is contained in:
@@ -9,5 +9,6 @@ class CreateNotifications < ActiveRecord::Migration[5.0]
|
||||
end
|
||||
|
||||
add_index :notifications, :account_id
|
||||
add_index :notifications, [:account_id, :activity_id, :activity_type], unique: true, name: 'account_activity'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user