FEATURE: Add S3 etag value to uploads table (#6795)

This commit is contained in:
Vinoth Kannan
2019-01-04 11:46:22 +05:30
committed by Guo Xiang Tan
parent 3a04e04ccb
commit 75dbb98cca
8 changed files with 88 additions and 14 deletions

View File

@@ -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