From b98ade0d9bf01423cd06aa8a1a37ff0cc171b316 Mon Sep 17 00:00:00 2001 From: sagar1862000 <2000sagarsharma@gmail.com> Date: Thu, 12 Dec 2024 16:10:08 +0530 Subject: [PATCH] m --- ...ve_centre_id_from_code_trek_applicants.php | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) 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'); + // }); + // } +// }