feat: Implement product and product category management with dedicated CRUD operations, services, and repositories.

This commit is contained in:
pbao9
2026-02-06 11:05:18 +07:00
parent eef04846a8
commit 92151261b3
61 changed files with 2331 additions and 656 deletions
@@ -17,9 +17,13 @@ return new class extends Migration
$table->id()->autoIncrement();
$table->string('name')->nullable();
$table->string('thumbnail')->nullable();
$table->foreignId('module_host_id')->constrained('module_host')->index()->nullable();
$table->unsignedBigInteger('module_host_id')->nullable();
$table->tinyInteger('status')->default(1);
$table->timestamps();
$table->foreign('module_host_id', 'fk_os_group_host')
->references('id')
->on('module_host')
->nullOnDelete();
});
}