Skip to content

Commit

Permalink
remove redundant semicolon (#2516)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangums authored Oct 12, 2023
1 parent dcad173 commit a10d72d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/migrations/add_teams_fields.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ return new class extends Migration

if (! Schema::hasColumn($tableNames['model_has_roles'], $columnNames['team_foreign_key'])) {
Schema::table($tableNames['model_has_roles'], function (Blueprint $table) use ($tableNames, $columnNames, $pivotRole) {
$table->unsignedBigInteger($columnNames['team_foreign_key'])->default('1');;
$table->unsignedBigInteger($columnNames['team_foreign_key'])->default('1');
$table->index($columnNames['team_foreign_key'], 'model_has_roles_team_foreign_key_index');

if (DB::getDriverName() !== 'sqlite') {
Expand Down

0 comments on commit a10d72d

Please sign in to comment.