docs(search): note why reindex test references db crate migrations

This commit is contained in:
2026-06-02 12:12:12 +02:00
parent 7b91989411
commit 4bafac397a
+2
View File
@@ -16,6 +16,8 @@ fn unique_index() -> String {
format!("reindex_test_{}", uuid::Uuid::new_v4().simple()) format!("reindex_test_{}", uuid::Uuid::new_v4().simple())
} }
// Path is relative to this crate's root; the schema lives in the `db` crate.
// If the workspace layout changes, update this path.
#[sqlx::test(migrations = "../db/migrations")] #[sqlx::test(migrations = "../db/migrations")]
async fn reindex_resolves_term_labels_and_finds_by_label(pool: PgPool) { async fn reindex_resolves_term_labels_and_finds_by_label(pool: PgPool) {
let db = Db::from_pool(pool); let db = Db::from_pool(pool);