Add separate cache directory for non-local uploads (#12821)

This commit is contained in:
Eugen Rochko authored and GitHub committed 2020-04-26 23:29:08 +02:00
1 parent 2744f61696
commit c3ca3801f2
12 files changed
+319 -105

No files matched your search

@@ -0,0 +1,9 @@
class AddStorageSchemaVersion < ActiveRecord::Migration[5.2]
def change
add_column :preview_cards, :image_storage_schema_version, :integer
add_column :accounts, :avatar_storage_schema_version, :integer
add_column :accounts, :header_storage_schema_version, :integer
add_column :media_attachments, :file_storage_schema_version, :integer
add_column :custom_emojis, :image_storage_schema_version, :integer
end
end