mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 19:37:55 +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
|