Samuel Štancl
349125c02e
Merge hotfix branch ( #834 )
...
* try specifying the signature in __construct
* constructor doesn't work since Reflection is used, try specifying getDefaultName() instead
* Fixed: make migration commands compatible
* Fix failing tests
* Fix username generation
* Re-create tmp dir as well if needed
* wip
2022-03-30 18:00:55 +02:00
sort72
08bfd6f9bb
Use tenant key on console commands instead of id ( #768 )
2021-12-25 15:24:34 +01:00
Andre Sayej
36aabb7883
First try at Laravel 8 ( #491 )
2020-09-08 21:11:56 +02:00
Samuel Štancl
579779b88b
Move DatabaseManager
2020-05-30 15:38:29 +02:00
stancl
6955512a6b
Apply fixes from StyleCI
2020-05-22 09:01:31 +00:00
Samuel Štancl
33d6fd82da
-ing event behavior
2020-05-21 17:55:48 +02:00
Samuel Štancl
4f8d892481
Remove obsolete files, restructure
2020-05-21 15:54:35 +02:00
Samuel Štancl
89936187ce
Rewrite old tests
2020-05-12 23:22:40 +02:00
Samuel Štancl
6f4b9f486c
Bootstrapper tests
2020-05-11 03:37:47 +02:00
Samuel Štancl
bd9aad229b
vague first draft of v3. TenantModelTest is passing
2020-05-08 04:37:43 +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
7389f44de9
[2.2.0] Use Tenant Run in console commands ( #205 )
...
* Utilize Tenant Run in commands
* Apply fixes from StyleCI
2019-10-27 20:50:49 +01:00
Samuel Štancl
f77a929113
getDatabaseName() -> getConnectionName()
2019-10-04 21:31:21 +02:00
Samuel Štancl
ede2dc23c6
Use correct DB connections in Migrate, Rollback & Seed commands
2019-10-04 21:22:47 +02:00
Samuel Štancl
50cf677034
Remove comment
2019-09-29 12:01:40 +02:00
Samuel Štancl
553b162930
Clean endTenancy() calls at the end of commands
2019-09-27 22:57:10 +02:00
Samuel Štancl
74aead2a60
Add test for tenancy.database.based_on null
2019-09-21 14:06:42 +02:00
Samuel Štancl
c475e7a43d
Fix transactions
2019-09-21 13:54:02 +02:00
Samuel Štancl
cd53ff120d
Fix tests
2019-09-21 12:04:25 +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
79f912384b
uuid -> id (references in code)
2019-09-15 22:52:31 +02:00
Samuel Štancl
1bfe4a7ea5
Apply fixes from StyleCI ( #126 )
2019-09-11 17:37:02 +02:00
Samuel Štancl
04b4e0644f
WIP DatabaseManager
2019-09-08 13:46:07 +02:00
Samuel Štancl
41d8bb7e09
DatabaseManager WIP
2019-09-05 19:26:29 +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
stancl
fd66537e7f
Apply fixes from StyleCI
2019-08-17 13:25:48 +00:00
Samuel Štancl
be077ae73c
Add the option to specify connection in DatabaseManager
2019-08-17 15:25:39 +02:00
Samuel Štancl
a3f37b7f77
Fix #71
2019-07-25 23:26:36 +02:00
Samuel Štancl
e1def355f9
Add command tests
2019-02-09 11:53:48 +01:00
Samuel Štancl
33fcb8a936
Cleanup commands
2019-02-09 00:40:52 +01:00
Samuel Štancl
deb3ad77f5
Initial commit
2019-01-17 22:24:12 +01:00