fixed 解决安全问题访问附件,id改为uuid,migrate
This commit is contained in:
parent
d74901cffa
commit
8264717017
|
@ -0,0 +1,5 @@
|
||||||
|
class AddUuidToAttachments < ActiveRecord::Migration[5.2]
|
||||||
|
def change
|
||||||
|
add_column :attachments, :uuid, :string, index: true
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue