Files
Pontoporeia 30a16f9e9e fix: display db timestamps in Brussels time
(heure de dépôt was showing UTC)

- feat: add date_depot column (real TFE deposit date)
with CSV round-trip + Brussels→UTC sanitization
- fix: keep PHP default tz at UTC to preserve token/share-link
 expiry consistency; convert to Brussels only in db_datetime()
2026-09-18 16:26:36 +02:00
..
2026-06-10 00:21:56 +02:00

Database documentation

XAMXAM stores its data in a SQLite database. See also the top-level docs/database.md.

Quick start

  • Database file: xamxam.db
  • Schema (baseline + seed): schema.sql
  • Migrations: applied set under app/migrations/applied/ (run via just migrate)
just query          # open an interactive sqlite3 shell on xamxam.db
just init-db        # (re)create xamxam.db from schema.sql
just reset-db       # rm xamxam.db + init-db
just migrate        # run pending migrations

Files here

Path Purpose
xamxam.db The live SQLite database
schema.sql Full, fully-migrated schema + seed data (regenerated from the local DB)
backups/ just backup-snapshot hot-backups (*.db.gz)
cache/ Runtime cache (rate limits, etc.)
logs/ Dev-only runtime logs (cli-server); production logs live in /var/log/xamxam/
covers/ Cover images
theses/, tfe/, tmp/ Uploaded files / staging

See also