feat: Implement product and product category management with dedicated CRUD operations, services, and repositories.
This commit is contained in:
@@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user