mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-13 06:01:21 +00:00
fix unixtime detection for default record time
This commit is contained in:
parent
491bec19af
commit
f70d159ca7
@ -16,7 +16,7 @@ impl Database {
|
|||||||
"CREATE TABLE IF NOT EXISTS `app`
|
"CREATE TABLE IF NOT EXISTS `app`
|
||||||
(
|
(
|
||||||
`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
|
`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
|
||||||
`time` INTEGER NOT NULL DEFAULT CURRENT_TIMESTAMP
|
`time` INTEGER NOT NULL DEFAULT (UNIXEPOCH('NOW'))
|
||||||
)",
|
)",
|
||||||
[],
|
[],
|
||||||
)?;
|
)?;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user