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
@@ -14,11 +14,11 @@ return new class extends Migration
public function up()
{
Schema::create('module_host',function (Blueprint $table) {
$table->id()->autoIncrement();
$table->id();
$table->string('name',100)->nullable();
$table->string('host_id',255)->nullable();
$table->string('template',255)->nullable();
$table->foreignId('module_datacenter_id')->constrained('module_datacenter')->cascadeOnDelete()->nullable()->index();
$table->foreignId('module_datacenter_id')->nullable()->constrained('module_datacenter', 'id', 'fk_mod_host_mod_dc');
$table->string('console',255)->nullable();
$table->string('iso_path',255)->nullable();
$table->timestamps();
@@ -32,6 +32,6 @@ return new class extends Migration
*/
public function down()
{
Schema::dropIfExists('module_hosts');
Schema::dropIfExists('module_host');
}
};