1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-06-21 05:54:03 +00:00
Commit graph

8 commits

Author SHA1 Message Date
lukinovec
34d19e94e2 Make hardening work with all db/schema managers
Previously, hardening only worked with databases, not with schemas. Also test that hardening works with all relevant db managers.
2026-06-10 13:21:41 +02:00
lukinovec
740d53e9cc Rename ValidatesSqlParameters to ValidatesDatabaseParameters 2026-04-29 17:35:11 +02:00
lukinovec
d5087d19c5 Extract parameter validation into a trait
Also, use parameterAllowlist() instead of the static property (so that we can e.g. override it later in SQLiteDatabaseManager, since overriding the static property doesn't work).
2026-04-29 17:35:11 +02:00
lukinovec
bdf592c0ff Add parameter validation to DB managers
DB manager methods validate the parameters they use in SQL statements using validateParameter() (excluding parameters passed via bindings in SELECT statements).
2026-04-29 14:13:56 +02:00
0fc105487b Tenant DB manager database() -> connection() 2024-09-12 18:34:45 +02:00
Samuel Štancl
fe0a322b87 add public connection() method to the Tenant DB manager interface 2022-10-25 12:53:31 +02:00
PHP CS Fixer
eade69c3f4 Fix code style (php-cs-fixer) 2022-08-27 20:29:46 +00:00
Samuel Štancl
d2e1ce0a1e refactor TenantDatabaseManagers 2022-08-27 22:29:08 +02:00