update reinstall vps
This commit is contained in:
@@ -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) {
|
||||
//
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user