Skip to content

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.

Update 2024_06_11_081614_add_www_non_www_redirect.php

peaklabs-devcfae39a51781
diff --git a/database/migrations/2024_06_11_081614_add_www_non_www_redirect.php b/database/migrations/2024_06_11_081614_add_www_non_www_redirect.php
index 21ee4efcc2..231c09ceba 100644
--- a/database/migrations/2024_06_11_081614_add_www_non_www_redirect.php
+++ b/database/migrations/2024_06_11_081614_add_www_non_www_redirect.php
@@ -12,7 +12,7 @@ return new class extends Migration
public function up(): void
{
Schema::table('applications', function (Blueprint $table) {
- $table->string('redirect')->enum('www', 'non-www', 'both')->default('both')->after('domain');
+ $table->enum('redirect', ['www', 'non-www', 'both'])->default('both')->after('domain');
});
}