Commit 1b2301d9 authored by THEO GUILLON's avatar THEO GUILLON
Browse files

Merge branch '386-pb-d-enregistement-lors-de-l-ajout-d-une-organisation' into '1.2.0'

Resolve "pb d'enregistement lors de l'ajout d'une organisation"

See merge request libriciel/pole-citoyens/web-DPO/web-DPO!357
parents 5136ae95 a1814e74
......@@ -436,8 +436,6 @@ ALTER TABLE responsables
;
CREATE UNIQUE INDEX responsables_raisonsocialestructure_idx ON responsables (raisonsocialestructure);
CREATE UNIQUE INDEX responsables_raisonsocialestructure_siretstructure_idx ON responsables (raisonsocialestructure, siretstructure);
CREATE UNIQUE INDEX responsables_emailstructure_idx ON responsables (emailstructure);
CREATE UNIQUE INDEX responsables_numerocnil_dpo_idx ON responsables (numerocnil_dpo);
ALTER TABLE responsables ADD CONSTRAINT responsables_civiliteresponsable_in_list_chk CHECK (cakephp_validate_in_list(civiliteresponsable, ARRAY['M.', 'Mme.']));
ALTER TABLE responsables ADD CONSTRAINT responsables_civility_dpo_in_list_chk CHECK (cakephp_validate_in_list(civility_dpo, ARRAY['M.', 'Mme.']));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment