Fix SQL statement
FossilOrigin-Name: d1ac88698d2cc79cb094aeec5f543a8b34f00c3b7de57b819891baba3bafd669
This commit is contained in:
parent
4a21c55fe8
commit
2fd5a283c5
1 changed files with 2 additions and 1 deletions
|
@ -418,7 +418,7 @@ CREATE TABLE IF NOT EXISTS config (
|
|||
instance_domain TEXT NOT NULL, /* Full URL */
|
||||
instance_description TEXT, /* Full URL */
|
||||
instance_logo INTEGER, /* media */
|
||||
config BLOB,
|
||||
config BLOB
|
||||
)
|
||||
)sql",
|
||||
|
||||
|
@ -435,6 +435,7 @@ CREATE TABLE IF NOT EXISTS config (
|
|||
{
|
||||
if (sqlite3_exec(db, sql, nullptr, nullptr, &err))
|
||||
{
|
||||
Logger::instance().log("Statement: "s + sql, Logger::Level::ERROR);
|
||||
Logger::instance().log(err, Logger::Level::ERROR);
|
||||
throw std::runtime_error(err);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue