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

8 commits

Author SHA1 Message Date
Samuel Štancl
4f8d892481 Remove obsolete files, restructure 2020-05-21 15:54:35 +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
curious-jim
06ee1ff0e2
Migration paths (#268)
* allow multiple paths for tenant migrations

* tests: allow multiple paths for tenant migrations

* Update tests/CommandsTest.php

Co-Authored-By: Samuel Štancl <samuel.stancl@gmail.com>

* Update src/Traits/DealsWithMigrations.php

Co-Authored-By: Samuel Štancl <samuel.stancl@gmail.com>

* Update tests/CommandsTest.php

Co-Authored-By: Samuel Štancl <samuel.stancl@gmail.com>

* Update src/Traits/DealsWithMigrations.php

Co-Authored-By: Samuel Štancl <samuel.stancl@gmail.com>

* Update tests/TestCase.php

Co-Authored-By: Samuel Štancl <samuel.stancl@gmail.com>

Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
2020-02-16 12:10:50 +01:00
Samuel Štancl
2b00665247
[2.2.0] Allow --path to be specified for migration commands (#211)
* Allow --path to be specified for migration commands

* Fix tests
2019-11-07 21:44:45 +01: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
ef1e93bf96 Remove migrations_directory from config 2019-02-09 12:15:18 +01: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