2023-07-12 07:47:08 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2020-06-09 08:23:06 +00:00
|
|
|
class AddSignInTokenToUsers < ActiveRecord::Migration[5.2]
|
|
|
|
def change
|
2023-11-06 16:15:48 +00: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 08:23:06 +00:00
|
|
|
end
|
|
|
|
end
|