From dcbbe1554696fab6b991143510904b2c36ae84a9 Mon Sep 17 00:00:00 2001 From: alemi Date: Sun, 11 Aug 2024 18:40:22 +0200 Subject: [PATCH] docs: add comment for postgres fulltext --- upub/migrations/src/m20240811_000001_add_full_text_index.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upub/migrations/src/m20240811_000001_add_full_text_index.rs b/upub/migrations/src/m20240811_000001_add_full_text_index.rs index 30a1ec4..ec6e5b2 100644 --- a/upub/migrations/src/m20240811_000001_add_full_text_index.rs +++ b/upub/migrations/src/m20240811_000001_add_full_text_index.rs @@ -14,7 +14,7 @@ impl MigrationTrait for Migration { .name("index-objects-content") .table(Objects::Table) .col(Objects::Audience) - .full_text() + .full_text() // on postgres this may fail, run `CREATE EXTENSION btree_gin;` to fix .to_owned() ) .await?;