1
0
Fork 0
forked from alemi/upub

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?; .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()