mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 19:13:13 +01:00
11 lines
465 B
Ruby
11 lines
465 B
Ruby
# frozen_string_literal: true
|
|
|
|
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
|