Samuel Štancl
40bf28c7d0
general refactor, move more classes under Database namespace
2022-08-27 03:17:16 +02:00
Samuel Štancl
15a7e52208
Get rid of tenant DB manager connection config
2020-05-21 14:47:29 +02:00
Samuel Štancl
c32f229dd5
Refactor more old code and get tests to pass
2020-05-13 04:51:37 +02:00
Samuel Štancl
89936187ce
Rewrite old tests
2020-05-12 23:22:40 +02:00
Samuel Štancl
64383b4c56
Refactor DB config & Tenant DB managers
2020-05-12 03:32:28 +02:00
Samuel Štancl
3bb2759fe2
[3.x] DB users ( #382 )
...
* Initial draft
* Apply fixes from StyleCI
* Use CI on master branch too
* Pass correct argument to queued DB creators/deleters
* Apply fixes from StyleCI
* Remove new interface from MySQLDBManager
* Make phpunit run
* Apply fixes from StyleCI
* Fix static property
* Default databaseName
* Use database transactions for creating users & granting permissions
* Apply fixes from StyleCI
* Get old tests to pass
* Apply fixes from StyleCI
* Add tests for PermissionControlledMySQLDatabaseManager
* Apply fixes from StyleCI
* Write test for extra config, fix bug with extra config
* Apply fixes from StyleCI
2020-05-03 18:12:27 +02:00
Samuel Štancl
95ee295da1
Fix PDO serialization exception ( #289 )
...
* Fix PDO serialization exception when queueing tenant creation
* Apply fixes from StyleCI
* Fix $this->database() calls
2020-02-10 16:04:40 +01:00
Samuel Štancl
fed8c0f9d1
[2.2.4] [WIP] Respect custom connections when creating database ( #244 )
...
* Add TenantDatabaseManager::setConnection()
* Apply fixes from StyleCI
2019-12-11 22:16:25 +01:00
Chris Brown
14843b4291
Refactor Config\Repository dependencies to use Contract ( #157 )
...
Fixes #156
2019-10-08 21:34:49 +02:00
Samuel Štancl
eabac3d09f
Replace Foundation\Application dependencies with Cache\Repository wherever possible ( #149 )
2019-09-30 17:10:39 +02:00
Samuel Štancl
eb6cba8f1a
Create MySQL/PostgreSQL DBs while using sqlite as the central DB driver
2019-09-21 11:11:36 +02:00
Samuel Štancl
de54b5708c
canCreate database
2019-09-08 16:52:10 +02:00
Samuel Štancl
2fd3662eb7
[1.8.0] Use strict types ( #115 )
...
* Use strict types
* Apply fixes from StyleCI
* Fix str_repeat
* Fix false json decode
2019-08-23 18:18:26 +02:00
Samuel Štancl
24f8e10c1b
wip
2019-08-22 23:16:43 +02:00
Samuel Štancl
660100631e
Fix PostgreSQL DB manager ( fix #112 )
2019-08-22 23:13:59 +02:00
Samuel Štancl
b2e2460c34
Add PostgreSQL DB driver ( #52 )
2019-07-12 23:09:29 +02:00