fix linting

This commit is contained in:
Jamie Curnow
2023-03-17 14:23:12 +10:00
parent fec36834f7
commit fccbde1371
3 changed files with 6 additions and 5 deletions

View File

@ -6,6 +6,7 @@ Model.knex(db);
module.exports = function () {
if (config.database.knex && config.database.knex.client === 'sqlite3') {
// eslint-disable-next-line
return Model.raw("datetime('now','localtime')");
}
return Model.raw('NOW()');