From 01903fd33d9811ad11dc5dfb2525a989ef586c7f Mon Sep 17 00:00:00 2001 From: cody <648753004@qq.com> Date: Wed, 27 Aug 2025 11:11:22 +0800 Subject: [PATCH] update --- database/migrations/2025_06_19_105447_alert_users_table.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/migrations/2025_06_19_105447_alert_users_table.php b/database/migrations/2025_06_19_105447_alert_users_table.php index 9f4fb9f..87851b4 100644 --- a/database/migrations/2025_06_19_105447_alert_users_table.php +++ b/database/migrations/2025_06_19_105447_alert_users_table.php @@ -13,8 +13,8 @@ return new class extends Migration { public function up() { Schema::table('users', function (Blueprint $table) { - // $table->string('no')->nullable()->comment('学号'); - // $table->integer('company_id')->nullable()->comment('企业id'); + $table->string('no')->nullable()->comment('学号'); + $table->integer('company_id')->nullable()->comment('企业id'); $table->date('birthday')->nullable()->comment('生日')->change(); // no字段唯一索引 $table->unique('no');