An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: set smtp notifications on by default
Andras Bacsai3adeb2f73f74
diff --git a/database/migrations/2023_09_23_111818_set_notifications_on_by_default.php b/database/migrations/2023_09_23_111818_set_notifications_on_by_default.phpnew file mode 100644index 0000000000..a7edc7860a--- /dev/null+++ b/database/migrations/2023_09_23_111818_set_notifications_on_by_default.php@@ -0,0 +1,30 @@+<?php++use Illuminate\Database\Migrations\Migration;+use Illuminate\Database\Schema\Blueprint;+use Illuminate\Support\Facades\Schema;++return new class extends Migration+{+ /**+ * Run the migrations.+ */+ public function up(): void+ {+ Schema::table('teams', function (Blueprint $table) {+ $table->boolean('smtp_notifications_deployments')->default(true)->change();+ $table->boolean('smtp_notifications_status_changes')->default(true)->change();+ });+ }++ /**+ * Reverse the migrations.+ */+ public function down(): void+ {+ Schema::table('teams', function (Blueprint $table) {+ $table->boolean('smtp_notifications_deployments')->default(false)->change();+ $table->boolean('smtp_notifications_status_changes')->default(false)->change();+ });+ }+};