mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 20:18:23 -05:00
FEATURE: Add S3 etag value to uploads table (#6795)
This commit is contained in:
committed by
Guo Xiang Tan
parent
3a04e04ccb
commit
75dbb98cca
@@ -0,0 +1,9 @@
|
||||
class AddEtagToUploads < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :uploads, :etag, :string
|
||||
add_index :uploads, [:etag]
|
||||
|
||||
add_column :optimized_images, :etag, :string
|
||||
add_index :optimized_images, [:etag]
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user