Skip to content

Commit

Permalink
store time
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Oct 31, 2023
1 parent 3e1c84a commit 2657070
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/state/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ impl Db {
"CREATE TABLE IF NOT EXISTS flake (
url TEXT NOT NULL,
metadata JSON,
last_fetched TEXT
last_accessed TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
last_fetched TIMESTAMP
);",
)
.execute(&pool)
Expand Down

0 comments on commit 2657070

Please sign in to comment.