Skip to content

Commit

Permalink
Fix migration
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed May 29, 2023
1 parent 2a7e4f7 commit 0fa1f1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .woodpecker/.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ pipeline:
- API_HASH
- BOT_TOKEN
- DEST
- DEPLOY_KEY
environment:
- PHP_VERSION=${php}
- TAG=${CI_COMMIT_TAG}
Expand Down
2 changes: 1 addition & 1 deletion src/Db/DriverArray.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ private static function getMigrationName(DbType|array|null $instance, bool $incl
}
$base = \str_replace('NullCache\\', '', $instance::class);
if ($include_serialization_type && $instance instanceof DriverArray) {
$base .= ' ('.$instance->dbSettings->getSerializer()->value.')';
$base .= ' ('.($instance->dbSettings->getSerializer()?->value ?? 'default').')';
}
return $base;
}
Expand Down

0 comments on commit 0fa1f1a

Please sign in to comment.