forked from alemi/upub
fix: dont create fulltext index
broken on postgres? will add it later with a migration
This commit is contained in:
parent
03314b1615
commit
8805622a3b
1 changed files with 0 additions and 4 deletions
|
@ -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?;
|
||||||
|
|
Loading…
Reference in a new issue