Store all refs in the db
This commit is contained in:
parent
7768e4ad4b
commit
21d97a5bf4
15 changed files with 186 additions and 141 deletions
|
|
@ -29,7 +29,7 @@ pub async fn get(
|
|||
) -> somehow::Result<impl IntoResponse> {
|
||||
let repo = repo.to_thread_local();
|
||||
|
||||
let rows = sqlx::query!("SELECT name, hash FROM tracked_refs")
|
||||
let rows = sqlx::query!("SELECT name, hash FROM refs WHERE tracked")
|
||||
.fetch_all(&db)
|
||||
.await?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue