sonata-project / EntityAuditBundle

Audit for Doctrine Entities
https://sonata-project.org
MIT License
633 stars 261 forks source link

Fix getting table name when the table schema is an empty string #617

Closed X-Coder264 closed 7 months ago

X-Coder264 commented 7 months ago

Subject

I am targeting this branch, because this is bug fix.

Some bundles set the table schema to a blank string instead of null which then results in this bundle blowing up due to running broken SQL queries like INSERT INTO .foo (instead of INSERT INTO foo).

Changelog

### Fixed
Fix getting table name when the table schema is an empty string