Skip to content

Commit 586e626

Browse files
committed
fix migration
1 parent 76a9cd6 commit 586e626

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

database/migrations/2025_05_18_143851_add_update_requirement_state_to_sites_table.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,14 @@
44
use Illuminate\Database\Schema\Blueprint;
55
use Illuminate\Support\Facades\Schema;
66

7-
return new class extends Migration {
7+
return new class () extends Migration {
88
/**
99
* Run the migrations.
1010
*/
1111
public function up(): void
1212
{
1313
Schema::table('sites', function (Blueprint $table) {
1414
$table->boolean('update_requirement_state')->default(false)->nullable(true);
15-
16-
$table->dropColumn('update_patch');
17-
$table->dropColumn('update_minor');
18-
$table->dropColumn('update_major');
1915
});
2016
}
2117

@@ -26,10 +22,6 @@ public function down(): void
2622
{
2723
Schema::table('sites', function (Blueprint $table) {
2824
$table->dropColumn('update_requirement_state');
29-
30-
$table->boolean('update_patch');
31-
$table->boolean('update_minor');
32-
$table->boolean('update_major');
3325
});
3426
}
3527
};

0 commit comments

Comments
 (0)