fix: dont create fulltext index

broken on postgres? will add it later with a migration
This commit is contained in:
əlemi 2024-06-07 06:37:41 +02:00
parent 03314b1615
commit 8805622a3b
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -249,10 +249,6 @@ impl MigrationTrait for Migration {
.create_index(Index::create().name("index-objects-in-reply-to").table(Objects::Table).col(Objects::InReplyTo).to_owned()) .create_index(Index::create().name("index-objects-in-reply-to").table(Objects::Table).col(Objects::InReplyTo).to_owned())
.await?; .await?;
manager
.create_index(Index::create().name("index-objects-content-text").table(Objects::Table).col(Objects::Content).full_text().to_owned())
.await?;
manager manager
.create_index(Index::create().name("index-objects-context").table(Objects::Table).col(Objects::Context).to_owned()) .create_index(Index::create().name("index-objects-context").table(Objects::Table).col(Objects::Context).to_owned())
.await?; .await?;