docs: add comment for postgres fulltext

This commit is contained in:
əlemi 2024-08-11 18:40:22 +02:00
parent 5a19344e02
commit dcbbe15546
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -14,7 +14,7 @@ impl MigrationTrait for Migration {
.name("index-objects-content") .name("index-objects-content")
.table(Objects::Table) .table(Objects::Table)
.col(Objects::Audience) .col(Objects::Audience)
.full_text() .full_text() // on postgres this may fail, run `CREATE EXTENSION btree_gin;` to fix
.to_owned() .to_owned()
) )
.await?; .await?;