fix: rinomina score.nome in score.elemento per coerenza con tabella pesi

This commit is contained in:
2026-08-21 19:17:03 +02:00
parent f16012c8bd
commit ad2fc0d510
2 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ CREATE TABLE IF NOT EXISTS score (
client_code TEXT NOT NULL REFERENCES soggetti(client_code),
sessione_id INTEGER NOT NULL REFERENCES sessioni(id),
tipo TEXT NOT NULL CHECK (tipo IN ('asse','macro','fitness_age')),
nome TEXT NOT NULL,
elemento TEXT NOT NULL,
valore REAL,
copertura REAL NOT NULL,
stato TEXT NOT NULL CHECK (stato IN ('ok','insufficiente')),