mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-09-10 20:27:12 +00:00
9 lines
289 B
Ruby
9 lines
289 B
Ruby
class ChangeAccountsNonnullableInAccountModerationNotes < ActiveRecord::Migration[5.2]
|
|
def change
|
|
safety_assured do
|
|
change_column_null :account_moderation_notes, :account_id, false
|
|
change_column_null :account_moderation_notes, :target_account_id, false
|
|
end
|
|
end
|
|
end
|