From 93e9f055d9d60d98c4ac76a3f238dce14cfc616a Mon Sep 17 00:00:00 2001 From: Thomas Arrow Date: Thu, 1 Aug 2024 20:35:26 +0100 Subject: [PATCH] Add migration to purge and regenerate lifecycle events --- ...move_and_rebuild_wiki_lifecycle_events.php | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 database/migrations/2024_08_01_193038_remove_and_rebuild_wiki_lifecycle_events.php diff --git a/database/migrations/2024_08_01_193038_remove_and_rebuild_wiki_lifecycle_events.php b/database/migrations/2024_08_01_193038_remove_and_rebuild_wiki_lifecycle_events.php new file mode 100644 index 00000000..3c09ad85 --- /dev/null +++ b/database/migrations/2024_08_01_193038_remove_and_rebuild_wiki_lifecycle_events.php @@ -0,0 +1,25 @@ +map->delete(); + (new UpdateWikiSiteStatsJob())->handle(); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + // + } +};