mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
Merge pull request #2538 from techAPJ/patch-1
FEATURE: disposable invite tokens
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class RemoveNotNullFromEmail < ActiveRecord::Migration
|
||||
def up
|
||||
execute "ALTER TABLE invites ALTER COLUMN email DROP NOT NULL"
|
||||
end
|
||||
|
||||
def down
|
||||
execute "ALTER TABLE invites ALTER COLUMN email SET NOT NULL"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user