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

12 commits

Author SHA1 Message Date
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
a1270189da
[2.1.0] Tenant Run (#163)
* $tenant->run()

* Add assertion
2019-10-11 21:02:54 +02:00
Samuel Štancl
56a2bdf5af
[2.x] Tenant config (#145)
* TenantConfig first draft

* Apply fixes from StyleCI

* Add unsetTenantConfig

* Fix DB storage driver bug, add regression test (tenant_data_can_be_set_during_creation)

* Add tests & config keys

* Apply fixes from StyleCI
2019-09-30 16:52:46 +02:00
Samuel Štancl
c475e7a43d Fix transactions 2019-09-21 13:54:02 +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
509d00f9f3 Add docblocks 2019-09-20 20:14:58 +02:00
Samuel Štancl
93fc961b34 Tenant::with 2019-09-20 19:44:05 +02:00
Samuel Štancl
61cc0d9364 Update tenant tests 2019-09-20 19:24:02 +02:00
Samuel Štancl
b268dd5d50 Multiple domains test 2019-09-20 18:13:25 +02:00
stancl
bdaf6cf824 Apply fixes from StyleCI 2019-09-20 15:58:43 +00:00
Samuel Štancl
bea6e4f5e9 shouldHaveReceived 2019-09-20 17:57:52 +02:00
Samuel Štancl
9892c3afc7 Data cache test 2019-09-20 17:56:22 +02:00