From 03507fcd50809223d5e694c2a92bb64872430ab2 Mon Sep 17 00:00:00 2001 From: Antonio Pauletich Date: Tue, 16 Apr 2024 12:53:46 +0200 Subject: [PATCH 1/2] Fix getting table name --- src/AuditConfiguration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } From e7c3b256cddaa1ecca9035a7fd583610757d44d7 Mon Sep 17 00:00:00 2001 From: Antonio Pauletich Date: Tue, 16 Apr 2024 12:58:47 +0200 Subject: [PATCH 2/2] Fix workflow file --- .github/workflows/test-platforms.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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