mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-09-10 20:27:12 +00:00
9 lines
304 B
Ruby
9 lines
304 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddReportIdToAccountWarnings < ActiveRecord::Migration[6.1]
|
|
def change
|
|
safety_assured { add_reference :account_warnings, :report, foreign_key: { on_delete: :cascade }, index: false }
|
|
add_column :account_warnings, :status_ids, :string, array: true
|
|
end
|
|
end
|