mirror of
https://github.com/discourse/discourse.git
synced 2024-12-30 08:43:53 +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
|