mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-28 06:47:24 +08:00
update 2026_03_28_161536_add_traffic_fields_to_servers.php
This commit is contained in:
@@ -14,7 +14,8 @@ return new class extends Migration
|
|||||||
Schema::table('v2_server', function (Blueprint $table) {
|
Schema::table('v2_server', function (Blueprint $table) {
|
||||||
if (!Schema::hasColumn('v2_server', 'transfer_enable')) {
|
if (!Schema::hasColumn('v2_server', 'transfer_enable')) {
|
||||||
$table->bigInteger('transfer_enable')
|
$table->bigInteger('transfer_enable')
|
||||||
->default(0)
|
->default(null)
|
||||||
|
->nullable()
|
||||||
->after('rate')
|
->after('rate')
|
||||||
->comment('Traffic limit , 0 or null=no limit');
|
->comment('Traffic limit , 0 or null=no limit');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user