mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 11:09:18 +02:00
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:
@@ -27,7 +27,7 @@ Files are pushed to the server with rsync — there is no repo on the remote.
|
||||
|
||||
```bash
|
||||
just deploy # rsync app files → posterg:/var/www/posterg/
|
||||
just deploy-db # push local test.db → remote (only if remote DB is absent)
|
||||
just deploy-db # push local posterg.db → remote (only if remote DB is absent)
|
||||
```
|
||||
|
||||
`deploy-db` refuses to run if a database already exists on the server, to avoid
|
||||
|
||||
Reference in New Issue
Block a user