This commit is contained in:
yggverse 2024-08-11 14:41:56 +03:00
parent 7a04fb8920
commit c477c70c56

View File

@ -7,14 +7,14 @@ Session::Session(
) { ) {
status = sqlite3_exec( status = sqlite3_exec(
connection, connection,
R"( R"SQL(
CREATE TABLE IF NOT EXISTS `session` CREATE TABLE IF NOT EXISTS `session`
( (
`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
`time` INTEGER NOT NULL, `time` INTEGER NOT NULL,
`request` VARCHAR(1024) `request` VARCHAR(1024)
) )
)", )SQL",
nullptr, nullptr,
nullptr, nullptr,
&error &error