20220118183123_remove_rememberable_from_users.rb 314 B

12345678910
  1. # frozen_string_literal: true
  2. class RemoveRememberableFromUsers < ActiveRecord::Migration[6.1]
  3. def change
  4. safety_assured do
  5. remove_column :users, :remember_token, :string, null: true, default: nil
  6. remove_column :users, :remember_created_at, :datetime, null: true, default: nil
  7. end
  8. end
  9. end