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