diff --git a/.github/workflows/test-platforms.yaml b/.github/workflows/test-platforms.yaml index 2a28fd45..7be983a7 100644 --- a/.github/workflows/test-platforms.yaml +++ b/.github/workflows/test-platforms.yaml @@ -49,7 +49,7 @@ jobs: run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" - name: Install Composer dependencies (highest) - uses: ramsey/composer-install@v1 + uses: ramsey/composer-install@v2 with: dependency-versions: highest composer-options: --prefer-dist --prefer-stable @@ -98,7 +98,7 @@ jobs: run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" - name: Install Composer dependencies (highest) - uses: ramsey/composer-install@v1 + uses: ramsey/composer-install@v2 with: dependency-versions: highest composer-options: --prefer-dist --prefer-stable diff --git a/src/AuditConfiguration.php b/src/AuditConfiguration.php index da87f8a3..45f105a9 100644 --- a/src/AuditConfiguration.php +++ b/src/AuditConfiguration.php @@ -72,7 +72,7 @@ public function getTableName(ClassMetadataInfo $metadata) { $tableName = $metadata->getTableName(); - if (null !== $metadata->getSchemaName()) { + if (null !== $metadata->getSchemaName() && '' !== $metadata->getSchemaName()) { $tableName = $metadata->getSchemaName().'.'.$tableName; }