附件表uuid增加索引

This commit is contained in:
xxq250 2024-01-11 14:14:56 +08:00
parent d79213d14f
commit 6756687c07
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
class AddIndexUuidToAttachments < ActiveRecord::Migration[5.2]
def change
add_index :attachments, :uuid
end
end