diff --git a/database/migrations/2025_06_24_111502_alert_course_contents_table.php b/database/migrations/2025_06_24_111502_alert_course_contents_table.php index 97fd29b..996fb35 100644 --- a/database/migrations/2025_06_24_111502_alert_course_contents_table.php +++ b/database/migrations/2025_06_24_111502_alert_course_contents_table.php @@ -14,6 +14,10 @@ return new class extends Migration public function up() { Schema::table('course_contents', function (Blueprint $table) { + // 课程方向 + $table->string('direction')->nullable()->comment('课程方向'); + // 备注 + $table->string('remark')->nullable()->comment('备注'); // 经度 $table->string('longitude')->nullable()->comment('经度'); // 纬度 diff --git a/database/migrations/2025_08_14_103426_alert_courses_table.php b/database/migrations/2025_08_14_103426_alert_courses_table.php index 1d4e46f..e90968c 100644 --- a/database/migrations/2025_08_14_103426_alert_courses_table.php +++ b/database/migrations/2025_08_14_103426_alert_courses_table.php @@ -15,10 +15,6 @@ return new class extends Migration { Schema::table('courses', function (Blueprint $table) { // 已审核学员是否自动进入校友库 $table->boolean('auto_schoolmate')->default(false)->comment('已审核学员是否自动进入校友库0否1是'); - // 课程方向 - $table->string('direction')->nullable()->comment('课程方向'); - // 备注 - $table->string('remark')->nullable()->comment('备注'); // 经度 $table->string('longitude')->nullable()->comment('经度'); // 纬度