use local timestamp for log

This commit is contained in:
2023-07-31 09:10:26 +02:00
parent fa75cf3169
commit b2e84d727c
2 changed files with 6 additions and 3 deletions

View File

@ -62,7 +62,7 @@ CREATE TABLE IF NOT EXISTS "user_trip" (
CREATE TABLE IF NOT EXISTS "log" (
"id" integer NOT NULL PRIMARY KEY AUTOINCREMENT,
"msg" text NOT NULL,
"created_at" text NOT NULL DEFAULT CURRENT_TIMESTAMP
"created_at" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE IF NOT EXISTS "location" (