2023-07-12 09:47:08 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2020-06-09 10:23:06 +02:00
|
|
|
class AddSignInTokenToUsers < ActiveRecord::Migration[5.2]
|
|
|
|
def change
|
2023-11-06 17:15:48 +01:00
|
|
|
safety_assured do
|
|
|
|
change_table(:users, bulk: true) do |t|
|
|
|
|
t.column :sign_in_token, :string
|
|
|
|
t.column :sign_in_token_sent_at, :datetime
|
|
|
|
end
|
|
|
|
end
|
2020-06-09 10:23:06 +02:00
|
|
|
end
|
|
|
|
end
|