1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-15 23:54:04 +00:00
tenancy/src/Commands
Samuel Štancl a0a9b85982 Refactor DatabaseConfig, minor DB manager improvements, resolve todos
Notable changes:
- CreateUserWithRLSPolicies: Clarify why we're creating a custom
  DatabaseConfing instance
- HasDatabase: Clarify why we're ignoring tenancy_db_connection
- DatabaseConfig: General refactor, clarify the role of the host conn
- SQLiteDatabaseManager: Handle trailing DIRECTORY_SEPARATOR
  in static::$path
- DisallowSqliteAttach: Don't throw any exceptions, just silently fail
  since the class isn't 100% portable
- Clean up todos that are no longer relevant
- Clean up dead code or comments in some database managers
2025-10-13 16:01:34 +02:00
..
ClearPendingTenants.php Improve commands CLI output (#1030) 2022-12-14 15:08:00 +01:00
CreatePendingTenants.php Pending tenants refactor (BC break) 2025-08-25 00:01:02 +02:00
CreateUserWithRLSPolicies.php Refactor DatabaseConfig, minor DB manager improvements, resolve todos 2025-10-13 16:01:34 +02:00
Down.php [4.x] Add pending tenants (modified #782) (#869) 2022-10-31 12:14:44 +01:00
Install.php install: support starring using GH CLI 2025-09-26 13:49:15 +02:00
Link.php fix phpstan errors 2024-08-06 04:35:25 +02:00
Migrate.php [4.x] Use --database in tenants:migrate as the template connection (#1386) 2025-08-25 15:57:15 +02:00
MigrateFresh.php Add --force option to tenants:migrate-fresh (#1391) 2025-08-25 15:47:16 +02:00
MigrateFreshOverride.php Only delete tenants in MigrateFreshOverride if the tenants table exists (#1007) 2022-11-18 15:58:04 +01:00
Rollback.php [4.x] General code cleanup (#1278) 2024-12-31 00:35:46 +01:00
Run.php [4.x] Fix tenants:run argument parsing (#1287) 2025-01-11 12:03:09 +01:00
Seed.php [4.x] Add pending tenants (modified #782) (#869) 2022-10-31 12:14:44 +01:00
TenantDump.php Fix code style (php-cs-fixer) 2024-03-29 20:42:20 +00:00
TenantList.php fix phpstan errors 2024-08-06 04:35:25 +02:00
Tinker.php [4.x] General code cleanup (#1278) 2024-12-31 00:35:46 +01:00
Up.php [4.x] Add pending tenants (modified #782) (#869) 2022-10-31 12:14:44 +01:00