Poweradmin\Infrastructure\Database
Classes
Records that a database has been used with the API backend, so the SQL backend can refuse it.
Settles the canonical id of zone rows this application creates in API backend mode.
Maps the database settings block to the PDO connection arguments.
Creates and drops tables, indexes and foreign keys for the installer using per-driver SQL.
Re-runs a whole transaction the database rolled back because it lost a lock race.
PDO subclass that records executed queries for debug display.
Opens the PDO connection from the database credentials, building the DSN and SSL options per driver.
Transaction control over the request's PDO handle, the one the repositories write through.
Writes the PermissionCatalogue seed data into freshly created Poweradmin tables.
Ownership under a zone id collision in API backend mode.
Keeps one zones row per zone named after its PowerDNS domain under the SQL backend.