mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Add S3 etag value to uploads table (#6795)
This commit is contained in:
committed by
Guo Xiang Tan
parent
3a04e04ccb
commit
75dbb98cca
9
db/migrate/20181218071253_add_etag_to_uploads.rb
Normal file
9
db/migrate/20181218071253_add_etag_to_uploads.rb
Normal 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
|
||||
Reference in New Issue
Block a user