fix linting

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

No files matched your search

+1
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()');