15 lines
345 B
Ruby
15 lines
345 B
Ruby
# frozen_string_literal: true
|
|
|
|
require Rails.root.join('lib', 'mastodon', 'migration_helpers')
|
|
|
|
class AddAttributeToStatusReferences < ActiveRecord::Migration[7.0]
|
|
include Mastodon::MigrationHelpers
|
|
|
|
disable_ddl_transaction!
|
|
|
|
def change
|
|
safety_assured do
|
|
add_column :status_references, :attribute_type, :string
|
|
end
|
|
end
|
|
end
|