Collapse indeces per Jeremy.

上级 5963766d
......@@ -21,9 +21,7 @@ def change
t.datetime :created_at
t.index :blob_id
t.index [ :record_type, :record_id ]
t.index [ :record_type, :record_id, :name ], name: "index_active_storage_attachments_record_and_name"
t.index [ :record_type, :record_id, :blob_id ], name: "index_active_storage_attachments_uniqueness", unique: true
t.index [ :record_type, :record_id, :name, :blob_id ], name: "index_active_storage_attachments_uniqueness", unique: true
end
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册