mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-09-25 01:53:03 +02:00
docs: keep only reference documentation, archive one-offs
This commit is contained in:
+5
-3
@@ -58,7 +58,7 @@ DB so it always reflects the applied set of migrations.
|
||||
|
||||
## Tables
|
||||
|
||||
31 tables. Grouped by purpose:
|
||||
32 tables. Grouped by purpose:
|
||||
|
||||
### Core
|
||||
|
||||
@@ -97,6 +97,7 @@ DB so it always reflects the applied set of migrations.
|
||||
| `file_access_tokens` | One-time access tokens |
|
||||
| `file_access_sessions` | Session tokens for granted access |
|
||||
| `file_access_audit` | Audit trail of access events |
|
||||
| `one_time_tokens` | Generic single-use, expiring tokens (password reset, etc.); only SHA-256 hashes stored |
|
||||
|
||||
### Integrations / settings / content
|
||||
|
||||
@@ -132,7 +133,8 @@ DB so it always reflects the applied set of migrations.
|
||||
| `objet` | TEXT | `'tfe'` default; other objets (`these`, `frart`) gated by site_settings |
|
||||
| `orientation_id` / `ap_program_id` / `finality_id` | INT FK | Lookup refs |
|
||||
| `synopsis` / `context_note` / `remarks` | TEXT | |
|
||||
| `duration_pages`, `duration_minutes` | INT | Combined duration handled at app level |
|
||||
| `duration_value` / `duration_unit` | REAL / TEXT | Normalised duration (`pages` or `minutes`) |
|
||||
| `duration_pages`, `duration_minutes` | INT | Legacy per-unit duration fields (combined handling at app level) |
|
||||
| `has_annexes` | BOOLEAN | |
|
||||
| `access_type_id` | INT FK | Libre / Interne / Interdit |
|
||||
| `license_id` | INT FK | → `license_types` |
|
||||
@@ -141,7 +143,7 @@ DB so it always reflects the applied set of migrations.
|
||||
| `jury_points` | DECIMAL(4,2) | Grade / 20 |
|
||||
| `jury_note_added` | BOOLEAN | |
|
||||
| `contact_visible` | TEXT | `'public'`/`'internal'` control for author contact |
|
||||
| `submitted_at`, `defense_date`, `published_at` | DATETIME | Lifecycle timestamps |
|
||||
| `submitted_at`, `date_depot`, `defense_date`, `published_at` | DATETIME | Lifecycle timestamps (`date_depot` = real deposit date from CSV bulk import; Brussels-local parse → UTC storage) |
|
||||
| `is_published` | BOOLEAN | Public visibility flag |
|
||||
| `status` | TEXT | Default `'active'` |
|
||||
| `baiu_link` | TEXT | Institutional repo link |
|
||||
|
||||
Reference in New Issue
Block a user