mirror of
https://github.com/lazuscripts/users.git
synced 2024-11-17 03:14:22 +00:00
fix #16 not null email requirement removed
This commit is contained in:
parent
1269ef3210
commit
cd988166b2
@ -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.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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user