Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Oct 31, 2023
1 parent 2657070 commit cc4b5a9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/app/state/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ impl Db {
// Initial schema
sqlx::query(
"CREATE TABLE IF NOT EXISTS flake (
url TEXT NOT NULL,
metadata JSON,
last_accessed TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
last_fetched TIMESTAMP
);",
url TEXT NOT NULL,
metadata JSON,
last_accessed TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
last_fetched TIMESTAMP
);",
)
.execute(&pool)
.await?;
Expand Down

0 comments on commit cc4b5a9

Please sign in to comment.