@ -15,7 +15,7 @@ return new class extends Migration
$table->id();
$table->string('uuid');
$table->string('name');
$table->string('image');
$table->string('image')->nullable();
$table->string('description');
$table->timestamps();
});
@ -19,7 +19,7 @@ return new class extends Migration
$table->string('url');
$table->decimal('price', 8, 2);
$table->foreign('category_id')->references('id')
->on('categories')->onDelete('cascade');