mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-05 22:45:37 +00:00
11 lines
314 B
Ruby
11 lines
314 B
Ruby
# frozen_string_literal: true
|
|
|
|
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
|