refactor: remove test.db, use only posterg.db for all environments

- Simplified Database.php determineDatabasePath to always use posterg.db
- Removed test.db auto-detection based on php_sapi_name
- Removed test.db targets from justfile (migrate-test removed)
- Removed CreateTestDatabase.php fixture script
- Updated migrate.sh to only init posterg.db
- Updated setup-dev.sh to init posterg.db
- Updated run-tests.php (removed DB_ENV=test env var)
- Updated deploy-db to use posterg.db
- Removed test.db file

refactor: remove empty fixtures directory
This commit is contained in:
Théophile Gervreau-Mercier
2026-04-27 18:07:03 +02:00
parent 780105eec0
commit 7e26351f4b
12 changed files with 195 additions and 496 deletions

12
TODO.md
View File

@@ -1,2 +1,10 @@
- [x] Fix .gitignore path for storage/cache/ (was `app/storage/cache/`)
- [x] Untrack storage/cache/rate_limit/*.json files with jj
# TODO
- [x] Update migrate.sh to only handle posterg.db
- [x] Update Database.php determineDatabasePath to always use posterg.db
- [x] Update justfile to remove test.db targets and references
- [x] Remove CreateTestDatabase.php fixture script
- [x] Update setup-dev.sh to only create posterg.db
- [x] Update run-tests.php to use posterg.db
- [x] Remove test.db file
- [x] Update deploy-db target in justfile