mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
12 lines
291 B
Ruby
12 lines
291 B
Ruby
# 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
|