tangled
alpha
login
or
join now
parakeet.at
/
parakeet
63
fork
atom
Parakeet is a Rust-based Bluesky AppServer aiming to implement most of the functionality required to support the Bluesky client
appview
atproto
bluesky
rust
appserver
63
fork
atom
overview
issues
12
pulls
pipelines
fix!: make the did index on backfill_jobs unique
mia.omg.lol
10 months ago
3d7f9463
332d30d8
+2
-1
2 changed files
expand all
collapse all
unified
split
consumer
src
indexer
db.rs
migrations
2025-02-12-211348_backfill
up.sql
+1
consumer/src/indexer/db.rs
···
73
73
schema::backfill_jobs::did.eq(repo),
74
74
schema::backfill_jobs::status.eq("pending"),
75
75
))
76
76
+
.on_conflict_do_nothing()
76
77
.execute(conn)
77
78
.await
78
79
}
+1
-1
migrations/2025-02-12-211348_backfill/up.sql
···
25
25
updated_at timestamp not null default now()
26
26
);
27
27
28
28
-
create index bfjobs_did on backfill_jobs (did);
28
28
+
create unique index bfjobs_did_uindex on backfill_jobs (did);
29
29
create index bfjobs_status on backfill_jobs (status);