fixed migration order

This commit is contained in:
2025-03-15 20:17:23 +01:00
parent fd09629a9f
commit 41d9cc6101
2 changed files with 0 additions and 0 deletions
@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('manufacturers', function (Blueprint $table) {
$table->id();
$table->string('name')->required();
$table->string('description')->nullable();
$table->string('website')->nullable();
$table->string('logo')->nullable();
$table->integer('filament_count')->default(0);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('manufacturers');
}
};