fix!: oops add index on notifications activity

This commit is contained in:
əlemi 2024-06-26 05:29:42 +02:00
parent f3f176406e
commit 2a719f14fb
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -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()