change panel table id to int

This commit is contained in:
xiaomlove
2022-05-30 02:08:30 +08:00
parent 64f79bc573
commit dd1449dfc7
4 changed files with 15 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ class CreateAdminpanelTable extends Migration
return;
}
Schema::create('adminpanel', function (Blueprint $table) {
$table->tinyIncrements('id');
$table->id();
$table->string('name', 128)->default('');
$table->string('url')->default('');
$table->string('info')->default('');

View File

@@ -17,7 +17,7 @@ class CreateModpanelTable extends Migration
return;
}
Schema::create('modpanel', function (Blueprint $table) {
$table->tinyIncrements('id');
$table->id();
$table->string('name', 128)->default('');
$table->string('url')->default('');
$table->string('info')->default('');

View File

@@ -17,7 +17,7 @@ class CreateSysoppanelTable extends Migration
return;
}
Schema::create('sysoppanel', function (Blueprint $table) {
$table->tinyIncrements('id');
$table->id();
$table->string('name', 128)->default('');
$table->string('url')->default('');
$table->string('info')->default('');