2023-07-12 16:47:08 +09:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2022-01-23 23:46:30 +09:00
|
|
|
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
|