mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-23 19:37:35 +08:00
Initial commit
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
*.sqlite
|
||||
*.sqlite-journal
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
/** @var \Illuminate\Database\Eloquent\Factory $factory */
|
||||
|
||||
use App\User;
|
||||
use Faker\Generator as Faker;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Model Factories
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This directory should contain each of the model factory definitions for
|
||||
| your application. Factories provide a convenient way to generate new
|
||||
| model instances for testing / seeding your application's database.
|
||||
|
|
||||
*/
|
||||
|
||||
$factory->define(User::class, function (Faker $faker) {
|
||||
return [
|
||||
'name' => $faker->name,
|
||||
'email' => $faker->unique()->safeEmail,
|
||||
'email_verified_at' => now(),
|
||||
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
|
||||
'remember_token' => Str::random(10),
|
||||
];
|
||||
});
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateFailedJobsTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('failed_jobs', function (Blueprint $table) {
|
||||
$table->bigIncrements('id');
|
||||
$table->text('connection');
|
||||
$table->text('queue');
|
||||
$table->longText('payload');
|
||||
$table->longText('exception');
|
||||
$table->timestamp('failed_at')->useCurrent();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('failed_jobs');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_commission_log', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->integer('invite_user_id');
|
||||
$table->integer('user_id');
|
||||
$table->char('trade_no', 36);
|
||||
$table->integer('order_amount');
|
||||
$table->integer('get_amount');
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_commission_log');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_coupon', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->string('code');
|
||||
$table->string('name');
|
||||
$table->boolean('type');
|
||||
$table->integer('value');
|
||||
$table->boolean('show')->default(false);
|
||||
$table->integer('limit_use')->nullable();
|
||||
$table->integer('limit_use_with_user')->nullable();
|
||||
$table->string('limit_plan_ids')->nullable();
|
||||
$table->string('limit_period')->nullable();
|
||||
$table->integer('started_at');
|
||||
$table->integer('ended_at');
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_coupon');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_invite_code', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->integer('user_id');
|
||||
$table->char('code', 32);
|
||||
$table->boolean('status')->default(false);
|
||||
$table->integer('pv')->default(0);
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_invite_code');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_knowledge', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->char('language', 5)->comment('語言');
|
||||
$table->string('category')->comment('分類名');
|
||||
$table->string('title')->comment('標題');
|
||||
$table->text('body')->comment('內容');
|
||||
$table->integer('sort')->nullable()->comment('排序');
|
||||
$table->boolean('show')->default(false)->comment('顯示');
|
||||
$table->integer('created_at')->comment('創建時間');
|
||||
$table->integer('updated_at')->comment('更新時間');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_knowledge');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_log', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->text('title');
|
||||
$table->string('level', 11)->nullable();
|
||||
$table->string('host')->nullable();
|
||||
$table->string('uri');
|
||||
$table->string('method', 11);
|
||||
$table->text('data')->nullable();
|
||||
$table->string('ip', 128)->nullable();
|
||||
$table->text('context')->nullable();
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_log');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_mail_log', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->string('email', 64);
|
||||
$table->string('subject');
|
||||
$table->string('template_name');
|
||||
$table->text('error')->nullable();
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_mail_log');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_notice', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->string('title');
|
||||
$table->text('content');
|
||||
$table->boolean('show')->default(false);
|
||||
$table->string('img_url')->nullable();
|
||||
$table->string('tags')->nullable();
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_notice');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_order', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->integer('invite_user_id')->nullable();
|
||||
$table->integer('user_id');
|
||||
$table->integer('plan_id');
|
||||
$table->integer('coupon_id')->nullable();
|
||||
$table->integer('payment_id')->nullable();
|
||||
$table->integer('type')->comment('1新购2续费3升级');
|
||||
$table->string('period');
|
||||
$table->string('trade_no', 36)->unique('trade_no');
|
||||
$table->string('callback_no')->nullable();
|
||||
$table->integer('total_amount');
|
||||
$table->integer('handling_amount')->nullable();
|
||||
$table->integer('discount_amount')->nullable();
|
||||
$table->integer('surplus_amount')->nullable()->comment('剩余价值');
|
||||
$table->integer('refund_amount')->nullable()->comment('退款金额');
|
||||
$table->integer('balance_amount')->nullable()->comment('使用余额');
|
||||
$table->text('surplus_order_ids')->nullable()->comment('折抵订单');
|
||||
$table->boolean('status')->default(false)->comment('0待支付1开通中2已取消3已完成4已折抵');
|
||||
$table->boolean('commission_status')->default(false)->comment('0待确认1发放中2有效3无效');
|
||||
$table->integer('commission_balance')->default(0);
|
||||
$table->integer('actual_commission_balance')->nullable()->comment('实际支付佣金');
|
||||
$table->integer('paid_at')->nullable();
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_order');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_payment', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->char('uuid', 32);
|
||||
$table->string('payment', 16);
|
||||
$table->string('name');
|
||||
$table->string('icon')->nullable();
|
||||
$table->text('config');
|
||||
$table->string('notify_domain', 128)->nullable();
|
||||
$table->integer('handling_fee_fixed')->nullable();
|
||||
$table->decimal('handling_fee_percent', 5)->nullable();
|
||||
$table->boolean('enable')->default(false);
|
||||
$table->integer('sort')->nullable();
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_payment');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_plan', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->integer('group_id');
|
||||
$table->integer('transfer_enable');
|
||||
$table->string('name');
|
||||
$table->integer('speed_limit')->nullable();
|
||||
$table->boolean('show')->default(false);
|
||||
$table->integer('sort')->nullable();
|
||||
$table->boolean('renew')->default(true);
|
||||
$table->text('content')->nullable();
|
||||
$table->integer('month_price')->nullable();
|
||||
$table->integer('quarter_price')->nullable();
|
||||
$table->integer('half_year_price')->nullable();
|
||||
$table->integer('year_price')->nullable();
|
||||
$table->integer('two_year_price')->nullable();
|
||||
$table->integer('three_year_price')->nullable();
|
||||
$table->integer('onetime_price')->nullable();
|
||||
$table->integer('reset_price')->nullable();
|
||||
$table->boolean('reset_traffic_method')->nullable();
|
||||
$table->integer('capacity_limit')->nullable();
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_plan');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_server_group', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->string('name');
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_server_group');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_server_hysteria', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->string('group_id');
|
||||
$table->string('route_id')->nullable();
|
||||
$table->string('name');
|
||||
$table->integer('parent_id')->nullable();
|
||||
$table->string('host');
|
||||
$table->string('port', 11);
|
||||
$table->integer('server_port');
|
||||
$table->string('tags')->nullable();
|
||||
$table->string('rate', 11);
|
||||
$table->boolean('show')->default(false);
|
||||
$table->integer('sort')->nullable();
|
||||
$table->integer('up_mbps');
|
||||
$table->integer('down_mbps');
|
||||
$table->string('server_name', 64)->nullable();
|
||||
$table->boolean('insecure')->default(false);
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_server_hysteria');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_server_route', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->string('remarks');
|
||||
$table->text('match');
|
||||
$table->string('action', 11);
|
||||
$table->string('action_value')->nullable();
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_server_route');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_server_shadowsocks', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->string('group_id');
|
||||
$table->string('route_id')->nullable();
|
||||
$table->integer('parent_id')->nullable();
|
||||
$table->string('tags')->nullable();
|
||||
$table->string('name');
|
||||
$table->string('rate', 11);
|
||||
$table->string('host');
|
||||
$table->string('port', 11);
|
||||
$table->integer('server_port');
|
||||
$table->string('cipher');
|
||||
$table->char('obfs', 11)->nullable();
|
||||
$table->string('obfs_settings')->nullable();
|
||||
$table->tinyInteger('show')->default(0);
|
||||
$table->integer('sort')->nullable();
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_server_shadowsocks');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_server_trojan', function (Blueprint $table) {
|
||||
$table->integer('id', true)->comment('节点ID');
|
||||
$table->string('group_id')->comment('节点组');
|
||||
$table->string('route_id')->nullable();
|
||||
$table->integer('parent_id')->nullable()->comment('父节点');
|
||||
$table->string('tags')->nullable()->comment('节点标签');
|
||||
$table->string('name')->comment('节点名称');
|
||||
$table->string('rate', 11)->comment('倍率');
|
||||
$table->string('host')->comment('主机名');
|
||||
$table->string('port', 11)->comment('连接端口');
|
||||
$table->integer('server_port')->comment('服务端口');
|
||||
$table->boolean('allow_insecure')->default(false)->comment('是否允许不安全');
|
||||
$table->string('server_name')->nullable();
|
||||
$table->boolean('show')->default(false)->comment('是否显示');
|
||||
$table->integer('sort')->nullable();
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_server_trojan');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_server_vless', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->text('group_id');
|
||||
$table->text('route_id')->nullable();
|
||||
$table->string('name');
|
||||
$table->integer('parent_id')->nullable();
|
||||
$table->string('host');
|
||||
$table->integer('port');
|
||||
$table->integer('server_port');
|
||||
$table->boolean('tls');
|
||||
$table->text('tls_settings')->nullable();
|
||||
$table->string('flow', 64)->nullable();
|
||||
$table->string('network', 11);
|
||||
$table->text('network_settings')->nullable();
|
||||
$table->text('tags')->nullable();
|
||||
$table->string('rate', 11);
|
||||
$table->boolean('show')->default(false);
|
||||
$table->integer('sort')->nullable();
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_server_vless');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_server_vmess', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->string('group_id');
|
||||
$table->string('route_id')->nullable();
|
||||
$table->string('name');
|
||||
$table->integer('parent_id')->nullable();
|
||||
$table->string('host');
|
||||
$table->string('port', 11);
|
||||
$table->integer('server_port');
|
||||
$table->tinyInteger('tls')->default(0);
|
||||
$table->string('tags')->nullable();
|
||||
$table->string('rate', 11);
|
||||
$table->string('network', 11);
|
||||
$table->text('rules')->nullable();
|
||||
$table->text('networkSettings')->nullable();
|
||||
$table->text('tlsSettings')->nullable();
|
||||
$table->text('ruleSettings')->nullable();
|
||||
$table->text('dnsSettings')->nullable();
|
||||
$table->boolean('show')->default(false);
|
||||
$table->integer('sort')->nullable();
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_server_vmess');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_stat_server', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->integer('server_id')->index('server_id')->comment('节点id');
|
||||
$table->char('server_type', 11)->comment('节点类型');
|
||||
$table->bigInteger('u');
|
||||
$table->bigInteger('d');
|
||||
$table->char('record_type', 1)->comment('d day m month');
|
||||
$table->integer('record_at')->index('record_at')->comment('记录时间');
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
|
||||
$table->unique(['server_id', 'server_type', 'record_at'], 'server_id_server_type_record_at');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_stat_server');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_stat', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->integer('record_at');
|
||||
$table->char('record_type', 1);
|
||||
$table->integer('order_count')->comment('订单数量');
|
||||
$table->integer('order_total')->comment('订单合计');
|
||||
$table->integer('commission_count');
|
||||
$table->integer('commission_total')->comment('佣金合计');
|
||||
$table->integer('paid_count');
|
||||
$table->integer('paid_total');
|
||||
$table->integer('register_count');
|
||||
$table->integer('invite_count');
|
||||
$table->string('transfer_used_total', 32);
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
|
||||
if(config('database.default') !== 'sqlite'){
|
||||
$table->unique(['record_at']);
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_stat');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_stat_user', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->integer('user_id');
|
||||
$table->decimal('server_rate', 10);
|
||||
$table->bigInteger('u');
|
||||
$table->bigInteger('d');
|
||||
$table->char('record_type', 2);
|
||||
$table->integer('record_at');
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
|
||||
// 如果是不是sqlite才添加多个索引
|
||||
if(config('database.default') !== 'sqlite'){
|
||||
$table->index(['user_id','server_rate','record_at']);
|
||||
$table->unique(['server_rate', 'user_id', 'record_at'], 'server_rate_user_id_record_at');
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_stat_user');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_ticket_message', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->integer('user_id');
|
||||
$table->integer('ticket_id');
|
||||
$table->text('message');
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_ticket_message');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_ticket', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->integer('user_id');
|
||||
$table->string('subject');
|
||||
$table->boolean('level');
|
||||
$table->boolean('status')->default(false)->comment('0:已开启 1:已关闭');
|
||||
$table->boolean('reply_status')->default(true)->comment('0:待回复 1:已回复');
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_ticket');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_user', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->integer('invite_user_id')->nullable();
|
||||
$table->bigInteger('telegram_id')->nullable();
|
||||
$table->string('email', 64)->unique('email');
|
||||
$table->string('password', 64);
|
||||
$table->char('password_algo', 10)->nullable();
|
||||
$table->char('password_salt', 10)->nullable();
|
||||
$table->integer('balance')->default(0);
|
||||
$table->integer('discount')->nullable();
|
||||
$table->tinyInteger('commission_type')->default(0)->comment('0: system 1: period 2: onetime');
|
||||
$table->integer('commission_rate')->nullable();
|
||||
$table->integer('commission_balance')->default(0);
|
||||
$table->integer('t')->default(0);
|
||||
$table->bigInteger('u')->default(0);
|
||||
$table->bigInteger('d')->default(0);
|
||||
$table->bigInteger('transfer_enable')->default(0);
|
||||
$table->boolean('banned')->default(false);
|
||||
$table->boolean('is_admin')->default(false);
|
||||
$table->integer('last_login_at')->nullable();
|
||||
$table->boolean('is_staff')->default(false);
|
||||
$table->integer('last_login_ip')->nullable();
|
||||
$table->string('uuid', 36);
|
||||
$table->integer('group_id')->nullable();
|
||||
$table->integer('plan_id')->nullable();
|
||||
$table->integer('speed_limit')->nullable();
|
||||
$table->tinyInteger('remind_expire')->nullable()->default(1);
|
||||
$table->tinyInteger('remind_traffic')->nullable()->default(1);
|
||||
$table->char('token', 32);
|
||||
$table->bigInteger('expired_at')->nullable()->default(0);
|
||||
$table->text('remarks')->nullable();
|
||||
$table->integer('created_at');
|
||||
$table->integer('updated_at');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_user');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateV2SettingsTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('v2_settings', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('group')->comment('设置分组')->nullable();
|
||||
$table->string('type')->comment('设置类型')->nullable();
|
||||
$table->string('name')->comment('设置名称')->uniqid();
|
||||
$table->string('value')->comment('设置值')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('v2_settings');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class AddColumnExcludesToServerTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('v2_server_hysteria', function (Blueprint $table) {
|
||||
$table->text("excludes")->nullable()->after('tags');
|
||||
});
|
||||
Schema::table('v2_server_shadowsocks', function (Blueprint $table) {
|
||||
$table->text("excludes")->nullable()->after('tags');
|
||||
});
|
||||
Schema::table('v2_server_trojan', function (Blueprint $table) {
|
||||
$table->text("excludes")->nullable()->after('tags');
|
||||
});
|
||||
Schema::table('v2_server_vless', function (Blueprint $table) {
|
||||
$table->text("excludes")->nullable()->after('tags');
|
||||
});
|
||||
Schema::table('v2_server_vmess', function (Blueprint $table) {
|
||||
$table->text("excludes")->nullable()->after('tags');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('v2_server_hysteria', function (Blueprint $table) {
|
||||
$table->dropColumn('excludes');
|
||||
});
|
||||
Schema::table('v2_server_shadowsocks', function (Blueprint $table) {
|
||||
$table->dropColumn('excludes');
|
||||
});
|
||||
Schema::table('v2_server_trojan', function (Blueprint $table) {
|
||||
$table->dropColumn('excludes');
|
||||
});
|
||||
Schema::table('v2_server_vless', function (Blueprint $table) {
|
||||
$table->dropColumn('excludes');
|
||||
});
|
||||
Schema::table('v2_server_vmess', function (Blueprint $table) {
|
||||
$table->dropColumn('excludes');
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class AddColumnIpsToServerTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('v2_server_hysteria', function (Blueprint $table) {
|
||||
$table->string("ips")->nullable()->after('excludes');
|
||||
});
|
||||
Schema::table('v2_server_shadowsocks', function (Blueprint $table) {
|
||||
$table->string("ips")->nullable()->after('excludes');
|
||||
});
|
||||
Schema::table('v2_server_trojan', function (Blueprint $table) {
|
||||
$table->string("ips")->nullable()->after('excludes');
|
||||
});
|
||||
Schema::table('v2_server_vless', function (Blueprint $table) {
|
||||
$table->string("ips")->nullable()->after('excludes');
|
||||
});
|
||||
Schema::table('v2_server_vmess', function (Blueprint $table) {
|
||||
$table->string("ips")->nullable()->after('excludes');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('v2_server_hysteria', function (Blueprint $table) {
|
||||
$table->dropColumn('ips');
|
||||
});
|
||||
Schema::table('v2_server_shadowsocks', function (Blueprint $table) {
|
||||
$table->dropColumn('ips');
|
||||
});
|
||||
Schema::table('v2_server_trojan', function (Blueprint $table) {
|
||||
$table->dropColumn('ips');
|
||||
});
|
||||
Schema::table('v2_server_vless', function (Blueprint $table) {
|
||||
$table->dropColumn('ips');
|
||||
});
|
||||
Schema::table('v2_server_vmess', function (Blueprint $table) {
|
||||
$table->dropColumn('ips');
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class AddColumnAlpnToServerHysteriaTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('v2_server_hysteria', function (Blueprint $table) {
|
||||
$table->tinyInteger('alpn',false,true)->default(0)->comment('ALPN,0:hysteria、1:http/1.1、2:h2、3:h3');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('v2_server_hysteria', function (Blueprint $table) {
|
||||
$table->dropColumn('alpn');
|
||||
});
|
||||
}
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class AddColumnNetworkAndNetworkSettingsToV2ServerTrojan extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('v2_server_trojan', function (Blueprint $table) {
|
||||
$table->string('network', 11)->default('tcp')->after('server_name')->comment('传输协议');
|
||||
$table->text('networkSettings')->nullable()->after('network')->comment('传输协议配置');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('v2_server_trojan', function (Blueprint $table) {
|
||||
$table->dropColumn(["network","networkSettings"]);
|
||||
});
|
||||
}
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class AddColumnVersionAndIsObfsToServerHysteriaTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('v2_server_hysteria', function (Blueprint $table) {
|
||||
$table->tinyInteger('version',false,true)->default(1)->comment('hysteria版本,Version:1\2');
|
||||
$table->boolean('is_obfs')->default(true)->comment('是否开启obfs');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('v2_server_hysteria', function (Blueprint $table) {
|
||||
$table->dropColumn('alversionpn','is_obfs');
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class DatabaseSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Seed the application's database.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
// $this->call(UsersTableSeeder::class)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,170 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class OriginV2bMigrationsTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* 原版V2b数据库迁移初始化
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
try{
|
||||
\Artisan::call("migrate:install");
|
||||
}catch(\Exception $e){
|
||||
|
||||
}
|
||||
\DB::table('migrations')->insert(array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 1,
|
||||
'migration' => '2019_08_19_000000_create_failed_jobs_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'id' => 2,
|
||||
'migration' => '2023_08_07_205816_create_v2_commission_log_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'id' => 3,
|
||||
'migration' => '2023_08_07_205816_create_v2_coupon_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'id' => 4,
|
||||
'migration' => '2023_08_07_205816_create_v2_invite_code_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'id' => 5,
|
||||
'migration' => '2023_08_07_205816_create_v2_knowledge_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
'id' => 6,
|
||||
'migration' => '2023_08_07_205816_create_v2_log_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
'id' => 7,
|
||||
'migration' => '2023_08_07_205816_create_v2_mail_log_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
'id' => 8,
|
||||
'migration' => '2023_08_07_205816_create_v2_notice_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
'id' => 9,
|
||||
'migration' => '2023_08_07_205816_create_v2_order_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
'id' => 10,
|
||||
'migration' => '2023_08_07_205816_create_v2_payment_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
'id' => 11,
|
||||
'migration' => '2023_08_07_205816_create_v2_plan_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
11 =>
|
||||
array (
|
||||
'id' => 12,
|
||||
'migration' => '2023_08_07_205816_create_v2_server_group_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
12 =>
|
||||
array (
|
||||
'id' => 13,
|
||||
'migration' => '2023_08_07_205816_create_v2_server_hysteria_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
13 =>
|
||||
array (
|
||||
'id' => 14,
|
||||
'migration' => '2023_08_07_205816_create_v2_server_route_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
14 =>
|
||||
array (
|
||||
'id' => 15,
|
||||
'migration' => '2023_08_07_205816_create_v2_server_shadowsocks_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
15 =>
|
||||
array (
|
||||
'id' => 16,
|
||||
'migration' => '2023_08_07_205816_create_v2_server_trojan_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
16 =>
|
||||
array (
|
||||
'id' => 17,
|
||||
'migration' => '2023_08_07_205816_create_v2_server_vless_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
17 =>
|
||||
array (
|
||||
'id' => 18,
|
||||
'migration' => '2023_08_07_205816_create_v2_server_vmess_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
18 =>
|
||||
array (
|
||||
'id' => 19,
|
||||
'migration' => '2023_08_07_205816_create_v2_stat_server_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
19 =>
|
||||
array (
|
||||
'id' => 20,
|
||||
'migration' => '2023_08_07_205816_create_v2_stat_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
20 =>
|
||||
array (
|
||||
'id' => 21,
|
||||
'migration' => '2023_08_07_205816_create_v2_stat_user_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
21 =>
|
||||
array (
|
||||
'id' => 22,
|
||||
'migration' => '2023_08_07_205816_create_v2_ticket_message_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
22 =>
|
||||
array (
|
||||
'id' => 23,
|
||||
'migration' => '2023_08_07_205816_create_v2_ticket_table',
|
||||
'batch' => 1,
|
||||
),
|
||||
23 =>
|
||||
array (
|
||||
'id' => 24,
|
||||
'migration' => '2023_08_07_205816_create_v2_user_table',
|
||||
'batch' => 1,
|
||||
)
|
||||
));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user