feat(#102): BDD nir_chiffre NOT NULL + migration pour bases existantes
Made-with: Cursor
This commit is contained in:
+1
-1
@@ -80,7 +80,7 @@ CREATE INDEX idx_utilisateurs_token_creation_mdp
|
||||
CREATE TABLE assistantes_maternelles (
|
||||
id_utilisateur UUID PRIMARY KEY REFERENCES utilisateurs(id) ON DELETE CASCADE,
|
||||
numero_agrement VARCHAR(50),
|
||||
nir_chiffre CHAR(15),
|
||||
nir_chiffre CHAR(15) NOT NULL,
|
||||
nb_max_enfants INT,
|
||||
biographie TEXT,
|
||||
disponible BOOLEAN DEFAULT true,
|
||||
|
||||
Reference in New Issue
Block a user