Browse Source

附件表uuid增加索引

pull/345/head
xxq250 2 years ago
parent
commit
3a85d1d736
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      db/migrate/202401111014309_add_index_uuid_to_attachments.rb

+ 5
- 0
db/migrate/202401111014309_add_index_uuid_to_attachments.rb View File

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

Loading…
Cancel
Save