about summary refs log blame commit diff
path: root/db/migrate/20200417125749_add_storage_schema_version.rb
blob: 7438f97bae8833d8d5d331b6592f3bfd2fd21a4b (plain) (tree)
1
2
3
4
5
6
7
8
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