feat: add vms and ssh keys schema

This commit is contained in:
Philipp
2026-06-10 15:45:21 +02:00
parent ed7acaa33d
commit 0e9295c1c8
4 changed files with 62 additions and 0 deletions
+6
View File
@@ -49,6 +49,11 @@ Arbeitsliste auf Basis von `proxmox-console-entwicklungsplan.md`. Die Entwurfsda
- [x] `encrypted_token` als `bytea` ohne Klartext-Token-Spalte angelegt
- [x] `token_id`, `api_endpoint`, `tls_fingerprint`, Status und Zeitstempel angelegt
- [x] Checks und Indizes fuer Endpoint/Status gesetzt
- [x] E2-T05: VMs & Ressourcen-Mapping
- [x] Migration fuer `vms` und `ssh_keys` angelegt
- [x] VMs referenzieren eindeutig Projekt und Cluster
- [x] Unique-Index auf `(cluster_id, proxmox_vmid)` gesetzt
- [x] Ressourcen- und Pflichtfeld-Checks gesetzt
## MVP-Backlog
@@ -91,3 +96,4 @@ Arbeitsliste auf Basis von `proxmox-console-entwicklungsplan.md`. Die Entwurfsda
- 2026-06-10: Kern-Tabellen-Migration `0002_core_identity` angelegt und lokal gegen Supabase verifiziert.
- 2026-06-10: Projekte-und-Quotas-Migration `0003_projects_and_quotas` angelegt und lokal gegen Supabase verifiziert.
- 2026-06-10: Cluster-Migration `0004_clusters` angelegt und lokal gegen Supabase verifiziert.
- 2026-06-10: VMs-und-SSH-Keys-Migration `0005_vms_and_ssh_keys` angelegt und lokal gegen Supabase verifiziert.