1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-04 17:58:44 +09:00
whippy-edition/db/post_migrate/20220118183123_remove_rememberable_from_users.rb

9 lines
283 B
Ruby
Raw Normal View History

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