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('备注'); });