some debug
This commit is contained in:
parent
2e01fe8d67
commit
19d786631a
3 changed files with 14 additions and 10 deletions
|
@ -23,8 +23,8 @@ constexpr const char* createSessionQuery = "INSERT INTO sessions (`owner`, `acce
|
|||
" RETURNING id, owner";
|
||||
constexpr const char* selectSession = "SELECT id, owner, access, renew FROM sessions where access = ?";
|
||||
constexpr const char* selectAssets = "SELECT id, owner, currency, title, icon, archived FROM assets where owner = ?";
|
||||
constexpr const char* insertAsset = "INSERT INTO assets (`owner`, `currency`, `title`, `icon`, `archived`)"
|
||||
" VALUES (?, ?, ?, ?, ?)";
|
||||
constexpr const char* insertAsset = "INSERT INTO assets (`owner`, `currency`, `title`, `icon`, `archived`, `type`)"
|
||||
" VALUES (?, ?, ?, ?, ?, 1)";
|
||||
|
||||
static const std::filesystem::path buildSQLPath = "database";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue