mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
feat(deploy): add deploy-verify-permissions recipe + upload/run deploy-server.sh before verification + run migrations in deploy
This commit is contained in:
6
TODO.md
6
TODO.md
@@ -6,6 +6,12 @@
|
||||
- [x] WAL mode already active (`PRAGMA journal_mode` → `wal`) — set in Database constructor
|
||||
- [ ] Verify `-wal` and `-shm` sidecar files exist after writes
|
||||
- [ ] Verify nginx/PHP write access to sidecar files on server
|
||||
- [x] Add deploy-verify-permissions recipe that checks ownership, directory perms, file perms, and writability after rsync
|
||||
- [x] deploy recipe now uploads and runs deploy-server.sh to fix permissions, then verifies them
|
||||
- [x] deploy recipe now runs migrations (scripts/migrate.sh) after ensuring DB exists
|
||||
- [x] fix migrate.sh to detect server vs local layout (no app/ subdir on server)
|
||||
- [x] regenerate schema.sql from local DB via generate-schema.py (includes v_smtp_active, all 28 migrations)
|
||||
- [x] fix generate-schema.py to include v_smtp_active (was explicitly excluded)
|
||||
|
||||
### Phase 2 — Audit Log
|
||||
- [x] `admin_audit_log` table already exists (migration 009), `AdminLogger` already writes to it
|
||||
|
||||
Reference in New Issue
Block a user