Skip to content

Commit

Permalink
migration fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rathorevaibhav committed Jan 9, 2025
1 parent eb47b95 commit a5571d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function up()
public function down()
{
Schema::table('code_trek_applicants', function (Blueprint $table) {
$table->dropForeign('centre_id');
$table->dropForeign(['centre_id']);
$table->dropColumn('centre_id');
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class CleanupOfficeLocation extends Migration
public function up()
{
Schema::table('code_trek_applicants', function (Blueprint $table) {
$table->dropForeign('centre_id');
$table->dropForeign(['centre_id']);
$table->dropColumn('centre_id');
});
Schema::dropIfExists('office_locations');
Expand Down

0 comments on commit a5571d4

Please sign in to comment.