mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-29 20:44:25 +00:00
use sql
This commit is contained in:
parent
7a04fb8920
commit
c477c70c56
@ -7,14 +7,14 @@ Session::Session(
|
||||
) {
|
||||
status = sqlite3_exec(
|
||||
connection,
|
||||
R"(
|
||||
R"SQL(
|
||||
CREATE TABLE IF NOT EXISTS `session`
|
||||
(
|
||||
`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
|
||||
`time` INTEGER NOT NULL,
|
||||
`request` VARCHAR(1024)
|
||||
)
|
||||
)",
|
||||
)SQL",
|
||||
nullptr,
|
||||
nullptr,
|
||||
&error
|
||||
|
Loading…
x
Reference in New Issue
Block a user