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

30 commits

Author SHA1 Message Date
Samuel Štancl
e88801a4d1 Fix TenantStorageTest 2019-09-30 19:02:00 +02:00
Samuel Štancl
ae6cf5c1ab DB manager now doesn't depend on DB storage driver 2019-09-30 18:41:51 +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
stancl
cdf174c6c6 Apply fixes from StyleCI 2019-09-29 09:59:28 +00:00
Samuel Štancl
33f5f0e316 Remove timestamps 2019-09-29 11:59:17 +02:00
Samuel Štancl
6b103cd2cb Model timestamps 2019-09-27 22:53:38 +02:00
Samuel Štancl
c475e7a43d Fix transactions 2019-09-21 13:54:02 +02:00
Samuel Štancl
46609c5b0d DB transactions 2019-09-21 13:27:26 +02:00
Samuel Štancl
cd53ff120d Fix tests 2019-09-21 12:04:25 +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
stancl
6faac920c9 Apply fixes from StyleCI 2019-09-20 17:44:18 +00:00
Samuel Štancl
61cc0d9364 Update tenant tests 2019-09-20 19:24:02 +02:00
Samuel Štancl
8beaaaeda7 ensureTenantCanBeCreated test 2019-09-20 17:05:19 +02:00
Samuel Štancl
6b0ec1b554 Passing tests with DB storage driver 2019-09-18 20:08:30 +02:00
Samuel Štancl
12c05c0af6 Fix some tests 2019-09-18 19:48:15 +02:00
Samuel Štancl
1f88a1ff94 updateTenant DB storage driver 2019-09-18 18:11:41 +02:00
Samuel Štancl
9bb56c1b30 Fix feature bootstrapping 2019-09-18 18:02:14 +02:00
Samuel Štancl
8565cc7acc Get multiple envs (redis/db) to run correctly 2019-09-17 19:39:57 +02:00
Samuel Štancl
1532ccf019 Fix some tests 2019-09-16 16:57:55 +02:00
Samuel Štancl
27ded685f8 Merge branch 'master' of github.com:stancl/tenancy 2019-09-15 17:44:30 +02:00
Samuel Štancl
c65b6839ff Tenant-specific connections, some work to get tests running 2019-09-15 17:44:26 +02:00
stancl
d320fa221d Apply fixes from StyleCI 2019-09-15 10:17:00 +00:00
Samuel Štancl
5fb11dfc9f DB driver ensureTenantCanBeCreated 2019-09-15 11:50:19 +02:00
Samuel Štancl
0fd1d82c68 TenantModel putMany 2019-09-15 11:01:24 +02:00
Samuel Štancl
15a7db9e71 Clean up TenantCannotBeCreatedException 2019-09-15 09:40:53 +02:00
stancl
2c25e79385 Apply fixes from StyleCI 2019-09-11 19:11:57 +00:00
Samuel Štancl
ad902ae22b Merge branch 'master' of github.com:stancl/tenancy 2019-09-11 21:11:47 +02:00
Samuel Štancl
7a0154bf8e Get tests to run 2019-09-11 21:11:40 +02:00
stancl
b4c38b8d2b Apply fixes from StyleCI 2019-09-11 18:57:42 +00:00
Samuel Štancl
23a4fd24b0 StorageDrivers\Database domain 2019-09-11 20:57:30 +02:00