附件表uuid增加索引

This commit is contained in:
xxq250 2024-01-11 14:19:46 +08:00
parent 2c5b9649aa
commit 3a85d1d736
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