mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 18:13:42 +01:00
Reset model in migration after removing column (#24250)
This commit is contained in:
parent
0663803348
commit
3557a65bb2
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ class RemoveSuspendedSilencedAccountFields < ActiveRecord::Migration[5.2]
|
|||
remove_column :accounts, :suspended, :boolean, null: false, default: false
|
||||
remove_column :accounts, :silenced, :boolean, null: false, default: false
|
||||
end
|
||||
Account.reset_column_information
|
||||
end
|
||||
|
||||
def down
|
||||
|
|
Loading…
Reference in a new issue