mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +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`
|
"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…
Add table
Add a link
Reference in a new issue