feat: implement VM snapshot management, enhance client resource loading, and refactor deployment workflow for production
This commit is contained in:
Vendored
BIN
Binary file not shown.
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('products', function (Blueprint $table) {
|
||||
$table->unsignedBigInteger('module_ip_address')->nullable()->after('product_categories_id');
|
||||
$table->foreign('module_ip_address')
|
||||
->references('id')
|
||||
->on('module_ip_address')
|
||||
->nullOnDelete();
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('products', function (Blueprint $table) {
|
||||
$table->dropForeign(['module_ip_address']);
|
||||
$table->dropColumn('module_ip_address');
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user