fix: force lowercase for email on local auth
This commit is contained in:
7
server/db/migrations-sqlite/2.5.128.js
Normal file
7
server/db/migrations-sqlite/2.5.128.js
Normal file
@@ -0,0 +1,7 @@
|
||||
exports.up = async knex => {
|
||||
await knex('users').update({
|
||||
email: knex.raw('LOWER(email)')
|
||||
})
|
||||
}
|
||||
|
||||
exports.down = knex => { }
|
Reference in New Issue
Block a user