mirror of
https://github.com/discourse/discourse.git
synced 2026-07-29 23:58:12 -05:00
DEV: Apply syntax_tree formatting to db/*
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
|
||||
class AddIndexOnPostActions < ActiveRecord::Migration[4.2]
|
||||
def change
|
||||
add_index :post_actions, [:user_id, :post_action_type_id], where: 'deleted_at IS NULL'
|
||||
add_index :post_actions, %i[user_id post_action_type_id], where: "deleted_at IS NULL"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user