Merge pull request #4536 from peaklabs-dev/fix-migration

Fix: Migration error
This commit is contained in:
Andras Bacsai
2024-12-11 08:39:40 +01:00
committed by GitHub

View File

@@ -12,7 +12,7 @@ return new class extends Migration
public function up(): void public function up(): void
{ {
Schema::table('applications', function (Blueprint $table) { 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');
}); });
} }