mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-02-10 18:34:14 +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`
|
||||
(
|
||||
`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