feat: standardize invoice number field, refine invoice creation logic, and update module foreign key constraints
This commit is contained in:
@@ -18,10 +18,10 @@ return new class extends Migration
|
||||
$table->string('name')->nullable();
|
||||
|
||||
$table->foreignId('module_ip_address')
|
||||
->constrained('module_ip_address');
|
||||
->constrained('module_ip_address')->nullable();
|
||||
|
||||
$table->foreignId('vcenter_id')
|
||||
->constrained('module_vcenter');
|
||||
->constrained('module_vcenter')->nullable();
|
||||
|
||||
$table->integer('port')->nullable();
|
||||
$table->integer('order_id')->nullable();
|
||||
|
||||
@@ -23,6 +23,6 @@ class DatabaseSeeder extends Seeder
|
||||
$this->call(TemplateSeeder::class);
|
||||
$this->call(Setting::class);
|
||||
$this->call(ControlPanelSeeder::class);
|
||||
$this->call(VPSProductSeeder::class);
|
||||
// $this->call(VPSProductSeeder::class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user