mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-12-18 23:19:04 +01:00
8a07ecd377
* Remove leftover database columns from Devise::Models::Rememberable * Update fix-duplication maintenance script * Improve errors/warnings in the fix-duplicates maintenance script
8 lines
283 B
Ruby
8 lines
283 B
Ruby
class RemoveRememberableFromUsers < ActiveRecord::Migration[6.1]
|
|
def change
|
|
safety_assured do
|
|
remove_column :users, :remember_token, :string, null: true, default: nil
|
|
remove_column :users, :remember_created_at, :datetime, null: true, default: nil
|
|
end
|
|
end
|
|
end
|