update 2026_03_28_161536_add_traffic_fields_to_servers.php

This commit is contained in:
xboard 2026-03-30 02:58:09 +08:00
parent 1e7fa93f99
commit 22a5b2b03c

View File

@ -14,7 +14,8 @@ return new class extends Migration
Schema::table('v2_server', function (Blueprint $table) {
if (!Schema::hasColumn('v2_server', 'transfer_enable')) {
$table->bigInteger('transfer_enable')
->default(0)
->default(null)
->nullable()
->after('rate')
->comment('Traffic limit , 0 or null=no limit');
}