Appearance
Overview schema minap_file
Version: 1.3
Date: 2026-11-22
Status: Working baseline
| Hạng mục | Giá trị | Status |
|---|---|---|
| Engine | PostgreSQL | DECIDED (D-022) |
| Schema name | minap_file | DECIDED (Owner 2026-11-22; trước đây file_service) |
| Timestamps | UTC TIMESTAMPTZ | DECIDED direction |
| Bytes | Không trong Postgres | DECIDED |
| Hầu hết cột bảng | PROPOSED (hub + discovery) | Working baseline |
workspace_id nullable | CONFIRMED Owner 2026-11-21 | CONFIRMED |
| Độc lập Core | Soft ref only | CONFIRMED |
Bảng
| Bảng | Publish ID | Mục đích |
|---|---|---|
temp_uploads | tmp_… | Upload tạm |
files | file_… | File durable + sync/purge + cover_storage_name |
variant_cache | UK (file_id, size_px) | GC variant |
storage_connections | nội bộ | Cloud targets |
config | PK key | TTL/cron/allowlists/video.cover.* / jobs.orchestrator.* / jobs.lock.* |
migration_jobs | nội bộ | Batch migrate |
Không có: quota/usage, workspace_storage_policies, upload_sessions, FS audit_events (DEFERRED), organization_id.
Chi tiết cột (kiểu + PK + ví dụ): 02-schema. Catalog key: 03-config-keys. ERD: 04-erd.