diff --git a/database/migrations/2024_12_11_173633_remove_centre_id_from_code_trek_applicants.php b/database/migrations/2024_12_11_173633_remove_centre_id_from_code_trek_applicants.php index 49c0b7c666..eca2a6fbf4 100644 --- a/database/migrations/2024_12_11_173633_remove_centre_id_from_code_trek_applicants.php +++ b/database/migrations/2024_12_11_173633_remove_centre_id_from_code_trek_applicants.php @@ -1,34 +1,34 @@ dropForeign(['centre_id']); // Drops the foreign key constraint - $table->dropColumn('centre_id'); // Drops the column - }); - } + // public function up() + // { + // Schema::table('code_trek_applicants', function (Blueprint $table) { + // $table->dropForeign(['centre_id']); // Drops the foreign key constraint + // $table->dropColumn('centre_id'); // Drops the column + // }); + // } /** * Reverse the migrations. * * @return void */ - public function down() - { - Schema::table('code_trek_applicants', function (Blueprint $table) { - $table->unsignedBigInteger('centre_id')->nullable(); - $table->foreign('centre_id')->references('id')->on('office_locations'); - }); - } -} + // public function down() + // { + // Schema::table('code_trek_applicants', function (Blueprint $table) { + // $table->unsignedBigInteger('centre_id')->nullable(); + // $table->foreign('centre_id')->references('id')->on('office_locations'); + // }); + // } +// }