* Add: #581 NGワード検出履歴を定期的に削除する処理 * マイグレーションコードを修正
This commit is contained in:
parent
aec832e257
commit
b2acc7dbb8
6 changed files with 26 additions and 1 deletions
|
@ -0,0 +1,9 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class IndexToSortForNgWordCreatedDate < ActiveRecord::Migration[7.1]
|
||||
disable_ddl_transaction!
|
||||
|
||||
def change
|
||||
add_index :ngword_histories, :created_at, algorithm: :concurrently
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue