diff --git a/database/migrations/2025_03_04_231256_purge_action_logs_of_report_template_activity.php b/database/migrations/2025_03_04_231256_purge_action_logs_of_report_template_activity.php new file mode 100644 index 0000000000..150df41a48 --- /dev/null +++ b/database/migrations/2025_03_04_231256_purge_action_logs_of_report_template_activity.php @@ -0,0 +1,26 @@ +where("item_type", ReportTemplate::class) + ->whereIn("action_type", ["create", "update", "delete"]) + ->delete(); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + // nothing to do here... + } +};