mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
use sql
This commit is contained in:
parent
7a04fb8920
commit
c477c70c56
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue