Skip to content

Commit

Permalink
add refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
niladic committed Jan 15, 2025
1 parent 4e0a2bd commit 8f66518
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/services/DbMaintenanceService.scala
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class DbMaintenanceService @Inject() (
database.withTransaction { implicit connection =>
val _ = SQL("""REFRESH MATERIALIZED VIEW application_metadata""").execute()
val _ = SQL("""REFRESH MATERIALIZED VIEW application_seen_by_user""").execute()
val _ = SQL("""REFRESH MATERIALIZED VIEW user_event_metrics""").execute()
val _ = SQL("""REFRESH MATERIALIZED VIEW user_group_is_in_area""").execute()
val _ = SQL("""REFRESH MATERIALIZED VIEW user_group_is_invited_on_application""").execute()
val _ = SQL("""REFRESH MATERIALIZED VIEW user_is_in_user_group""").execute()
Expand Down

0 comments on commit 8f66518

Please sign in to comment.