forked from alemi/upub
fix!: oops add index on notifications activity
This commit is contained in:
parent
f3f176406e
commit
2a719f14fb
1 changed files with 4 additions and 0 deletions
|
@ -55,6 +55,10 @@ impl MigrationTrait for Migration {
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
|
manager
|
||||||
|
.create_index(Index::create().name("index-notifications-activity").table(Notifications::Table).col(Notifications::Activity).to_owned())
|
||||||
|
.await?;
|
||||||
|
|
||||||
manager
|
manager
|
||||||
.create_index(
|
.create_index(
|
||||||
Index::create()
|
Index::create()
|
||||||
|
|
Loading…
Reference in a new issue