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

8 lines
131 B
JavaScript

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