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