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 21ee4efcc..231c09ceb 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'); }); }