Abrar Ahmad
97ab483173
Completing PR #881 ( #902 )
...
* install PHP CS Fixer
* Fix styling
* remove StyleCI config
* use config from archtechx/template
* Fix styling
* added `php-cs-fixer`
* Update .php-cs-fixer.php
* added GitHub token
* Update ci.yml
* Update ci.yml
* Update ci.yml
* php-cs-fixer workflow same as template
Co-authored-by: Erik Gaal <me@erikgaal.nl>
Co-authored-by: erikgaal <erikgaal@users.noreply.github.com>
2022-07-20 15:28:45 +02:00
sort72
08bfd6f9bb
Use tenant key on console commands instead of id ( #768 )
2021-12-25 15:24:34 +01:00
Michael Lundbøl
27e9fb4a69
Fix arguments being initialized twice for tenants:seed command ( #611 )
2021-03-10 12:08:51 +01: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
3c4d2189dc
DatabasePreparationTest
2020-05-12 03:14:08 +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
e363456497
Fix #367 , make seeder respect --force ( #368 )
2020-04-23 20:20:54 +02:00
Samuel Štancl
61785128a8
Don't override CLI params in tenants:seed ( fixes #329 )
2020-03-24 15:14:20 +01:00
Samuel Štancl
526f0826a4
Use seeder params in tenants:seed instead of just the automatic seeder ( #317 )
...
* Use seeder params in tenants:seed instead of just the automatic seeder
* Left trim - from option names
* Use no seeder params for tests
2020-03-17 15:59:45 +01: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
709e295048
Use correct DB connection in seed command
2019-10-04 21:23:06 +02:00
Samuel Štancl
553b162930
Clean endTenancy() calls at the end of commands
2019-09-27 22:57:10 +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
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
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