|
|
@@ -4,8 +4,7 @@ use Illuminate\Database\Migrations\Migration;
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
|
|
-return new class extends Migration
|
|
|
-{
|
|
|
+return new class extends Migration {
|
|
|
/**
|
|
|
* Run the migrations.
|
|
|
*
|
|
|
@@ -36,7 +35,9 @@ return new class extends Migration
|
|
|
$table->integer('leopard')->default(0)->comment('豹子');
|
|
|
|
|
|
|
|
|
- $table->integer('num_0')->default(0)->comment("00号");
|
|
|
+ for ($i = 0; $i <= 27; $i++) {
|
|
|
+ $table->integer("num_{$i}")->default(0)->comment("{$i}号");
|
|
|
+ }
|
|
|
|
|
|
|
|
|
$table->timestamps();
|