mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
7 lines
273 B
Ruby
7 lines
273 B
Ruby
![]() |
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
|