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

52 commits

Author SHA1 Message Date
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
1e6b21cfd4 Merge branch '2.x' of github.com:stancl/tenancy into 2.x 2019-09-20 20:18:53 +02:00
Samuel Štancl
509d00f9f3 Add docblocks 2019-09-20 20:14:58 +02:00
stancl
6faac920c9 Apply fixes from StyleCI 2019-09-20 17:44:18 +00: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
c9903cd43c Clean up 2019-09-19 20:32:09 +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
524530c8d5 TenantDatabaseManagerTest fully passes now 2019-09-17 18:57:19 +02:00
Samuel Štancl
5e9b421aa6 Fix Tenant DB manager tests 2019-09-17 17:59:40 +02:00
Samuel Štancl
50a77ee826 Fix some tests 2019-09-16 17:36:32 +02:00
Samuel Štancl
67bfb20e96 Unique ID generator 'handle' -> 'generate' 2019-09-16 16:59:18 +02:00
stancl
359766ccfa Apply fixes from StyleCI 2019-09-15 15:44:41 +00:00
Samuel Štancl
c65b6839ff Tenant-specific connections, some work to get tests running 2019-09-15 17:44:26 +02:00
Samuel Štancl
e25a01a997 TenantStorageException 2019-09-15 12:16:45 +02:00
Samuel Štancl
0fd1d82c68 TenantModel putMany 2019-09-15 11:01:24 +02:00
stancl
2355171c86 Apply fixes from StyleCI 2019-09-15 07:35:18 +00:00
Samuel Štancl
2657df5a88 delete() method on Tenant 2019-09-15 09:35:06 +02:00
Samuel Štancl
8bb13c7159 Go back to public constructor 2019-09-15 09:28:36 +02:00
Samuel Štancl
e69a8f597f Private Tenant constructor 2019-09-15 09:24:38 +02:00
Samuel Štancl
7a0154bf8e Get tests to run 2019-09-11 21:11:40 +02:00
Samuel Štancl
445b2650cf ID generation 2019-09-11 19:25:30 +02:00
Samuel Štancl
958651099a event callback -> event listener 2019-09-11 19:18:53 +02:00
Samuel Štancl
69db512d30 Storage drivers WIP 2019-09-11 14:32:13 +02:00
stancl
7eba041509 Apply fixes from StyleCI 2019-09-08 15:24:12 +00:00
Samuel Štancl
4872197fb6 TenantManager storage 2019-09-08 17:18:31 +02:00
Samuel Štancl
b0d119753d Remove some todos 2019-09-08 14:40:49 +02:00
Samuel Štancl
04b4e0644f WIP DatabaseManager 2019-09-08 13:46:07 +02:00
Samuel Štancl
6b716e5345 Use a nicer way to bind the current tenant 2019-09-07 19:46:45 +02:00
Samuel Štancl
0ac7fb74d6 wip 2019-09-07 16:40:45 +02:00
Samuel Štancl
d3712dfacc Events 2019-09-07 16:11:38 +02:00
Samuel Štancl
87916bd8e5 Save makes the Tenant instance persisted 2019-09-06 18:59:40 +02:00
Samuel Štancl
f04ca349bd Tenant contract, Tenancy bootstrappers, drop predis 2019-09-06 18:51:34 +02:00
Samuel Štancl
98cb49b1c0 Merge 2019-09-05 19:27:20 +02:00
Samuel Štancl
41d8bb7e09 DatabaseManager WIP 2019-09-05 19:26:29 +02:00
stancl
e2b6e6d73c Apply fixes from StyleCI 2019-09-04 18:25:52 +00:00
Samuel Štancl
696cc8ba9a WIP TenantManager 2019-09-04 20:25:44 +02:00
Samuel Štancl
96e8dec5eb Add Tenant object 2019-09-04 19:39:24 +02:00
Samuel Štancl
72baa45126 Make TenantModel final 2019-09-04 16:57:19 +02:00
Samuel Štancl
f4421af6c5
Fix custom columns, add tests (#122)
* Fix custom columns & add test

* Apply fixes from StyleCI
2019-09-04 16:53:01 +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
e41a469510 Remove defaulting to 'default' DB connection 2019-08-18 23:25:10 +02:00
Samuel Štancl
f87c2b69ec Default to default DB 2019-08-17 21:25:53 +02:00
stancl
84890cdd1e Apply fixes from StyleCI 2019-08-16 16:21:59 +00:00
Samuel Štancl
2fe464a1f9 Use only 2019-08-16 16:01:39 +02:00
Samuel Štancl
9df78eb9c2
[1.7.0] Add DB storage driver (#82) 2019-08-16 14:36:49 +02:00