wikijs-fork/server/db/migrations/2.5.128.js

8 lines
139 B
JavaScript
Raw Permalink Normal View History

exports.up = async knex => {
await knex('users').update({
email: knex.raw('LOWER(??)', ['email'])
})
}
exports.down = knex => { }