mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-03 10:30:51 +08:00
fix: correct errors in database migration file
This commit is contained in:
@@ -72,7 +72,7 @@ return new class extends Migration {
|
||||
$table->integer('three_year_price')->nullable();
|
||||
$table->integer('onetime_price')->nullable();
|
||||
$table->integer('reset_price')->nullable();
|
||||
$table->integer('reset_traffic_method')->nullable()->comment('重置流量方式:0跟随系统设置、1每月1号、2按月重置、3不重置、4每年1月1日、5按年重置');
|
||||
$table->integer('reset_traffic_method')->nullable()->comment('重置流量方式:null跟随系统设置、0每月1号、1按月重置、2不重置、3每年1月1日、4按年重置');
|
||||
$table->integer('capacity_limit')->nullable();
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
|
||||
@@ -52,7 +52,7 @@ return new class extends Migration {
|
||||
$table->unsignedInteger('speed_limit')->nullable()
|
||||
->comment('Speed limit in Mbps, 0 for unlimited')->change();
|
||||
$table->integer('reset_traffic_method')->nullable()->default(0)
|
||||
->comment('重置流量方式:0跟随系统设置、1每月1号、2按月重置、3不重置、4每年1月1日、5按年重置')->change();
|
||||
->comment('重置流量方式:null跟随系统设置、0每月1号、1按月重置、2不重置、3每年1月1日、4按年重置')->change();
|
||||
$table->unsignedInteger('capacity_limit')->nullable()->default(0)
|
||||
->comment('0 for unlimited')->change();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user