mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
refactor(dev): use es6-string-html for some of the SQL statements (closes #274)
This commit is contained in:
@@ -21,7 +21,7 @@ import backup from "./backup.js";
|
||||
const dbReady = deferred<void>();
|
||||
|
||||
function schemaExists() {
|
||||
return !!sql.getValue(`SELECT name FROM sqlite_master
|
||||
return !!sql.getValue(/*sql*/`SELECT name FROM sqlite_master
|
||||
WHERE type = 'table' AND name = 'options'`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user