1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-05-07 22:04:04 +00:00
Commit graph

7 commits

Author SHA1 Message Date
github-actions[bot]
182f3a2eb2 Fix code style (php-cs-fixer) 2026-04-29 12:16:22 +00: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
lukinovec
ad7d229daf Use parameter binding in SELECT queries 2026-04-29 10:21:47 +02:00
lukinovec
808f52765c Use select() instead of selectOne() in databaseExists() and userExists()
This is just for consistency, since all the other DB managers use select().
2026-04-29 10:08:45 +02:00
f955b38e2b phpstan fixes 2025-01-05 15:50:30 +01:00
0fc105487b Tenant DB manager database() -> connection() 2024-09-12 18:34:45 +02:00
Samuel Štancl
7317d2638a
Postgres RLS + permission controlled database managers (#33)
This PR adds Postgres RLS (trait manager + table manager approach) and permission controlled managers for PostgreSQL.

---------

Co-authored-by: lukinovec <lukinovec@gmail.com>
Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
2024-04-24 22:32:49 +02:00