DEV: Apply syntax_tree formatting to db/*

This commit is contained in:
David Taylor
2023-01-09 11:59:41 +00:00
parent cb932d6ee1
commit b0fda61a8e
467 changed files with 1682 additions and 1624 deletions

View File

@@ -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