You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
glitchier-soc/db/migrate/20200608113046_add_sign_in_...

13 lines
291 B

# frozen_string_literal: true
class AddSignInTokenToUsers < ActiveRecord::Migration[5.2]
def change
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
end
end