fix(migrations): display_order signed for negative legacy values
Build and Deploy / verify (push) Successful in 57s
Build and Deploy / deploy (push) Successful in 30s

This commit is contained in:
2026-09-07 19:53:10 +00:00
parent 0116fc4116
commit 0b0110a681
@@ -11,7 +11,7 @@ return new class extends Migration
Schema::create('categories', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->unsignedInteger('display_order')->default(0);
$table->integer('display_order')->default(0);
$table->unsignedInteger('articles_count')->default(0);
$table->timestamps();
});
@@ -92,7 +92,7 @@ return new class extends Migration
$table->string('name');
$table->string('url');
$table->text('note')->nullable();
$table->unsignedInteger('display_order')->default(0);
$table->integer('display_order')->default(0);
$table->boolean('visible')->default(true);
$table->timestamps();
});