mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 07:03: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
|