mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Apply syntax_tree formatting to db/*
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
|
||||
class AddUnreadNotificationsIndex < ActiveRecord::Migration[4.2]
|
||||
def change
|
||||
add_index :notifications, [:user_id, :notification_type], where: 'not read', name: 'idx_notifications_speedup_unread_count'
|
||||
add_index :notifications,
|
||||
%i[user_id notification_type],
|
||||
where: "not read",
|
||||
name: "idx_notifications_speedup_unread_count"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user