From 02709f7d06d0a6eb9e6dc33aa531061f63a6eac9 Mon Sep 17 00:00:00 2001 From: cody <648753004@qq.com> Date: Thu, 17 Jul 2025 16:43:14 +0800 Subject: [PATCH] update --- database/migrations/2025_06_19_105447_alert_users_table.php | 1 + 1 file changed, 1 insertion(+) 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 6ce4142..87851b4 100644 --- a/database/migrations/2025_06_19_105447_alert_users_table.php +++ b/database/migrations/2025_06_19_105447_alert_users_table.php @@ -14,6 +14,7 @@ return new class extends Migration { { Schema::table('users', function (Blueprint $table) { $table->string('no')->nullable()->comment('学号'); + $table->integer('company_id')->nullable()->comment('企业id'); $table->date('birthday')->nullable()->comment('生日')->change(); // no字段唯一索引 $table->unique('no');