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

7 commits

Author SHA1 Message Date
Samuel Štancl
4f8d892481 Remove obsolete files, restructure 2020-05-21 15:54:35 +02:00
Samuel Štancl
ac58f6992b Use getTenantKey() instead of ->id references 2020-05-20 20:41:47 +02:00
Samuel Štancl
89936187ce Rewrite old tests 2020-05-12 23:22:40 +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
d0bd8f2ad8
Force migrate when running MigrateFresh 2020-03-10 21:33:25 +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
d0b1729258
[2.x] Migrate fresh (#148)
* Remove comment

* migrate-fresh first draft

* Final

* DB name -> DB connection

* Add array_filter for consistency with Laravel

* Add test for migrate-fresh

* Apply fixes from StyleCI
2019-09-30 17:01:01 +02:00