about summary refs log tree commit diff
path: root/db/post_migrate/20220118183123_remove_rememberable_from_users.rb
blob: 1e274c6e0bf971256403794608677b0aaf1f0a15 (plain) (blame)
1
2
3
4
5
6
7
8
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