mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 07:43:38 +08:00
12 lines
221 B
Ruby
12 lines
221 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class AddScopeToEmailToken < ActiveRecord::Migration[6.1]
|
||
|
def up
|
||
|
add_column :email_tokens, :scope, :integer
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
drop_column :email_tokens, :scope, :integer
|
||
|
end
|
||
|
end
|