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
DB migration for redis username
ayntk-aiae7e5487791c
diff --git a/database/migrations/2024_08_21_165435_add_redis_username_to_standalone_redis_table.php b/database/migrations/2024_08_21_165435_add_redis_username_to_standalone_redis_table.phpnew file mode 100644index 0000000000..397c6a68fc--- /dev/null+++ b/database/migrations/2024_08_21_165435_add_redis_username_to_standalone_redis_table.php@@ -0,0 +1,22 @@+<?php++use Illuminate\Database\Migrations\Migration;+use Illuminate\Database\Schema\Blueprint;+use Illuminate\Support\Facades\Schema;++return new class extends Migration+{+ public function up(): void+ {+ Schema::table('standalone_redis', function (Blueprint $table) {+ $table->string('redis_username')->default('redis')->after('description');+ });+ }++ public function down(): void+ {+ Schema::table('standalone_redis', function (Blueprint $table) {+ $table->dropColumn('redis_username');+ });+ }+};