1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-06-21 01:34:04 +00:00
tenancy/src/Jobs
Thomas 23b18c93a0
Skip DB deletion when create_database=false, add ignoreFailures (#1394)
Database deletion is now skipped by default if the tenant has the
`create_database` internal attribute set to false, meaning it was likely
created without a database. This skip can be opted out of by changing a
static property.

It also adds an opt-in static property for ignoring any other failures
during database deletion, to allow continuing execution of the delete
pipeline.

---------

Co-authored-by: Samuel Štancl <samuel@archte.ch>
2026-05-01 21:57:19 +02:00
..
ClearPendingTenants.php Resource syncing rework (#30) 2024-02-10 19:08:37 +01:00
CreateDatabase.php Fix assert: run createDatabase() outside assert() 2025-10-16 01:10:07 +02:00
CreatePendingTenants.php Resource syncing rework (#30) 2024-02-10 19:08:37 +01:00
CreateStorageSymlinks.php Enable single_line_empty_body phpcsfixer rule 2024-04-02 04:31:03 +02:00
DeleteDatabase.php Skip DB deletion when create_database=false, add ignoreFailures (#1394) 2026-05-01 21:57:19 +02:00
DeleteDomains.php fix: drop tenant databases on migrate fresh without domains (#1282) 2025-01-01 20:31:47 +01:00
DeleteTenantStorage.php Change tenant storage listeners into jobs (#1446) 2026-04-22 16:45:54 +02:00
MigrateDatabase.php Enable single_line_empty_body phpcsfixer rule 2024-04-02 04:31:03 +02:00
RemoveStorageSymlinks.php Central routes without Route::domain(), configurable tenant/central routes by default for domain/subdomain identification, allow accessing central routes in early identification for path & request data middleware (#3) 2023-08-03 00:23:26 +02:00
SeedDatabase.php Enable single_line_empty_body phpcsfixer rule 2024-04-02 04:31:03 +02:00