Merge pull request #2538 from techAPJ/patch-1

FEATURE: disposable invite tokens
This commit is contained in:
Robin Ward
2014-07-14 12:13:44 -04:00
9 changed files with 188 additions and 16 deletions
@@ -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