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
+2 -1
View File
@@ -15,10 +15,11 @@ return new class extends Migration {
Schema::create('os', function (Blueprint $table) {
$table->id();
$table->string('version', 100)->nullable();
$table->foreignId('os_group_id')->constrained('os_group')->index();
$table->unsignedBigInteger('os_group_id')->nullable();
$table->string('template_id')->nullable();
$table->tinyInteger('status')->default(1);
$table->timestamps();
$table->foreign('os_group_id', 'fk_os_group_id')->references('id')->on('os_group')->nullOnDelete();
});
}