1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 09:54:03 +00:00
tenancy/src
lukinovec 77226cf2f4
Delete pivot records when deleting SyncMaster using morph pivot (#46)
* Add and correct pivot record tests

* Implement and test deleting pivot records when using morph pivot

* Use dataset to test deleting pivot records with both MorphTenantPivot and TenantPivot

* Delete extra test, use createTenantsAndRunMigrations() where appropriate

* FIx PHPStan errors

* Revert DB::table() assertion changes

* minor test improvements

---------

Co-authored-by: Samuel Štancl <samuel@archte.ch>
2024-04-22 12:18:15 +02:00
..
Actions Refactor early identification (#47) 2024-04-22 11:30:58 +02:00
Bootstrappers change default cookie name, add todos 2024-04-15 03:11:11 +02:00
Commands phpcsfixer: enable nullable_type_declaration_for_default_null_value 2024-04-09 20:55:49 +02:00
Concerns Refactor early identification (#47) 2024-04-22 11:30:58 +02:00
Contracts Enable single_line_empty_body phpcsfixer rule 2024-04-02 04:31:03 +02:00
Controllers phpcsfixer: enable nullable_type_declaration_for_default_null_value 2024-04-09 20:55:49 +02:00
Database add Tenancy::$findWith 2024-04-05 19:48:50 +02:00
Enums Improve file structure (#5) 2023-08-03 17:51:53 +02:00
Events Enable single_line_empty_body phpcsfixer rule 2024-04-02 04:31:03 +02:00
Exceptions Refactor early identification (#47) 2024-04-22 11:30:58 +02:00
Facades Extend GlobalCache facade from the original facade (#495) 2020-09-18 23:18:21 +02:00
Features phpcsfixer: enable nullable_type_declaration_for_default_null_value 2024-04-09 20:55:49 +02:00
Jobs Resolve test to-dos (#45) 2024-04-18 00:22:03 +02:00
Listeners Refactor early identification (#47) 2024-04-22 11:30:58 +02:00
Middleware Refactor early identification (#47) 2024-04-22 11:30:58 +02:00
Overrides Refactor early identification (#47) 2024-04-22 11:30:58 +02:00
Resolvers Refactor early identification (#47) 2024-04-22 11:30:58 +02:00
ResourceSyncing Delete pivot records when deleting SyncMaster using morph pivot (#46) 2024-04-22 12:18:15 +02:00
UniqueIdentifierGenerators fix combination calculation docblock for random str generator 2024-04-13 05:43:37 +02:00
helpers.php phpcsfixer: enable nullable_type_declaration_for_default_null_value 2024-04-09 20:55:49 +02:00
Tenancy.php phpcsfixer: enable nullable_type_declaration_for_default_null_value 2024-04-09 20:55:49 +02:00
TenancyServiceProvider.php add tenant:tinker command 2024-04-03 19:46:27 +02:00