1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 18:04:03 +00:00
tenancy/assets
Abrar Ahmad 627233d07a
[4.x] Don't use onDeleteCascade in the migrations (#883)
* removed `cascade` on delete for domains

* removed only `onDelete` cascade

* keep impersonation migrations unchanged

* domains set null on delete

* Update 2019_09_15_000020_create_domains_table.php

* Added DeleteDomain Job while deleting tenant.

* Update assets/TenancyServiceProvider.stub.php

Co-authored-by: Samuel Štancl <samuel@archte.ch>

* renamed class

* Update DeleteDomains.php

* onDelete restrict

* revert nullable

* removed `shouldQueue` interface

* Update TenancyServiceProvider.stub.php

* fetch and delete domains individually

* Update DeleteDomains.php

* tests for `DeleteDomains` job

Co-authored-by: Samuel Štancl <samuel@archte.ch>
2022-07-20 13:02:33 +02:00
..
impersonation-migrations Fix asset publishing 2020-05-17 15:14:05 +02:00
migrations [4.x] Don't use onDeleteCascade in the migrations (#883) 2022-07-20 13:02:33 +02:00
config.php [4.x] Added support for Microsoft Sql Server (#715) 2022-06-23 13:04:53 +02:00
routes.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
TenancyServiceProvider.stub.php [4.x] Don't use onDeleteCascade in the migrations (#883) 2022-07-20 13:02:33 +02:00
tenant_routes.stub.php Fix tenants:list 2020-05-29 09:33:49 +02:00