Aggiunto constraint NOT NULL a campi utente obbligatori

This commit is contained in:
2026-04-14 09:05:23 +02:00
parent 3bbd9e6fc7
commit 51c70bf43f
+2 -2
View File
@@ -35,8 +35,8 @@ CREATE TABLE Utenti(
id_utente INT PRIMARY KEY AUTO_INCREMENT,
nome VARCHAR(30),
cognome VARCHAR(18),
email VARCHAR(255) UNIQUE,
password VARCHAR(255)
email VARCHAR(255) UNIQUE NOT NULL,
password VARCHAR(255) NOT NULL
);
-- 3. INSERIMENTO DATI (INSERT INTO)