Add notifications for statuses deleted by moderators (#17204)

This commit is contained in:
Eugen Rochko
2022-01-17 09:41:33 +01:00
committed by GitHub
parent d5c9feb7b7
commit 14f436c457
59 changed files with 1220 additions and 598 deletions

View File

@@ -0,0 +1,7 @@
class AddDeletedAtIndexOnStatuses < ActiveRecord::Migration[6.1]
disable_ddl_transaction!
def change
add_index :statuses, :deleted_at, where: 'deleted_at IS NOT NULL', algorithm: :concurrently
end
end