fix #16 not null email requirement removed

This commit is contained in:
Paul Liverman III 2018-05-11 14:17:02 -07:00
parent 1269ef3210
commit cd988166b2

View File

@ -62,5 +62,6 @@ import create_table, types, add_column, rename_column, create_index, drop_index
-- settings["users.recaptcha-secret"] = nil -- provided by admin panel -- settings["users.recaptcha-secret"] = nil -- provided by admin panel
settings.save! settings.save!
-- NOTE may need to run a migration to allow null emails ? [1526102192]: =>
db.query "ALTER TABLE users ALTER COLUMN email DROP NOT NULL" -- allow NULL emails
} }