mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
fix unixtime detection for default record time
This commit is contained in:
parent
491bec19af
commit
f70d159ca7
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue