update reinstall vps

This commit is contained in:
Pham Bao
2025-08-03 23:06:08 +07:00
parent 983964e573
commit 160b7cdb47
25 changed files with 319 additions and 262 deletions
@@ -26,6 +26,7 @@ return new class extends Migration {
$table->text('note')->nullable();
$table->string('client_ip', 100)->nullable();
$table->string('vm_id')->nullable()->index();
$table->unsignedInteger('rebuild_count')->nullable()->default(0);
$table->tinyInteger('invoice_type')->default(1);
$table->tinyInteger('status')->default(0);
@@ -0,0 +1,28 @@
<?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('invoice', function (Blueprint $table) {
$table->unsignedInteger('rebuild_count')->nullable()->default(0)->after('vm_id');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('invoice', function (Blueprint $table) {
//
});
}
};