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?;
|
||||
|
||||
manager
|
||||
.create_index(Index::create().name("index-notifications-activity").table(Notifications::Table).col(Notifications::Activity).to_owned())
|
||||
.await?;
|
||||
|
||||
manager
|
||||
.create_index(
|
||||
Index::create()
|
||||
|
|
Loading…
Reference in a new issue