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 a58d66d72e
commit d6a3614d98

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');
}