2023-07-12 10:47:08 +03:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2020-04-27 00:29:08 +03:00
|
|
|
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
|