discourse/db/migrate/20210409142455_add_token_to_invites.rb
Dan Ungureanu 528cfea079
FEATURE: Auto-activate users invited by email (#12675)
When invited by email, users will receive an invite URL which contains
a token. If that token is present when the invite is redeemed, their
account will be automatically activated.
2021-04-14 12:15:56 +03:00

8 lines
156 B
Ruby

# frozen_string_literal: true
class AddTokenToInvites < ActiveRecord::Migration[6.0]
def change
add_column :invites, :email_token, :string
end
end