Files
xamxam/app/storage
..
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/ Runtime logs (admin, audit) — outside the webroot
covers/ Cover images
theses/, tfe/, tmp/ Uploaded files / staging

See also