From b150e58b886a0b4c75d941198643436cf4947edd Mon Sep 17 00:00:00 2001 From: cody <648753004@qq.com> Date: Thu, 21 Aug 2025 15:21:33 +0800 Subject: [PATCH] update --- .../migrations/2025_08_21_150059_alert_teachers_table.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/database/migrations/2025_08_21_150059_alert_teachers_table.php b/database/migrations/2025_08_21_150059_alert_teachers_table.php index 091349f..ba73303 100644 --- a/database/migrations/2025_08_21_150059_alert_teachers_table.php +++ b/database/migrations/2025_08_21_150059_alert_teachers_table.php @@ -14,9 +14,9 @@ return new class extends Migration public function up() { Schema::table('teachers', function (Blueprint $table) { - $table->string('name')->nullable()->comment('授课老师'); - $table->text('introduce')->nullable()->comment('老师简介'); - $table->string('mobile')->nullable()->comment('联系方式'); + $table->string('name')->nullable()->comment('授课老师')->change(); + $table->text('introduce')->nullable()->comment('老师简介')->change(); + $table->string('mobile')->nullable()->comment('联系方式')->change(); // 备注 $table->string('remark')->nullable()->comment('备注'); });