1
0
Fork 0
forked from gitea/nas

Fix: #540 emoji_reactionsテーブルのuriカラムへのインデックス設定時、重複を削除する処理 (#543)

This commit is contained in:
KMY(雪あすか) 2024-02-14 09:58:45 +09:00 committed by GitHub
parent eb9d8a8679
commit f8b32facb4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 28 additions and 9 deletions

View file

@ -1,9 +0,0 @@
# frozen_string_literal: true
class FixUriIndexToEmojiReactions < ActiveRecord::Migration[7.1]
disable_ddl_transaction!
def change
add_index :emoji_reactions, :uri, unique: true, algorithm: :concurrently
end
end