mirror of
https://github.com/discourse/discourse.git
synced 2024-12-11 18:23:41 +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
|