From b2276147ad72dbceea9cc8d205c77f15b437158d Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 19 Jul 2024 15:40:44 +0200 Subject: [PATCH] chore: Disable health check by default --- ...9_132617_disable_healtcheck_by_default.php | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 database/migrations/2024_07_19_132617_disable_healtcheck_by_default.php diff --git a/database/migrations/2024_07_19_132617_disable_healtcheck_by_default.php b/database/migrations/2024_07_19_132617_disable_healtcheck_by_default.php new file mode 100644 index 000000000..5de50de0c --- /dev/null +++ b/database/migrations/2024_07_19_132617_disable_healtcheck_by_default.php @@ -0,0 +1,28 @@ +boolean('health_check_enabled')->default(false)->change(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('applications', function (Blueprint $table) { + $table->boolean('health_check_enabled')->default(true)->change(); + }); + } +};