diff --git a/upub/migrations/src/m20240626_000001_add_notifications_table.rs b/upub/migrations/src/m20240626_000001_add_notifications_table.rs index 30e2d18..5a1f21f 100644 --- a/upub/migrations/src/m20240626_000001_add_notifications_table.rs +++ b/upub/migrations/src/m20240626_000001_add_notifications_table.rs @@ -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()