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