correzione a 01_schema.sql
This commit is contained in:
parent
019ddd9ef1
commit
083a24dc1c
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ CREATE TABLE IF NOT EXISTS utente (
|
|||
Cognome VARCHAR(100) NOT NULL,
|
||||
Email VARCHAR(255) NOT NULL,
|
||||
PasswordHash VARCHAR(255) NOT NULL COMMENT 'Password salvata come hash (es. bcrypt)',
|
||||
Ruolo ENUM("Amministratore", "Operatore") NOT NULL DEFAULT Operatore,
|
||||
Ruolo ENUM("Amministratore", "Operatore") NOT NULL DEFAULT "Operatore",
|
||||
created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
updated_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue