diff --git a/DUMP.md b/DUMP.md
index 503666aa7cc0f184564718dc62e6de3793faaec2..e613d99da9ef8dbd833b9e1aa8f907f293f490a5 100644
--- a/DUMP.md
+++ b/DUMP.md
@@ -1,22 +1,41 @@
 Créer/lancer une bdd à partir d'un dump SQL
 ===========================================
 
-- Mettez le fichier de dump SQL dans le répertoire `./tmp/sql` et assurez-vous qu'il a l'extension `.sql`.
+- Préliminaires :
 
-- Trouvez dans le dump le nom du user attendu :
+```bash
+TARGET_DIR=/tmp/sygal-db
+mkdir ${TARGET_DIR}
+mkdir ${TARGET_DIR}/sql
+mkdir ${TARGET_DIR}/sql/admin
+```
+
+- Exemple de dump d'une base de prod nommée "sygal" en vue de créer une base de développement :
 
 ```bash
-grep -Ens "OWNER TO" ./tmp/sql/* | head -n 1
+PGPASSWORD='xxxxxx' pg_dump -h localhost -p 5432 -d "sygal" -U "sygal" > ${TARGET_DIR}/sql/sygal_prod_dump.sql
 ```
 
-- Créez le sous-répertoire `./tmp/sql/admin`  et copiez-y le script de création de la bdd :
+NB : le dump doit avoir l'extension `.sql`.
+
+- Cherchez dans le dump si des instructions "OWNER TO" font référence à un user particulier :
 
 ```bash
-mkdir -p ./tmp/sql/admin
-cp ./docker/sql/admin/01_create_db_user.sql ./tmp/sql/admin/
+grep -Ens "OWNER TO" ${TARGET_DIR}/sql/* | head -n 1
 ```
 
-- Lancer le container en adaptant `--env SYGAL_USER=ad_sygal` au user trouvé précédemment :
+Si un user est mentionné, c'est lui qui devra être spécifié au moment du `docker run` pour qu'il soit
+créé dans la base de données (cf. plus bas).
+
+L'autre solution est de modifier le user DANS le dump s'il ne vous convient pas.
+
+- Copiez le script de création de la bdd et du user :
+
+```bash
+cp ./docker/sql/admin/01_create_db_user.sql ${TARGET_DIR}/sql/admin/
+```
+
+- Lancer le container en adaptant `--env SYGAL_USER=sygal` au user trouvé précédemment :
 
 ```bash
 docker run \
@@ -24,15 +43,16 @@ docker run \
 --env POSTGRES_USER=postgres \
 --env POSTGRES_PASSWORD=admin \
 --env SYGAL_DB=sygal \
---env SYGAL_USER=ad_sygal \
+--env SYGAL_USER=sygal \
 --env SYGAL_PASSWORD=azerty \
 --publish 5432:5432 \
---volume $PWD/tmp/sql/:/sql \
---volume $PWD/tmp/db:/var/lib/postgresql/data \
+--volume ${TARGET_DIR}/sql/:/sql \
+--volume ${TARGET_DIR}/db:/var/lib/postgresql/data \
 sygal-db-image
 ```
 
-Au 1er lancement, si aucune bdd n'est déjà persistée dans le répertoire `./tmp/db`, les scripts SQL sont exécutés : 
-la bdd est créée.
+Au 1er lancement, si aucune bdd n'est déjà persistée dans le répertoire `${TARGET_DIR}/db`, les scripts SQL sont 
+exécutés : la bdd est créée.
+
 Aux lancements suivants, la bdd existe dans le répertoire donc les scripts ne sont pas exécutés.
 Pour que la bdd soit re-créée, il faut supprimer le répertoire `./tmp/db`.
diff --git a/README.md b/README.md
index 6b11a54438addb3cb5b2c5d2b638ec958facf917..b923c38632a3aa01a6bf3c796536ab7134bf0e89 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
 SyGAL Database Image
 ====================
 
-Ce projet est une image Docker rassemblant le nécessaire pour créer (le cas échéant) et de lancer une base de données 
+Ce projet est une image Docker rassemblant le nécessaire pour créer (le cas échéant) et lancer une base de données 
 pour l'application ESUP-SyGAL.
 
 
diff --git a/docker-compose.yml b/docker-compose.yml
index 707f258590a6481096027176ef4be5d37e68e85b..6c9d2145e8c7ce912638c3d153774e64c8f559e0 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -17,4 +17,4 @@ services:
       - "5432:5432"
     volumes:
       #- ./docker/db/sql/:/sql               # répertoire des scripts de création de la bdd
-      - ./data/db:/var/lib/postgresql/data  # répertoire de où la bdd est persistée
+      - ./data/db:/var/lib/postgresql/data  # répertoire où la bdd est persistée
diff --git a/docker/sql/02_create_schema.sql b/docker/sql/02_create_schema.sql
index 937397a50060c0ddb92cbfb0aad3e254525edbf8..c183761868194d1d9cad948f44de1162b782774a 100644
--- a/docker/sql/02_create_schema.sql
+++ b/docker/sql/02_create_schema.sql
@@ -3,7 +3,7 @@
 --
 
 -- Dumped from database version 9.6.11
--- Dumped by pg_dump version 14.1 (Ubuntu 14.1-2.pgdg20.04+1)
+-- Dumped by pg_dump version 15.4 (Ubuntu 15.4-1.pgdg20.04+1)
 
 SET statement_timeout = 0;
 SET lock_timeout = 0;
@@ -16,6 +16,15 @@ SET xmloption = content;
 SET client_min_messages = warning;
 SET row_security = off;
 
+--
+-- Name: public; Type: SCHEMA; Schema: -; Owner: postgres
+--
+
+-- *not* creating schema, since initdb creates it
+
+
+ALTER SCHEMA public OWNER TO postgres;
+
 --
 -- Name: unaccent; Type: EXTENSION; Schema: -; Owner: -
 --
@@ -30,6 +39,18 @@ CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public;
 COMMENT ON EXTENSION unaccent IS 'text search dictionary that removes accents';
 
 
+--
+-- Name: avis_enum; Type: TYPE; Schema: public; Owner: :dbuser
+--
+
+CREATE TYPE public.avis_enum AS ENUM (
+    'Favorable',
+    'Défavorable'
+);
+
+
+ALTER TYPE public.avis_enum OWNER TO :dbuser;
+
 --
 -- Name: comprise_entre(timestamp without time zone, timestamp without time zone, timestamp without time zone, numeric); Type: FUNCTION; Schema: public; Owner: :dbuser
 --
@@ -97,6 +118,93 @@ $$;
 
 ALTER FUNCTION public.individu_haystack(nom_usuel text, nom_patronymique text, prenom1 text, email text, source_code text) OWNER TO :dbuser;
 
+--
+-- Name: privilege__grant_privilege_to_profile(character varying, character varying, character varying); Type: FUNCTION; Schema: public; Owner: :dbuser
+--
+
+CREATE FUNCTION public.privilege__grant_privilege_to_profile(categorycode character varying, privilegecode character varying, profileroleid character varying) RETURNS void
+    LANGUAGE plpgsql
+    AS $$
+BEGIN
+  -- insertion dans 'profil_privilege' (si pas déjà fait)
+  insert into profil_privilege (privilege_id, profil_id)
+  select p.id as privilege_id, profil.id as profil_id
+  from profil
+         join categorie_privilege cp on cp.code = categoryCode
+         join privilege p on p.categorie_id = cp.id and p.code = privilegeCode
+  where profil.role_id = profileroleid
+    and not exists(
+          select * from profil_privilege where privilege_id = p.id and profil_id = profil.id
+    );
+
+  perform privilege__update_role_privilege();
+END;
+$$;
+
+
+ALTER FUNCTION public.privilege__grant_privilege_to_profile(categorycode character varying, privilegecode character varying, profileroleid character varying) OWNER TO :dbuser;
+
+--
+-- Name: privilege__revoke_privilege_to_profile(character varying, character varying, character varying); Type: FUNCTION; Schema: public; Owner: :dbuser
+--
+
+CREATE FUNCTION public.privilege__revoke_privilege_to_profile(categorycode character varying, privilegecode character varying, profileroleid character varying) RETURNS void
+    LANGUAGE plpgsql
+    AS $$
+BEGIN
+  delete
+  from profil_privilege pp1
+  where exists(
+                select *
+                from profil_privilege pp
+                       join profil on pp.profil_id = profil.id and role_id = profileRoleId
+                       join privilege p on pp.privilege_id = p.id
+                       join categorie_privilege cp on p.categorie_id = cp.id
+                where p.code = privilegeCode
+                  and cp.code = categoryCode
+                  and pp.profil_id = pp1.profil_id
+                  and pp.privilege_id = pp1.privilege_id
+          );
+
+  perform privilege__update_role_privilege();
+END;
+$$;
+
+
+ALTER FUNCTION public.privilege__revoke_privilege_to_profile(categorycode character varying, privilegecode character varying, profileroleid character varying) OWNER TO :dbuser;
+
+--
+-- Name: privilege__update_role_privilege(); Type: FUNCTION; Schema: public; Owner: :dbuser
+--
+
+CREATE FUNCTION public.privilege__update_role_privilege() RETURNS void
+    LANGUAGE plpgsql
+    AS $$
+BEGIN
+  -- création des 'role_privilege' manquants d'après le contenu de 'profil_to_role' et de 'profil_privilege'
+  insert into role_privilege (role_id, privilege_id)
+  select p2r.role_id, pp.privilege_id
+  from profil_to_role p2r
+         join profil pr on pr.id = p2r.profil_id
+         join profil_privilege pp on pp.profil_id = pr.id
+  where not exists(
+          select * from role_privilege where role_id = p2r.role_id and privilege_id = pp.privilege_id
+    );
+
+  -- suppression des 'role_privilege' en trop d'après le contenu de 'profil_to_role' et de 'profil_privilege'
+  delete from role_privilege rp
+  where not exists (
+          select *
+          from profil_to_role p2r
+                 join profil_privilege pp on pp.profil_id = p2r.profil_id
+          where rp.role_id = p2r.role_id and rp.privilege_id = pp.privilege_id
+    );
+END;
+$$;
+
+
+ALTER FUNCTION public.privilege__update_role_privilege() OWNER TO :dbuser;
+
 --
 -- Name: str_reduce(text); Type: FUNCTION; Schema: public; Owner: :dbuser
 --
@@ -114,6 +222,37 @@ $$;
 
 ALTER FUNCTION public.str_reduce(str text) OWNER TO :dbuser;
 
+--
+-- Name: transfert_these(bigint, bigint); Type: FUNCTION; Schema: public; Owner: :dbuser
+--
+
+CREATE FUNCTION public.transfert_these(fromtheseid bigint, totheseid bigint) RETURNS void
+    LANGUAGE plpgsql
+    AS $$
+BEGIN
+    -- select 'update '||rpad(table_name, 35)||' set '||column_name||' = toTheseId where '||column_name||' = fromTheseId ;' from information_schema.columns
+-- where column_name ilike '%these_id%' and
+--         table_name not ilike 'v\_%' and
+--         table_name not ilike 'src_%' and
+--         table_name not ilike 'tmp_%';
+
+    update soutenance_proposition   set histo_destruction = now(), histo_destructeur_id = 1 where these_id = toTheseId ;
+
+    update attestation              set these_id = toTheseId where these_id = fromTheseId ;
+    update diffusion                set these_id = toTheseId where these_id = fromTheseId ;
+    update fichier_these            set these_id = toTheseId where these_id = fromTheseId ;
+    update metadonnee_these         set these_id = toTheseId where these_id = fromTheseId ;
+    update rapport                  set these_id = toTheseId where these_id = fromTheseId ;
+    update rdv_bu                   set these_id = toTheseId where these_id = fromTheseId ;
+    update soutenance_intervention  set these_id = toTheseId where these_id = fromTheseId ;
+    update soutenance_proposition   set these_id = toTheseId where these_id = fromTheseId ;
+    update validation                          set these_id = toTheseId where these_id = fromTheseId ;
+END;
+$$;
+
+
+ALTER FUNCTION public.transfert_these(fromtheseid bigint, totheseid bigint) OWNER TO :dbuser;
+
 --
 -- Name: trigger_fct_individu_rech_update(); Type: FUNCTION; Schema: public; Owner: :dbuser
 --
@@ -168,7 +307,8 @@ CREATE TABLE public.acteur (
     histo_modification timestamp without time zone,
     histo_destructeur_id bigint,
     histo_destruction timestamp without time zone,
-    acteur_etablissement_id bigint
+    acteur_etablissement_id bigint,
+    acteur_uniterech_id bigint
 );
 
 
@@ -291,6 +431,62 @@ CREATE SEQUENCE public.categorie_privilege_id_seq
 
 ALTER TABLE public.categorie_privilege_id_seq OWNER TO :dbuser;
 
+--
+-- Name: categorie_privilege_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
+--
+
+ALTER SEQUENCE public.categorie_privilege_id_seq OWNED BY public.categorie_privilege.id;
+
+
+--
+-- Name: csi_membre; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.csi_membre (
+    id integer NOT NULL,
+    these_id bigint NOT NULL,
+    genre character varying(1) NOT NULL,
+    qualite bigint NOT NULL,
+    etablissement character varying(128) NOT NULL,
+    role_id character varying(64) NOT NULL,
+    exterieur character varying(3),
+    email character varying(256),
+    acteur_id bigint,
+    visio boolean DEFAULT false NOT NULL,
+    nom character varying(256),
+    prenom character varying(256),
+    histo_creation timestamp without time zone NOT NULL,
+    histo_createur_id bigint NOT NULL,
+    histo_modification timestamp without time zone NOT NULL,
+    histo_modificateur_id bigint NOT NULL,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id bigint
+);
+
+
+ALTER TABLE public.csi_membre OWNER TO :dbuser;
+
+--
+-- Name: csi_membre_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.csi_membre_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+ALTER TABLE public.csi_membre_id_seq OWNER TO :dbuser;
+
+--
+-- Name: csi_membre_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
+--
+
+ALTER SEQUENCE public.csi_membre_id_seq OWNED BY public.csi_membre.id;
+
+
 --
 -- Name: diffusion; Type: TABLE; Schema: public; Owner: :dbuser
 --
@@ -386,7 +582,8 @@ CREATE TABLE public.doctorant (
     histo_modification timestamp without time zone,
     histo_destructeur_id bigint,
     histo_destruction timestamp without time zone,
-    ine character varying(64)
+    ine character varying(64),
+    source_code_sav character varying(64)
 );
 
 
@@ -399,26 +596,6 @@ ALTER TABLE public.doctorant OWNER TO :dbuser;
 COMMENT ON TABLE public.doctorant IS 'Doctorant par établissement.';
 
 
---
--- Name: doctorant_compl; Type: TABLE; Schema: public; Owner: :dbuser
---
-
-CREATE TABLE public.doctorant_compl (
-    id bigint NOT NULL,
-    doctorant_id bigint NOT NULL,
-    persopass character varying(50),
-    email_pro character varying(100),
-    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
-    histo_createur_id bigint NOT NULL,
-    histo_modification timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
-    histo_modificateur_id bigint NOT NULL,
-    histo_destruction timestamp without time zone,
-    histo_destructeur_id bigint
-);
-
-
-ALTER TABLE public.doctorant_compl OWNER TO :dbuser;
-
 --
 -- Name: doctorant_compl_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
@@ -447,6 +624,46 @@ CREATE SEQUENCE public.doctorant_id_seq
 
 ALTER TABLE public.doctorant_id_seq OWNER TO :dbuser;
 
+--
+-- Name: doctorant_mission_enseignement; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.doctorant_mission_enseignement (
+    id integer NOT NULL,
+    doctorant_id integer NOT NULL,
+    annee_univ integer NOT NULL,
+    histo_creation timestamp without time zone DEFAULT now() NOT NULL,
+    histo_createur_id integer DEFAULT 1 NOT NULL,
+    histo_modification timestamp without time zone,
+    histo_modificateur_id integer,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id integer
+);
+
+
+ALTER TABLE public.doctorant_mission_enseignement OWNER TO :dbuser;
+
+--
+-- Name: doctorant_mission_enseignement_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.doctorant_mission_enseignement_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+ALTER TABLE public.doctorant_mission_enseignement_id_seq OWNER TO :dbuser;
+
+--
+-- Name: doctorant_mission_enseignement_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
+--
+
+ALTER SEQUENCE public.doctorant_mission_enseignement_id_seq OWNED BY public.doctorant_mission_enseignement.id;
+
+
 --
 -- Name: domaine_scientifique; Type: TABLE; Schema: public; Owner: :dbuser
 --
@@ -529,8 +746,11 @@ CREATE TABLE public.etablissement (
     est_associe boolean DEFAULT false NOT NULL,
     est_comue boolean DEFAULT false NOT NULL,
     est_etab_inscription boolean DEFAULT false NOT NULL,
-    code character varying(64),
-    signature_convocation_id bigint
+    signature_convocation_id bigint,
+    email_assistance character varying(64),
+    email_bibliotheque character varying(64),
+    email_doctorat character varying(64),
+    est_ced boolean DEFAULT false NOT NULL
 );
 
 
@@ -543,6 +763,13 @@ ALTER TABLE public.etablissement OWNER TO :dbuser;
 COMMENT ON COLUMN public.etablissement.domaine IS 'Domaine DNS de l''établissement tel que présent dans l''EPPN Shibboleth, ex: unicaen.fr.';
 
 
+--
+-- Name: COLUMN etablissement.est_ced; Type: COMMENT; Schema: public; Owner: :dbuser
+--
+
+COMMENT ON COLUMN public.etablissement.est_ced IS 'Indique si cet établissement est un Collège des écoles doctorales';
+
+
 --
 -- Name: etablissement_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
@@ -684,6 +911,13 @@ CREATE SEQUENCE public.fichier_these_id_seq
 
 ALTER TABLE public.fichier_these_id_seq OWNER TO :dbuser;
 
+--
+-- Name: fichier_these_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
+--
+
+ALTER SEQUENCE public.fichier_these_id_seq OWNED BY public.fichier_these.id;
+
+
 --
 -- Name: financement; Type: TABLE; Schema: public; Owner: :dbuser
 --
@@ -727,40 +961,72 @@ CREATE SEQUENCE public.financement_id_seq
 ALTER TABLE public.financement_id_seq OWNER TO :dbuser;
 
 --
--- Name: harp_to_octo; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: formation_enquete_categorie; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.harp_to_octo (
-    octopus_id character varying(64),
-    num_dos_har_per character varying(64)
+CREATE TABLE public.formation_enquete_categorie (
+    id integer NOT NULL,
+    libelle character varying(1024) NOT NULL,
+    description text,
+    ordre integer NOT NULL,
+    histo_createur_id integer NOT NULL,
+    histo_creation timestamp without time zone NOT NULL,
+    histo_modificateur_id integer,
+    histo_modification timestamp without time zone,
+    histo_destructeur_id integer,
+    histo_destruction timestamp without time zone
 );
 
 
-ALTER TABLE public.harp_to_octo OWNER TO :dbuser;
+ALTER TABLE public.formation_enquete_categorie OWNER TO :dbuser;
 
 --
--- Name: import_log; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: formation_enquete_categorie_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.import_log (
-    type character varying(128) NOT NULL,
-    name character varying(128) NOT NULL,
-    success boolean NOT NULL,
-    log text NOT NULL,
-    started_on timestamp without time zone NOT NULL,
-    ended_on timestamp without time zone NOT NULL,
-    import_hash character varying(64),
-    id bigint NOT NULL
+CREATE SEQUENCE public.formation_enquete_categorie_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+ALTER TABLE public.formation_enquete_categorie_id_seq OWNER TO :dbuser;
+
+--
+-- Name: formation_enquete_categorie_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
+--
+
+ALTER SEQUENCE public.formation_enquete_categorie_id_seq OWNED BY public.formation_enquete_categorie.id;
+
+
+--
+-- Name: formation_enquete_question; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.formation_enquete_question (
+    id integer NOT NULL,
+    libelle character varying(1024) NOT NULL,
+    description text,
+    ordre integer NOT NULL,
+    histo_createur_id integer NOT NULL,
+    histo_creation timestamp without time zone NOT NULL,
+    histo_modificateur_id integer,
+    histo_modification timestamp without time zone,
+    histo_destructeur_id integer,
+    histo_destruction timestamp without time zone,
+    categorie_id integer
 );
 
 
-ALTER TABLE public.import_log OWNER TO :dbuser;
+ALTER TABLE public.formation_enquete_question OWNER TO :dbuser;
 
 --
--- Name: import_log_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: formation_enquete_question_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.import_log_id_seq
+CREATE SEQUENCE public.formation_enquete_question_id_seq
     START WITH 1
     INCREMENT BY 1
     NO MINVALUE
@@ -768,457 +1034,1029 @@ CREATE SEQUENCE public.import_log_id_seq
     CACHE 1;
 
 
-ALTER TABLE public.import_log_id_seq OWNER TO :dbuser;
+ALTER TABLE public.formation_enquete_question_id_seq OWNER TO :dbuser;
 
 --
--- Name: import_log_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
+-- Name: formation_enquete_question_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-ALTER SEQUENCE public.import_log_id_seq OWNED BY public.import_log.id;
+ALTER SEQUENCE public.formation_enquete_question_id_seq OWNED BY public.formation_enquete_question.id;
 
 
 --
--- Name: import_notif; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: formation_enquete_reponse; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.import_notif (
-    id bigint NOT NULL,
-    table_name character varying(50) NOT NULL,
-    column_name character varying(50) NOT NULL,
-    operation character varying(50) DEFAULT 'UPDATE'::character varying NOT NULL,
-    to_value character varying(1000),
-    description character varying(200),
-    url character varying(1000) NOT NULL
+CREATE TABLE public.formation_enquete_reponse (
+    id integer NOT NULL,
+    inscription_id integer NOT NULL,
+    question_id integer NOT NULL,
+    niveau integer NOT NULL,
+    description text,
+    histo_createur_id integer NOT NULL,
+    histo_creation timestamp without time zone NOT NULL,
+    histo_modificateur_id integer,
+    histo_modification timestamp without time zone,
+    histo_destructeur_id integer,
+    histo_destruction timestamp without time zone
 );
 
 
-ALTER TABLE public.import_notif OWNER TO :dbuser;
+ALTER TABLE public.formation_enquete_reponse OWNER TO :dbuser;
 
 --
--- Name: import_notif_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: formation_enquete_reponse_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.import_notif_id_seq
-    START WITH 21
+CREATE SEQUENCE public.formation_enquete_reponse_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.import_notif_id_seq OWNER TO :dbuser;
+ALTER TABLE public.formation_enquete_reponse_id_seq OWNER TO :dbuser;
 
 --
--- Name: import_obs_notif; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: formation_enquete_reponse_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.import_obs_notif (
-    id bigint NOT NULL,
-    import_observ_id bigint NOT NULL,
-    notif_id bigint NOT NULL
-);
-
+ALTER SEQUENCE public.formation_enquete_reponse_id_seq OWNED BY public.formation_enquete_reponse.id;
 
-ALTER TABLE public.import_obs_notif OWNER TO :dbuser;
 
 --
--- Name: import_obs_result_notif; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: formation_etat; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.import_obs_result_notif (
-    id bigint NOT NULL,
-    import_observ_result_id bigint NOT NULL,
-    notif_result_id bigint NOT NULL
+CREATE TABLE public.formation_etat (
+    code character varying(1) NOT NULL,
+    libelle character varying(1024),
+    description text,
+    icone character varying(1024),
+    couleur character varying(1024),
+    ordre bigint
 );
 
 
-ALTER TABLE public.import_obs_result_notif OWNER TO :dbuser;
+ALTER TABLE public.formation_etat OWNER TO :dbuser;
 
 --
--- Name: import_observ; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: formation_formateur; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.import_observ (
-    id bigint NOT NULL,
-    code character varying(50) NOT NULL,
-    table_name character varying(50) NOT NULL,
-    column_name character varying(50) NOT NULL,
-    operation character varying(50) DEFAULT 'UPDATE'::character varying NOT NULL,
-    to_value character varying(1000),
-    description character varying(200),
-    enabled boolean DEFAULT false NOT NULL,
-    filter text
+CREATE TABLE public.formation_formateur (
+    id integer NOT NULL,
+    individu_id integer NOT NULL,
+    session_id integer NOT NULL,
+    description text,
+    histo_createur_id integer NOT NULL,
+    histo_creation timestamp without time zone NOT NULL,
+    histo_modificateur_id integer,
+    histo_modification timestamp without time zone,
+    histo_destructeur_id integer,
+    histo_destruction timestamp without time zone
 );
 
 
-ALTER TABLE public.import_observ OWNER TO :dbuser;
+ALTER TABLE public.formation_formateur OWNER TO :dbuser;
 
 --
--- Name: import_observ_etab_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: formation_formateur_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.import_observ_etab_id_seq
-    START WITH 21
+CREATE SEQUENCE public.formation_formateur_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.import_observ_etab_id_seq OWNER TO :dbuser;
+ALTER TABLE public.formation_formateur_id_seq OWNER TO :dbuser;
 
 --
--- Name: import_observ_etab_resu_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: formation_formateur_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.import_observ_etab_resu_id_seq
-    START WITH 497604
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 20;
-
+ALTER SEQUENCE public.formation_formateur_id_seq OWNED BY public.formation_formateur.id;
 
-ALTER TABLE public.import_observ_etab_resu_id_seq OWNER TO :dbuser;
 
 --
--- Name: import_observ_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: formation_formation; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.import_observ_id_seq
-    START WITH 21
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 20;
+CREATE TABLE public.formation_formation (
+    id integer NOT NULL,
+    module_id integer,
+    libelle character varying(1024) NOT NULL,
+    description text,
+    lien character varying(1024),
+    site_id integer,
+    responsable_id integer,
+    modalite character varying(1),
+    type character varying(1),
+    type_structure_id integer,
+    taille_liste_principale integer,
+    taille_liste_complementaire integer,
+    histo_createur_id integer NOT NULL,
+    histo_creation timestamp without time zone NOT NULL,
+    histo_modificateur_id integer,
+    histo_modification timestamp without time zone,
+    histo_destructeur_id integer,
+    histo_destruction timestamp without time zone
+);
 
 
-ALTER TABLE public.import_observ_id_seq OWNER TO :dbuser;
+ALTER TABLE public.formation_formation OWNER TO :dbuser;
 
 --
--- Name: import_observ_result; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: formation_formation_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.import_observ_result (
-    id bigint NOT NULL,
-    import_observ_id bigint NOT NULL,
-    date_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
-    source_code character varying(64) NOT NULL,
-    resultat text NOT NULL,
-    date_notif timestamp without time zone,
-    date_limite_notif timestamp without time zone,
-    z_ioer_id bigint
-);
+CREATE SEQUENCE public.formation_formation_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
 
 
-ALTER TABLE public.import_observ_result OWNER TO :dbuser;
+ALTER TABLE public.formation_formation_id_seq OWNER TO :dbuser;
 
 --
--- Name: import_observ_result_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: formation_formation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.import_observ_result_id_seq
-    START WITH 600225
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 20;
+ALTER SEQUENCE public.formation_formation_id_seq OWNED BY public.formation_formation.id;
 
 
-ALTER TABLE public.import_observ_result_id_seq OWNER TO :dbuser;
-
 --
--- Name: indicateur; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: formation_inscription; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.indicateur (
-    id bigint NOT NULL,
-    libelle character varying(128) NOT NULL,
-    description character varying(1024),
-    requete character varying(2048),
-    actif bigint,
-    display_as character varying(128),
-    class character varying(128)
+CREATE TABLE public.formation_inscription (
+    id integer NOT NULL,
+    session_id integer NOT NULL,
+    doctorant_id integer NOT NULL,
+    liste character varying(1),
+    description text,
+    validation_enquete timestamp without time zone,
+    histo_createur_id integer NOT NULL,
+    histo_creation timestamp without time zone NOT NULL,
+    histo_modificateur_id integer,
+    histo_modification timestamp without time zone,
+    histo_destructeur_id integer,
+    histo_destruction timestamp without time zone
 );
 
 
-ALTER TABLE public.indicateur OWNER TO :dbuser;
+ALTER TABLE public.formation_inscription OWNER TO :dbuser;
 
 --
--- Name: indicateur_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: formation_inscription_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.indicateur_id_seq
-    START WITH 161
+CREATE SEQUENCE public.formation_inscription_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.indicateur_id_seq OWNER TO :dbuser;
+ALTER TABLE public.formation_inscription_id_seq OWNER TO :dbuser;
 
 --
--- Name: individu; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: formation_inscription_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.individu (
-    id bigint NOT NULL,
-    type character varying(32),
-    civilite character varying(5),
-    nom_usuel character varying(60) NOT NULL,
-    nom_patronymique character varying(60),
-    prenom1 character varying(60) NOT NULL,
-    prenom2 character varying(60),
-    prenom3 character varying(60),
-    email character varying(255),
-    date_naissance timestamp without time zone,
-    nationalite character varying(128),
-    source_code character varying(64) NOT NULL,
-    source_id bigint NOT NULL,
-    histo_createur_id bigint NOT NULL,
-    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
-    histo_modificateur_id bigint,
+ALTER SEQUENCE public.formation_inscription_id_seq OWNED BY public.formation_inscription.id;
+
+
+--
+-- Name: formation_module; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.formation_module (
+    id integer NOT NULL,
+    libelle text NOT NULL,
+    description text,
+    lien text,
+    histo_creation timestamp without time zone NOT NULL,
+    histo_createur_id integer NOT NULL,
     histo_modification timestamp without time zone,
-    histo_destructeur_id bigint,
+    histo_modificateur_id integer,
     histo_destruction timestamp without time zone,
-    supann_id character varying(30),
-    etablissement_id bigint,
-    octo_updated boolean DEFAULT false
+    histo_destructeur_id integer
 );
 
 
-ALTER TABLE public.individu OWNER TO :dbuser;
+ALTER TABLE public.formation_module OWNER TO :dbuser;
 
 --
--- Name: individu_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: formation_module_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.individu_id_seq
-    START WITH 1076322
+CREATE SEQUENCE public.formation_module_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.individu_id_seq OWNER TO :dbuser;
+ALTER TABLE public.formation_module_id_seq OWNER TO :dbuser;
 
 --
--- Name: individu_rech; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: formation_module_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.individu_rech (
-    id bigint NOT NULL,
-    haystack text
-);
-
+ALTER SEQUENCE public.formation_module_id_seq OWNED BY public.formation_module.id;
 
-ALTER TABLE public.individu_rech OWNER TO :dbuser;
 
 --
--- Name: individu_role; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: formation_presence; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.individu_role (
-    id bigint NOT NULL,
-    individu_id bigint,
-    role_id bigint
+CREATE TABLE public.formation_presence (
+    id integer NOT NULL,
+    inscription_id integer NOT NULL,
+    seance_id integer NOT NULL,
+    temoin character varying(1),
+    description text,
+    histo_createur_id integer NOT NULL,
+    histo_creation timestamp without time zone NOT NULL,
+    histo_modificateur_id integer,
+    histo_modification timestamp without time zone,
+    histo_destructeur_id integer,
+    histo_destruction timestamp without time zone
 );
 
 
-ALTER TABLE public.individu_role OWNER TO :dbuser;
+ALTER TABLE public.formation_presence OWNER TO :dbuser;
 
 --
--- Name: TABLE individu_role; Type: COMMENT; Schema: public; Owner: :dbuser
+-- Name: formation_presence_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-COMMENT ON TABLE public.individu_role IS 'Attributions à des individus de rôles sans lien avec une thèse en particulier, ex: bureau des doctorats.';
+CREATE SEQUENCE public.formation_presence_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
 
+ALTER TABLE public.formation_presence_id_seq OWNER TO :dbuser;
 
 --
--- Name: individu_role_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: formation_presence_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.individu_role_id_seq
-    START WITH 4846
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 20;
-
+ALTER SEQUENCE public.formation_presence_id_seq OWNED BY public.formation_presence.id;
 
-ALTER TABLE public.individu_role_id_seq OWNER TO :dbuser;
 
 --
--- Name: information; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: formation_seance; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.information (
-    id bigint NOT NULL,
-    titre character varying(256) NOT NULL,
-    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
-    histo_createur_id bigint NOT NULL,
-    histo_modification timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
-    histo_modificateur_id bigint NOT NULL,
-    histo_destruction timestamp without time zone,
-    histo_destructeur_id bigint,
-    contenu text NOT NULL,
-    priorite bigint DEFAULT 0 NOT NULL,
-    est_visible boolean DEFAULT true NOT NULL,
-    langue_id character varying(64) NOT NULL
+CREATE TABLE public.formation_seance (
+    id integer NOT NULL,
+    session_id integer NOT NULL,
+    debut timestamp without time zone NOT NULL,
+    fin timestamp without time zone NOT NULL,
+    lieu character varying(1024),
+    description text,
+    histo_createur_id integer NOT NULL,
+    histo_creation timestamp without time zone NOT NULL,
+    histo_modificateur_id integer,
+    histo_modification timestamp without time zone,
+    histo_destructeur_id integer,
+    histo_destruction timestamp without time zone
 );
 
 
-ALTER TABLE public.information OWNER TO :dbuser;
+ALTER TABLE public.formation_seance OWNER TO :dbuser;
 
 --
--- Name: information_fichier_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: formation_seance_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.information_fichier_id_seq
-    START WITH 481
+CREATE SEQUENCE public.formation_seance_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.information_fichier_id_seq OWNER TO :dbuser;
+ALTER TABLE public.formation_seance_id_seq OWNER TO :dbuser;
 
 --
--- Name: information_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: formation_seance_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.information_id_seq
-    START WITH 241
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 20;
-
+ALTER SEQUENCE public.formation_seance_id_seq OWNED BY public.formation_seance.id;
 
-ALTER TABLE public.information_id_seq OWNER TO :dbuser;
 
 --
--- Name: information_langue; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: formation_session; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.information_langue (
-    id character varying(64) NOT NULL,
-    libelle character varying(128),
-    drapeau text
+CREATE TABLE public.formation_session (
+    id integer NOT NULL,
+    session_index integer,
+    formation_id integer NOT NULL,
+    description text,
+    taille_liste_principale integer,
+    taille_liste_complementaire integer,
+    site_id integer,
+    responsable_id integer,
+    modalite character varying(1),
+    type character varying(1),
+    type_structure_id integer,
+    etat_code character varying(1),
+    histo_createur_id integer NOT NULL,
+    histo_creation timestamp without time zone NOT NULL,
+    histo_modificateur_id integer,
+    histo_modification timestamp without time zone,
+    histo_destructeur_id integer,
+    histo_destruction timestamp without time zone,
+    date_fermeture_inscription timestamp without time zone
 );
 
 
-ALTER TABLE public.information_langue OWNER TO :dbuser;
+ALTER TABLE public.formation_session OWNER TO :dbuser;
 
 --
--- Name: liste_diff; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: formation_session_etat_heurodatage; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.liste_diff (
-    id bigint NOT NULL,
-    adresse character varying(256) NOT NULL,
-    enabled boolean DEFAULT false NOT NULL,
-    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
-    histo_createur_id bigint NOT NULL,
-    histo_modification timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
-    histo_modificateur_id bigint NOT NULL,
-    histo_destruction timestamp without time zone,
-    histo_destructeur_id bigint
+CREATE TABLE public.formation_session_etat_heurodatage (
+    id integer NOT NULL,
+    session_id integer NOT NULL,
+    etat_id character varying(1) NOT NULL,
+    heurodatage timestamp without time zone NOT NULL,
+    utilisateur_id integer NOT NULL
 );
 
 
-ALTER TABLE public.liste_diff OWNER TO :dbuser;
+ALTER TABLE public.formation_session_etat_heurodatage OWNER TO :dbuser;
 
 --
--- Name: liste_diff_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: formation_session_etat_heurodatage_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.liste_diff_id_seq
-    START WITH 81
+CREATE SEQUENCE public.formation_session_etat_heurodatage_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.liste_diff_id_seq OWNER TO :dbuser;
+ALTER TABLE public.formation_session_etat_heurodatage_id_seq OWNER TO :dbuser;
 
 --
--- Name: mail_confirmation; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: formation_session_etat_heurodatage_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.mail_confirmation (
-    id bigint NOT NULL,
-    individu_id bigint NOT NULL,
-    email character varying(256) NOT NULL,
-    etat character varying(1),
-    code character varying(19)
-);
-
+ALTER SEQUENCE public.formation_session_etat_heurodatage_id_seq OWNED BY public.formation_session_etat_heurodatage.id;
 
-ALTER TABLE public.mail_confirmation OWNER TO :dbuser;
 
 --
--- Name: mail_confirmation_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: formation_session_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.mail_confirmation_id_seq
-    START WITH 19446
+CREATE SEQUENCE public.formation_session_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.mail_confirmation_id_seq OWNER TO :dbuser;
+ALTER TABLE public.formation_session_id_seq OWNER TO :dbuser;
 
 --
--- Name: metadonnee_these; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: formation_session_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.metadonnee_these (
-    id bigint NOT NULL,
-    these_id bigint NOT NULL,
-    titre character varying(2048) NOT NULL,
-    langue character varying(40) NOT NULL,
-    resume text DEFAULT 'NULL'::text NOT NULL,
-    resume_anglais text DEFAULT 'NULL'::text NOT NULL,
-    mots_cles_libres_fr character varying(1024) NOT NULL,
-    mots_cles_rameau character varying(1024),
-    titre_autre_langue character varying(2048) NOT NULL,
-    mots_cles_libres_ang character varying(1024)
+ALTER SEQUENCE public.formation_session_id_seq OWNED BY public.formation_session.id;
+
+
+--
+-- Name: formation_session_structure_valide; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.formation_session_structure_valide (
+    id integer NOT NULL,
+    session_id integer NOT NULL,
+    structure_id integer NOT NULL,
+    lieu character varying(1024),
+    histo_createur_id integer NOT NULL,
+    histo_creation timestamp without time zone NOT NULL,
+    histo_modificateur_id integer,
+    histo_modification timestamp without time zone,
+    histo_destructeur_id integer,
+    histo_destruction timestamp without time zone
 );
 
 
-ALTER TABLE public.metadonnee_these OWNER TO :dbuser;
+ALTER TABLE public.formation_session_structure_valide OWNER TO :dbuser;
 
 --
--- Name: metadonnee_these_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: formation_session_structure_valide_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.metadonnee_these_id_seq
-    START WITH 9606
+CREATE SEQUENCE public.formation_session_structure_valide_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.metadonnee_these_id_seq OWNER TO :dbuser;
+ALTER TABLE public.formation_session_structure_valide_id_seq OWNER TO :dbuser;
 
 --
--- Name: these; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: formation_session_structure_valide_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.these (
-    id bigint NOT NULL,
-    etablissement_id bigint DEFAULT 2,
-    doctorant_id bigint NOT NULL,
-    ecole_doct_id bigint,
-    unite_rech_id bigint,
+ALTER SEQUENCE public.formation_session_structure_valide_id_seq OWNED BY public.formation_session_structure_valide.id;
+
+
+--
+-- Name: horodatage_horodatage; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.horodatage_horodatage (
+    id integer NOT NULL,
+    date timestamp without time zone NOT NULL,
+    user_id integer NOT NULL,
+    type character varying(1024) NOT NULL,
+    complement character varying(1024)
+);
+
+
+ALTER TABLE public.horodatage_horodatage OWNER TO :dbuser;
+
+--
+-- Name: horodatage_horodatage_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.horodatage_horodatage_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+ALTER TABLE public.horodatage_horodatage_id_seq OWNER TO :dbuser;
+
+--
+-- Name: horodatage_horodatage_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
+--
+
+ALTER SEQUENCE public.horodatage_horodatage_id_seq OWNED BY public.horodatage_horodatage.id;
+
+
+--
+-- Name: import_log; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.import_log (
+    type character varying(128) NOT NULL,
+    name character varying(128) NOT NULL,
+    success boolean NOT NULL,
+    log text NOT NULL,
+    started_on timestamp without time zone NOT NULL,
+    ended_on timestamp without time zone NOT NULL,
+    import_hash character varying(64),
+    id bigint NOT NULL,
+    has_problems boolean DEFAULT false NOT NULL
+);
+
+
+ALTER TABLE public.import_log OWNER TO :dbuser;
+
+--
+-- Name: import_log_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.import_log_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+ALTER TABLE public.import_log_id_seq OWNER TO :dbuser;
+
+--
+-- Name: import_log_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
+--
+
+ALTER SEQUENCE public.import_log_id_seq OWNED BY public.import_log.id;
+
+
+--
+-- Name: import_notif; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.import_notif (
+    id bigint NOT NULL,
+    table_name character varying(50) NOT NULL,
+    column_name character varying(50) NOT NULL,
+    operation character varying(50) DEFAULT 'UPDATE'::character varying NOT NULL,
+    to_value character varying(1000),
+    description character varying(200),
+    url character varying(1000) NOT NULL
+);
+
+
+ALTER TABLE public.import_notif OWNER TO :dbuser;
+
+--
+-- Name: import_notif_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.import_notif_id_seq
+    START WITH 21
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.import_notif_id_seq OWNER TO :dbuser;
+
+--
+-- Name: import_obs_notif; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.import_obs_notif (
+    id bigint NOT NULL,
+    import_observ_id bigint NOT NULL,
+    notif_id bigint NOT NULL
+);
+
+
+ALTER TABLE public.import_obs_notif OWNER TO :dbuser;
+
+--
+-- Name: import_obs_result_notif; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.import_obs_result_notif (
+    id bigint NOT NULL,
+    import_observ_result_id bigint NOT NULL,
+    notif_result_id bigint NOT NULL
+);
+
+
+ALTER TABLE public.import_obs_result_notif OWNER TO :dbuser;
+
+--
+-- Name: import_observ; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.import_observ (
+    id bigint NOT NULL,
+    code character varying(50) NOT NULL,
+    table_name character varying(50) NOT NULL,
+    column_name character varying(50) NOT NULL,
+    operation character varying(50) DEFAULT 'UPDATE'::character varying NOT NULL,
+    to_value character varying(1000),
+    description character varying(200),
+    enabled boolean DEFAULT false NOT NULL,
+    filter text
+);
+
+
+ALTER TABLE public.import_observ OWNER TO :dbuser;
+
+--
+-- Name: import_observ_etab_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.import_observ_etab_id_seq
+    START WITH 21
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.import_observ_etab_id_seq OWNER TO :dbuser;
+
+--
+-- Name: import_observ_etab_resu_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.import_observ_etab_resu_id_seq
+    START WITH 497604
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.import_observ_etab_resu_id_seq OWNER TO :dbuser;
+
+--
+-- Name: import_observ_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.import_observ_id_seq
+    START WITH 21
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.import_observ_id_seq OWNER TO :dbuser;
+
+--
+-- Name: import_observ_result; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.import_observ_result (
+    id bigint NOT NULL,
+    import_observ_id bigint NOT NULL,
+    date_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    source_code character varying(64) NOT NULL,
+    resultat text NOT NULL,
+    date_notif timestamp without time zone,
+    date_limite_notif timestamp without time zone,
+    z_ioer_id bigint
+);
+
+
+ALTER TABLE public.import_observ_result OWNER TO :dbuser;
+
+--
+-- Name: import_observ_result_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.import_observ_result_id_seq
+    START WITH 600225
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.import_observ_result_id_seq OWNER TO :dbuser;
+
+--
+-- Name: indicateur; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.indicateur (
+    id bigint NOT NULL,
+    libelle character varying(128) NOT NULL,
+    description character varying(1024),
+    requete character varying(2048),
+    actif bigint,
+    display_as character varying(128),
+    class character varying(128)
+);
+
+
+ALTER TABLE public.indicateur OWNER TO :dbuser;
+
+--
+-- Name: indicateur_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.indicateur_id_seq
+    START WITH 161
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.indicateur_id_seq OWNER TO :dbuser;
+
+--
+-- Name: individu; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.individu (
+    id bigint NOT NULL,
+    type character varying(32),
+    civilite character varying(5),
+    nom_usuel character varying(60) NOT NULL,
+    nom_patronymique character varying(60),
+    prenom1 character varying(60) NOT NULL,
+    prenom2 character varying(60),
+    prenom3 character varying(60),
+    email character varying(255),
+    date_naissance timestamp without time zone,
+    nationalite character varying(128),
+    source_code character varying(64) NOT NULL,
+    source_id bigint NOT NULL,
+    histo_createur_id bigint NOT NULL,
+    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_modificateur_id bigint,
+    histo_modification timestamp without time zone,
+    histo_destructeur_id bigint,
+    histo_destruction timestamp without time zone,
+    supann_id character varying(30),
+    etablissement_id bigint,
+    pays_id_nationalite bigint,
+    id_ref character varying(32),
+    source_code_sav character varying(64)
+);
+
+
+ALTER TABLE public.individu OWNER TO :dbuser;
+
+--
+-- Name: individu_compl; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.individu_compl (
+    id integer NOT NULL,
+    individu_id integer NOT NULL,
+    email character varying(1024),
+    etablissement_id integer,
+    unite_id integer,
+    histo_creation timestamp without time zone DEFAULT ('now'::text)::date NOT NULL,
+    histo_createur_id integer NOT NULL,
+    histo_modification timestamp without time zone,
+    histo_modificateur_id integer,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id integer
+);
+
+
+ALTER TABLE public.individu_compl OWNER TO :dbuser;
+
+--
+-- Name: individu_compl_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.individu_compl_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+ALTER TABLE public.individu_compl_id_seq OWNER TO :dbuser;
+
+--
+-- Name: individu_compl_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
+--
+
+ALTER SEQUENCE public.individu_compl_id_seq OWNED BY public.individu_compl.id;
+
+
+--
+-- Name: individu_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.individu_id_seq
+    START WITH 1076322
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.individu_id_seq OWNER TO :dbuser;
+
+--
+-- Name: individu_rech; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.individu_rech (
+    id bigint NOT NULL,
+    haystack text
+);
+
+
+ALTER TABLE public.individu_rech OWNER TO :dbuser;
+
+--
+-- Name: individu_role; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.individu_role (
+    id bigint NOT NULL,
+    individu_id bigint,
+    role_id bigint
+);
+
+
+ALTER TABLE public.individu_role OWNER TO :dbuser;
+
+--
+-- Name: TABLE individu_role; Type: COMMENT; Schema: public; Owner: :dbuser
+--
+
+COMMENT ON TABLE public.individu_role IS 'Attributions à des individus de rôles sans lien avec une thèse en particulier, ex: bureau des doctorats.';
+
+
+--
+-- Name: individu_role_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.individu_role_id_seq
+    START WITH 4846
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.individu_role_id_seq OWNER TO :dbuser;
+
+--
+-- Name: information; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.information (
+    id bigint NOT NULL,
+    titre character varying(256) NOT NULL,
+    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_createur_id bigint NOT NULL,
+    histo_modification timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_modificateur_id bigint NOT NULL,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id bigint,
+    contenu text NOT NULL,
+    priorite bigint DEFAULT 0 NOT NULL,
+    est_visible boolean DEFAULT true NOT NULL,
+    langue_id character varying(64) NOT NULL
+);
+
+
+ALTER TABLE public.information OWNER TO :dbuser;
+
+--
+-- Name: information_fichier_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.information_fichier_id_seq
+    START WITH 481
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.information_fichier_id_seq OWNER TO :dbuser;
+
+--
+-- Name: information_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.information_id_seq
+    START WITH 241
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.information_id_seq OWNER TO :dbuser;
+
+--
+-- Name: information_langue; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.information_langue (
+    id character varying(64) NOT NULL,
+    libelle character varying(128),
+    drapeau text
+);
+
+
+ALTER TABLE public.information_langue OWNER TO :dbuser;
+
+--
+-- Name: liste_diff; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.liste_diff (
+    id bigint NOT NULL,
+    adresse character varying(256) NOT NULL,
+    enabled boolean DEFAULT false NOT NULL,
+    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_createur_id bigint NOT NULL,
+    histo_modification timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_modificateur_id bigint NOT NULL,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id bigint
+);
+
+
+ALTER TABLE public.liste_diff OWNER TO :dbuser;
+
+--
+-- Name: liste_diff_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.liste_diff_id_seq
+    START WITH 81
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.liste_diff_id_seq OWNER TO :dbuser;
+
+--
+-- Name: mail_confirmation; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.mail_confirmation (
+    id bigint NOT NULL,
+    individu_id bigint NOT NULL,
+    email character varying(256) NOT NULL,
+    etat character varying(1),
+    code character varying(64),
+    refus_liste_diff boolean DEFAULT false NOT NULL
+);
+
+
+ALTER TABLE public.mail_confirmation OWNER TO :dbuser;
+
+--
+-- Name: COLUMN mail_confirmation.refus_liste_diff; Type: COMMENT; Schema: public; Owner: :dbuser
+--
+
+COMMENT ON COLUMN public.mail_confirmation.refus_liste_diff IS 'Refus de recevoir les messages des listes de diffusion sur cette adresse';
+
+
+--
+-- Name: mail_confirmation_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.mail_confirmation_id_seq
+    START WITH 19446
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.mail_confirmation_id_seq OWNER TO :dbuser;
+
+--
+-- Name: metadonnee_these; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.metadonnee_these (
+    id bigint NOT NULL,
+    these_id bigint NOT NULL,
+    titre character varying(2048) NOT NULL,
+    langue character varying(40) NOT NULL,
+    resume text DEFAULT 'NULL'::text NOT NULL,
+    resume_anglais text DEFAULT 'NULL'::text NOT NULL,
+    mots_cles_libres_fr character varying(1024) NOT NULL,
+    mots_cles_rameau character varying(1024),
+    titre_autre_langue character varying(2048) NOT NULL,
+    mots_cles_libres_ang character varying(1024)
+);
+
+
+ALTER TABLE public.metadonnee_these OWNER TO :dbuser;
+
+--
+-- Name: metadonnee_these_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.metadonnee_these_id_seq
+    START WITH 9606
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.metadonnee_these_id_seq OWNER TO :dbuser;
+
+--
+-- Name: these; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.these (
+    id bigint NOT NULL,
+    etablissement_id bigint DEFAULT 2,
+    doctorant_id bigint NOT NULL,
+    ecole_doct_id bigint,
+    unite_rech_id bigint,
     besoin_expurge boolean DEFAULT false NOT NULL,
     cod_unit_rech character varying(50),
     correc_autorisee character varying(30),
@@ -1229,1892 +2067,3258 @@ CREATE TABLE public.these (
     date_soutenance timestamp without time zone,
     etat_these character varying(20),
     lib_disc character varying(200),
-    lib_etab_cotut character varying(60),
+    lib_etab_cotut character varying(100),
+    lib_pays_cotut character varying(40),
+    lib_unit_rech character varying(200),
+    resultat smallint,
+    soutenance_autoris character varying(1),
+    tem_avenant_cotut character varying(1),
+    titre character varying(2048),
+    source_code character varying(64) NOT NULL,
+    source_id bigint NOT NULL,
+    histo_createur_id bigint NOT NULL,
+    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_modificateur_id bigint,
+    histo_modification timestamp without time zone,
+    histo_destructeur_id bigint,
+    histo_destruction timestamp without time zone,
+    correc_autorisee_forcee character varying(30),
+    date_abandon timestamp without time zone,
+    date_transfert timestamp without time zone,
+    correc_effectuee character varying(30) DEFAULT 'null'::character varying,
+    correc_date_butoir_avec_sursis date,
+    code_sise_disc character varying(64),
+    source_code_sav character varying(64)
+);
+
+
+ALTER TABLE public.these OWNER TO :dbuser;
+
+--
+-- Name: TABLE these; Type: COMMENT; Schema: public; Owner: :dbuser
+--
+
+COMMENT ON TABLE public.these IS 'Thèses par établissement.';
+
+
+--
+-- Name: these_annee_univ; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.these_annee_univ (
+    id bigint NOT NULL,
+    source_code character varying(64) NOT NULL,
+    source_id bigint NOT NULL,
+    these_id bigint,
+    annee_univ bigint,
+    histo_createur_id bigint NOT NULL,
+    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_modificateur_id bigint,
+    histo_modification timestamp without time zone,
+    histo_destructeur_id bigint,
+    histo_destruction timestamp without time zone
+);
+
+
+ALTER TABLE public.these_annee_univ OWNER TO :dbuser;
+
+--
+-- Name: type_validation; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.type_validation (
+    id bigint NOT NULL,
+    code character varying(50) NOT NULL,
+    libelle character varying(100)
+);
+
+
+ALTER TABLE public.type_validation OWNER TO :dbuser;
+
+--
+-- Name: validation; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.validation (
+    id bigint NOT NULL,
+    type_validation_id bigint NOT NULL,
+    these_id bigint NOT NULL,
+    individu_id bigint,
+    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_createur_id bigint DEFAULT 1 NOT NULL,
+    histo_modification timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_modificateur_id bigint DEFAULT 1 NOT NULL,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id bigint
+);
+
+
+ALTER TABLE public.validation OWNER TO :dbuser;
+
+--
+-- Name: nature_fichier; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.nature_fichier (
+    id bigint NOT NULL,
+    code character varying(50) DEFAULT 'NULL'::character varying NOT NULL,
+    libelle character varying(100) DEFAULT 'NULL'::character varying
+);
+
+
+ALTER TABLE public.nature_fichier OWNER TO :dbuser;
+
+--
+-- Name: structure; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.structure (
+    id bigint NOT NULL,
+    sigle character varying(40),
+    libelle character varying(300) DEFAULT 'NULL'::character varying NOT NULL,
+    chemin_logo character varying(200),
+    type_structure_id bigint,
+    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_createur_id bigint NOT NULL,
+    histo_modification timestamp without time zone,
+    histo_modificateur_id bigint,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id bigint,
+    source_id bigint NOT NULL,
+    source_code character varying(64) NOT NULL,
+    code character varying(64) DEFAULT 'NULL'::character varying NOT NULL,
+    est_ferme boolean DEFAULT false,
+    adresse character varying(1024),
+    telephone character varying(64),
+    fax character varying(64),
+    email character varying(64),
+    site_web character varying(512),
+    id_ref character varying(1024),
+    id_hal character varying(128)
+);
+
+
+ALTER TABLE public.structure OWNER TO :dbuser;
+
+--
+-- Name: unite_rech; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.unite_rech (
+    id bigint NOT NULL,
+    etab_support character varying(500),
+    autres_etab character varying(500),
+    source_id bigint NOT NULL,
+    source_code character varying(64) NOT NULL,
+    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_createur_id bigint NOT NULL,
+    histo_modification timestamp without time zone,
+    histo_modificateur_id bigint,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id bigint,
+    structure_id bigint NOT NULL,
+    rnsr_id character varying(128)
+);
+
+
+ALTER TABLE public.unite_rech OWNER TO :dbuser;
+
+--
+-- Name: structure_substit; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.structure_substit (
+    id bigint NOT NULL,
+    from_structure_id bigint NOT NULL,
+    to_structure_id bigint NOT NULL,
+    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_modification timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_destruction timestamp without time zone,
+    histo_createur_id bigint,
+    histo_modificateur_id bigint,
+    histo_destructeur_id bigint
+);
+
+
+ALTER TABLE public.structure_substit OWNER TO :dbuser;
+
+--
+-- Name: role; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.role (
+    id bigint NOT NULL,
+    code character varying(50) NOT NULL,
+    libelle character varying(200) NOT NULL,
+    source_code character varying(64) NOT NULL,
+    source_id bigint NOT NULL,
+    role_id character varying(64) NOT NULL,
+    is_default boolean DEFAULT false,
+    ldap_filter character varying(255),
+    attrib_auto boolean DEFAULT false NOT NULL,
+    these_dep boolean DEFAULT false NOT NULL,
+    histo_createur_id bigint NOT NULL,
+    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_modificateur_id bigint,
+    histo_modification timestamp without time zone,
+    histo_destructeur_id bigint,
+    histo_destruction timestamp without time zone,
+    structure_id bigint,
+    type_structure_dependant_id bigint,
+    ordre_affichage character varying(32) DEFAULT 'zzz'::character varying NOT NULL
+);
+
+
+ALTER TABLE public.role OWNER TO :dbuser;
+
+--
+-- Name: COLUMN role.ordre_affichage; Type: COMMENT; Schema: public; Owner: :dbuser
+--
+
+COMMENT ON COLUMN public.role.ordre_affichage IS 'Chaîne de caractères utilisée pour trier les rôles ; l''astuce consiste à concaténer cette valeur aux autres critères de tri.';
+
+
+--
+-- Name: mv_recherche_these; Type: MATERIALIZED VIEW; Schema: public; Owner: :dbuser
+--
+
+CREATE MATERIALIZED VIEW public.mv_recherche_these AS
+ WITH acteurs AS (
+         SELECT a_1.these_id,
+            i.nom_usuel,
+            a_1.individu_id
+           FROM (((public.individu i
+             JOIN public.acteur a_1 ON ((i.id = a_1.individu_id)))
+             JOIN public.these t_1 ON ((t_1.id = a_1.these_id)))
+             JOIN public.role r ON (((a_1.role_id = r.id) AND ((r.code)::text = ANY (ARRAY[('D'::character varying)::text, ('K'::character varying)::text])))))
+        )
+ SELECT ('now'::text)::timestamp without time zone AS date_creation,
+    t.source_code AS code_these,
+    d.source_code AS code_doctorant,
+    ed.source_code AS code_ecole_doct,
+    btrim(public.str_reduce((((((((((((((((((((((('code-ed{'::text || COALESCE((eds.code)::text, ''::text)) || '} '::text) || 'code-ur{'::text) || COALESCE((urs.code)::text, ''::text)) || '} '::text) || 'titre{'::text) || (t.titre)::text) || '} '::text) || 'doctorant-numero{'::text) || substr((d.source_code)::text, ("position"((d.source_code)::text, '::'::text) + 2))) || '} '::text) || 'doctorant-nom{'::text) || (id.nom_patronymique)::text) || ' '::text) || (id.nom_usuel)::text) || '} '::text) || 'doctorant-prenom{'::text) || (id.prenom1)::text) || '} '::text) || 'directeur-nom{'::text) || COALESCE((ia.nom_usuel)::text, ''::text)) || '} '::text))) AS haystack
+   FROM ((((((((public.these t
+     JOIN public.doctorant d ON ((d.id = t.doctorant_id)))
+     JOIN public.individu id ON ((id.id = d.individu_id)))
+     LEFT JOIN public.ecole_doct ed ON ((t.ecole_doct_id = ed.id)))
+     LEFT JOIN public.structure eds ON ((ed.structure_id = eds.id)))
+     LEFT JOIN public.unite_rech ur ON ((t.unite_rech_id = ur.id)))
+     LEFT JOIN public.structure urs ON ((ur.structure_id = urs.id)))
+     LEFT JOIN public.acteur a ON ((a.these_id = t.id)))
+     LEFT JOIN public.individu ia ON ((ia.id = a.individu_id)))
+  WITH NO DATA;
+
+
+ALTER TABLE public.mv_recherche_these OWNER TO :dbuser;
+
+--
+-- Name: nature_fichier_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.nature_fichier_id_seq
+    START WITH 141
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.nature_fichier_id_seq OWNER TO :dbuser;
+
+--
+-- Name: notif; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.notif (
+    id bigint NOT NULL,
+    code character varying(100) NOT NULL,
+    description character varying(255) NOT NULL,
+    recipients character varying(500),
+    template text NOT NULL,
+    enabled bigint DEFAULT 1 NOT NULL
+);
+
+
+ALTER TABLE public.notif OWNER TO :dbuser;
+
+--
+-- Name: notif_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.notif_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.notif_id_seq OWNER TO :dbuser;
+
+--
+-- Name: notif_mail; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.notif_mail (
+    id bigint NOT NULL,
+    mail_from character varying(1024),
+    mail_to character varying(1024) NOT NULL,
+    subject character varying(1024),
+    body_text text,
+    sent_on timestamp without time zone
+);
+
+
+ALTER TABLE public.notif_mail OWNER TO :dbuser;
+
+--
+-- Name: notif_mail_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.notif_mail_id_seq
+    START WITH 11505
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.notif_mail_id_seq OWNER TO :dbuser;
+
+--
+-- Name: notif_result; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.notif_result (
+    id bigint NOT NULL,
+    notif_id bigint NOT NULL,
+    subject character varying(255) NOT NULL,
+    body text NOT NULL,
+    sent_on timestamp without time zone NOT NULL,
+    error text
+);
+
+
+ALTER TABLE public.notif_result OWNER TO :dbuser;
+
+--
+-- Name: notif_result_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.notif_result_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.notif_result_id_seq OWNER TO :dbuser;
+
+--
+-- Name: origine_financement; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.origine_financement (
+    id bigint NOT NULL,
+    code character varying(64) NOT NULL,
+    libelle_long character varying(256) NOT NULL,
+    source_id bigint,
+    libelle_court character varying(64),
+    source_code character varying(64) NOT NULL,
+    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_createur_id bigint NOT NULL,
+    histo_modification timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    histo_modificateur_id bigint,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id bigint,
+    visible boolean DEFAULT true NOT NULL
+);
+
+
+ALTER TABLE public.origine_financement OWNER TO :dbuser;
+
+--
+-- Name: origine_financement_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.origine_financement_id_seq
+    START WITH 201
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.origine_financement_id_seq OWNER TO :dbuser;
+
+--
+-- Name: parametre; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.parametre (
+    id character varying(256) NOT NULL,
+    description character varying(256) NOT NULL,
+    valeur character varying(256) NOT NULL
+);
+
+
+ALTER TABLE public.parametre OWNER TO :dbuser;
+
+--
+-- Name: pays; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.pays (
+    id bigint NOT NULL,
+    code_iso character varying(3) NOT NULL,
+    code_iso_alpha3 character varying(3) NOT NULL,
+    code_iso_alpha2 character varying(2) NOT NULL,
+    libelle character varying(128) NOT NULL,
+    libelle_iso character varying(128) NOT NULL,
+    libelle_nationalite character varying(64),
+    code_pays_apogee character varying(3),
+    histo_creation timestamp without time zone DEFAULT now() NOT NULL,
+    histo_createur_id bigint NOT NULL,
+    histo_modification timestamp without time zone,
+    histo_modificateur_id bigint,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id bigint,
+    source_id bigint NOT NULL,
+    source_code character varying(64)
+);
+
+
+ALTER TABLE public.pays OWNER TO :dbuser;
+
+--
+-- Name: TABLE pays; Type: COMMENT; Schema: public; Owner: :dbuser
+--
+
+COMMENT ON TABLE public.pays IS 'Liste des pays selon la norme internationale de codification des pays ISO 3166-1';
+
+
+--
+-- Name: pays_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.pays_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+ALTER TABLE public.pays_id_seq OWNER TO :dbuser;
+
+--
+-- Name: privilege; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.privilege (
+    id bigint NOT NULL,
+    categorie_id bigint NOT NULL,
+    code character varying(150) NOT NULL,
+    libelle character varying(200) NOT NULL,
+    ordre bigint
+);
+
+
+ALTER TABLE public.privilege OWNER TO :dbuser;
+
+--
+-- Name: privilege_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.privilege_id_seq
+    START WITH 681
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.privilege_id_seq OWNER TO :dbuser;
+
+--
+-- Name: privilege_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
+--
+
+ALTER SEQUENCE public.privilege_id_seq OWNED BY public.privilege.id;
+
+
+--
+-- Name: profil; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.profil (
+    id bigint NOT NULL,
+    libelle character varying(100) NOT NULL,
+    role_id character varying(100) NOT NULL,
+    structure_type bigint,
+    description character varying(1024),
+    ordre bigint DEFAULT 0
+);
+
+
+ALTER TABLE public.profil OWNER TO :dbuser;
+
+--
+-- Name: profil_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.profil_id_seq
+    START WITH 61
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.profil_id_seq OWNER TO :dbuser;
+
+--
+-- Name: profil_privilege; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.profil_privilege (
+    privilege_id bigint NOT NULL,
+    profil_id bigint NOT NULL
+);
+
+
+ALTER TABLE public.profil_privilege OWNER TO :dbuser;
+
+--
+-- Name: profil_to_role; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.profil_to_role (
+    profil_id bigint NOT NULL,
+    role_id bigint NOT NULL
+);
+
+
+ALTER TABLE public.profil_to_role OWNER TO :dbuser;
+
+--
+-- Name: rapport; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.rapport (
+    id bigint NOT NULL,
+    these_id bigint NOT NULL,
+    fichier_id bigint NOT NULL,
+    annee_univ bigint NOT NULL,
+    est_final boolean,
+    histo_createur_id bigint NOT NULL,
+    histo_modificateur_id bigint,
+    histo_destructeur_id bigint,
+    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_modification timestamp without time zone,
+    histo_destruction timestamp without time zone,
+    type_rapport_id bigint NOT NULL
+);
+
+
+ALTER TABLE public.rapport OWNER TO :dbuser;
+
+--
+-- Name: rapport_activite; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.rapport_activite (
+    id bigint NOT NULL,
+    these_id bigint NOT NULL,
+    fichier_id bigint,
+    annee_univ bigint NOT NULL,
+    est_fin_contrat boolean NOT NULL,
+    par_directeur_these boolean DEFAULT false NOT NULL,
+    par_directeur_these_motif text,
+    description_projet_recherche text,
+    principaux_resultats_obtenus text,
+    productions_scientifiques text,
+    formations_specifiques text,
+    formations_transversales text,
+    actions_diffusion_culture_scientifique text,
+    autres_activites text,
+    calendrier_previonnel_finalisation text,
+    preparation_apres_these text,
+    perspectives_apres_these text,
+    commentaires text,
+    histo_createur_id bigint NOT NULL,
+    histo_modificateur_id bigint,
+    histo_destructeur_id bigint,
+    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_modification timestamp without time zone,
+    histo_destruction timestamp without time zone,
+    z_old_rapport_id bigint
+);
+
+
+ALTER TABLE public.rapport_activite OWNER TO :dbuser;
+
+--
+-- Name: rapport_activite_avis; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.rapport_activite_avis (
+    id bigint NOT NULL,
+    rapport_id bigint NOT NULL,
+    avis_id bigint,
+    histo_createur_id bigint NOT NULL,
+    histo_modificateur_id bigint,
+    histo_destructeur_id bigint,
+    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_modification timestamp without time zone,
+    histo_destruction timestamp without time zone
+);
+
+
+ALTER TABLE public.rapport_activite_avis OWNER TO :dbuser;
+
+--
+-- Name: rapport_activite_avis_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.rapport_activite_avis_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+ALTER TABLE public.rapport_activite_avis_id_seq OWNER TO :dbuser;
+
+--
+-- Name: rapport_activite_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.rapport_activite_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+ALTER TABLE public.rapport_activite_id_seq OWNER TO :dbuser;
+
+--
+-- Name: rapport_activite_validation; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.rapport_activite_validation (
+    id bigint NOT NULL,
+    type_validation_id bigint NOT NULL,
+    rapport_id bigint NOT NULL,
+    individu_id bigint,
+    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_createur_id bigint DEFAULT 1 NOT NULL,
+    histo_modification timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_modificateur_id bigint DEFAULT 1 NOT NULL,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id bigint
+);
+
+
+ALTER TABLE public.rapport_activite_validation OWNER TO :dbuser;
+
+--
+-- Name: rapport_activite_validation_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.rapport_activite_validation_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+ALTER TABLE public.rapport_activite_validation_id_seq OWNER TO :dbuser;
+
+--
+-- Name: rapport_avis; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.rapport_avis (
+    id bigint NOT NULL,
+    rapport_id bigint NOT NULL,
+    avis public.avis_enum,
+    commentaires text,
+    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_createur_id bigint DEFAULT 1 NOT NULL,
+    histo_modification timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_modificateur_id bigint DEFAULT 1 NOT NULL,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id bigint,
+    avis_id bigint
+);
+
+
+ALTER TABLE public.rapport_avis OWNER TO :dbuser;
+
+--
+-- Name: rapport_avis_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.rapport_avis_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+ALTER TABLE public.rapport_avis_id_seq OWNER TO :dbuser;
+
+--
+-- Name: rapport_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.rapport_id_seq
+    START WITH 7453
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.rapport_id_seq OWNER TO :dbuser;
+
+--
+-- Name: rapport_validation; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.rapport_validation (
+    id bigint NOT NULL,
+    type_validation_id bigint NOT NULL,
+    rapport_id bigint NOT NULL,
+    individu_id bigint,
+    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_createur_id bigint DEFAULT 1 NOT NULL,
+    histo_modification timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_modificateur_id bigint DEFAULT 1 NOT NULL,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id bigint
+);
+
+
+ALTER TABLE public.rapport_validation OWNER TO :dbuser;
+
+--
+-- Name: rapport_validation_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.rapport_validation_id_seq
+    START WITH 504
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.rapport_validation_id_seq OWNER TO :dbuser;
+
+--
+-- Name: rdv_bu; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.rdv_bu (
+    id bigint NOT NULL,
+    these_id bigint NOT NULL,
+    coord_doctorant character varying(2000),
+    dispo_doctorant character varying(2000),
+    mots_cles_rameau character varying(1024),
+    convention_mel_signee boolean DEFAULT false NOT NULL,
+    exempl_papier_fourni boolean,
+    version_archivable_fournie boolean DEFAULT false NOT NULL,
+    divers text,
+    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_createur_id bigint NOT NULL,
+    histo_modification timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_modificateur_id bigint NOT NULL,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id bigint
+);
+
+
+ALTER TABLE public.rdv_bu OWNER TO :dbuser;
+
+--
+-- Name: COLUMN rdv_bu.convention_mel_signee; Type: COMMENT; Schema: public; Owner: :dbuser
+--
+
+COMMENT ON COLUMN public.rdv_bu.convention_mel_signee IS 'Convention de mise en ligne signée ?';
+
+
+--
+-- Name: COLUMN rdv_bu.exempl_papier_fourni; Type: COMMENT; Schema: public; Owner: :dbuser
+--
+
+COMMENT ON COLUMN public.rdv_bu.exempl_papier_fourni IS 'Exemplaire papier remis ?';
+
+
+--
+-- Name: COLUMN rdv_bu.version_archivable_fournie; Type: COMMENT; Schema: public; Owner: :dbuser
+--
+
+COMMENT ON COLUMN public.rdv_bu.version_archivable_fournie IS 'Témoin indiquant si une version archivable de la thèse existe';
+
+
+--
+-- Name: rdv_bu_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.rdv_bu_id_seq
+    START WITH 9431
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.rdv_bu_id_seq OWNER TO :dbuser;
+
+--
+-- Name: role_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.role_id_seq
+    START WITH 1141
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.role_id_seq OWNER TO :dbuser;
+
+--
+-- Name: role_privilege; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.role_privilege (
+    role_id bigint NOT NULL,
+    privilege_id bigint NOT NULL
+);
+
+
+ALTER TABLE public.role_privilege OWNER TO :dbuser;
+
+--
+-- Name: source; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.source (
+    id bigint NOT NULL,
+    code character varying(64) NOT NULL,
+    libelle character varying(128) NOT NULL,
+    importable boolean NOT NULL,
+    etablissement_id bigint
+);
+
+
+ALTER TABLE public.source OWNER TO :dbuser;
+
+--
+-- Name: TABLE source; Type: COMMENT; Schema: public; Owner: :dbuser
+--
+
+COMMENT ON TABLE public.source IS 'Sources de données, importables ou non, ex: Apogée, Physalis.';
+
+
+--
+-- Name: soutenance_avis; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.soutenance_avis (
+    id bigint NOT NULL,
+    proposition_id bigint NOT NULL,
+    membre_id bigint NOT NULL,
+    avis character varying(64),
+    motif character varying(1024),
+    validation_id bigint,
+    histo_creation timestamp without time zone NOT NULL,
+    histo_createur_id bigint NOT NULL,
+    histo_modification timestamp without time zone NOT NULL,
+    histo_modificateur_id bigint NOT NULL,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id bigint,
+    fichierthese_id integer
+);
+
+
+ALTER TABLE public.soutenance_avis OWNER TO :dbuser;
+
+--
+-- Name: soutenance_avis_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.soutenance_avis_id_seq
+    START WITH 2022
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.soutenance_avis_id_seq OWNER TO :dbuser;
+
+--
+-- Name: soutenance_etat; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.soutenance_etat (
+    id bigint NOT NULL,
+    code character varying(63) NOT NULL,
+    libelle character varying(255) NOT NULL,
+    histo_creation timestamp without time zone DEFAULT now() NOT NULL,
+    histo_createur_id bigint DEFAULT 1 NOT NULL,
+    histo_modification timestamp without time zone DEFAULT now() NOT NULL,
+    histo_modificateur_id bigint DEFAULT 1 NOT NULL,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id bigint,
+    ordre integer
+);
+
+
+ALTER TABLE public.soutenance_etat OWNER TO :dbuser;
+
+--
+-- Name: soutenance_etat_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.soutenance_etat_id_seq
+    START WITH 21
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.soutenance_etat_id_seq OWNER TO :dbuser;
+
+--
+-- Name: soutenance_horodatage; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.soutenance_horodatage (
+    proposition_id integer NOT NULL,
+    horodatage_id integer NOT NULL
+);
+
+
+ALTER TABLE public.soutenance_horodatage OWNER TO :dbuser;
+
+--
+-- Name: soutenance_intervention; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.soutenance_intervention (
+    id bigint NOT NULL,
+    these_id bigint NOT NULL,
+    type_intervention bigint NOT NULL,
+    histo_creation timestamp without time zone NOT NULL,
+    histo_createur_id bigint NOT NULL,
+    histo_modification timestamp without time zone,
+    histo_modificateur_id bigint,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id bigint,
+    complement text
+);
+
+
+ALTER TABLE public.soutenance_intervention OWNER TO :dbuser;
+
+--
+-- Name: soutenance_intervention_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.soutenance_intervention_id_seq
+    START WITH 21
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.soutenance_intervention_id_seq OWNER TO :dbuser;
+
+--
+-- Name: soutenance_justificatif; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.soutenance_justificatif (
+    id bigint NOT NULL,
+    proposition_id bigint NOT NULL,
+    fichier_id bigint NOT NULL,
+    membre_id bigint,
+    histo_creation timestamp without time zone NOT NULL,
+    histo_createur_id bigint NOT NULL,
+    histo_modification timestamp without time zone NOT NULL,
+    histo_modificateur_id bigint NOT NULL,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id bigint
+);
+
+
+ALTER TABLE public.soutenance_justificatif OWNER TO :dbuser;
+
+--
+-- Name: soutenance_justificatif_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.soutenance_justificatif_id_seq
+    START WITH 3124
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.soutenance_justificatif_id_seq OWNER TO :dbuser;
+
+--
+-- Name: soutenance_membre; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.soutenance_membre (
+    id bigint NOT NULL,
+    proposition_id bigint NOT NULL,
+    genre character varying(1) NOT NULL,
+    qualite bigint NOT NULL,
+    etablissement character varying(128) NOT NULL,
+    role_id character varying(64) NOT NULL,
+    exterieur character varying(3),
+    email character varying(256),
+    acteur_id bigint,
+    visio boolean DEFAULT false NOT NULL,
+    nom character varying(256),
+    prenom character varying(256),
+    histo_creation timestamp without time zone NOT NULL,
+    histo_createur_id bigint NOT NULL,
+    histo_modification timestamp without time zone NOT NULL,
+    histo_modificateur_id bigint NOT NULL,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id bigint,
+    clef character varying(64),
+    adresse text
+);
+
+
+ALTER TABLE public.soutenance_membre OWNER TO :dbuser;
+
+--
+-- Name: soutenance_membre_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.soutenance_membre_id_seq
+    START WITH 7816
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.soutenance_membre_id_seq OWNER TO :dbuser;
+
+--
+-- Name: soutenance_proposition; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.soutenance_proposition (
+    id bigint NOT NULL,
+    these_id bigint NOT NULL,
+    dateprev timestamp without time zone,
+    lieu character varying(256),
+    rendu_rapport timestamp without time zone,
+    confidentialite timestamp without time zone,
+    label_europeen boolean DEFAULT false NOT NULL,
+    manuscrit_anglais boolean DEFAULT false NOT NULL,
+    soutenance_anglais boolean DEFAULT false NOT NULL,
+    huit_clos boolean DEFAULT false NOT NULL,
+    exterieur boolean DEFAULT false NOT NULL,
+    nouveau_titre character varying(2048),
+    etat_id bigint NOT NULL,
+    sursis character varying(1),
+    adresse_exacte character varying(2048),
+    histo_creation timestamp without time zone NOT NULL,
+    histo_createur_id bigint NOT NULL,
+    histo_modification timestamp without time zone NOT NULL,
+    histo_modificateur_id bigint NOT NULL,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id bigint
+);
+
+
+ALTER TABLE public.soutenance_proposition OWNER TO :dbuser;
+
+--
+-- Name: soutenance_proposition_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.soutenance_proposition_id_seq
+    START WITH 5273
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.soutenance_proposition_id_seq OWNER TO :dbuser;
+
+--
+-- Name: soutenance_qualite; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.soutenance_qualite (
+    id bigint NOT NULL,
+    libelle character varying(128) NOT NULL,
+    rang character varying(1) NOT NULL,
+    hdr character varying(1) NOT NULL,
+    emeritat character varying(1) NOT NULL,
+    histo_creation timestamp without time zone NOT NULL,
+    histo_createur_id bigint NOT NULL,
+    histo_modification timestamp without time zone NOT NULL,
+    histo_modificateur_id bigint NOT NULL,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id bigint,
+    justificatif character varying(1) DEFAULT 'N'::character varying NOT NULL
+);
+
+
+ALTER TABLE public.soutenance_qualite OWNER TO :dbuser;
+
+--
+-- Name: soutenance_qualite_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.soutenance_qualite_id_seq
+    START WITH 74
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.soutenance_qualite_id_seq OWNER TO :dbuser;
+
+--
+-- Name: soutenance_qualite_sup; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.soutenance_qualite_sup (
+    id bigint NOT NULL,
+    qualite_id bigint NOT NULL,
+    libelle character varying(255) NOT NULL,
+    histo_creation timestamp without time zone NOT NULL,
+    histo_createur_id bigint NOT NULL,
+    histo_modification timestamp without time zone NOT NULL,
+    histo_modificateur_id bigint NOT NULL,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id bigint
+);
+
+
+ALTER TABLE public.soutenance_qualite_sup OWNER TO :dbuser;
+
+--
+-- Name: soutenance_qualite_sup_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.soutenance_qualite_sup_id_seq
+    START WITH 6
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.soutenance_qualite_sup_id_seq OWNER TO :dbuser;
+
+--
+-- Name: tmp_acteur; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.tmp_acteur (
+    id bigint NOT NULL,
+    insert_date timestamp(0) without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    source_id bigint NOT NULL,
+    source_code character varying(64) NOT NULL,
+    individu_id character varying(64) NOT NULL,
+    these_id character varying(64) NOT NULL,
+    role_id character varying(64) NOT NULL,
+    lib_cps character varying(200),
+    cod_cps character varying(50),
+    cod_roj_compl character varying(50),
+    lib_roj_compl character varying(200),
+    tem_hab_rch_per character varying(1),
+    tem_rap_recu character varying(1),
+    acteur_etablissement_id character varying(64),
+    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    histo_creation timestamp(0) without time zone DEFAULT ('now'::text)::timestamp(0) without time zone NOT NULL,
+    histo_modification timestamp(0) without time zone,
+    histo_destruction timestamp(0) without time zone,
+    histo_createur_id bigint NOT NULL,
+    histo_modificateur_id bigint,
+    histo_destructeur_id bigint
+);
+
+
+ALTER TABLE public.tmp_acteur OWNER TO :dbuser;
+
+--
+-- Name: src_acteur; Type: VIEW; Schema: public; Owner: :dbuser
+--
+
+CREATE VIEW public.src_acteur AS
+ SELECT NULL::text AS id,
+    tmp.source_code,
+    src.id AS source_id,
+    i.id AS individu_id,
+    t.id AS these_id,
+    r.id AS role_id,
+    eact.id AS acteur_etablissement_id,
+    tmp.lib_cps AS qualite,
+    tmp.lib_roj_compl AS lib_role_compl
+   FROM (((((public.tmp_acteur tmp
+     JOIN public.source src ON ((src.id = tmp.source_id)))
+     JOIN public.individu i ON (((i.source_code)::text = (tmp.individu_id)::text)))
+     JOIN public.these t ON (((t.source_code)::text = (tmp.these_id)::text)))
+     JOIN public.role r ON ((((r.source_code)::text = (tmp.role_id)::text) AND ((r.code)::text = 'P'::text))))
+     LEFT JOIN public.etablissement eact ON (((eact.source_code)::text = (tmp.acteur_etablissement_id)::text)))
+UNION ALL
+ SELECT NULL::text AS id,
+    ((tmp.source_code)::text || 'P'::text) AS source_code,
+    src.id AS source_id,
+    i.id AS individu_id,
+    t.id AS these_id,
+    r_pj.id AS role_id,
+    eact.id AS acteur_etablissement_id,
+    tmp.lib_cps AS qualite,
+    NULL::character varying AS lib_role_compl
+   FROM ((((((public.tmp_acteur tmp
+     JOIN public.source src ON ((src.id = tmp.source_id)))
+     JOIN public.individu i ON (((i.source_code)::text = (tmp.individu_id)::text)))
+     JOIN public.these t ON (((t.source_code)::text = (tmp.these_id)::text)))
+     JOIN public.role r ON ((((r.source_code)::text = (tmp.role_id)::text) AND ((r.code)::text = 'M'::text))))
+     JOIN public.role r_pj ON ((((r_pj.code)::text = 'P'::text) AND (r_pj.structure_id = r.structure_id))))
+     LEFT JOIN public.etablissement eact ON (((eact.source_code)::text = (tmp.acteur_etablissement_id)::text)))
+  WHERE ((tmp.lib_roj_compl)::text = 'Président du jury'::text)
+UNION ALL
+ SELECT NULL::text AS id,
+    tmp.source_code,
+    src.id AS source_id,
+    i.id AS individu_id,
+    t.id AS these_id,
+    r.id AS role_id,
+    eact.id AS acteur_etablissement_id,
+    tmp.lib_cps AS qualite,
+    NULL::character varying AS lib_role_compl
+   FROM (((((public.tmp_acteur tmp
+     JOIN public.source src ON ((src.id = tmp.source_id)))
+     JOIN public.individu i ON (((i.source_code)::text = (tmp.individu_id)::text)))
+     JOIN public.these t ON (((t.source_code)::text = (tmp.these_id)::text)))
+     JOIN public.role r ON ((((r.source_code)::text = (tmp.role_id)::text) AND ((r.code)::text <> 'P'::text))))
+     LEFT JOIN public.etablissement eact ON (((eact.source_code)::text = (tmp.acteur_etablissement_id)::text)));
+
+
+ALTER TABLE public.src_acteur OWNER TO :dbuser;
+
+--
+-- Name: tmp_doctorant; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.tmp_doctorant (
+    id bigint NOT NULL,
+    insert_date timestamp(0) without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    source_id bigint NOT NULL,
+    source_code character varying(64) NOT NULL,
+    individu_id character varying(64) NOT NULL,
+    ine character varying(64),
+    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    histo_creation timestamp(0) without time zone DEFAULT ('now'::text)::timestamp(0) without time zone NOT NULL,
+    histo_modification timestamp(0) without time zone,
+    histo_destruction timestamp(0) without time zone,
+    histo_createur_id bigint NOT NULL,
+    histo_modificateur_id bigint,
+    histo_destructeur_id bigint
+);
+
+
+ALTER TABLE public.tmp_doctorant OWNER TO :dbuser;
+
+--
+-- Name: src_doctorant; Type: VIEW; Schema: public; Owner: :dbuser
+--
+
+CREATE VIEW public.src_doctorant AS
+ SELECT NULL::text AS id,
+    tmp.source_code,
+    tmp.ine,
+    src.id AS source_id,
+    i.id AS individu_id,
+    e.id AS etablissement_id
+   FROM (((public.tmp_doctorant tmp
+     JOIN public.source src ON ((src.id = tmp.source_id)))
+     JOIN public.etablissement e ON ((e.id = src.etablissement_id)))
+     JOIN public.individu i ON (((i.source_code)::text = (tmp.individu_id)::text)));
+
+
+ALTER TABLE public.src_doctorant OWNER TO :dbuser;
+
+--
+-- Name: tmp_ecole_doct; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.tmp_ecole_doct (
+    id bigint NOT NULL,
+    insert_date timestamp(0) without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    source_id bigint NOT NULL,
+    source_code character varying(64) NOT NULL,
+    structure_id character varying(64) NOT NULL,
+    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    histo_creation timestamp(0) without time zone DEFAULT ('now'::text)::timestamp(0) without time zone NOT NULL,
+    histo_modification timestamp(0) without time zone,
+    histo_destruction timestamp(0) without time zone,
+    histo_createur_id bigint NOT NULL,
+    histo_modificateur_id bigint,
+    histo_destructeur_id bigint
+);
+
+
+ALTER TABLE public.tmp_ecole_doct OWNER TO :dbuser;
+
+--
+-- Name: src_ecole_doct; Type: VIEW; Schema: public; Owner: :dbuser
+--
+
+CREATE VIEW public.src_ecole_doct AS
+ SELECT NULL::text AS id,
+    tmp.source_code,
+    src.id AS source_id,
+    s.id AS structure_id
+   FROM ((public.tmp_ecole_doct tmp
+     JOIN public.structure s ON (((s.source_code)::text = (tmp.structure_id)::text)))
+     JOIN public.source src ON ((src.id = tmp.source_id)));
+
+
+ALTER TABLE public.src_ecole_doct OWNER TO :dbuser;
+
+--
+-- Name: tmp_etablissement; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.tmp_etablissement (
+    id bigint NOT NULL,
+    insert_date timestamp(0) without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    source_id bigint NOT NULL,
+    source_code character varying(64) NOT NULL,
+    structure_id character varying(64) NOT NULL,
+    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    histo_creation timestamp(0) without time zone DEFAULT ('now'::text)::timestamp(0) without time zone NOT NULL,
+    histo_modification timestamp(0) without time zone,
+    histo_destruction timestamp(0) without time zone,
+    histo_createur_id bigint NOT NULL,
+    histo_modificateur_id bigint,
+    histo_destructeur_id bigint
+);
+
+
+ALTER TABLE public.tmp_etablissement OWNER TO :dbuser;
+
+--
+-- Name: src_etablissement; Type: VIEW; Schema: public; Owner: :dbuser
+--
+
+CREATE VIEW public.src_etablissement AS
+ SELECT NULL::text AS id,
+    tmp.source_code,
+    src.id AS source_id,
+    s.id AS structure_id
+   FROM ((public.tmp_etablissement tmp
+     JOIN public.source src ON ((src.id = tmp.source_id)))
+     JOIN public.structure s ON (((s.source_code)::text = (tmp.structure_id)::text)));
+
+
+ALTER TABLE public.src_etablissement OWNER TO :dbuser;
+
+--
+-- Name: tmp_financement; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.tmp_financement (
+    id bigint NOT NULL,
+    insert_date timestamp(0) without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    source_id bigint NOT NULL,
+    source_code character varying(64) NOT NULL,
+    these_id character varying(50) NOT NULL,
+    annee character varying(50) NOT NULL,
+    origine_financement_id character varying(50) NOT NULL,
+    complement_financement character varying(200),
+    quotite_financement character varying(50),
+    date_debut_financement timestamp without time zone,
+    date_fin_financement timestamp without time zone,
+    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    code_type_financement character varying(8),
+    libelle_type_financement character varying(100),
+    histo_creation timestamp(0) without time zone DEFAULT ('now'::text)::timestamp(0) without time zone NOT NULL,
+    histo_modification timestamp(0) without time zone,
+    histo_destruction timestamp(0) without time zone,
+    histo_createur_id bigint NOT NULL,
+    histo_modificateur_id bigint,
+    histo_destructeur_id bigint
+);
+
+
+ALTER TABLE public.tmp_financement OWNER TO :dbuser;
+
+--
+-- Name: src_financement; Type: VIEW; Schema: public; Owner: :dbuser
+--
+
+CREATE VIEW public.src_financement AS
+ SELECT NULL::text AS id,
+    tmp.source_code,
+    src.id AS source_id,
+    t.id AS these_id,
+    (tmp.annee)::numeric AS annee,
+    ofi.id AS origine_financement_id,
+    tmp.complement_financement,
+    tmp.quotite_financement,
+    tmp.date_debut_financement AS date_debut,
+    tmp.date_fin_financement AS date_fin,
+    tmp.code_type_financement,
+    tmp.libelle_type_financement
+   FROM (((public.tmp_financement tmp
+     JOIN public.source src ON ((src.id = tmp.source_id)))
+     JOIN public.these t ON (((t.source_code)::text = (tmp.these_id)::text)))
+     JOIN public.origine_financement ofi ON (((ofi.source_code)::text = (tmp.origine_financement_id)::text)));
+
+
+ALTER TABLE public.src_financement OWNER TO :dbuser;
+
+--
+-- Name: tmp_individu; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.tmp_individu (
+    id bigint NOT NULL,
+    insert_date timestamp(0) without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    source_id bigint NOT NULL,
+    source_code character varying(64) NOT NULL,
+    type character varying(32),
+    civ character varying(5),
+    lib_nom_usu_ind character varying(60) NOT NULL,
+    lib_nom_pat_ind character varying(60) NOT NULL,
+    lib_pr1_ind character varying(60) NOT NULL,
+    lib_pr2_ind character varying(60),
+    lib_pr3_ind character varying(60),
+    email character varying(255),
+    dat_nai_per timestamp without time zone,
+    lib_nat character varying(128),
+    supann_id character varying(30),
+    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    histo_creation timestamp(0) without time zone DEFAULT ('now'::text)::timestamp(0) without time zone NOT NULL,
+    histo_modification timestamp(0) without time zone,
+    histo_createur_id bigint NOT NULL,
+    histo_destructeur_id bigint,
+    histo_modificateur_id bigint,
+    histo_destruction timestamp(0) without time zone,
+    codepaysnationalite character varying(64),
+    cod_pay_nat character varying(3)
+);
+
+
+ALTER TABLE public.tmp_individu OWNER TO :dbuser;
+
+--
+-- Name: src_individu; Type: VIEW; Schema: public; Owner: :dbuser
+--
+
+CREATE VIEW public.src_individu AS
+ SELECT NULL::text AS id,
+    tmp.source_code,
+    src.id AS source_id,
+    tmp.type,
+    tmp.supann_id,
+    tmp.civ AS civilite,
+    tmp.lib_nom_usu_ind AS nom_usuel,
+    tmp.lib_nom_pat_ind AS nom_patronymique,
+    tmp.lib_pr1_ind AS prenom1,
+    tmp.lib_pr2_ind AS prenom2,
+    tmp.lib_pr3_ind AS prenom3,
+    tmp.email,
+    tmp.dat_nai_per AS date_naissance,
+    tmp.lib_nat AS nationalite,
+    p.id AS pays_id_nationalite
+   FROM ((public.tmp_individu tmp
+     JOIN public.source src ON ((src.id = tmp.source_id)))
+     LEFT JOIN public.pays p ON (((p.code_pays_apogee)::text = (tmp.cod_pay_nat)::text)));
+
+
+ALTER TABLE public.src_individu OWNER TO :dbuser;
+
+--
+-- Name: tmp_origine_financement; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.tmp_origine_financement (
+    id bigint NOT NULL,
+    insert_date timestamp(0) without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    source_id bigint NOT NULL,
+    source_code character varying(64) NOT NULL,
+    cod_ofi character varying(50) NOT NULL,
+    lic_ofi character varying(50) NOT NULL,
+    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    lib_ofi character varying(200) NOT NULL,
+    histo_creation timestamp(0) without time zone DEFAULT ('now'::text)::timestamp(0) without time zone NOT NULL,
+    histo_modification timestamp(0) without time zone,
+    histo_destruction timestamp(0) without time zone,
+    histo_createur_id bigint NOT NULL,
+    histo_destructeur_id bigint,
+    histo_modificateur_id bigint
+);
+
+
+ALTER TABLE public.tmp_origine_financement OWNER TO :dbuser;
+
+--
+-- Name: src_origine_financement; Type: VIEW; Schema: public; Owner: :dbuser
+--
+
+CREATE VIEW public.src_origine_financement AS
+ SELECT NULL::text AS id,
+    tmp.source_code,
+    src.id AS source_id,
+    tmp.cod_ofi AS code,
+    tmp.lic_ofi AS libelle_court,
+    tmp.lib_ofi AS libelle_long
+   FROM (public.tmp_origine_financement tmp
+     JOIN public.source src ON ((src.id = tmp.source_id)));
+
+
+ALTER TABLE public.src_origine_financement OWNER TO :dbuser;
+
+--
+-- Name: tmp_role; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.tmp_role (
+    id bigint NOT NULL,
+    insert_date timestamp(0) without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    source_id bigint NOT NULL,
+    source_code character varying(64) NOT NULL,
+    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    lic_roj character varying(50),
+    lib_roj character varying(200),
+    histo_creation timestamp(0) without time zone DEFAULT ('now'::text)::timestamp(0) without time zone NOT NULL,
+    histo_destruction timestamp(0) without time zone,
+    histo_createur_id bigint NOT NULL,
+    histo_destructeur_id bigint,
+    histo_modificateur_id bigint,
+    histo_modification timestamp(0) without time zone
+);
+
+
+ALTER TABLE public.tmp_role OWNER TO :dbuser;
+
+--
+-- Name: src_role; Type: VIEW; Schema: public; Owner: :dbuser
+--
+
+CREATE VIEW public.src_role AS
+ SELECT NULL::text AS id,
+    tmp.source_code,
+    src.id AS source_id,
+    tmp.lib_roj AS libelle,
+    ltrim(substr((tmp.source_code)::text, strpos((tmp.source_code)::text, '::'::text)), ':'::text) AS code,
+    (((tmp.lib_roj)::text || ' '::text) || (s.code)::text) AS role_id,
+    true AS these_dep,
+    s.id AS structure_id,
+    NULL::bigint AS type_structure_dependant_id
+   FROM (((public.tmp_role tmp
+     JOIN public.source src ON ((src.id = tmp.source_id)))
+     JOIN public.etablissement e ON ((e.id = src.etablissement_id)))
+     JOIN public.structure s ON ((s.id = e.structure_id)));
+
+
+ALTER TABLE public.src_role OWNER TO :dbuser;
+
+--
+-- Name: tmp_structure; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.tmp_structure (
+    id bigint NOT NULL,
+    insert_date timestamp(0) without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    source_id bigint NOT NULL,
+    source_code character varying(64) NOT NULL,
+    type_structure_id character varying(64) NOT NULL,
+    code_pays character varying(64),
+    libelle_pays character varying(200),
+    code character varying(64),
+    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    libelle character varying(200) NOT NULL,
+    sigle character varying(64),
+    histo_creation timestamp(0) without time zone DEFAULT ('now'::text)::timestamp(0) without time zone NOT NULL,
+    histo_createur_id bigint NOT NULL,
+    histo_modification timestamp(0) without time zone,
+    histo_modificateur_id bigint,
+    histo_destruction timestamp(0) without time zone,
+    histo_destructeur_id bigint
+);
+
+
+ALTER TABLE public.tmp_structure OWNER TO :dbuser;
+
+--
+-- Name: type_structure; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.type_structure (
+    id bigint NOT NULL,
+    code character varying(50) NOT NULL,
+    libelle character varying(100)
+);
+
+
+ALTER TABLE public.type_structure OWNER TO :dbuser;
+
+--
+-- Name: src_structure; Type: VIEW; Schema: public; Owner: :dbuser
+--
+
+CREATE VIEW public.src_structure AS
+ SELECT NULL::text AS id,
+    tmp.source_code,
+    ltrim(substr((tmp.source_code)::text, strpos((tmp.source_code)::text, '::'::text)), ':'::text) AS code,
+    src.id AS source_id,
+    ts.id AS type_structure_id,
+    tmp.sigle,
+    tmp.libelle
+   FROM ((public.tmp_structure tmp
+     JOIN public.type_structure ts ON (((ts.code)::text = (tmp.type_structure_id)::text)))
+     JOIN public.source src ON ((src.id = tmp.source_id)));
+
+
+ALTER TABLE public.src_structure OWNER TO :dbuser;
+
+--
+-- Name: tmp_these; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.tmp_these (
+    id bigint NOT NULL,
+    insert_date timestamp(0) without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    source_id bigint NOT NULL,
+    source_code character varying(64) NOT NULL,
+    dat_abandon timestamp without time zone,
+    dat_aut_sou_ths timestamp without time zone,
+    unite_rech_id character varying(64),
+    dat_sou_ths timestamp without time zone,
+    lib_int1_dis character varying(200),
+    lib_etab_cotut character varying(100),
     lib_pays_cotut character varying(40),
-    lib_unit_rech character varying(200),
-    resultat smallint,
-    soutenance_autoris character varying(1),
+    cod_neg_tre character varying(1),
     tem_avenant_cotut character varying(1),
-    titre character varying(2048),
+    lib_ths character varying(2048),
+    dat_transfert_dep timestamp without time zone,
+    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    correction_effectuee character varying(30) DEFAULT 'null'::character varying,
+    dat_fin_cfd_ths timestamp without time zone,
+    dat_deb_ths timestamp without time zone,
+    correction_possible character varying(30),
+    doctorant_id character varying(64) NOT NULL,
+    ecole_doct_id character varying(64),
+    dat_prev_sou timestamp without time zone,
+    annee_univ_1ere_insc bigint,
+    tem_sou_aut_ths character varying(1),
+    eta_ths character varying(20),
+    histo_creation timestamp(0) without time zone DEFAULT ('now'::text)::timestamp(0) without time zone NOT NULL,
+    histo_createur_id bigint NOT NULL,
+    histo_modification timestamp(0) without time zone,
+    histo_modificateur_id bigint,
+    histo_destructeur_id bigint,
+    histo_destruction timestamp(0) without time zone,
+    codesisediscipline character varying(64),
+    code_sise_disc character varying(64)
+);
+
+
+ALTER TABLE public.tmp_these OWNER TO :dbuser;
+
+--
+-- Name: version_fichier; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.version_fichier (
+    id bigint NOT NULL,
+    code character varying(16) NOT NULL,
+    libelle character varying(128) NOT NULL
+);
+
+
+ALTER TABLE public.version_fichier OWNER TO :dbuser;
+
+--
+-- Name: src_these; Type: VIEW; Schema: public; Owner: :dbuser
+--
+
+CREATE VIEW public.src_these AS
+ WITH version_corrigee_deposee AS (
+         SELECT t.source_code,
+            f.id AS fichier_id
+           FROM ((((public.fichier_these ft
+             JOIN public.these t ON ((ft.these_id = t.id)))
+             JOIN public.fichier f ON (((ft.fichier_id = f.id) AND (f.histo_destruction IS NULL))))
+             JOIN public.nature_fichier nf ON (((f.nature_id = nf.id) AND ((nf.code)::text = 'THESE_PDF'::text))))
+             JOIN public.version_fichier vf ON (((f.version_fichier_id = vf.id) AND ((vf.code)::text = 'VOC'::text))))
+          WHERE ((ft.est_annexe = false) AND (ft.est_expurge = false) AND (ft.retraitement IS NULL))
+        )
+ SELECT NULL::text AS id,
+    tmp.source_code,
+    src.id AS source_id,
+    e.id AS etablissement_id,
+    d.id AS doctorant_id,
+    ed.id AS ecole_doct_id,
+    ur.id AS unite_rech_id,
+    tmp.lib_ths AS titre,
+    tmp.eta_ths AS etat_these,
+    (tmp.cod_neg_tre)::numeric AS resultat,
+    tmp.code_sise_disc,
+    tmp.lib_int1_dis AS lib_disc,
+    tmp.dat_deb_ths AS date_prem_insc,
+    tmp.dat_prev_sou AS date_prev_soutenance,
+    tmp.dat_sou_ths AS date_soutenance,
+    tmp.dat_fin_cfd_ths AS date_fin_confid,
+    tmp.lib_etab_cotut,
+    tmp.lib_pays_cotut,
+    tmp.correction_possible AS correc_autorisee,
+    (
+        CASE
+            WHEN (vcd.source_code IS NOT NULL) THEN 'O'::character varying
+            ELSE tmp.correction_effectuee
+        END)::character varying(30) AS correc_effectuee,
+    tmp.tem_sou_aut_ths AS soutenance_autoris,
+    tmp.dat_aut_sou_ths AS date_autoris_soutenance,
+    tmp.tem_avenant_cotut,
+    tmp.dat_abandon AS date_abandon,
+    tmp.dat_transfert_dep AS date_transfert
+   FROM ((((((public.tmp_these tmp
+     JOIN public.source src ON ((src.id = tmp.source_id)))
+     JOIN public.etablissement e ON ((e.id = src.etablissement_id)))
+     JOIN public.doctorant d ON (((d.source_code)::text = (tmp.doctorant_id)::text)))
+     LEFT JOIN public.ecole_doct ed ON (((ed.source_code)::text = (tmp.ecole_doct_id)::text)))
+     LEFT JOIN public.unite_rech ur ON (((ur.source_code)::text = (tmp.unite_rech_id)::text)))
+     LEFT JOIN version_corrigee_deposee vcd ON (((vcd.source_code)::text = (tmp.source_code)::text)));
+
+
+ALTER TABLE public.src_these OWNER TO :dbuser;
+
+--
+-- Name: tmp_these_annee_univ; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.tmp_these_annee_univ (
+    id bigint NOT NULL,
+    insert_date timestamp(0) without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    source_id bigint NOT NULL,
+    source_code character varying(64) NOT NULL,
+    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    annee_univ bigint,
+    these_id character varying(50) NOT NULL,
+    histo_creation timestamp(0) without time zone DEFAULT ('now'::text)::timestamp(0) without time zone NOT NULL,
+    histo_modification timestamp(0) without time zone,
+    histo_destruction timestamp(0) without time zone,
+    histo_createur_id bigint NOT NULL,
+    histo_destructeur_id bigint,
+    histo_modificateur_id bigint
+);
+
+
+ALTER TABLE public.tmp_these_annee_univ OWNER TO :dbuser;
+
+--
+-- Name: src_these_annee_univ; Type: VIEW; Schema: public; Owner: :dbuser
+--
+
+CREATE VIEW public.src_these_annee_univ AS
+ SELECT NULL::text AS id,
+    tmp.source_code,
+    src.id AS source_id,
+    t.id AS these_id,
+    tmp.annee_univ
+   FROM ((((public.tmp_these_annee_univ tmp
+     JOIN public.source src ON ((src.id = tmp.source_id)))
+     JOIN public.etablissement e ON ((e.structure_id = src.etablissement_id)))
+     JOIN public.structure s ON ((s.id = e.structure_id)))
+     JOIN public.these t ON (((t.source_code)::text = (tmp.these_id)::text)));
+
+
+ALTER TABLE public.src_these_annee_univ OWNER TO :dbuser;
+
+--
+-- Name: tmp_titre_acces; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.tmp_titre_acces (
+    id bigint NOT NULL,
+    insert_date timestamp(0) without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    source_id bigint NOT NULL,
+    source_code character varying(64) NOT NULL,
+    these_id character varying(50) NOT NULL,
+    titre_acces_interne_externe character varying(1),
+    libelle_titre_acces character varying(200),
+    type_etb_titre_acces character varying(50),
+    libelle_etb_titre_acces character varying(200),
+    code_dept_titre_acces character varying(20),
+    code_pays_titre_acces character varying(20),
+    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    histo_creation timestamp(0) without time zone DEFAULT ('now'::text)::timestamp(0) without time zone NOT NULL,
+    histo_destruction timestamp(0) without time zone,
+    histo_createur_id bigint NOT NULL,
+    histo_modificateur_id bigint,
+    histo_destructeur_id bigint,
+    histo_modification timestamp(0) without time zone
+);
+
+
+ALTER TABLE public.tmp_titre_acces OWNER TO :dbuser;
+
+--
+-- Name: src_titre_acces; Type: VIEW; Schema: public; Owner: :dbuser
+--
+
+CREATE VIEW public.src_titre_acces AS
+ SELECT NULL::text AS id,
+    tmp.source_code,
+    src.id AS source_id,
+    t.id AS these_id,
+    tmp.titre_acces_interne_externe,
+    tmp.libelle_titre_acces,
+    tmp.type_etb_titre_acces,
+    tmp.libelle_etb_titre_acces,
+    tmp.code_dept_titre_acces,
+    tmp.code_pays_titre_acces
+   FROM ((((public.tmp_titre_acces tmp
+     JOIN public.source src ON ((src.id = tmp.source_id)))
+     JOIN public.etablissement e ON ((e.structure_id = src.etablissement_id)))
+     JOIN public.structure s ON ((s.id = e.structure_id)))
+     JOIN public.these t ON (((t.source_code)::text = (tmp.these_id)::text)));
+
+
+ALTER TABLE public.src_titre_acces OWNER TO :dbuser;
+
+--
+-- Name: tmp_unite_rech; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.tmp_unite_rech (
+    id bigint NOT NULL,
+    insert_date timestamp(0) without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    source_id bigint NOT NULL,
     source_code character varying(64) NOT NULL,
+    structure_id character varying(64) NOT NULL,
+    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    histo_creation timestamp(0) without time zone DEFAULT ('now'::text)::timestamp(0) without time zone NOT NULL,
+    histo_modification timestamp(0) without time zone,
+    histo_destruction timestamp(0) without time zone,
+    histo_createur_id bigint NOT NULL,
+    histo_modificateur_id bigint,
+    histo_destructeur_id bigint
+);
+
+
+ALTER TABLE public.tmp_unite_rech OWNER TO :dbuser;
+
+--
+-- Name: src_unite_rech; Type: VIEW; Schema: public; Owner: :dbuser
+--
+
+CREATE VIEW public.src_unite_rech AS
+ SELECT NULL::text AS id,
+    tmp.source_code,
+    src.id AS source_id,
+    s.id AS structure_id
+   FROM ((public.tmp_unite_rech tmp
+     JOIN public.structure s ON (((s.source_code)::text = (tmp.structure_id)::text)))
+     JOIN public.source src ON ((src.id = tmp.source_id)));
+
+
+ALTER TABLE public.src_unite_rech OWNER TO :dbuser;
+
+--
+-- Name: tmp_variable; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.tmp_variable (
+    id bigint NOT NULL,
+    insert_date timestamp(0) without time zone DEFAULT ('now'::text)::timestamp without time zone,
     source_id bigint NOT NULL,
+    source_code character varying(64) NOT NULL,
+    cod_vap character varying(50),
+    lib_vap character varying(300),
+    par_vap character varying(200),
+    date_deb_validite timestamp without time zone NOT NULL,
+    date_fin_validite timestamp without time zone NOT NULL,
+    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    histo_creation timestamp(0) without time zone DEFAULT ('now'::text)::timestamp(0) without time zone NOT NULL,
+    histo_modification timestamp(0) without time zone,
+    histo_destruction timestamp(0) without time zone,
     histo_createur_id bigint NOT NULL,
-    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
     histo_modificateur_id bigint,
-    histo_modification timestamp without time zone,
-    histo_destructeur_id bigint,
-    histo_destruction timestamp without time zone,
-    correc_autorisee_forcee character varying(30),
-    date_abandon timestamp without time zone,
-    date_transfert timestamp without time zone,
-    correc_effectuee character varying(30) DEFAULT 'null'::character varying,
-    correc_date_butoir_avec_sursis date
+    histo_destructeur_id bigint
 );
 
 
-ALTER TABLE public.these OWNER TO :dbuser;
+ALTER TABLE public.tmp_variable OWNER TO :dbuser;
 
 --
--- Name: TABLE these; Type: COMMENT; Schema: public; Owner: :dbuser
+-- Name: src_variable; Type: VIEW; Schema: public; Owner: :dbuser
 --
 
-COMMENT ON TABLE public.these IS 'Thèses par établissement.';
+CREATE VIEW public.src_variable AS
+ SELECT NULL::text AS id,
+    tmp.source_code,
+    src.id AS source_id,
+    e.id AS etablissement_id,
+    tmp.cod_vap AS code,
+    tmp.lib_vap AS description,
+    tmp.par_vap AS valeur,
+    tmp.date_deb_validite,
+    tmp.date_fin_validite
+   FROM (((public.tmp_variable tmp
+     JOIN public.source src ON ((src.id = tmp.source_id)))
+     JOIN public.etablissement e ON ((e.structure_id = src.etablissement_id)))
+     JOIN public.structure s ON ((s.id = e.structure_id)));
+
 
+ALTER TABLE public.src_variable OWNER TO :dbuser;
 
 --
--- Name: these_annee_univ; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: step_star_log; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.these_annee_univ (
+CREATE TABLE public.step_star_log (
     id bigint NOT NULL,
-    source_code character varying(64) NOT NULL,
-    source_id bigint NOT NULL,
     these_id bigint,
-    annee_univ bigint,
-    histo_createur_id bigint NOT NULL,
-    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
-    histo_modificateur_id bigint,
-    histo_modification timestamp without time zone,
-    histo_destructeur_id bigint,
-    histo_destruction timestamp without time zone
+    started_on timestamp without time zone NOT NULL,
+    ended_on timestamp without time zone NOT NULL,
+    success boolean NOT NULL,
+    operation character varying(64) NOT NULL,
+    log text NOT NULL,
+    command character varying(256) NOT NULL,
+    tef_file_content_hash character varying(64),
+    tef_file_content text,
+    has_problems boolean DEFAULT false NOT NULL,
+    tag character varying(32)
 );
 
 
-ALTER TABLE public.these_annee_univ OWNER TO :dbuser;
+ALTER TABLE public.step_star_log OWNER TO :dbuser;
 
 --
--- Name: type_validation; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: step_star_log_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.type_validation (
-    id bigint NOT NULL,
-    code character varying(50) NOT NULL,
-    libelle character varying(100)
-);
+CREATE SEQUENCE public.step_star_log_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
 
 
-ALTER TABLE public.type_validation OWNER TO :dbuser;
+ALTER TABLE public.step_star_log_id_seq OWNER TO :dbuser;
 
 --
--- Name: validation; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: step_star_log_id_seq1; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.validation (
-    id bigint NOT NULL,
-    type_validation_id bigint NOT NULL,
-    these_id bigint NOT NULL,
-    individu_id bigint,
-    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
-    histo_createur_id bigint DEFAULT 1 NOT NULL,
-    histo_modification timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
-    histo_modificateur_id bigint DEFAULT 1 NOT NULL,
-    histo_destruction timestamp without time zone,
-    histo_destructeur_id bigint
-);
+CREATE SEQUENCE public.step_star_log_id_seq1
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
 
 
-ALTER TABLE public.validation OWNER TO :dbuser;
+ALTER TABLE public.step_star_log_id_seq1 OWNER TO :dbuser;
 
 --
--- Name: nature_fichier; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: step_star_log_id_seq1; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.nature_fichier (
-    id bigint NOT NULL,
-    code character varying(50) DEFAULT 'NULL'::character varying NOT NULL,
-    libelle character varying(100) DEFAULT 'NULL'::character varying
-);
-
+ALTER SEQUENCE public.step_star_log_id_seq1 OWNED BY public.step_star_log.id;
 
-ALTER TABLE public.nature_fichier OWNER TO :dbuser;
 
 --
--- Name: structure; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: structure_document; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.structure (
+CREATE TABLE public.structure_document (
     id bigint NOT NULL,
-    sigle character varying(40),
-    libelle character varying(300) DEFAULT 'NULL'::character varying NOT NULL,
-    chemin_logo character varying(200),
-    type_structure_id bigint,
-    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    nature_id bigint NOT NULL,
+    structure_id bigint NOT NULL,
+    etablissement_id bigint,
+    fichier_id bigint NOT NULL,
+    histo_creation timestamp without time zone NOT NULL,
     histo_createur_id bigint NOT NULL,
     histo_modification timestamp without time zone,
     histo_modificateur_id bigint,
     histo_destruction timestamp without time zone,
-    histo_destructeur_id bigint,
-    source_id bigint NOT NULL,
-    source_code character varying(64) NOT NULL,
-    code character varying(64) DEFAULT 'NULL'::character varying NOT NULL,
-    est_ferme boolean DEFAULT false,
-    adresse character varying(1024),
-    telephone character varying(64),
-    fax character varying(64),
-    email character varying(64),
-    site_web character varying(512),
-    id_ref character varying(1024)
+    histo_destructeur_id bigint
 );
 
 
-ALTER TABLE public.structure OWNER TO :dbuser;
+ALTER TABLE public.structure_document OWNER TO :dbuser;
 
 --
--- Name: unite_rech; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: structure_document_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.unite_rech (
+CREATE SEQUENCE public.structure_document_id_seq
+    START WITH 161
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.structure_document_id_seq OWNER TO :dbuser;
+
+--
+-- Name: structure_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.structure_id_seq
+    START WITH 11086
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.structure_id_seq OWNER TO :dbuser;
+
+--
+-- Name: structure_substit_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.structure_substit_id_seq
+    START WITH 401
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.structure_substit_id_seq OWNER TO :dbuser;
+
+--
+-- Name: sync_log; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.sync_log (
     id bigint NOT NULL,
-    etab_support character varying(500),
-    autres_etab character varying(500),
-    source_id bigint NOT NULL,
-    source_code character varying(64) NOT NULL,
-    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
-    histo_createur_id bigint NOT NULL,
-    histo_modification timestamp without time zone,
-    histo_modificateur_id bigint,
-    histo_destruction timestamp without time zone,
-    histo_destructeur_id bigint,
-    structure_id bigint NOT NULL,
-    rnsr_id character varying(128)
+    date_sync timestamp without time zone NOT NULL,
+    message text NOT NULL,
+    table_name character varying(30),
+    source_code character varying(200)
 );
 
 
-ALTER TABLE public.unite_rech OWNER TO :dbuser;
+ALTER TABLE public.sync_log OWNER TO :dbuser;
 
 --
--- Name: structure_substit; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: sync_log_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.structure_substit (
+CREATE SEQUENCE public.sync_log_id_seq
+    START WITH 1095004
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.sync_log_id_seq OWNER TO :dbuser;
+
+--
+-- Name: synchro_log; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.synchro_log (
     id bigint NOT NULL,
-    from_structure_id bigint NOT NULL,
-    to_structure_id bigint NOT NULL,
-    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
-    histo_modification timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
-    histo_destruction timestamp without time zone,
-    histo_createur_id bigint,
-    histo_modificateur_id bigint,
-    histo_destructeur_id bigint
+    log_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    start_date timestamp without time zone NOT NULL,
+    finish_date timestamp without time zone NOT NULL,
+    status character varying(50) NOT NULL,
+    sql text NOT NULL,
+    message text
 );
 
 
-ALTER TABLE public.structure_substit OWNER TO :dbuser;
+ALTER TABLE public.synchro_log OWNER TO :dbuser;
+
+--
+-- Name: synchro_log_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.synchro_log_id_seq
+    START WITH 1474516
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.synchro_log_id_seq OWNER TO :dbuser;
+
+--
+-- Name: these_annee_univ_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.these_annee_univ_id_seq
+    START WITH 92082
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.these_annee_univ_id_seq OWNER TO :dbuser;
+
+--
+-- Name: these_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.these_id_seq
+    START WITH 49453
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
+
+
+ALTER TABLE public.these_id_seq OWNER TO :dbuser;
 
 --
--- Name: role; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: titre_acces; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.role (
+CREATE TABLE public.titre_acces (
     id bigint NOT NULL,
-    code character varying(50) NOT NULL,
-    libelle character varying(200) NOT NULL,
     source_code character varying(64) NOT NULL,
     source_id bigint NOT NULL,
-    role_id character varying(64) NOT NULL,
-    is_default boolean DEFAULT false,
-    ldap_filter character varying(255),
-    attrib_auto boolean DEFAULT false NOT NULL,
-    these_dep boolean DEFAULT false NOT NULL,
+    these_id bigint,
+    titre_acces_interne_externe character varying(1),
+    libelle_titre_acces character varying(200),
+    type_etb_titre_acces character varying(50),
+    libelle_etb_titre_acces character varying(200),
+    code_dept_titre_acces character varying(20),
+    code_pays_titre_acces character varying(20),
     histo_createur_id bigint NOT NULL,
     histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
     histo_modificateur_id bigint,
     histo_modification timestamp without time zone,
     histo_destructeur_id bigint,
-    histo_destruction timestamp without time zone,
-    structure_id bigint,
-    type_structure_dependant_id bigint,
-    ordre_affichage character varying(32) DEFAULT 'zzz'::character varying NOT NULL
+    histo_destruction timestamp without time zone
 );
 
 
-ALTER TABLE public.role OWNER TO :dbuser;
-
---
--- Name: COLUMN role.ordre_affichage; Type: COMMENT; Schema: public; Owner: :dbuser
---
-
-COMMENT ON COLUMN public.role.ordre_affichage IS 'Chaîne de caractères utilisée pour trier les rôles ; l''astuce consiste à concaténer cette valeur aux autres critères de tri.';
-
+ALTER TABLE public.titre_acces OWNER TO :dbuser;
 
 --
--- Name: mv_recherche_these; Type: MATERIALIZED VIEW; Schema: public; Owner: :dbuser
+-- Name: titre_acces_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE MATERIALIZED VIEW public.mv_recherche_these AS
- WITH acteurs AS (
-         SELECT a_1.these_id,
-            i.nom_usuel,
-            a_1.individu_id
-           FROM (((public.individu i
-             JOIN public.acteur a_1 ON ((i.id = a_1.individu_id)))
-             JOIN public.these t_1 ON ((t_1.id = a_1.these_id)))
-             JOIN public.role r ON (((a_1.role_id = r.id) AND ((r.code)::text = ANY (ARRAY[('D'::character varying)::text, ('K'::character varying)::text])))))
-        )
- SELECT ('now'::text)::timestamp without time zone AS date_creation,
-    t.source_code AS code_these,
-    d.source_code AS code_doctorant,
-    ed.source_code AS code_ecole_doct,
-    btrim(public.str_reduce((((((((((((((((((((((('code-ed{'::text || COALESCE((eds.code)::text, ''::text)) || '} '::text) || 'code-ur{'::text) || COALESCE((urs.code)::text, ''::text)) || '} '::text) || 'titre{'::text) || (t.titre)::text) || '} '::text) || 'doctorant-numero{'::text) || substr((d.source_code)::text, ("position"((d.source_code)::text, '::'::text) + 2))) || '} '::text) || 'doctorant-nom{'::text) || (id.nom_patronymique)::text) || ' '::text) || (id.nom_usuel)::text) || '} '::text) || 'doctorant-prenom{'::text) || (id.prenom1)::text) || '} '::text) || 'directeur-nom{'::text) || COALESCE((ia.nom_usuel)::text, ''::text)) || '} '::text))) AS haystack
-   FROM ((((((((public.these t
-     JOIN public.doctorant d ON ((d.id = t.doctorant_id)))
-     JOIN public.individu id ON ((id.id = d.individu_id)))
-     LEFT JOIN public.ecole_doct ed ON ((t.ecole_doct_id = ed.id)))
-     LEFT JOIN public.structure eds ON ((ed.structure_id = eds.id)))
-     LEFT JOIN public.unite_rech ur ON ((t.unite_rech_id = ur.id)))
-     LEFT JOIN public.structure urs ON ((ur.structure_id = urs.id)))
-     LEFT JOIN public.acteur a ON ((a.these_id = t.id)))
-     LEFT JOIN public.individu ia ON ((ia.id = a.individu_id)))
-  WITH NO DATA;
+CREATE SEQUENCE public.titre_acces_id_seq
+    START WITH 17881
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 20;
 
 
-ALTER TABLE public.mv_recherche_these OWNER TO :dbuser;
+ALTER TABLE public.titre_acces_id_seq OWNER TO :dbuser;
 
 --
--- Name: nature_fichier_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: tmp_acteur_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.nature_fichier_id_seq
-    START WITH 141
+CREATE SEQUENCE public.tmp_acteur_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.nature_fichier_id_seq OWNER TO :dbuser;
+ALTER TABLE public.tmp_acteur_id_seq OWNER TO :dbuser;
 
 --
--- Name: notif; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: tmp_acteur_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.notif (
-    id bigint NOT NULL,
-    code character varying(100) NOT NULL,
-    description character varying(255) NOT NULL,
-    recipients character varying(500),
-    template text NOT NULL,
-    enabled bigint DEFAULT 1 NOT NULL
-);
-
+ALTER SEQUENCE public.tmp_acteur_id_seq OWNED BY public.tmp_acteur.id;
 
-ALTER TABLE public.notif OWNER TO :dbuser;
 
 --
--- Name: notif_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: tmp_doctorant_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.notif_id_seq
+CREATE SEQUENCE public.tmp_doctorant_id_seq
     START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.notif_id_seq OWNER TO :dbuser;
+ALTER TABLE public.tmp_doctorant_id_seq OWNER TO :dbuser;
 
 --
--- Name: notif_mail; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: tmp_doctorant_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.notif_mail (
-    id bigint NOT NULL,
-    mail_from character varying(1024),
-    mail_to character varying(1024) NOT NULL,
-    subject character varying(1024),
-    body_text text,
-    sent_on timestamp without time zone
-);
-
+ALTER SEQUENCE public.tmp_doctorant_id_seq OWNED BY public.tmp_doctorant.id;
 
-ALTER TABLE public.notif_mail OWNER TO :dbuser;
 
 --
--- Name: notif_mail_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: tmp_ecole_doct_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.notif_mail_id_seq
-    START WITH 11505
+CREATE SEQUENCE public.tmp_ecole_doct_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.notif_mail_id_seq OWNER TO :dbuser;
+ALTER TABLE public.tmp_ecole_doct_id_seq OWNER TO :dbuser;
 
 --
--- Name: notif_result; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: tmp_ecole_doct_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.notif_result (
-    id bigint NOT NULL,
-    notif_id bigint NOT NULL,
-    subject character varying(255) NOT NULL,
-    body text NOT NULL,
-    sent_on timestamp without time zone NOT NULL,
-    error text
-);
+ALTER SEQUENCE public.tmp_ecole_doct_id_seq OWNED BY public.tmp_ecole_doct.id;
 
 
-ALTER TABLE public.notif_result OWNER TO :dbuser;
-
 --
--- Name: notif_result_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: tmp_etablissement_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.notif_result_id_seq
+CREATE SEQUENCE public.tmp_etablissement_id_seq
     START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.notif_result_id_seq OWNER TO :dbuser;
+ALTER TABLE public.tmp_etablissement_id_seq OWNER TO :dbuser;
 
 --
--- Name: origine_financement; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: tmp_etablissement_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.origine_financement (
-    id bigint NOT NULL,
-    code character varying(64) NOT NULL,
-    libelle_long character varying(256) NOT NULL,
-    source_id bigint,
-    libelle_court character varying(64),
-    source_code character varying(64) NOT NULL,
-    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
-    histo_createur_id bigint NOT NULL,
-    histo_modification timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
-    histo_modificateur_id bigint,
-    histo_destruction timestamp without time zone,
-    histo_destructeur_id bigint,
-    visible boolean DEFAULT true NOT NULL
-);
-
+ALTER SEQUENCE public.tmp_etablissement_id_seq OWNED BY public.tmp_etablissement.id;
 
-ALTER TABLE public.origine_financement OWNER TO :dbuser;
 
 --
--- Name: origine_financement_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: tmp_financement_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.origine_financement_id_seq
-    START WITH 201
+CREATE SEQUENCE public.tmp_financement_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
-
-
-ALTER TABLE public.origine_financement_id_seq OWNER TO :dbuser;
-
---
--- Name: parametre; Type: TABLE; Schema: public; Owner: :dbuser
---
-
-CREATE TABLE public.parametre (
-    id character varying(256) NOT NULL,
-    description character varying(256) NOT NULL,
-    valeur character varying(256) NOT NULL
-);
+    CACHE 1;
 
 
-ALTER TABLE public.parametre OWNER TO :dbuser;
+ALTER TABLE public.tmp_financement_id_seq OWNER TO :dbuser;
 
 --
--- Name: privilege; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: tmp_financement_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.privilege (
-    id bigint NOT NULL,
-    categorie_id bigint NOT NULL,
-    code character varying(150) NOT NULL,
-    libelle character varying(200) NOT NULL,
-    ordre bigint
-);
-
+ALTER SEQUENCE public.tmp_financement_id_seq OWNED BY public.tmp_financement.id;
 
-ALTER TABLE public.privilege OWNER TO :dbuser;
 
 --
--- Name: privilege_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: tmp_individu_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.privilege_id_seq
-    START WITH 681
+CREATE SEQUENCE public.tmp_individu_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.privilege_id_seq OWNER TO :dbuser;
+ALTER TABLE public.tmp_individu_id_seq OWNER TO :dbuser;
 
 --
--- Name: profil; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: tmp_individu_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.profil (
-    id bigint NOT NULL,
-    libelle character varying(100) NOT NULL,
-    role_id character varying(100) NOT NULL,
-    structure_type bigint,
-    description character varying(1024),
-    ordre bigint DEFAULT 0
-);
-
+ALTER SEQUENCE public.tmp_individu_id_seq OWNED BY public.tmp_individu.id;
 
-ALTER TABLE public.profil OWNER TO :dbuser;
 
 --
--- Name: profil_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: tmp_origine_financement_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.profil_id_seq
-    START WITH 61
+CREATE SEQUENCE public.tmp_origine_financement_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.profil_id_seq OWNER TO :dbuser;
+ALTER TABLE public.tmp_origine_financement_id_seq OWNER TO :dbuser;
 
 --
--- Name: profil_privilege; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: tmp_origine_financement_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.profil_privilege (
-    privilege_id bigint NOT NULL,
-    profil_id bigint NOT NULL
-);
-
+ALTER SEQUENCE public.tmp_origine_financement_id_seq OWNED BY public.tmp_origine_financement.id;
 
-ALTER TABLE public.profil_privilege OWNER TO :dbuser;
 
 --
--- Name: profil_to_role; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: tmp_role_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.profil_to_role (
-    profil_id bigint NOT NULL,
-    role_id bigint NOT NULL
-);
+CREATE SEQUENCE public.tmp_role_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
 
 
-ALTER TABLE public.profil_to_role OWNER TO :dbuser;
+ALTER TABLE public.tmp_role_id_seq OWNER TO :dbuser;
 
 --
--- Name: rapport; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: tmp_role_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.rapport (
-    id bigint NOT NULL,
-    these_id bigint NOT NULL,
-    fichier_id bigint NOT NULL,
-    annee_univ bigint NOT NULL,
-    est_final boolean,
-    histo_createur_id bigint NOT NULL,
-    histo_modificateur_id bigint,
-    histo_destructeur_id bigint,
-    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
-    histo_modification timestamp without time zone,
-    histo_destruction timestamp without time zone,
-    type_rapport_id bigint NOT NULL
-);
-
+ALTER SEQUENCE public.tmp_role_id_seq OWNED BY public.tmp_role.id;
 
-ALTER TABLE public.rapport OWNER TO :dbuser;
 
 --
--- Name: rapport_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: tmp_structure_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.rapport_id_seq
-    START WITH 7453
+CREATE SEQUENCE public.tmp_structure_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.rapport_id_seq OWNER TO :dbuser;
+ALTER TABLE public.tmp_structure_id_seq OWNER TO :dbuser;
 
 --
--- Name: rapport_validation; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: tmp_structure_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.rapport_validation (
-    id bigint NOT NULL,
-    type_validation_id bigint NOT NULL,
-    rapport_id bigint NOT NULL,
-    individu_id bigint,
-    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
-    histo_createur_id bigint DEFAULT 1 NOT NULL,
-    histo_modification timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
-    histo_modificateur_id bigint DEFAULT 1 NOT NULL,
-    histo_destruction timestamp without time zone,
-    histo_destructeur_id bigint
-);
-
+ALTER SEQUENCE public.tmp_structure_id_seq OWNED BY public.tmp_structure.id;
 
-ALTER TABLE public.rapport_validation OWNER TO :dbuser;
 
 --
--- Name: rapport_validation_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: tmp_these_annee_univ_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.rapport_validation_id_seq
-    START WITH 504
+CREATE SEQUENCE public.tmp_these_annee_univ_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.rapport_validation_id_seq OWNER TO :dbuser;
+ALTER TABLE public.tmp_these_annee_univ_id_seq OWNER TO :dbuser;
 
 --
--- Name: rdv_bu; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: tmp_these_annee_univ_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.rdv_bu (
-    id bigint NOT NULL,
-    these_id bigint NOT NULL,
-    coord_doctorant character varying(2000),
-    dispo_doctorant character varying(2000),
-    mots_cles_rameau character varying(1024),
-    convention_mel_signee boolean DEFAULT false NOT NULL,
-    exempl_papier_fourni boolean,
-    version_archivable_fournie boolean DEFAULT false NOT NULL,
-    divers text,
-    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
-    histo_createur_id bigint NOT NULL,
-    histo_modification timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
-    histo_modificateur_id bigint NOT NULL,
-    histo_destruction timestamp without time zone,
-    histo_destructeur_id bigint
-);
-
+ALTER SEQUENCE public.tmp_these_annee_univ_id_seq OWNED BY public.tmp_these_annee_univ.id;
 
-ALTER TABLE public.rdv_bu OWNER TO :dbuser;
 
 --
--- Name: COLUMN rdv_bu.convention_mel_signee; Type: COMMENT; Schema: public; Owner: :dbuser
+-- Name: tmp_these_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-COMMENT ON COLUMN public.rdv_bu.convention_mel_signee IS 'Convention de mise en ligne signée ?';
-
-
---
--- Name: COLUMN rdv_bu.exempl_papier_fourni; Type: COMMENT; Schema: public; Owner: :dbuser
---
+CREATE SEQUENCE public.tmp_these_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
 
-COMMENT ON COLUMN public.rdv_bu.exempl_papier_fourni IS 'Exemplaire papier remis ?';
 
+ALTER TABLE public.tmp_these_id_seq OWNER TO :dbuser;
 
 --
--- Name: COLUMN rdv_bu.version_archivable_fournie; Type: COMMENT; Schema: public; Owner: :dbuser
+-- Name: tmp_these_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-COMMENT ON COLUMN public.rdv_bu.version_archivable_fournie IS 'Témoin indiquant si une version archivable de la thèse existe';
+ALTER SEQUENCE public.tmp_these_id_seq OWNED BY public.tmp_these.id;
 
 
 --
--- Name: rdv_bu_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: tmp_titre_acces_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.rdv_bu_id_seq
-    START WITH 9431
+CREATE SEQUENCE public.tmp_titre_acces_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.rdv_bu_id_seq OWNER TO :dbuser;
+ALTER TABLE public.tmp_titre_acces_id_seq OWNER TO :dbuser;
 
 --
--- Name: role_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: tmp_titre_acces_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.role_id_seq
-    START WITH 1141
+ALTER SEQUENCE public.tmp_titre_acces_id_seq OWNED BY public.tmp_titre_acces.id;
+
+
+--
+-- Name: tmp_unite_rech_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.tmp_unite_rech_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.role_id_seq OWNER TO :dbuser;
+ALTER TABLE public.tmp_unite_rech_id_seq OWNER TO :dbuser;
 
 --
--- Name: role_privilege; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: tmp_unite_rech_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.role_privilege (
-    role_id bigint NOT NULL,
-    privilege_id bigint NOT NULL
-);
-
+ALTER SEQUENCE public.tmp_unite_rech_id_seq OWNED BY public.tmp_unite_rech.id;
 
-ALTER TABLE public.role_privilege OWNER TO :dbuser;
 
 --
--- Name: source; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: tmp_variable_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.source (
-    id bigint NOT NULL,
-    code character varying(64) NOT NULL,
-    libelle character varying(128) NOT NULL,
-    importable boolean NOT NULL,
-    etablissement_id bigint
-);
+CREATE SEQUENCE public.tmp_variable_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
 
 
-ALTER TABLE public.source OWNER TO :dbuser;
+ALTER TABLE public.tmp_variable_id_seq OWNER TO :dbuser;
 
 --
--- Name: TABLE source; Type: COMMENT; Schema: public; Owner: :dbuser
+-- Name: tmp_variable_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-COMMENT ON TABLE public.source IS 'Sources de données, importables ou non, ex: Apogée, Physalis.';
+ALTER SEQUENCE public.tmp_variable_id_seq OWNED BY public.tmp_variable.id;
 
 
 --
--- Name: soutenance_avis; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: type_rapport; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.soutenance_avis (
+CREATE TABLE public.type_rapport (
     id bigint NOT NULL,
-    proposition_id bigint NOT NULL,
-    membre_id bigint NOT NULL,
-    avis character varying(64),
-    motif character varying(1024),
-    validation_id bigint,
-    fichier_id bigint,
-    histo_creation timestamp without time zone NOT NULL,
-    histo_createur_id bigint NOT NULL,
-    histo_modification timestamp without time zone NOT NULL,
-    histo_modificateur_id bigint NOT NULL,
-    histo_destruction timestamp without time zone,
-    histo_destructeur_id bigint
+    code character varying(50) NOT NULL,
+    libelle_court character varying(64) NOT NULL,
+    libelle_long character varying(128) NOT NULL
 );
 
 
-ALTER TABLE public.soutenance_avis OWNER TO :dbuser;
+ALTER TABLE public.type_rapport OWNER TO :dbuser;
 
 --
--- Name: soutenance_avis_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: type_validation_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.soutenance_avis_id_seq
-    START WITH 2022
+CREATE SEQUENCE public.type_validation_id_seq
+    START WITH 21
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
     CACHE 20;
 
 
-ALTER TABLE public.soutenance_avis_id_seq OWNER TO :dbuser;
+ALTER TABLE public.type_validation_id_seq OWNER TO :dbuser;
 
 --
--- Name: soutenance_configuration; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: unicaen_alerte_alerte_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.soutenance_configuration (
-    id bigint NOT NULL,
-    code character varying(64) NOT NULL,
-    libelle character varying(256),
-    valeur character varying(128)
-);
+CREATE SEQUENCE public.unicaen_alerte_alerte_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
 
 
-ALTER TABLE public.soutenance_configuration OWNER TO :dbuser;
+ALTER TABLE public.unicaen_alerte_alerte_id_seq OWNER TO :dbuser;
 
 --
--- Name: soutenance_etat; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: unicaen_alerte_alerte; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.soutenance_etat (
-    id bigint NOT NULL,
-    code character varying(63) NOT NULL,
-    libelle character varying(255) NOT NULL,
-    histo_creation timestamp without time zone NOT NULL,
-    histo_createur_id bigint NOT NULL,
-    histo_modification timestamp without time zone NOT NULL,
-    histo_modificateur_id bigint NOT NULL,
-    histo_destruction timestamp without time zone,
-    histo_destructeur_id bigint
+CREATE TABLE public.unicaen_alerte_alerte (
+    id bigint DEFAULT nextval('public.unicaen_alerte_alerte_id_seq'::regclass) NOT NULL,
+    code character varying(64) NOT NULL,
+    title text NOT NULL,
+    text text NOT NULL,
+    severity character varying(64),
+    duration smallint DEFAULT 0 NOT NULL,
+    dismissible boolean DEFAULT true
 );
 
 
-ALTER TABLE public.soutenance_etat OWNER TO :dbuser;
+ALTER TABLE public.unicaen_alerte_alerte OWNER TO :dbuser;
 
 --
--- Name: soutenance_etat_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: TABLE unicaen_alerte_alerte; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.soutenance_etat_id_seq
-    START WITH 21
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 20;
+COMMENT ON TABLE public.unicaen_alerte_alerte IS 'Messages d''alerte';
 
 
-ALTER TABLE public.soutenance_etat_id_seq OWNER TO :dbuser;
-
 --
--- Name: soutenance_evenement; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_alerte_alerte.code; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.soutenance_evenement (
-    id integer NOT NULL,
-    proposition_id integer NOT NULL,
-    type_id integer NOT NULL,
-    date_event timestamp without time zone NOT NULL
-);
-
+COMMENT ON COLUMN public.unicaen_alerte_alerte.code IS 'Code littéral unique de cette alerte';
 
-ALTER TABLE public.soutenance_evenement OWNER TO :dbuser;
 
 --
--- Name: soutenance_evenement_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_alerte_alerte.title; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.soutenance_evenement_id_seq
-    START WITH 1
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 1;
-
+COMMENT ON COLUMN public.unicaen_alerte_alerte.title IS 'Titre/intitulé de cette alerte';
 
-ALTER TABLE public.soutenance_evenement_id_seq OWNER TO :dbuser;
 
 --
--- Name: soutenance_evenement_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_alerte_alerte.text; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-ALTER SEQUENCE public.soutenance_evenement_id_seq OWNED BY public.soutenance_evenement.id;
+COMMENT ON COLUMN public.unicaen_alerte_alerte.text IS 'Texte de cette alerte';
 
 
 --
--- Name: soutenance_intervention; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_alerte_alerte.severity; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.soutenance_intervention (
-    id bigint NOT NULL,
-    these_id bigint NOT NULL,
-    type_intervention bigint NOT NULL,
-    histo_creation timestamp without time zone NOT NULL,
-    histo_createur_id bigint NOT NULL,
-    histo_modification timestamp without time zone,
-    histo_modificateur_id bigint,
-    histo_destruction timestamp without time zone,
-    histo_destructeur_id bigint
-);
-
+COMMENT ON COLUMN public.unicaen_alerte_alerte.severity IS 'Sévérité (classe CSS) associée à cette alerte : success, info, warning, danger';
 
-ALTER TABLE public.soutenance_intervention OWNER TO :dbuser;
 
 --
--- Name: soutenance_intervention_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_alerte_alerte.duration; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.soutenance_intervention_id_seq
-    START WITH 21
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 20;
-
+COMMENT ON COLUMN public.unicaen_alerte_alerte.duration IS 'Durée d''affichage de cette alerte en millisecondes (0 = infini)';
 
-ALTER TABLE public.soutenance_intervention_id_seq OWNER TO :dbuser;
 
 --
--- Name: soutenance_justificatif; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_alerte_alerte.dismissible; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.soutenance_justificatif (
-    id bigint NOT NULL,
-    proposition_id bigint NOT NULL,
-    fichier_id bigint NOT NULL,
-    membre_id bigint,
-    histo_creation timestamp without time zone NOT NULL,
-    histo_createur_id bigint NOT NULL,
-    histo_modification timestamp without time zone NOT NULL,
-    histo_modificateur_id bigint NOT NULL,
-    histo_destruction timestamp without time zone,
-    histo_destructeur_id bigint
-);
-
+COMMENT ON COLUMN public.unicaen_alerte_alerte.dismissible IS 'Indique si cette alerte peut être fermée par l''utilisateur';
 
-ALTER TABLE public.soutenance_justificatif OWNER TO :dbuser;
 
 --
--- Name: soutenance_justificatif_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: unicaen_alerte_alerte_planning_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.soutenance_justificatif_id_seq
-    START WITH 3124
+CREATE SEQUENCE public.unicaen_alerte_alerte_planning_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.soutenance_justificatif_id_seq OWNER TO :dbuser;
+ALTER TABLE public.unicaen_alerte_alerte_planning_id_seq OWNER TO :dbuser;
 
 --
--- Name: soutenance_membre; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: unicaen_alerte_alerte_planning; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.soutenance_membre (
-    id bigint NOT NULL,
-    proposition_id bigint NOT NULL,
-    genre character varying(1) NOT NULL,
-    qualite bigint NOT NULL,
-    etablissement character varying(128) NOT NULL,
-    role_id character varying(64) NOT NULL,
-    exterieur character varying(3),
-    email character varying(256),
-    acteur_id bigint,
-    visio boolean DEFAULT false NOT NULL,
-    nom character varying(256),
-    prenom character varying(256),
-    histo_creation timestamp without time zone NOT NULL,
-    histo_createur_id bigint NOT NULL,
-    histo_modification timestamp without time zone NOT NULL,
-    histo_modificateur_id bigint NOT NULL,
-    histo_destruction timestamp without time zone,
-    histo_destructeur_id bigint,
-    clef character varying(64),
-    adresse text
+CREATE TABLE public.unicaen_alerte_alerte_planning (
+    id bigint DEFAULT nextval('public.unicaen_alerte_alerte_planning_id_seq'::regclass) NOT NULL,
+    alerte_id bigint NOT NULL,
+    start_date timestamp without time zone DEFAULT now() NOT NULL,
+    end_date timestamp without time zone NOT NULL,
+    severity character varying(64)
 );
 
 
-ALTER TABLE public.soutenance_membre OWNER TO :dbuser;
+ALTER TABLE public.unicaen_alerte_alerte_planning OWNER TO :dbuser;
 
 --
--- Name: soutenance_membre_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: TABLE unicaen_alerte_alerte_planning; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.soutenance_membre_id_seq
-    START WITH 7816
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 20;
-
+COMMENT ON TABLE public.unicaen_alerte_alerte_planning IS 'Plannings d''affichage des alertes';
 
-ALTER TABLE public.soutenance_membre_id_seq OWNER TO :dbuser;
 
 --
--- Name: soutenance_proposition; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_alerte_alerte_planning.alerte_id; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.soutenance_proposition (
-    id bigint NOT NULL,
-    these_id bigint NOT NULL,
-    dateprev timestamp without time zone,
-    lieu character varying(256),
-    rendu_rapport timestamp without time zone,
-    confidentialite timestamp without time zone,
-    label_europeen boolean DEFAULT false NOT NULL,
-    manuscrit_anglais boolean DEFAULT false NOT NULL,
-    soutenance_anglais boolean DEFAULT false NOT NULL,
-    huit_clos boolean DEFAULT false NOT NULL,
-    exterieur boolean DEFAULT false NOT NULL,
-    nouveau_titre character varying(2048),
-    etat_id bigint NOT NULL,
-    sursis character varying(1),
-    adresse_exacte character varying(2048),
-    histo_creation timestamp without time zone NOT NULL,
-    histo_createur_id bigint NOT NULL,
-    histo_modification timestamp without time zone NOT NULL,
-    histo_modificateur_id bigint NOT NULL,
-    histo_destruction timestamp without time zone,
-    histo_destructeur_id bigint
-);
+COMMENT ON COLUMN public.unicaen_alerte_alerte_planning.alerte_id IS 'Identifiant de l''alerte concernée';
+
 
+--
+-- Name: COLUMN unicaen_alerte_alerte_planning.start_date; Type: COMMENT; Schema: public; Owner: :dbuser
+--
+
+COMMENT ON COLUMN public.unicaen_alerte_alerte_planning.start_date IS 'Date et heure de début de la période d''affichage de l''alerte';
 
-ALTER TABLE public.soutenance_proposition OWNER TO :dbuser;
 
 --
--- Name: soutenance_proposition_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_alerte_alerte_planning.end_date; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.soutenance_proposition_id_seq
-    START WITH 5273
+COMMENT ON COLUMN public.unicaen_alerte_alerte_planning.end_date IS 'Date et heure de fin de la période d''affichage de l''alerte';
+
+
+--
+-- Name: COLUMN unicaen_alerte_alerte_planning.severity; Type: COMMENT; Schema: public; Owner: :dbuser
+--
+
+COMMENT ON COLUMN public.unicaen_alerte_alerte_planning.severity IS 'Sévérité remplaçant celle de l''alerte sur cette période';
+
+
+--
+-- Name: unicaen_avis_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+--
+
+CREATE SEQUENCE public.unicaen_avis_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.soutenance_proposition_id_seq OWNER TO :dbuser;
+ALTER TABLE public.unicaen_avis_id_seq OWNER TO :dbuser;
 
 --
--- Name: soutenance_qualite; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.soutenance_qualite (
-    id bigint NOT NULL,
-    libelle character varying(128) NOT NULL,
-    rang character varying(1) NOT NULL,
-    hdr character varying(1) NOT NULL,
-    emeritat character varying(1) NOT NULL,
-    histo_creation timestamp without time zone NOT NULL,
-    histo_createur_id bigint NOT NULL,
-    histo_modification timestamp without time zone NOT NULL,
-    histo_modificateur_id bigint NOT NULL,
-    histo_destruction timestamp without time zone,
-    histo_destructeur_id bigint,
-    justificatif character varying(1) DEFAULT 'N'::character varying NOT NULL
+CREATE TABLE public.unicaen_avis (
+    id bigint DEFAULT nextval('public.unicaen_avis_id_seq'::regclass) NOT NULL,
+    avis_type_id bigint NOT NULL,
+    avis_valeur_id bigint NOT NULL
 );
 
 
-ALTER TABLE public.soutenance_qualite OWNER TO :dbuser;
+ALTER TABLE public.unicaen_avis OWNER TO :dbuser;
 
 --
--- Name: soutenance_qualite_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: TABLE unicaen_avis; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.soutenance_qualite_id_seq
-    START WITH 74
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 20;
-
+COMMENT ON TABLE public.unicaen_avis IS 'Avis';
 
-ALTER TABLE public.soutenance_qualite_id_seq OWNER TO :dbuser;
 
 --
--- Name: soutenance_qualite_sup; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_avis.avis_type_id; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.soutenance_qualite_sup (
-    id bigint NOT NULL,
-    qualite_id bigint NOT NULL,
-    libelle character varying(255) NOT NULL,
-    histo_creation timestamp without time zone NOT NULL,
-    histo_createur_id bigint NOT NULL,
-    histo_modification timestamp without time zone NOT NULL,
-    histo_modificateur_id bigint NOT NULL,
-    histo_destruction timestamp without time zone,
-    histo_destructeur_id bigint
-);
+COMMENT ON COLUMN public.unicaen_avis.avis_type_id IS 'Identifiant du type de cet avis';
 
 
-ALTER TABLE public.soutenance_qualite_sup OWNER TO :dbuser;
+--
+-- Name: COLUMN unicaen_avis.avis_valeur_id; Type: COMMENT; Schema: public; Owner: :dbuser
+--
+
+COMMENT ON COLUMN public.unicaen_avis.avis_valeur_id IS 'Identifiant de la valeur de cet vis';
+
 
 --
--- Name: soutenance_qualite_sup_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_complem_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.soutenance_qualite_sup_id_seq
-    START WITH 6
+CREATE SEQUENCE public.unicaen_avis_complem_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.soutenance_qualite_sup_id_seq OWNER TO :dbuser;
+ALTER TABLE public.unicaen_avis_complem_id_seq OWNER TO :dbuser;
 
 --
--- Name: tmp_acteur; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_complem; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.tmp_acteur (
-    insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
-    id character varying(64),
-    etablissement_id character varying(64) NOT NULL,
-    source_id character varying(64) NOT NULL,
-    source_code character varying(64) NOT NULL,
-    individu_id character varying(64) NOT NULL,
-    these_id character varying(64) NOT NULL,
-    role_id character varying(64) NOT NULL,
-    lib_cps character varying(200),
-    cod_cps character varying(50),
-    cod_roj_compl character varying(50),
-    lib_roj_compl character varying(200),
-    tem_hab_rch_per character varying(1),
-    tem_rap_recu character varying(1),
-    acteur_etablissement_id character varying(64),
-    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone
+CREATE TABLE public.unicaen_avis_complem (
+    id bigint DEFAULT nextval('public.unicaen_avis_complem_id_seq'::regclass) NOT NULL,
+    avis_id bigint NOT NULL,
+    avis_type_complem_id bigint NOT NULL,
+    valeur text
 );
 
 
-ALTER TABLE public.tmp_acteur OWNER TO :dbuser;
+ALTER TABLE public.unicaen_avis_complem OWNER TO :dbuser;
 
 --
--- Name: src_acteur; Type: VIEW; Schema: public; Owner: :dbuser
+-- Name: TABLE unicaen_avis_complem; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE VIEW public.src_acteur AS
- SELECT NULL::text AS id,
-    tmp.source_code,
-    src.id AS source_id,
-    i.id AS individu_id,
-    t.id AS these_id,
-    r.id AS role_id,
-    COALESCE(etab_substit.id, eact.id) AS acteur_etablissement_id,
-    tmp.lib_cps AS qualite,
-    tmp.lib_roj_compl AS lib_role_compl
-   FROM (((((((public.tmp_acteur tmp
-     JOIN public.source src ON (((src.code)::text = (tmp.source_id)::text)))
-     JOIN public.individu i ON (((i.source_code)::text = (tmp.individu_id)::text)))
-     JOIN public.these t ON (((t.source_code)::text = (tmp.these_id)::text)))
-     JOIN public.role r ON ((((r.source_code)::text = (tmp.role_id)::text) AND ((r.code)::text = 'P'::text))))
-     LEFT JOIN public.etablissement eact ON (((eact.source_code)::text = (tmp.acteur_etablissement_id)::text)))
-     LEFT JOIN public.structure_substit ss_ed ON ((ss_ed.from_structure_id = eact.structure_id)))
-     LEFT JOIN public.etablissement etab_substit ON ((etab_substit.structure_id = ss_ed.to_structure_id)))
-UNION ALL
- SELECT NULL::text AS id,
-    ((tmp.source_code)::text || 'P'::text) AS source_code,
-    src.id AS source_id,
-    i.id AS individu_id,
-    t.id AS these_id,
-    r_pj.id AS role_id,
-    COALESCE(etab_substit.id, eact.id) AS acteur_etablissement_id,
-    tmp.lib_cps AS qualite,
-    NULL::character varying AS lib_role_compl
-   FROM ((((((((public.tmp_acteur tmp
-     JOIN public.source src ON (((src.code)::text = (tmp.source_id)::text)))
-     JOIN public.individu i ON (((i.source_code)::text = (tmp.individu_id)::text)))
-     JOIN public.these t ON (((t.source_code)::text = (tmp.these_id)::text)))
-     JOIN public.role r ON ((((r.source_code)::text = (tmp.role_id)::text) AND ((r.code)::text = 'M'::text))))
-     JOIN public.role r_pj ON ((((r_pj.code)::text = 'P'::text) AND (r_pj.structure_id = r.structure_id))))
-     LEFT JOIN public.etablissement eact ON (((eact.source_code)::text = (tmp.acteur_etablissement_id)::text)))
-     LEFT JOIN public.structure_substit ss_ed ON ((ss_ed.from_structure_id = eact.structure_id)))
-     LEFT JOIN public.etablissement etab_substit ON ((etab_substit.structure_id = ss_ed.to_structure_id)))
-  WHERE ((tmp.lib_roj_compl)::text = 'Président du jury'::text)
-UNION ALL
- SELECT NULL::text AS id,
-    tmp.source_code,
-    src.id AS source_id,
-    i.id AS individu_id,
-    t.id AS these_id,
-    r.id AS role_id,
-    COALESCE(etab_substit.id, eact.id) AS acteur_etablissement_id,
-    tmp.lib_cps AS qualite,
-    NULL::character varying AS lib_role_compl
-   FROM (((((((public.tmp_acteur tmp
-     JOIN public.source src ON (((src.code)::text = (tmp.source_id)::text)))
-     JOIN public.individu i ON (((i.source_code)::text = (tmp.individu_id)::text)))
-     JOIN public.these t ON (((t.source_code)::text = (tmp.these_id)::text)))
-     JOIN public.role r ON ((((r.source_code)::text = (tmp.role_id)::text) AND ((r.code)::text <> 'P'::text))))
-     LEFT JOIN public.etablissement eact ON (((eact.source_code)::text = (tmp.acteur_etablissement_id)::text)))
-     LEFT JOIN public.structure_substit ss_ed ON ((ss_ed.from_structure_id = eact.structure_id)))
-     LEFT JOIN public.etablissement etab_substit ON ((etab_substit.structure_id = ss_ed.to_structure_id)));
-
+COMMENT ON TABLE public.unicaen_avis_complem IS 'Compléments apportés aux avis';
 
-ALTER TABLE public.src_acteur OWNER TO :dbuser;
 
 --
--- Name: tmp_doctorant; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_avis_complem.avis_id; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.tmp_doctorant (
-    insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
-    id character varying(64),
-    etablissement_id character varying(64) NOT NULL,
-    source_id character varying(64) NOT NULL,
-    source_code character varying(64) NOT NULL,
-    individu_id character varying(64) NOT NULL,
-    ine character varying(64),
-    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone
-);
-
+COMMENT ON COLUMN public.unicaen_avis_complem.avis_id IS 'Identifiant de l''avis concerné';
 
-ALTER TABLE public.tmp_doctorant OWNER TO :dbuser;
 
 --
--- Name: src_doctorant; Type: VIEW; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_avis_complem.avis_type_complem_id; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE VIEW public.src_doctorant AS
- SELECT NULL::unknown AS id,
-    tmp.source_code,
-    tmp.ine,
-    src.id AS source_id,
-    i.id AS individu_id,
-    e.id AS etablissement_id
-   FROM ((((public.tmp_doctorant tmp
-     JOIN public.structure s ON (((s.source_code)::text = (tmp.etablissement_id)::text)))
-     JOIN public.etablissement e ON ((e.structure_id = s.id)))
-     JOIN public.source src ON (((src.code)::text = (tmp.source_id)::text)))
-     JOIN public.individu i ON (((i.source_code)::text = (tmp.individu_id)::text)));
-
+COMMENT ON COLUMN public.unicaen_avis_complem.avis_type_complem_id IS 'Identifiant du complement attendu';
 
-ALTER TABLE public.src_doctorant OWNER TO :dbuser;
 
 --
--- Name: tmp_ecole_doct; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_avis_complem.valeur; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.tmp_ecole_doct (
-    insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
-    id character varying(64),
-    etablissement_id character varying(64) NOT NULL,
-    structure_id character varying(64) NOT NULL,
-    source_id character varying(64) NOT NULL,
-    source_code character varying(64) NOT NULL,
-    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone
-);
-
+COMMENT ON COLUMN public.unicaen_avis_complem.valeur IS 'Valeur du complement apportée';
 
-ALTER TABLE public.tmp_ecole_doct OWNER TO :dbuser;
 
 --
--- Name: src_ecole_doct; Type: VIEW; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_type_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE VIEW public.src_ecole_doct AS
- SELECT NULL::unknown AS id,
-    tmp.source_code,
-    src.id AS source_id,
-    s.id AS structure_id
-   FROM ((public.tmp_ecole_doct tmp
-     JOIN public.structure s ON (((s.source_code)::text = (tmp.structure_id)::text)))
-     JOIN public.source src ON (((src.code)::text = (tmp.source_id)::text)));
+CREATE SEQUENCE public.unicaen_avis_type_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
 
 
-ALTER TABLE public.src_ecole_doct OWNER TO :dbuser;
+ALTER TABLE public.unicaen_avis_type_id_seq OWNER TO :dbuser;
 
 --
--- Name: tmp_etablissement; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_type; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.tmp_etablissement (
-    insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
-    id character varying(64),
-    etablissement_id character varying(64) NOT NULL,
-    structure_id character varying(64) NOT NULL,
-    source_id character varying(64) NOT NULL,
-    source_code character varying(64) NOT NULL,
-    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone
+CREATE TABLE public.unicaen_avis_type (
+    id bigint DEFAULT nextval('public.unicaen_avis_type_id_seq'::regclass) NOT NULL,
+    code character varying(64) NOT NULL,
+    libelle character varying(128) NOT NULL,
+    description character varying(128),
+    ordre smallint DEFAULT 0 NOT NULL
 );
 
 
-ALTER TABLE public.tmp_etablissement OWNER TO :dbuser;
+ALTER TABLE public.unicaen_avis_type OWNER TO :dbuser;
 
 --
--- Name: src_etablissement; Type: VIEW; Schema: public; Owner: :dbuser
+-- Name: TABLE unicaen_avis_type; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE VIEW public.src_etablissement AS
- SELECT NULL::unknown AS id,
-    tmp.source_code,
-    src.id AS source_id,
-    tmp.id AS code,
-    s.id AS structure_id
-   FROM ((public.tmp_etablissement tmp
-     JOIN public.structure s ON (((s.source_code)::text = (tmp.structure_id)::text)))
-     JOIN public.source src ON (((src.code)::text = (tmp.source_id)::text)));
-
+COMMENT ON TABLE public.unicaen_avis_type IS 'Types d''avis existants';
 
-ALTER TABLE public.src_etablissement OWNER TO :dbuser;
 
 --
--- Name: tmp_financement; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_avis_type.code; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.tmp_financement (
-    insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
-    id character varying(64),
-    etablissement_id character varying(64) NOT NULL,
-    source_id character varying(64) NOT NULL,
-    source_code character varying(64) NOT NULL,
-    these_id character varying(50) NOT NULL,
-    annee character varying(50) NOT NULL,
-    origine_financement_id character varying(50) NOT NULL,
-    complement_financement character varying(200),
-    quotite_financement character varying(50),
-    date_debut_financement timestamp without time zone,
-    date_fin_financement timestamp without time zone,
-    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
-    code_type_financement character varying(8),
-    libelle_type_financement character varying(100)
-);
-
+COMMENT ON COLUMN public.unicaen_avis_type.code IS 'Code littéral unique de ce type d''avis';
 
-ALTER TABLE public.tmp_financement OWNER TO :dbuser;
 
 --
--- Name: src_financement; Type: VIEW; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_avis_type.libelle; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE VIEW public.src_financement AS
- SELECT NULL::unknown AS id,
-    tmp.source_code,
-    src.id AS source_id,
-    t.id AS these_id,
-    (tmp.annee)::numeric AS annee,
-    ofi.id AS origine_financement_id,
-    tmp.complement_financement,
-    tmp.quotite_financement,
-    tmp.date_debut_financement AS date_debut,
-    tmp.date_fin_financement AS date_fin,
-    tmp.code_type_financement,
-    tmp.libelle_type_financement
-   FROM (((public.tmp_financement tmp
-     JOIN public.source src ON (((src.code)::text = (tmp.source_id)::text)))
-     JOIN public.these t ON (((t.source_code)::text = (tmp.these_id)::text)))
-     JOIN public.origine_financement ofi ON (((ofi.source_code)::text = (tmp.origine_financement_id)::text)));
-
+COMMENT ON COLUMN public.unicaen_avis_type.libelle IS 'Libellé de ce type d''avis';
 
-ALTER TABLE public.src_financement OWNER TO :dbuser;
 
 --
--- Name: tmp_individu; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_avis_type.description; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.tmp_individu (
-    insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
-    id character varying(64),
-    etablissement_id character varying(64) NOT NULL,
-    source_id character varying(64) NOT NULL,
-    source_code character varying(64) NOT NULL,
-    type character varying(32),
-    civ character varying(5),
-    lib_nom_usu_ind character varying(60) NOT NULL,
-    lib_nom_pat_ind character varying(60) NOT NULL,
-    lib_pr1_ind character varying(60) NOT NULL,
-    lib_pr2_ind character varying(60),
-    lib_pr3_ind character varying(60),
-    email character varying(255),
-    dat_nai_per timestamp without time zone,
-    lib_nat character varying(128),
-    supann_id character varying(30),
-    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone
-);
+COMMENT ON COLUMN public.unicaen_avis_type.description IS 'Description éventuelle de ce type d''avis';
 
 
-ALTER TABLE public.tmp_individu OWNER TO :dbuser;
+--
+-- Name: COLUMN unicaen_avis_type.ordre; Type: COMMENT; Schema: public; Owner: :dbuser
+--
+
+COMMENT ON COLUMN public.unicaen_avis_type.ordre IS 'Entier permettant d''ordonner les types d''avis';
+
 
 --
--- Name: src_individu; Type: VIEW; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_type_valeur_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE VIEW public.src_individu AS
- SELECT NULL::unknown AS id,
-    tmp.source_code,
-    src.id AS source_id,
-    tmp.type,
-    tmp.supann_id,
-    tmp.civ AS civilite,
-    tmp.lib_nom_usu_ind AS nom_usuel,
-    tmp.lib_nom_pat_ind AS nom_patronymique,
-    tmp.lib_pr1_ind AS prenom1,
-    tmp.lib_pr2_ind AS prenom2,
-    tmp.lib_pr3_ind AS prenom3,
-    tmp.email,
-    tmp.dat_nai_per AS date_naissance,
-    tmp.lib_nat AS nationalite
-   FROM (public.tmp_individu tmp
-     JOIN public.source src ON (((src.code)::text = (tmp.source_id)::text)));
+CREATE SEQUENCE public.unicaen_avis_type_valeur_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
 
 
-ALTER TABLE public.src_individu OWNER TO :dbuser;
+ALTER TABLE public.unicaen_avis_type_valeur_id_seq OWNER TO :dbuser;
 
 --
--- Name: tmp_origine_financement; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_type_valeur; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.tmp_origine_financement (
-    insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
-    id character varying(64),
-    etablissement_id character varying(64) NOT NULL,
-    source_id character varying(64) NOT NULL,
-    source_code character varying(64) NOT NULL,
-    cod_ofi character varying(50) NOT NULL,
-    lic_ofi character varying(50) NOT NULL,
-    lib_ofi character varying(200) NOT NULL,
-    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone
+CREATE TABLE public.unicaen_avis_type_valeur (
+    id bigint DEFAULT nextval('public.unicaen_avis_type_valeur_id_seq'::regclass) NOT NULL,
+    avis_type_id bigint NOT NULL,
+    avis_valeur_id bigint NOT NULL
 );
 
 
-ALTER TABLE public.tmp_origine_financement OWNER TO :dbuser;
+ALTER TABLE public.unicaen_avis_type_valeur OWNER TO :dbuser;
 
 --
--- Name: src_origine_financement; Type: VIEW; Schema: public; Owner: :dbuser
+-- Name: TABLE unicaen_avis_type_valeur; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE VIEW public.src_origine_financement AS
- SELECT NULL::unknown AS id,
-    tmp.source_code,
-    src.id AS source_id,
-    tmp.cod_ofi AS code,
-    tmp.lic_ofi AS libelle_court,
-    tmp.lib_ofi AS libelle_long
-   FROM (public.tmp_origine_financement tmp
-     JOIN public.source src ON (((src.code)::text = (tmp.source_id)::text)));
-
+COMMENT ON TABLE public.unicaen_avis_type_valeur IS 'Valeurs d''avis autorisées par type d''avis';
 
-ALTER TABLE public.src_origine_financement OWNER TO :dbuser;
 
 --
--- Name: tmp_role; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_avis_type_valeur.avis_type_id; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.tmp_role (
-    insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
-    id character varying(64),
-    etablissement_id character varying(64) NOT NULL,
-    source_id character varying(64) NOT NULL,
-    source_code character varying(64) NOT NULL,
-    lib_roj character varying(200),
-    lic_roj character varying(50),
-    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone
-);
-
+COMMENT ON COLUMN public.unicaen_avis_type_valeur.avis_type_id IS 'Identifiant du type d''avis concerné';
 
-ALTER TABLE public.tmp_role OWNER TO :dbuser;
 
 --
--- Name: src_role; Type: VIEW; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_avis_type_valeur.avis_valeur_id; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE VIEW public.src_role AS
- SELECT NULL::unknown AS id,
-    tmp.source_code,
-    src.id AS source_id,
-    tmp.lib_roj AS libelle,
-    tmp.id AS code,
-    (((tmp.lib_roj)::text || ' '::text) || (s.code)::text) AS role_id,
-    true AS these_dep,
-    s.id AS structure_id,
-    NULL::bigint AS type_structure_dependant_id
-   FROM (((public.tmp_role tmp
-     JOIN public.structure s ON (((s.source_code)::text = (tmp.etablissement_id)::text)))
-     JOIN public.etablissement e ON ((e.structure_id = s.id)))
-     JOIN public.source src ON (((src.code)::text = (tmp.source_id)::text)));
-
+COMMENT ON COLUMN public.unicaen_avis_type_valeur.avis_valeur_id IS 'Identifiant de la valeur d''avis autorisée';
 
-ALTER TABLE public.src_role OWNER TO :dbuser;
 
 --
--- Name: tmp_structure; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_type_valeur_complem_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.tmp_structure (
-    insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
-    id character varying(64),
-    etablissement_id character varying(64) NOT NULL,
-    source_id character varying(64) NOT NULL,
-    source_code character varying(64) NOT NULL,
-    type_structure_id character varying(64) NOT NULL,
-    sigle character varying(64),
-    libelle character varying(200) NOT NULL,
-    code_pays character varying(64),
-    libelle_pays character varying(200),
-    code character varying(64),
-    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone
-);
+CREATE SEQUENCE public.unicaen_avis_type_valeur_complem_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
 
 
-ALTER TABLE public.tmp_structure OWNER TO :dbuser;
+ALTER TABLE public.unicaen_avis_type_valeur_complem_id_seq OWNER TO :dbuser;
 
 --
--- Name: type_structure; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_type_valeur_complem; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.type_structure (
-    id bigint NOT NULL,
-    code character varying(50) NOT NULL,
-    libelle character varying(100)
+CREATE TABLE public.unicaen_avis_type_valeur_complem (
+    id bigint DEFAULT nextval('public.unicaen_avis_type_valeur_complem_id_seq'::regclass) NOT NULL,
+    avis_type_valeur_id bigint NOT NULL,
+    parent_id bigint,
+    code character varying(128) NOT NULL,
+    libelle character varying(128) NOT NULL,
+    type character varying(64) NOT NULL,
+    ordre integer NOT NULL,
+    obligatoire boolean DEFAULT false NOT NULL,
+    obligatoire_un_au_moins boolean DEFAULT false NOT NULL
 );
 
 
-ALTER TABLE public.type_structure OWNER TO :dbuser;
+ALTER TABLE public.unicaen_avis_type_valeur_complem OWNER TO :dbuser;
 
 --
--- Name: src_structure; Type: VIEW; Schema: public; Owner: :dbuser
+-- Name: TABLE unicaen_avis_type_valeur_complem; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE VIEW public.src_structure AS
- SELECT NULL::unknown AS id,
-    tmp.source_code,
-    tmp.id AS code,
-    src.id AS source_id,
-    ts.id AS type_structure_id,
-    tmp.sigle,
-    tmp.libelle
-   FROM ((public.tmp_structure tmp
-     JOIN public.type_structure ts ON (((ts.code)::text = (tmp.type_structure_id)::text)))
-     JOIN public.source src ON (((src.code)::text = (tmp.source_id)::text)));
-
+COMMENT ON TABLE public.unicaen_avis_type_valeur_complem IS 'Compléments possibles selon le type d''avis et la valeur de l''avis';
 
-ALTER TABLE public.src_structure OWNER TO :dbuser;
 
 --
--- Name: tmp_these; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_avis_type_valeur_complem.avis_type_valeur_id; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.tmp_these (
-    insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
-    id character varying(64),
-    etablissement_id character varying(64) NOT NULL,
-    source_id character varying(64) NOT NULL,
-    source_code character varying(64) NOT NULL,
-    doctorant_id character varying(64) NOT NULL,
-    ecole_doct_id character varying(64),
-    unite_rech_id character varying(64),
-    correction_possible character varying(30),
-    dat_aut_sou_ths timestamp without time zone,
-    dat_fin_cfd_ths timestamp without time zone,
-    dat_deb_ths timestamp without time zone,
-    dat_prev_sou timestamp without time zone,
-    dat_sou_ths timestamp without time zone,
-    eta_ths character varying(20),
-    lib_int1_dis character varying(200),
-    lib_etab_cotut character varying(60),
-    lib_pays_cotut character varying(40),
-    cod_neg_tre character varying(1),
-    tem_sou_aut_ths character varying(1),
-    tem_avenant_cotut character varying(1),
-    lib_ths character varying(2048),
-    annee_univ_1ere_insc bigint,
-    dat_abandon timestamp without time zone,
-    dat_transfert_dep timestamp without time zone,
-    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
-    correction_effectuee character varying(30) DEFAULT 'null'::character varying
-);
+COMMENT ON COLUMN public.unicaen_avis_type_valeur_complem.avis_type_valeur_id IS 'Identifiant du type+valeur d''avis permettant ce complément';
 
 
-ALTER TABLE public.tmp_these OWNER TO :dbuser;
+--
+-- Name: COLUMN unicaen_avis_type_valeur_complem.parent_id; Type: COMMENT; Schema: public; Owner: :dbuser
+--
+
+COMMENT ON COLUMN public.unicaen_avis_type_valeur_complem.parent_id IS 'Identifiant du complément parent éventuel de type checkbox uniquement (pour affichage et required conditionnel)';
+
 
 --
--- Name: src_these; Type: VIEW; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_avis_type_valeur_complem.libelle; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE VIEW public.src_these AS
- SELECT NULL::unknown AS id,
-    tmp.source_code,
-    src.id AS source_id,
-    e.id AS etablissement_id,
-    d.id AS doctorant_id,
-    COALESCE(ed_substit.id, ed.id) AS ecole_doct_id,
-    COALESCE(ur_substit.id, ur.id) AS unite_rech_id,
-    tmp.lib_ths AS titre,
-    tmp.eta_ths AS etat_these,
-    (tmp.cod_neg_tre)::numeric AS resultat,
-    tmp.lib_int1_dis AS lib_disc,
-    tmp.dat_deb_ths AS date_prem_insc,
-    tmp.dat_prev_sou AS date_prev_soutenance,
-    tmp.dat_sou_ths AS date_soutenance,
-    tmp.dat_fin_cfd_ths AS date_fin_confid,
-    tmp.lib_etab_cotut,
-    tmp.lib_pays_cotut,
-    tmp.correction_possible AS correc_autorisee,
-    tmp.correction_effectuee AS correc_effectuee,
-    tmp.tem_sou_aut_ths AS soutenance_autoris,
-    tmp.dat_aut_sou_ths AS date_autoris_soutenance,
-    tmp.tem_avenant_cotut,
-    tmp.dat_abandon AS date_abandon,
-    tmp.dat_transfert_dep AS date_transfert
-   FROM ((((((((((public.tmp_these tmp
-     JOIN public.structure s ON (((s.source_code)::text = (tmp.etablissement_id)::text)))
-     JOIN public.etablissement e ON ((e.structure_id = s.id)))
-     JOIN public.source src ON (((src.code)::text = (tmp.source_id)::text)))
-     JOIN public.doctorant d ON (((d.source_code)::text = (tmp.doctorant_id)::text)))
-     LEFT JOIN public.ecole_doct ed ON (((ed.source_code)::text = (tmp.ecole_doct_id)::text)))
-     LEFT JOIN public.unite_rech ur ON (((ur.source_code)::text = (tmp.unite_rech_id)::text)))
-     LEFT JOIN public.structure_substit ss_ed ON ((ss_ed.from_structure_id = ed.structure_id)))
-     LEFT JOIN public.ecole_doct ed_substit ON ((ed_substit.structure_id = ss_ed.to_structure_id)))
-     LEFT JOIN public.structure_substit ss_ur ON ((ss_ur.from_structure_id = ur.structure_id)))
-     LEFT JOIN public.unite_rech ur_substit ON ((ur_substit.structure_id = ss_ur.to_structure_id)));
+COMMENT ON COLUMN public.unicaen_avis_type_valeur_complem.libelle IS 'Libellé du complément';
 
 
-ALTER TABLE public.src_these OWNER TO :dbuser;
+--
+-- Name: COLUMN unicaen_avis_type_valeur_complem.type; Type: COMMENT; Schema: public; Owner: :dbuser
+--
+
+COMMENT ON COLUMN public.unicaen_avis_type_valeur_complem.type IS 'Type de valeur attendue pour ce complément (textarea, checkbox, checkbox+textarea, select, etc.)';
+
 
 --
--- Name: tmp_these_annee_univ; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_avis_type_valeur_complem.obligatoire; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.tmp_these_annee_univ (
-    insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
-    id character varying(64),
-    etablissement_id character varying(64) NOT NULL,
-    source_id character varying(64) NOT NULL,
-    source_code character varying(64) NOT NULL,
-    these_id character varying(50) NOT NULL,
-    annee_univ bigint,
-    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone
-);
+COMMENT ON COLUMN public.unicaen_avis_type_valeur_complem.obligatoire IS 'Témoin indiquant si une valeur est requise pour ce complément';
 
 
-ALTER TABLE public.tmp_these_annee_univ OWNER TO :dbuser;
+--
+-- Name: COLUMN unicaen_avis_type_valeur_complem.obligatoire_un_au_moins; Type: COMMENT; Schema: public; Owner: :dbuser
+--
+
+COMMENT ON COLUMN public.unicaen_avis_type_valeur_complem.obligatoire_un_au_moins IS 'Témoin indiquant si une valeur est requise pour l''un au moins des compléments ayant ce même témoin à `true`';
+
 
 --
--- Name: src_these_annee_univ; Type: VIEW; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_type_valeur_complem_ordre_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE VIEW public.src_these_annee_univ AS
- SELECT NULL::unknown AS id,
-    tmp.source_code,
-    src.id AS source_id,
-    t.id AS these_id,
-    tmp.annee_univ
-   FROM ((((public.tmp_these_annee_univ tmp
-     JOIN public.structure s ON (((s.source_code)::text = (tmp.etablissement_id)::text)))
-     JOIN public.etablissement e ON ((e.structure_id = s.id)))
-     JOIN public.source src ON (((src.code)::text = (tmp.source_id)::text)))
-     JOIN public.these t ON (((t.source_code)::text = (tmp.these_id)::text)));
+CREATE SEQUENCE public.unicaen_avis_type_valeur_complem_ordre_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
 
 
-ALTER TABLE public.src_these_annee_univ OWNER TO :dbuser;
+ALTER TABLE public.unicaen_avis_type_valeur_complem_ordre_seq OWNER TO :dbuser;
 
 --
--- Name: tmp_titre_acces; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_type_valeur_complem_ordre_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.tmp_titre_acces (
-    insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
-    id character varying(64),
-    etablissement_id character varying(64) NOT NULL,
-    source_id character varying(64) NOT NULL,
-    source_code character varying(64) NOT NULL,
-    these_id character varying(50) NOT NULL,
-    titre_acces_interne_externe character varying(1),
-    libelle_titre_acces character varying(200),
-    type_etb_titre_acces character varying(50),
-    libelle_etb_titre_acces character varying(200),
-    code_dept_titre_acces character varying(20),
-    code_pays_titre_acces character varying(20),
-    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone
-);
-
+ALTER SEQUENCE public.unicaen_avis_type_valeur_complem_ordre_seq OWNED BY public.unicaen_avis_type_valeur_complem.ordre;
 
-ALTER TABLE public.tmp_titre_acces OWNER TO :dbuser;
 
 --
--- Name: src_titre_acces; Type: VIEW; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_valeur_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE VIEW public.src_titre_acces AS
- SELECT NULL::unknown AS id,
-    tmp.source_code,
-    src.id AS source_id,
-    t.id AS these_id,
-    tmp.titre_acces_interne_externe,
-    tmp.libelle_titre_acces,
-    tmp.type_etb_titre_acces,
-    tmp.libelle_etb_titre_acces,
-    tmp.code_dept_titre_acces,
-    tmp.code_pays_titre_acces
-   FROM ((((public.tmp_titre_acces tmp
-     JOIN public.structure s ON (((s.source_code)::text = (tmp.etablissement_id)::text)))
-     JOIN public.etablissement e ON ((e.structure_id = s.id)))
-     JOIN public.source src ON (((src.code)::text = (tmp.source_id)::text)))
-     JOIN public.these t ON (((t.source_code)::text = (tmp.these_id)::text)));
+CREATE SEQUENCE public.unicaen_avis_valeur_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
 
 
-ALTER TABLE public.src_titre_acces OWNER TO :dbuser;
+ALTER TABLE public.unicaen_avis_valeur_id_seq OWNER TO :dbuser;
 
 --
--- Name: tmp_unite_rech; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_valeur; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.tmp_unite_rech (
-    insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
-    id character varying(64),
-    etablissement_id character varying(64) NOT NULL,
-    structure_id character varying(64) NOT NULL,
-    source_id character varying(64) NOT NULL,
-    source_code character varying(64) NOT NULL,
-    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone
+CREATE TABLE public.unicaen_avis_valeur (
+    id bigint DEFAULT nextval('public.unicaen_avis_valeur_id_seq'::regclass) NOT NULL,
+    code character varying(64) NOT NULL,
+    valeur character varying(128) NOT NULL,
+    valeur_bool boolean,
+    tags character varying(64),
+    ordre integer NOT NULL,
+    description character varying(128)
 );
 
 
-ALTER TABLE public.tmp_unite_rech OWNER TO :dbuser;
+ALTER TABLE public.unicaen_avis_valeur OWNER TO :dbuser;
 
 --
--- Name: src_unite_rech; Type: VIEW; Schema: public; Owner: :dbuser
+-- Name: TABLE unicaen_avis_valeur; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE VIEW public.src_unite_rech AS
- SELECT NULL::unknown AS id,
-    tmp.source_code,
-    src.id AS source_id,
-    s.id AS structure_id
-   FROM ((public.tmp_unite_rech tmp
-     JOIN public.structure s ON (((s.source_code)::text = (tmp.structure_id)::text)))
-     JOIN public.source src ON (((src.code)::text = (tmp.source_id)::text)));
-
+COMMENT ON TABLE public.unicaen_avis_valeur IS 'Valeurs d''avis possibles';
 
-ALTER TABLE public.src_unite_rech OWNER TO :dbuser;
 
 --
--- Name: tmp_variable; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_avis_valeur.code; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.tmp_variable (
-    insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
-    id character varying(64),
-    etablissement_id character varying(64) NOT NULL,
-    source_id character varying(64) NOT NULL,
-    source_code character varying(64) NOT NULL,
-    cod_vap character varying(50),
-    lib_vap character varying(300),
-    par_vap character varying(200),
-    date_deb_validite timestamp without time zone NOT NULL,
-    date_fin_validite timestamp without time zone NOT NULL,
-    source_insert_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone
-);
-
+COMMENT ON COLUMN public.unicaen_avis_valeur.code IS 'Code littéral unique de ce complément';
 
-ALTER TABLE public.tmp_variable OWNER TO :dbuser;
 
 --
--- Name: src_variable; Type: VIEW; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_avis_valeur.valeur; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE VIEW public.src_variable AS
- SELECT NULL::unknown AS id,
-    tmp.source_code,
-    src.id AS source_id,
-    e.id AS etablissement_id,
-    tmp.cod_vap AS code,
-    tmp.lib_vap AS description,
-    tmp.par_vap AS valeur,
-    tmp.date_deb_validite,
-    tmp.date_fin_validite
-   FROM (((public.tmp_variable tmp
-     JOIN public.structure s ON (((s.source_code)::text = (tmp.etablissement_id)::text)))
-     JOIN public.etablissement e ON ((e.structure_id = s.id)))
-     JOIN public.source src ON (((src.code)::text = (tmp.source_id)::text)));
-
+COMMENT ON COLUMN public.unicaen_avis_valeur.valeur IS 'Valeur (ex : Favorable, Défavorable, etc.)';
 
-ALTER TABLE public.src_variable OWNER TO :dbuser;
 
 --
--- Name: structure_document; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_avis_valeur.valeur_bool; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.structure_document (
-    id bigint NOT NULL,
-    nature_id bigint NOT NULL,
-    structure_id bigint NOT NULL,
-    etablissement_id bigint,
-    fichier_id bigint NOT NULL,
-    histo_creation timestamp without time zone NOT NULL,
-    histo_createur_id bigint NOT NULL,
-    histo_modification timestamp without time zone,
-    histo_modificateur_id bigint,
-    histo_destruction timestamp without time zone,
-    histo_destructeur_id bigint
-);
+COMMENT ON COLUMN public.unicaen_avis_valeur.valeur_bool IS 'Éventuelle valeur booléenne équivalente';
 
 
-ALTER TABLE public.structure_document OWNER TO :dbuser;
+--
+-- Name: COLUMN unicaen_avis_valeur.tags; Type: COMMENT; Schema: public; Owner: :dbuser
+--
+
+COMMENT ON COLUMN public.unicaen_avis_valeur.tags IS 'Éventuels tags associés à cette valeur (ex : classe CSS "success")';
+
 
 --
--- Name: structure_document_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: COLUMN unicaen_avis_valeur.ordre; Type: COMMENT; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.structure_document_id_seq
-    START WITH 161
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 20;
+COMMENT ON COLUMN public.unicaen_avis_valeur.ordre IS 'Entier permettant d''ordonner les valeurs';
+
+
+--
+-- Name: COLUMN unicaen_avis_valeur.description; Type: COMMENT; Schema: public; Owner: :dbuser
+--
 
+COMMENT ON COLUMN public.unicaen_avis_valeur.description IS 'Description éventuelle de cette valeur';
 
-ALTER TABLE public.structure_document_id_seq OWNER TO :dbuser;
 
 --
--- Name: structure_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_valeur_ordre_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.structure_id_seq
-    START WITH 11086
+CREATE SEQUENCE public.unicaen_avis_valeur_ordre_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.structure_id_seq OWNER TO :dbuser;
+ALTER TABLE public.unicaen_avis_valeur_ordre_seq OWNER TO :dbuser;
 
 --
--- Name: structure_substit_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_valeur_ordre_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.structure_substit_id_seq
-    START WITH 401
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 20;
-
+ALTER SEQUENCE public.unicaen_avis_valeur_ordre_seq OWNED BY public.unicaen_avis_valeur.ordre;
 
-ALTER TABLE public.structure_substit_id_seq OWNER TO :dbuser;
 
 --
--- Name: sync_log; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: unicaen_parametre_categorie; Type: TABLE; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.sync_log (
-    id bigint NOT NULL,
-    date_sync timestamp without time zone NOT NULL,
-    message text NOT NULL,
-    table_name character varying(30),
-    source_code character varying(200)
+CREATE TABLE public.unicaen_parametre_categorie (
+    id integer NOT NULL,
+    code character varying(1024) NOT NULL,
+    libelle character varying(1024) NOT NULL,
+    description text,
+    ordre integer DEFAULT 9999
 );
 
 
-ALTER TABLE public.sync_log OWNER TO :dbuser;
+ALTER TABLE public.unicaen_parametre_categorie OWNER TO :dbuser;
 
 --
--- Name: sync_log_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: unicaen_parametre_categorie_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.sync_log_id_seq
-    START WITH 1095004
+CREATE SEQUENCE public.unicaen_parametre_categorie_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.sync_log_id_seq OWNER TO :dbuser;
+ALTER TABLE public.unicaen_parametre_categorie_id_seq OWNER TO :dbuser;
 
 --
--- Name: synchro_log; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: unicaen_parametre_categorie_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.synchro_log (
-    id bigint NOT NULL,
-    log_date timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
-    start_date timestamp without time zone NOT NULL,
-    finish_date timestamp without time zone NOT NULL,
-    status character varying(50) NOT NULL,
-    sql text NOT NULL,
-    message text
+ALTER SEQUENCE public.unicaen_parametre_categorie_id_seq OWNED BY public.unicaen_parametre_categorie.id;
+
+
+--
+-- Name: unicaen_parametre_parametre; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.unicaen_parametre_parametre (
+    id integer NOT NULL,
+    categorie_id integer NOT NULL,
+    code character varying(1024) NOT NULL,
+    libelle character varying(1024) NOT NULL,
+    description text,
+    valeurs_possibles text,
+    valeur text,
+    ordre integer DEFAULT 9999
 );
 
 
-ALTER TABLE public.synchro_log OWNER TO :dbuser;
+ALTER TABLE public.unicaen_parametre_parametre OWNER TO :dbuser;
 
 --
--- Name: synchro_log_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: unicaen_parametre_parametre_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.synchro_log_id_seq
-    START WITH 1474516
+CREATE SEQUENCE public.unicaen_parametre_parametre_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.synchro_log_id_seq OWNER TO :dbuser;
+ALTER TABLE public.unicaen_parametre_parametre_id_seq OWNER TO :dbuser;
 
 --
--- Name: these_annee_univ_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: unicaen_parametre_parametre_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.these_annee_univ_id_seq
-    START WITH 92082
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 20;
+ALTER SEQUENCE public.unicaen_parametre_parametre_id_seq OWNED BY public.unicaen_parametre_parametre.id;
 
 
-ALTER TABLE public.these_annee_univ_id_seq OWNER TO :dbuser;
+--
+-- Name: unicaen_renderer_macro; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.unicaen_renderer_macro (
+    id integer NOT NULL,
+    code character varying(256) NOT NULL,
+    description text,
+    variable_name character varying(256) NOT NULL,
+    methode_name character varying(256) NOT NULL
+);
+
+
+ALTER TABLE public.unicaen_renderer_macro OWNER TO :dbuser;
 
 --
--- Name: these_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: unicaen_renderer_macro_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.these_id_seq
-    START WITH 49453
+CREATE SEQUENCE public.unicaen_renderer_macro_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.these_id_seq OWNER TO :dbuser;
+ALTER TABLE public.unicaen_renderer_macro_id_seq OWNER TO :dbuser;
 
 --
--- Name: titre_acces; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: unicaen_renderer_macro_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.titre_acces (
-    id bigint NOT NULL,
-    source_code character varying(64) NOT NULL,
-    source_id bigint NOT NULL,
-    these_id bigint,
-    titre_acces_interne_externe character varying(1),
-    libelle_titre_acces character varying(200),
-    type_etb_titre_acces character varying(50),
-    libelle_etb_titre_acces character varying(200),
-    code_dept_titre_acces character varying(20),
-    code_pays_titre_acces character varying(20),
-    histo_createur_id bigint NOT NULL,
-    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
-    histo_modificateur_id bigint,
-    histo_modification timestamp without time zone,
-    histo_destructeur_id bigint,
-    histo_destruction timestamp without time zone
+ALTER SEQUENCE public.unicaen_renderer_macro_id_seq OWNED BY public.unicaen_renderer_macro.id;
+
+
+--
+-- Name: unicaen_renderer_rendu; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.unicaen_renderer_rendu (
+    id integer NOT NULL,
+    template_id integer,
+    date_generation timestamp without time zone NOT NULL,
+    sujet text NOT NULL,
+    corps text NOT NULL
 );
 
 
-ALTER TABLE public.titre_acces OWNER TO :dbuser;
+ALTER TABLE public.unicaen_renderer_rendu OWNER TO :dbuser;
 
 --
--- Name: titre_acces_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: unicaen_renderer_rendu_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.titre_acces_id_seq
-    START WITH 17881
+CREATE SEQUENCE public.unicaen_renderer_rendu_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.titre_acces_id_seq OWNER TO :dbuser;
+ALTER TABLE public.unicaen_renderer_rendu_id_seq OWNER TO :dbuser;
 
 --
--- Name: type_rapport; Type: TABLE; Schema: public; Owner: :dbuser
+-- Name: unicaen_renderer_rendu_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
 --
 
-CREATE TABLE public.type_rapport (
-    id bigint NOT NULL,
-    code character varying(50) NOT NULL,
-    libelle_court character varying(64) NOT NULL,
-    libelle_long character varying(128) NOT NULL
+ALTER SEQUENCE public.unicaen_renderer_rendu_id_seq OWNED BY public.unicaen_renderer_rendu.id;
+
+
+--
+-- Name: unicaen_renderer_template; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.unicaen_renderer_template (
+    id integer NOT NULL,
+    code character varying(256) NOT NULL,
+    description text,
+    document_type character varying(256) NOT NULL,
+    document_sujet text NOT NULL,
+    document_corps text NOT NULL,
+    document_css text,
+    namespace character varying(256)
 );
 
 
-ALTER TABLE public.type_rapport OWNER TO :dbuser;
+ALTER TABLE public.unicaen_renderer_template OWNER TO :dbuser;
 
 --
--- Name: type_validation_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
+-- Name: unicaen_renderer_template_id_seq; Type: SEQUENCE; Schema: public; Owner: :dbuser
 --
 
-CREATE SEQUENCE public.type_validation_id_seq
-    START WITH 21
+CREATE SEQUENCE public.unicaen_renderer_template_id_seq
+    START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
-    CACHE 20;
+    CACHE 1;
 
 
-ALTER TABLE public.type_validation_id_seq OWNER TO :dbuser;
+ALTER TABLE public.unicaen_renderer_template_id_seq OWNER TO :dbuser;
+
+--
+-- Name: unicaen_renderer_template_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: :dbuser
+--
+
+ALTER SEQUENCE public.unicaen_renderer_template_id_seq OWNED BY public.unicaen_renderer_template.id;
+
 
 --
 -- Name: unite_domaine_linker; Type: TABLE; Schema: public; Owner: :dbuser
@@ -3253,7 +5457,9 @@ CREATE TABLE public.utilisateur (
     last_role_id bigint,
     individu_id bigint,
     password_reset_token character varying(256),
-    created_at timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone
+    created_at timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
+    nom character varying(128),
+    prenom character varying(128)
 );
 
 
@@ -3295,6 +5501,10 @@ CREATE VIEW public.v_diff_acteur AS
                     WHEN ((s.source_code IS NULL) AND (d.source_code IS NOT NULL) AND ((d.histo_destruction IS NULL) OR (d.histo_destruction > ('now'::text)::timestamp(0) without time zone))) THEN 'delete'::text
                     ELSE NULL::text
                 END AS operation,
+                CASE
+                    WHEN ((d.source_id <> s.source_id) OR ((d.source_id IS NULL) AND (s.source_id IS NOT NULL)) OR ((d.source_id IS NOT NULL) AND (s.source_id IS NULL))) THEN 1
+                    ELSE 0
+                END AS u_source_id,
                 CASE
                     WHEN ((d.individu_id <> s.individu_id) OR ((d.individu_id IS NULL) AND (s.individu_id IS NOT NULL)) OR ((d.individu_id IS NOT NULL) AND (s.individu_id IS NULL))) THEN 1
                     ELSE 0
@@ -3319,12 +5529,14 @@ CREATE VIEW public.v_diff_acteur AS
                     WHEN (((d.lib_role_compl)::text <> (s.lib_role_compl)::text) OR ((d.lib_role_compl IS NULL) AND (s.lib_role_compl IS NOT NULL)) OR ((d.lib_role_compl IS NOT NULL) AND (s.lib_role_compl IS NULL))) THEN 1
                     ELSE 0
                 END AS u_lib_role_compl,
+            s.source_id AS s_source_id,
             s.individu_id AS s_individu_id,
             s.these_id AS s_these_id,
             s.role_id AS s_role_id,
             s.acteur_etablissement_id AS s_acteur_etablissement_id,
             s.qualite AS s_qualite,
             s.lib_role_compl AS s_lib_role_compl,
+            d.source_id AS d_source_id,
             d.individu_id AS d_individu_id,
             d.these_id AS d_these_id,
             d.role_id AS d_role_id,
@@ -3338,18 +5550,21 @@ CREATE VIEW public.v_diff_acteur AS
  SELECT diff.source_code,
     diff.source_id,
     diff.operation,
+    diff.u_source_id,
     diff.u_individu_id,
     diff.u_these_id,
     diff.u_role_id,
     diff.u_acteur_etablissement_id,
     diff.u_qualite,
     diff.u_lib_role_compl,
+    diff.s_source_id,
     diff.s_individu_id,
     diff.s_these_id,
     diff.s_role_id,
     diff.s_acteur_etablissement_id,
     diff.s_qualite,
     diff.s_lib_role_compl,
+    diff.d_source_id,
     diff.d_individu_id,
     diff.d_these_id,
     diff.d_role_id,
@@ -3357,7 +5572,7 @@ CREATE VIEW public.v_diff_acteur AS
     diff.d_qualite,
     diff.d_lib_role_compl
    FROM diff
-  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < (((((diff.u_individu_id + diff.u_these_id) + diff.u_role_id) + diff.u_acteur_etablissement_id) + diff.u_qualite) + diff.u_lib_role_compl))));
+  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < ((((((diff.u_source_id + diff.u_individu_id) + diff.u_these_id) + diff.u_role_id) + diff.u_acteur_etablissement_id) + diff.u_qualite) + diff.u_lib_role_compl))));
 
 
 ALTER TABLE public.v_diff_acteur OWNER TO :dbuser;
@@ -3381,6 +5596,10 @@ CREATE VIEW public.v_diff_doctorant AS
                     WHEN (((d.ine)::text <> (s.ine)::text) OR ((d.ine IS NULL) AND (s.ine IS NOT NULL)) OR ((d.ine IS NOT NULL) AND (s.ine IS NULL))) THEN 1
                     ELSE 0
                 END AS u_ine,
+                CASE
+                    WHEN ((d.source_id <> s.source_id) OR ((d.source_id IS NULL) AND (s.source_id IS NOT NULL)) OR ((d.source_id IS NOT NULL) AND (s.source_id IS NULL))) THEN 1
+                    ELSE 0
+                END AS u_source_id,
                 CASE
                     WHEN ((d.individu_id <> s.individu_id) OR ((d.individu_id IS NULL) AND (s.individu_id IS NOT NULL)) OR ((d.individu_id IS NOT NULL) AND (s.individu_id IS NULL))) THEN 1
                     ELSE 0
@@ -3390,9 +5609,11 @@ CREATE VIEW public.v_diff_doctorant AS
                     ELSE 0
                 END AS u_etablissement_id,
             s.ine AS s_ine,
+            s.source_id AS s_source_id,
             s.individu_id AS s_individu_id,
             s.etablissement_id AS s_etablissement_id,
             d.ine AS d_ine,
+            d.source_id AS d_source_id,
             d.individu_id AS d_individu_id,
             d.etablissement_id AS d_etablissement_id
            FROM ((public.doctorant d
@@ -3403,16 +5624,19 @@ CREATE VIEW public.v_diff_doctorant AS
     diff.source_id,
     diff.operation,
     diff.u_ine,
+    diff.u_source_id,
     diff.u_individu_id,
     diff.u_etablissement_id,
     diff.s_ine,
+    diff.s_source_id,
     diff.s_individu_id,
     diff.s_etablissement_id,
     diff.d_ine,
+    diff.d_source_id,
     diff.d_individu_id,
     diff.d_etablissement_id
    FROM diff
-  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < ((diff.u_ine + diff.u_individu_id) + diff.u_etablissement_id))));
+  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < (((diff.u_ine + diff.u_source_id) + diff.u_individu_id) + diff.u_etablissement_id))));
 
 
 ALTER TABLE public.v_diff_doctorant OWNER TO :dbuser;
@@ -3432,11 +5656,17 @@ CREATE VIEW public.v_diff_ecole_doct AS
                     WHEN ((s.source_code IS NULL) AND (d.source_code IS NOT NULL) AND ((d.histo_destruction IS NULL) OR (d.histo_destruction > ('now'::text)::timestamp(0) without time zone))) THEN 'delete'::text
                     ELSE NULL::text
                 END AS operation,
+                CASE
+                    WHEN ((d.source_id <> s.source_id) OR ((d.source_id IS NULL) AND (s.source_id IS NOT NULL)) OR ((d.source_id IS NOT NULL) AND (s.source_id IS NULL))) THEN 1
+                    ELSE 0
+                END AS u_source_id,
                 CASE
                     WHEN ((d.structure_id <> s.structure_id) OR ((d.structure_id IS NULL) AND (s.structure_id IS NOT NULL)) OR ((d.structure_id IS NOT NULL) AND (s.structure_id IS NULL))) THEN 1
                     ELSE 0
                 END AS u_structure_id,
+            s.source_id AS s_source_id,
             s.structure_id AS s_structure_id,
+            d.source_id AS d_source_id,
             d.structure_id AS d_structure_id
            FROM ((public.ecole_doct d
              JOIN public.source src ON (((src.id = d.source_id) AND (src.importable = true))))
@@ -3445,11 +5675,14 @@ CREATE VIEW public.v_diff_ecole_doct AS
  SELECT diff.source_code,
     diff.source_id,
     diff.operation,
+    diff.u_source_id,
     diff.u_structure_id,
+    diff.s_source_id,
     diff.s_structure_id,
+    diff.d_source_id,
     diff.d_structure_id
    FROM diff
-  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < diff.u_structure_id)));
+  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < (diff.u_source_id + diff.u_structure_id))));
 
 
 ALTER TABLE public.v_diff_ecole_doct OWNER TO :dbuser;
@@ -3470,16 +5703,16 @@ CREATE VIEW public.v_diff_etablissement AS
                     ELSE NULL::text
                 END AS operation,
                 CASE
-                    WHEN (((d.code)::text <> (s.code)::text) OR ((d.code IS NULL) AND (s.code IS NOT NULL)) OR ((d.code IS NOT NULL) AND (s.code IS NULL))) THEN 1
+                    WHEN ((d.source_id <> s.source_id) OR ((d.source_id IS NULL) AND (s.source_id IS NOT NULL)) OR ((d.source_id IS NOT NULL) AND (s.source_id IS NULL))) THEN 1
                     ELSE 0
-                END AS u_code,
+                END AS u_source_id,
                 CASE
                     WHEN ((d.structure_id <> s.structure_id) OR ((d.structure_id IS NULL) AND (s.structure_id IS NOT NULL)) OR ((d.structure_id IS NOT NULL) AND (s.structure_id IS NULL))) THEN 1
                     ELSE 0
                 END AS u_structure_id,
-            s.code AS s_code,
+            s.source_id AS s_source_id,
             s.structure_id AS s_structure_id,
-            d.code AS d_code,
+            d.source_id AS d_source_id,
             d.structure_id AS d_structure_id
            FROM ((public.etablissement d
              JOIN public.source src ON (((src.id = d.source_id) AND (src.importable = true))))
@@ -3488,14 +5721,14 @@ CREATE VIEW public.v_diff_etablissement AS
  SELECT diff.source_code,
     diff.source_id,
     diff.operation,
-    diff.u_code,
+    diff.u_source_id,
     diff.u_structure_id,
-    diff.s_code,
+    diff.s_source_id,
     diff.s_structure_id,
-    diff.d_code,
+    diff.d_source_id,
     diff.d_structure_id
    FROM diff
-  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < (diff.u_code + diff.u_structure_id))));
+  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < (diff.u_source_id + diff.u_structure_id))));
 
 
 ALTER TABLE public.v_diff_etablissement OWNER TO :dbuser;
@@ -3515,6 +5748,10 @@ CREATE VIEW public.v_diff_financement AS
                     WHEN ((s.source_code IS NULL) AND (d.source_code IS NOT NULL) AND ((d.histo_destruction IS NULL) OR (d.histo_destruction > ('now'::text)::timestamp(0) without time zone))) THEN 'delete'::text
                     ELSE NULL::text
                 END AS operation,
+                CASE
+                    WHEN ((d.source_id <> s.source_id) OR ((d.source_id IS NULL) AND (s.source_id IS NOT NULL)) OR ((d.source_id IS NOT NULL) AND (s.source_id IS NULL))) THEN 1
+                    ELSE 0
+                END AS u_source_id,
                 CASE
                     WHEN ((d.these_id <> s.these_id) OR ((d.these_id IS NULL) AND (s.these_id IS NOT NULL)) OR ((d.these_id IS NOT NULL) AND (s.these_id IS NULL))) THEN 1
                     ELSE 0
@@ -3551,6 +5788,7 @@ CREATE VIEW public.v_diff_financement AS
                     WHEN (((d.libelle_type_financement)::text <> (s.libelle_type_financement)::text) OR ((d.libelle_type_financement IS NULL) AND (s.libelle_type_financement IS NOT NULL)) OR ((d.libelle_type_financement IS NOT NULL) AND (s.libelle_type_financement IS NULL))) THEN 1
                     ELSE 0
                 END AS u_libelle_type_financement,
+            s.source_id AS s_source_id,
             s.these_id AS s_these_id,
             s.annee AS s_annee,
             s.origine_financement_id AS s_origine_financement_id,
@@ -3560,6 +5798,7 @@ CREATE VIEW public.v_diff_financement AS
             s.date_fin AS s_date_fin,
             s.code_type_financement AS s_code_type_financement,
             s.libelle_type_financement AS s_libelle_type_financement,
+            d.source_id AS d_source_id,
             d.these_id AS d_these_id,
             d.annee AS d_annee,
             d.origine_financement_id AS d_origine_financement_id,
@@ -3576,6 +5815,7 @@ CREATE VIEW public.v_diff_financement AS
  SELECT diff.source_code,
     diff.source_id,
     diff.operation,
+    diff.u_source_id,
     diff.u_these_id,
     diff.u_annee,
     diff.u_origine_financement_id,
@@ -3585,6 +5825,7 @@ CREATE VIEW public.v_diff_financement AS
     diff.u_date_fin,
     diff.u_code_type_financement,
     diff.u_libelle_type_financement,
+    diff.s_source_id,
     diff.s_these_id,
     diff.s_annee,
     diff.s_origine_financement_id,
@@ -3594,6 +5835,7 @@ CREATE VIEW public.v_diff_financement AS
     diff.s_date_fin,
     diff.s_code_type_financement,
     diff.s_libelle_type_financement,
+    diff.d_source_id,
     diff.d_these_id,
     diff.d_annee,
     diff.d_origine_financement_id,
@@ -3604,7 +5846,7 @@ CREATE VIEW public.v_diff_financement AS
     diff.d_code_type_financement,
     diff.d_libelle_type_financement
    FROM diff
-  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < ((((((((diff.u_these_id + diff.u_annee) + diff.u_origine_financement_id) + diff.u_complement_financement) + diff.u_quotite_financement) + diff.u_date_debut) + diff.u_date_fin) + diff.u_code_type_financement) + diff.u_libelle_type_financement))));
+  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < (((((((((diff.u_source_id + diff.u_these_id) + diff.u_annee) + diff.u_origine_financement_id) + diff.u_complement_financement) + diff.u_quotite_financement) + diff.u_date_debut) + diff.u_date_fin) + diff.u_code_type_financement) + diff.u_libelle_type_financement))));
 
 
 ALTER TABLE public.v_diff_financement OWNER TO :dbuser;
@@ -3624,6 +5866,10 @@ CREATE VIEW public.v_diff_individu AS
                     WHEN ((s.source_code IS NULL) AND (d.source_code IS NOT NULL) AND ((d.histo_destruction IS NULL) OR (d.histo_destruction > ('now'::text)::timestamp(0) without time zone))) THEN 'delete'::text
                     ELSE NULL::text
                 END AS operation,
+                CASE
+                    WHEN ((d.source_id <> s.source_id) OR ((d.source_id IS NULL) AND (s.source_id IS NOT NULL)) OR ((d.source_id IS NOT NULL) AND (s.source_id IS NULL))) THEN 1
+                    ELSE 0
+                END AS u_source_id,
                 CASE
                     WHEN (((d.type)::text <> (s.type)::text) OR ((d.type IS NULL) AND (s.type IS NOT NULL)) OR ((d.type IS NOT NULL) AND (s.type IS NULL))) THEN 1
                     ELSE 0
@@ -3668,6 +5914,11 @@ CREATE VIEW public.v_diff_individu AS
                     WHEN (((d.nationalite)::text <> (s.nationalite)::text) OR ((d.nationalite IS NULL) AND (s.nationalite IS NOT NULL)) OR ((d.nationalite IS NOT NULL) AND (s.nationalite IS NULL))) THEN 1
                     ELSE 0
                 END AS u_nationalite,
+                CASE
+                    WHEN ((d.pays_id_nationalite <> s.pays_id_nationalite) OR ((d.pays_id_nationalite IS NULL) AND (s.pays_id_nationalite IS NOT NULL)) OR ((d.pays_id_nationalite IS NOT NULL) AND (s.pays_id_nationalite IS NULL))) THEN 1
+                    ELSE 0
+                END AS u_pays_id_nationalite,
+            s.source_id AS s_source_id,
             s.type AS s_type,
             s.supann_id AS s_supann_id,
             s.civilite AS s_civilite,
@@ -3679,6 +5930,8 @@ CREATE VIEW public.v_diff_individu AS
             s.email AS s_email,
             s.date_naissance AS s_date_naissance,
             s.nationalite AS s_nationalite,
+            s.pays_id_nationalite AS s_pays_id_nationalite,
+            d.source_id AS d_source_id,
             d.type AS d_type,
             d.supann_id AS d_supann_id,
             d.civilite AS d_civilite,
@@ -3689,7 +5942,8 @@ CREATE VIEW public.v_diff_individu AS
             d.prenom3 AS d_prenom3,
             d.email AS d_email,
             d.date_naissance AS d_date_naissance,
-            d.nationalite AS d_nationalite
+            d.nationalite AS d_nationalite,
+            d.pays_id_nationalite AS d_pays_id_nationalite
            FROM ((public.individu d
              JOIN public.source src ON (((src.id = d.source_id) AND (src.importable = true))))
              FULL JOIN public.src_individu s ON (((s.source_id = d.source_id) AND ((s.source_code)::text = (d.source_code)::text))))
@@ -3697,6 +5951,7 @@ CREATE VIEW public.v_diff_individu AS
  SELECT diff.source_code,
     diff.source_id,
     diff.operation,
+    diff.u_source_id,
     diff.u_type,
     diff.u_supann_id,
     diff.u_civilite,
@@ -3708,6 +5963,8 @@ CREATE VIEW public.v_diff_individu AS
     diff.u_email,
     diff.u_date_naissance,
     diff.u_nationalite,
+    diff.u_pays_id_nationalite,
+    diff.s_source_id,
     diff.s_type,
     diff.s_supann_id,
     diff.s_civilite,
@@ -3719,6 +5976,8 @@ CREATE VIEW public.v_diff_individu AS
     diff.s_email,
     diff.s_date_naissance,
     diff.s_nationalite,
+    diff.s_pays_id_nationalite,
+    diff.d_source_id,
     diff.d_type,
     diff.d_supann_id,
     diff.d_civilite,
@@ -3729,9 +5988,10 @@ CREATE VIEW public.v_diff_individu AS
     diff.d_prenom3,
     diff.d_email,
     diff.d_date_naissance,
-    diff.d_nationalite
+    diff.d_nationalite,
+    diff.d_pays_id_nationalite
    FROM diff
-  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < ((((((((((diff.u_type + diff.u_supann_id) + diff.u_civilite) + diff.u_nom_usuel) + diff.u_nom_patronymique) + diff.u_prenom1) + diff.u_prenom2) + diff.u_prenom3) + diff.u_email) + diff.u_date_naissance) + diff.u_nationalite))));
+  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < ((((((((((((diff.u_source_id + diff.u_type) + diff.u_supann_id) + diff.u_civilite) + diff.u_nom_usuel) + diff.u_nom_patronymique) + diff.u_prenom1) + diff.u_prenom2) + diff.u_prenom3) + diff.u_email) + diff.u_date_naissance) + diff.u_nationalite) + diff.u_pays_id_nationalite))));
 
 
 ALTER TABLE public.v_diff_individu OWNER TO :dbuser;
@@ -3751,6 +6011,10 @@ CREATE VIEW public.v_diff_origine_financement AS
                     WHEN ((s.source_code IS NULL) AND (d.source_code IS NOT NULL) AND ((d.histo_destruction IS NULL) OR (d.histo_destruction > ('now'::text)::timestamp(0) without time zone))) THEN 'delete'::text
                     ELSE NULL::text
                 END AS operation,
+                CASE
+                    WHEN ((d.source_id <> s.source_id) OR ((d.source_id IS NULL) AND (s.source_id IS NOT NULL)) OR ((d.source_id IS NOT NULL) AND (s.source_id IS NULL))) THEN 1
+                    ELSE 0
+                END AS u_source_id,
                 CASE
                     WHEN (((d.code)::text <> (s.code)::text) OR ((d.code IS NULL) AND (s.code IS NOT NULL)) OR ((d.code IS NOT NULL) AND (s.code IS NULL))) THEN 1
                     ELSE 0
@@ -3763,9 +6027,11 @@ CREATE VIEW public.v_diff_origine_financement AS
                     WHEN (((d.libelle_long)::text <> (s.libelle_long)::text) OR ((d.libelle_long IS NULL) AND (s.libelle_long IS NOT NULL)) OR ((d.libelle_long IS NOT NULL) AND (s.libelle_long IS NULL))) THEN 1
                     ELSE 0
                 END AS u_libelle_long,
+            s.source_id AS s_source_id,
             s.code AS s_code,
             s.libelle_court AS s_libelle_court,
             s.libelle_long AS s_libelle_long,
+            d.source_id AS d_source_id,
             d.code AS d_code,
             d.libelle_court AS d_libelle_court,
             d.libelle_long AS d_libelle_long
@@ -3776,17 +6042,20 @@ CREATE VIEW public.v_diff_origine_financement AS
  SELECT diff.source_code,
     diff.source_id,
     diff.operation,
+    diff.u_source_id,
     diff.u_code,
     diff.u_libelle_court,
     diff.u_libelle_long,
+    diff.s_source_id,
     diff.s_code,
     diff.s_libelle_court,
     diff.s_libelle_long,
+    diff.d_source_id,
     diff.d_code,
     diff.d_libelle_court,
     diff.d_libelle_long
    FROM diff
-  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < ((diff.u_code + diff.u_libelle_court) + diff.u_libelle_long))));
+  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < (((diff.u_source_id + diff.u_code) + diff.u_libelle_court) + diff.u_libelle_long))));
 
 
 ALTER TABLE public.v_diff_origine_financement OWNER TO :dbuser;
@@ -3806,12 +6075,16 @@ CREATE VIEW public.v_diff_role AS
                     WHEN ((s.source_code IS NULL) AND (d.source_code IS NOT NULL) AND ((d.histo_destruction IS NULL) OR (d.histo_destruction > ('now'::text)::timestamp(0) without time zone))) THEN 'delete'::text
                     ELSE NULL::text
                 END AS operation,
+                CASE
+                    WHEN ((d.source_id <> s.source_id) OR ((d.source_id IS NULL) AND (s.source_id IS NOT NULL)) OR ((d.source_id IS NOT NULL) AND (s.source_id IS NULL))) THEN 1
+                    ELSE 0
+                END AS u_source_id,
                 CASE
                     WHEN (((d.libelle)::text <> (s.libelle)::text) OR ((d.libelle IS NULL) AND (s.libelle IS NOT NULL)) OR ((d.libelle IS NOT NULL) AND (s.libelle IS NULL))) THEN 1
                     ELSE 0
                 END AS u_libelle,
                 CASE
-                    WHEN (((d.code)::text <> (s.code)::text) OR ((d.code IS NULL) AND (s.code IS NOT NULL)) OR ((d.code IS NOT NULL) AND (s.code IS NULL))) THEN 1
+                    WHEN (((d.code)::text <> s.code) OR ((d.code IS NULL) AND (s.code IS NOT NULL)) OR ((d.code IS NOT NULL) AND (s.code IS NULL))) THEN 1
                     ELSE 0
                 END AS u_code,
                 CASE
@@ -3830,12 +6103,14 @@ CREATE VIEW public.v_diff_role AS
                     WHEN ((d.type_structure_dependant_id <> s.type_structure_dependant_id) OR ((d.type_structure_dependant_id IS NULL) AND (s.type_structure_dependant_id IS NOT NULL)) OR ((d.type_structure_dependant_id IS NOT NULL) AND (s.type_structure_dependant_id IS NULL))) THEN 1
                     ELSE 0
                 END AS u_type_structure_dependant_id,
+            s.source_id AS s_source_id,
             s.libelle AS s_libelle,
             s.code AS s_code,
             s.role_id AS s_role_id,
             s.these_dep AS s_these_dep,
             s.structure_id AS s_structure_id,
             s.type_structure_dependant_id AS s_type_structure_dependant_id,
+            d.source_id AS d_source_id,
             d.libelle AS d_libelle,
             d.code AS d_code,
             d.role_id AS d_role_id,
@@ -3849,18 +6124,21 @@ CREATE VIEW public.v_diff_role AS
  SELECT diff.source_code,
     diff.source_id,
     diff.operation,
+    diff.u_source_id,
     diff.u_libelle,
     diff.u_code,
     diff.u_role_id,
     diff.u_these_dep,
     diff.u_structure_id,
     diff.u_type_structure_dependant_id,
+    diff.s_source_id,
     diff.s_libelle,
     diff.s_code,
     diff.s_role_id,
     diff.s_these_dep,
     diff.s_structure_id,
     diff.s_type_structure_dependant_id,
+    diff.d_source_id,
     diff.d_libelle,
     diff.d_code,
     diff.d_role_id,
@@ -3868,7 +6146,7 @@ CREATE VIEW public.v_diff_role AS
     diff.d_structure_id,
     diff.d_type_structure_dependant_id
    FROM diff
-  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < (((((diff.u_libelle + diff.u_code) + diff.u_role_id) + diff.u_these_dep) + diff.u_structure_id) + diff.u_type_structure_dependant_id))));
+  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < ((((((diff.u_source_id + diff.u_libelle) + diff.u_code) + diff.u_role_id) + diff.u_these_dep) + diff.u_structure_id) + diff.u_type_structure_dependant_id))));
 
 
 ALTER TABLE public.v_diff_role OWNER TO :dbuser;
@@ -3889,9 +6167,13 @@ CREATE VIEW public.v_diff_structure AS
                     ELSE NULL::text
                 END AS operation,
                 CASE
-                    WHEN (((d.code)::text <> (s.code)::text) OR ((d.code IS NULL) AND (s.code IS NOT NULL)) OR ((d.code IS NOT NULL) AND (s.code IS NULL))) THEN 1
+                    WHEN (((d.code)::text <> s.code) OR ((d.code IS NULL) AND (s.code IS NOT NULL)) OR ((d.code IS NOT NULL) AND (s.code IS NULL))) THEN 1
                     ELSE 0
                 END AS u_code,
+                CASE
+                    WHEN ((d.source_id <> s.source_id) OR ((d.source_id IS NULL) AND (s.source_id IS NOT NULL)) OR ((d.source_id IS NOT NULL) AND (s.source_id IS NULL))) THEN 1
+                    ELSE 0
+                END AS u_source_id,
                 CASE
                     WHEN ((d.type_structure_id <> s.type_structure_id) OR ((d.type_structure_id IS NULL) AND (s.type_structure_id IS NOT NULL)) OR ((d.type_structure_id IS NOT NULL) AND (s.type_structure_id IS NULL))) THEN 1
                     ELSE 0
@@ -3905,10 +6187,12 @@ CREATE VIEW public.v_diff_structure AS
                     ELSE 0
                 END AS u_libelle,
             s.code AS s_code,
+            s.source_id AS s_source_id,
             s.type_structure_id AS s_type_structure_id,
             s.sigle AS s_sigle,
             s.libelle AS s_libelle,
             d.code AS d_code,
+            d.source_id AS d_source_id,
             d.type_structure_id AS d_type_structure_id,
             d.sigle AS d_sigle,
             d.libelle AS d_libelle
@@ -3920,19 +6204,22 @@ CREATE VIEW public.v_diff_structure AS
     diff.source_id,
     diff.operation,
     diff.u_code,
+    diff.u_source_id,
     diff.u_type_structure_id,
     diff.u_sigle,
     diff.u_libelle,
     diff.s_code,
+    diff.s_source_id,
     diff.s_type_structure_id,
     diff.s_sigle,
     diff.s_libelle,
     diff.d_code,
+    diff.d_source_id,
     diff.d_type_structure_id,
     diff.d_sigle,
     diff.d_libelle
    FROM diff
-  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < (((diff.u_code + diff.u_type_structure_id) + diff.u_sigle) + diff.u_libelle))));
+  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < ((((diff.u_code + diff.u_source_id) + diff.u_type_structure_id) + diff.u_sigle) + diff.u_libelle))));
 
 
 ALTER TABLE public.v_diff_structure OWNER TO :dbuser;
@@ -3952,6 +6239,10 @@ CREATE VIEW public.v_diff_these AS
                     WHEN ((s.source_code IS NULL) AND (d.source_code IS NOT NULL) AND ((d.histo_destruction IS NULL) OR (d.histo_destruction > ('now'::text)::timestamp(0) without time zone))) THEN 'delete'::text
                     ELSE NULL::text
                 END AS operation,
+                CASE
+                    WHEN ((d.source_id <> s.source_id) OR ((d.source_id IS NULL) AND (s.source_id IS NOT NULL)) OR ((d.source_id IS NOT NULL) AND (s.source_id IS NULL))) THEN 1
+                    ELSE 0
+                END AS u_source_id,
                 CASE
                     WHEN ((d.etablissement_id <> s.etablissement_id) OR ((d.etablissement_id IS NULL) AND (s.etablissement_id IS NOT NULL)) OR ((d.etablissement_id IS NOT NULL) AND (s.etablissement_id IS NULL))) THEN 1
                     ELSE 0
@@ -3980,6 +6271,10 @@ CREATE VIEW public.v_diff_these AS
                     WHEN (((d.resultat)::numeric <> s.resultat) OR ((d.resultat IS NULL) AND (s.resultat IS NOT NULL)) OR ((d.resultat IS NOT NULL) AND (s.resultat IS NULL))) THEN 1
                     ELSE 0
                 END AS u_resultat,
+                CASE
+                    WHEN (((d.code_sise_disc)::text <> (s.code_sise_disc)::text) OR ((d.code_sise_disc IS NULL) AND (s.code_sise_disc IS NOT NULL)) OR ((d.code_sise_disc IS NOT NULL) AND (s.code_sise_disc IS NULL))) THEN 1
+                    ELSE 0
+                END AS u_code_sise_disc,
                 CASE
                     WHEN (((d.lib_disc)::text <> (s.lib_disc)::text) OR ((d.lib_disc IS NULL) AND (s.lib_disc IS NOT NULL)) OR ((d.lib_disc IS NOT NULL) AND (s.lib_disc IS NULL))) THEN 1
                     ELSE 0
@@ -4036,6 +6331,7 @@ CREATE VIEW public.v_diff_these AS
                     WHEN ((d.date_transfert <> s.date_transfert) OR ((d.date_transfert IS NULL) AND (s.date_transfert IS NOT NULL)) OR ((d.date_transfert IS NOT NULL) AND (s.date_transfert IS NULL))) THEN 1
                     ELSE 0
                 END AS u_date_transfert,
+            s.source_id AS s_source_id,
             s.etablissement_id AS s_etablissement_id,
             s.doctorant_id AS s_doctorant_id,
             s.ecole_doct_id AS s_ecole_doct_id,
@@ -4043,6 +6339,7 @@ CREATE VIEW public.v_diff_these AS
             s.titre AS s_titre,
             s.etat_these AS s_etat_these,
             s.resultat AS s_resultat,
+            s.code_sise_disc AS s_code_sise_disc,
             s.lib_disc AS s_lib_disc,
             s.date_prem_insc AS s_date_prem_insc,
             s.date_prev_soutenance AS s_date_prev_soutenance,
@@ -4057,6 +6354,7 @@ CREATE VIEW public.v_diff_these AS
             s.tem_avenant_cotut AS s_tem_avenant_cotut,
             s.date_abandon AS s_date_abandon,
             s.date_transfert AS s_date_transfert,
+            d.source_id AS d_source_id,
             d.etablissement_id AS d_etablissement_id,
             d.doctorant_id AS d_doctorant_id,
             d.ecole_doct_id AS d_ecole_doct_id,
@@ -4064,6 +6362,7 @@ CREATE VIEW public.v_diff_these AS
             d.titre AS d_titre,
             d.etat_these AS d_etat_these,
             d.resultat AS d_resultat,
+            d.code_sise_disc AS d_code_sise_disc,
             d.lib_disc AS d_lib_disc,
             d.date_prem_insc AS d_date_prem_insc,
             d.date_prev_soutenance AS d_date_prev_soutenance,
@@ -4085,6 +6384,7 @@ CREATE VIEW public.v_diff_these AS
  SELECT diff.source_code,
     diff.source_id,
     diff.operation,
+    diff.u_source_id,
     diff.u_etablissement_id,
     diff.u_doctorant_id,
     diff.u_ecole_doct_id,
@@ -4092,6 +6392,7 @@ CREATE VIEW public.v_diff_these AS
     diff.u_titre,
     diff.u_etat_these,
     diff.u_resultat,
+    diff.u_code_sise_disc,
     diff.u_lib_disc,
     diff.u_date_prem_insc,
     diff.u_date_prev_soutenance,
@@ -4106,6 +6407,7 @@ CREATE VIEW public.v_diff_these AS
     diff.u_tem_avenant_cotut,
     diff.u_date_abandon,
     diff.u_date_transfert,
+    diff.s_source_id,
     diff.s_etablissement_id,
     diff.s_doctorant_id,
     diff.s_ecole_doct_id,
@@ -4113,6 +6415,7 @@ CREATE VIEW public.v_diff_these AS
     diff.s_titre,
     diff.s_etat_these,
     diff.s_resultat,
+    diff.s_code_sise_disc,
     diff.s_lib_disc,
     diff.s_date_prem_insc,
     diff.s_date_prev_soutenance,
@@ -4127,6 +6430,7 @@ CREATE VIEW public.v_diff_these AS
     diff.s_tem_avenant_cotut,
     diff.s_date_abandon,
     diff.s_date_transfert,
+    diff.d_source_id,
     diff.d_etablissement_id,
     diff.d_doctorant_id,
     diff.d_ecole_doct_id,
@@ -4134,6 +6438,7 @@ CREATE VIEW public.v_diff_these AS
     diff.d_titre,
     diff.d_etat_these,
     diff.d_resultat,
+    diff.d_code_sise_disc,
     diff.d_lib_disc,
     diff.d_date_prem_insc,
     diff.d_date_prev_soutenance,
@@ -4149,7 +6454,7 @@ CREATE VIEW public.v_diff_these AS
     diff.d_date_abandon,
     diff.d_date_transfert
    FROM diff
-  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < ((((((((((((((((((((diff.u_etablissement_id + diff.u_doctorant_id) + diff.u_ecole_doct_id) + diff.u_unite_rech_id) + diff.u_titre) + diff.u_etat_these) + diff.u_resultat) + diff.u_lib_disc) + diff.u_date_prem_insc) + diff.u_date_prev_soutenance) + diff.u_date_soutenance) + diff.u_date_fin_confid) + diff.u_lib_etab_cotut) + diff.u_lib_pays_cotut) + diff.u_correc_autorisee) + diff.u_correc_effectuee) + diff.u_soutenance_autoris) + diff.u_date_autoris_soutenance) + diff.u_tem_avenant_cotut) + diff.u_date_abandon) + diff.u_date_transfert))));
+  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < ((((((((((((((((((((((diff.u_source_id + diff.u_etablissement_id) + diff.u_doctorant_id) + diff.u_ecole_doct_id) + diff.u_unite_rech_id) + diff.u_titre) + diff.u_etat_these) + diff.u_resultat) + diff.u_code_sise_disc) + diff.u_lib_disc) + diff.u_date_prem_insc) + diff.u_date_prev_soutenance) + diff.u_date_soutenance) + diff.u_date_fin_confid) + diff.u_lib_etab_cotut) + diff.u_lib_pays_cotut) + diff.u_correc_autorisee) + diff.u_correc_effectuee) + diff.u_soutenance_autoris) + diff.u_date_autoris_soutenance) + diff.u_tem_avenant_cotut) + diff.u_date_abandon) + diff.u_date_transfert))));
 
 
 ALTER TABLE public.v_diff_these OWNER TO :dbuser;
@@ -4169,6 +6474,10 @@ CREATE VIEW public.v_diff_these_annee_univ AS
                     WHEN ((s.source_code IS NULL) AND (d.source_code IS NOT NULL) AND ((d.histo_destruction IS NULL) OR (d.histo_destruction > ('now'::text)::timestamp(0) without time zone))) THEN 'delete'::text
                     ELSE NULL::text
                 END AS operation,
+                CASE
+                    WHEN ((d.source_id <> s.source_id) OR ((d.source_id IS NULL) AND (s.source_id IS NOT NULL)) OR ((d.source_id IS NOT NULL) AND (s.source_id IS NULL))) THEN 1
+                    ELSE 0
+                END AS u_source_id,
                 CASE
                     WHEN ((d.these_id <> s.these_id) OR ((d.these_id IS NULL) AND (s.these_id IS NOT NULL)) OR ((d.these_id IS NOT NULL) AND (s.these_id IS NULL))) THEN 1
                     ELSE 0
@@ -4177,8 +6486,10 @@ CREATE VIEW public.v_diff_these_annee_univ AS
                     WHEN ((d.annee_univ <> s.annee_univ) OR ((d.annee_univ IS NULL) AND (s.annee_univ IS NOT NULL)) OR ((d.annee_univ IS NOT NULL) AND (s.annee_univ IS NULL))) THEN 1
                     ELSE 0
                 END AS u_annee_univ,
+            s.source_id AS s_source_id,
             s.these_id AS s_these_id,
             s.annee_univ AS s_annee_univ,
+            d.source_id AS d_source_id,
             d.these_id AS d_these_id,
             d.annee_univ AS d_annee_univ
            FROM ((public.these_annee_univ d
@@ -4188,14 +6499,17 @@ CREATE VIEW public.v_diff_these_annee_univ AS
  SELECT diff.source_code,
     diff.source_id,
     diff.operation,
+    diff.u_source_id,
     diff.u_these_id,
     diff.u_annee_univ,
+    diff.s_source_id,
     diff.s_these_id,
     diff.s_annee_univ,
+    diff.d_source_id,
     diff.d_these_id,
     diff.d_annee_univ
    FROM diff
-  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < (diff.u_these_id + diff.u_annee_univ))));
+  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < ((diff.u_source_id + diff.u_these_id) + diff.u_annee_univ))));
 
 
 ALTER TABLE public.v_diff_these_annee_univ OWNER TO :dbuser;
@@ -4215,6 +6529,10 @@ CREATE VIEW public.v_diff_titre_acces AS
                     WHEN ((s.source_code IS NULL) AND (d.source_code IS NOT NULL) AND ((d.histo_destruction IS NULL) OR (d.histo_destruction > ('now'::text)::timestamp(0) without time zone))) THEN 'delete'::text
                     ELSE NULL::text
                 END AS operation,
+                CASE
+                    WHEN ((d.source_id <> s.source_id) OR ((d.source_id IS NULL) AND (s.source_id IS NOT NULL)) OR ((d.source_id IS NOT NULL) AND (s.source_id IS NULL))) THEN 1
+                    ELSE 0
+                END AS u_source_id,
                 CASE
                     WHEN ((d.these_id <> s.these_id) OR ((d.these_id IS NULL) AND (s.these_id IS NOT NULL)) OR ((d.these_id IS NOT NULL) AND (s.these_id IS NULL))) THEN 1
                     ELSE 0
@@ -4243,6 +6561,7 @@ CREATE VIEW public.v_diff_titre_acces AS
                     WHEN (((d.code_pays_titre_acces)::text <> (s.code_pays_titre_acces)::text) OR ((d.code_pays_titre_acces IS NULL) AND (s.code_pays_titre_acces IS NOT NULL)) OR ((d.code_pays_titre_acces IS NOT NULL) AND (s.code_pays_titre_acces IS NULL))) THEN 1
                     ELSE 0
                 END AS u_code_pays_titre_acces,
+            s.source_id AS s_source_id,
             s.these_id AS s_these_id,
             s.titre_acces_interne_externe AS s_titre_acces_interne_externe,
             s.libelle_titre_acces AS s_libelle_titre_acces,
@@ -4250,6 +6569,7 @@ CREATE VIEW public.v_diff_titre_acces AS
             s.libelle_etb_titre_acces AS s_libelle_etb_titre_acces,
             s.code_dept_titre_acces AS s_code_dept_titre_acces,
             s.code_pays_titre_acces AS s_code_pays_titre_acces,
+            d.source_id AS d_source_id,
             d.these_id AS d_these_id,
             d.titre_acces_interne_externe AS d_titre_acces_interne_externe,
             d.libelle_titre_acces AS d_libelle_titre_acces,
@@ -4264,6 +6584,7 @@ CREATE VIEW public.v_diff_titre_acces AS
  SELECT diff.source_code,
     diff.source_id,
     diff.operation,
+    diff.u_source_id,
     diff.u_these_id,
     diff.u_titre_acces_interne_externe,
     diff.u_libelle_titre_acces,
@@ -4271,6 +6592,7 @@ CREATE VIEW public.v_diff_titre_acces AS
     diff.u_libelle_etb_titre_acces,
     diff.u_code_dept_titre_acces,
     diff.u_code_pays_titre_acces,
+    diff.s_source_id,
     diff.s_these_id,
     diff.s_titre_acces_interne_externe,
     diff.s_libelle_titre_acces,
@@ -4278,6 +6600,7 @@ CREATE VIEW public.v_diff_titre_acces AS
     diff.s_libelle_etb_titre_acces,
     diff.s_code_dept_titre_acces,
     diff.s_code_pays_titre_acces,
+    diff.d_source_id,
     diff.d_these_id,
     diff.d_titre_acces_interne_externe,
     diff.d_libelle_titre_acces,
@@ -4286,7 +6609,7 @@ CREATE VIEW public.v_diff_titre_acces AS
     diff.d_code_dept_titre_acces,
     diff.d_code_pays_titre_acces
    FROM diff
-  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < ((((((diff.u_these_id + diff.u_titre_acces_interne_externe) + diff.u_libelle_titre_acces) + diff.u_type_etb_titre_acces) + diff.u_libelle_etb_titre_acces) + diff.u_code_dept_titre_acces) + diff.u_code_pays_titre_acces))));
+  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < (((((((diff.u_source_id + diff.u_these_id) + diff.u_titre_acces_interne_externe) + diff.u_libelle_titre_acces) + diff.u_type_etb_titre_acces) + diff.u_libelle_etb_titre_acces) + diff.u_code_dept_titre_acces) + diff.u_code_pays_titre_acces))));
 
 
 ALTER TABLE public.v_diff_titre_acces OWNER TO :dbuser;
@@ -4306,11 +6629,17 @@ CREATE VIEW public.v_diff_unite_rech AS
                     WHEN ((s.source_code IS NULL) AND (d.source_code IS NOT NULL) AND ((d.histo_destruction IS NULL) OR (d.histo_destruction > ('now'::text)::timestamp(0) without time zone))) THEN 'delete'::text
                     ELSE NULL::text
                 END AS operation,
+                CASE
+                    WHEN ((d.source_id <> s.source_id) OR ((d.source_id IS NULL) AND (s.source_id IS NOT NULL)) OR ((d.source_id IS NOT NULL) AND (s.source_id IS NULL))) THEN 1
+                    ELSE 0
+                END AS u_source_id,
                 CASE
                     WHEN ((d.structure_id <> s.structure_id) OR ((d.structure_id IS NULL) AND (s.structure_id IS NOT NULL)) OR ((d.structure_id IS NOT NULL) AND (s.structure_id IS NULL))) THEN 1
                     ELSE 0
                 END AS u_structure_id,
+            s.source_id AS s_source_id,
             s.structure_id AS s_structure_id,
+            d.source_id AS d_source_id,
             d.structure_id AS d_structure_id
            FROM ((public.unite_rech d
              JOIN public.source src ON (((src.id = d.source_id) AND (src.importable = true))))
@@ -4319,11 +6648,14 @@ CREATE VIEW public.v_diff_unite_rech AS
  SELECT diff.source_code,
     diff.source_id,
     diff.operation,
+    diff.u_source_id,
     diff.u_structure_id,
+    diff.s_source_id,
     diff.s_structure_id,
+    diff.d_source_id,
     diff.d_structure_id
    FROM diff
-  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < diff.u_structure_id)));
+  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < (diff.u_source_id + diff.u_structure_id))));
 
 
 ALTER TABLE public.v_diff_unite_rech OWNER TO :dbuser;
@@ -4375,6 +6707,10 @@ CREATE VIEW public.v_diff_variable AS
                     WHEN ((s.source_code IS NULL) AND (d.source_code IS NOT NULL) AND ((d.histo_destruction IS NULL) OR (d.histo_destruction > ('now'::text)::timestamp(0) without time zone))) THEN 'delete'::text
                     ELSE NULL::text
                 END AS operation,
+                CASE
+                    WHEN ((d.source_id <> s.source_id) OR ((d.source_id IS NULL) AND (s.source_id IS NOT NULL)) OR ((d.source_id IS NOT NULL) AND (s.source_id IS NULL))) THEN 1
+                    ELSE 0
+                END AS u_source_id,
                 CASE
                     WHEN ((d.etablissement_id <> s.etablissement_id) OR ((d.etablissement_id IS NULL) AND (s.etablissement_id IS NOT NULL)) OR ((d.etablissement_id IS NOT NULL) AND (s.etablissement_id IS NULL))) THEN 1
                     ELSE 0
@@ -4399,12 +6735,14 @@ CREATE VIEW public.v_diff_variable AS
                     WHEN ((d.date_fin_validite <> s.date_fin_validite) OR ((d.date_fin_validite IS NULL) AND (s.date_fin_validite IS NOT NULL)) OR ((d.date_fin_validite IS NOT NULL) AND (s.date_fin_validite IS NULL))) THEN 1
                     ELSE 0
                 END AS u_date_fin_validite,
+            s.source_id AS s_source_id,
             s.etablissement_id AS s_etablissement_id,
             s.code AS s_code,
             s.description AS s_description,
             s.valeur AS s_valeur,
             s.date_deb_validite AS s_date_deb_validite,
             s.date_fin_validite AS s_date_fin_validite,
+            d.source_id AS d_source_id,
             d.etablissement_id AS d_etablissement_id,
             d.code AS d_code,
             d.description AS d_description,
@@ -4418,18 +6756,21 @@ CREATE VIEW public.v_diff_variable AS
  SELECT diff.source_code,
     diff.source_id,
     diff.operation,
+    diff.u_source_id,
     diff.u_etablissement_id,
     diff.u_code,
     diff.u_description,
     diff.u_valeur,
     diff.u_date_deb_validite,
     diff.u_date_fin_validite,
+    diff.s_source_id,
     diff.s_etablissement_id,
     diff.s_code,
     diff.s_description,
     diff.s_valeur,
     diff.s_date_deb_validite,
     diff.s_date_fin_validite,
+    diff.d_source_id,
     diff.d_etablissement_id,
     diff.d_code,
     diff.d_description,
@@ -4437,11 +6778,55 @@ CREATE VIEW public.v_diff_variable AS
     diff.d_date_deb_validite,
     diff.d_date_fin_validite
    FROM diff
-  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < (((((diff.u_etablissement_id + diff.u_code) + diff.u_description) + diff.u_valeur) + diff.u_date_deb_validite) + diff.u_date_fin_validite))));
+  WHERE ((diff.operation IS NOT NULL) AND ((diff.operation = 'undelete'::text) OR (0 < ((((((diff.u_source_id + diff.u_etablissement_id) + diff.u_code) + diff.u_description) + diff.u_valeur) + diff.u_date_deb_validite) + diff.u_date_fin_validite))));
 
 
 ALTER TABLE public.v_diff_variable OWNER TO :dbuser;
 
+--
+-- Name: v_individu_insa_double; Type: VIEW; Schema: public; Owner: :dbuser
+--
+
+CREATE VIEW public.v_individu_insa_double AS
+ WITH comptes(supann_id, nb) AS (
+         SELECT individu.supann_id,
+            count(*) AS count
+           FROM public.individu
+          WHERE ((individu.source_id = 2) AND ((individu.type)::text = 'doctorant'::text))
+          GROUP BY individu.supann_id
+         HAVING (count(*) > 1)
+        )
+ SELECT comptes.nb,
+    i.id,
+    i.type,
+    i.civilite,
+    i.nom_usuel,
+    i.nom_patronymique,
+    i.prenom1,
+    i.prenom2,
+    i.prenom3,
+    i.email,
+    i.date_naissance,
+    i.nationalite,
+    i.source_code,
+    i.source_id,
+    i.histo_createur_id,
+    i.histo_creation,
+    i.histo_modificateur_id,
+    i.histo_modification,
+    i.histo_destructeur_id,
+    i.histo_destruction,
+    i.supann_id,
+    i.etablissement_id,
+    i.pays_id_nationalite,
+    i.id_ref
+   FROM comptes,
+    public.individu i
+  WHERE (((i.supann_id)::text = (comptes.supann_id)::text) AND (i.source_id = 2));
+
+
+ALTER TABLE public.v_individu_insa_double OWNER TO :dbuser;
+
 --
 -- Name: validite_fichier; Type: TABLE; Schema: public; Owner: :dbuser
 --
@@ -4463,19 +6848,6 @@ CREATE TABLE public.validite_fichier (
 
 ALTER TABLE public.validite_fichier OWNER TO :dbuser;
 
---
--- Name: version_fichier; Type: TABLE; Schema: public; Owner: :dbuser
---
-
-CREATE TABLE public.version_fichier (
-    id bigint NOT NULL,
-    code character varying(16) NOT NULL,
-    libelle character varying(128) NOT NULL
-);
-
-
-ALTER TABLE public.version_fichier OWNER TO :dbuser;
-
 --
 -- Name: v_situ_archivab_va; Type: VIEW; Schema: public; Owner: :dbuser
 --
@@ -4885,751 +7257,39 @@ ALTER TABLE public.v_situ_verif_vac OWNER TO :dbuser;
 CREATE VIEW public.v_situ_version_papier_corrigee AS
  SELECT v.these_id,
     v.id AS validation_id
-   FROM (public.validation v
-     JOIN public.type_validation tv ON ((tv.id = v.type_validation_id)))
-  WHERE ((tv.code)::text = 'VERSION_PAPIER_CORRIGEE'::text);
-
-
-ALTER TABLE public.v_situ_version_papier_corrigee OWNER TO :dbuser;
-
---
--- Name: v_these_annee_univ_first; Type: VIEW; Schema: public; Owner: :dbuser
---
-
-CREATE VIEW public.v_these_annee_univ_first AS
- WITH firsts(source_code) AS (
-         SELECT DISTINCT first_value(these_annee_univ.source_code) OVER (PARTITION BY these_annee_univ.these_id ORDER BY these_annee_univ.annee_univ) AS first_value
-           FROM public.these_annee_univ
-        )
- SELECT au.id,
-    au.source_code,
-    au.source_id,
-    au.these_id,
-    au.annee_univ,
-    au.histo_createur_id,
-    au.histo_creation,
-    au.histo_modificateur_id,
-    au.histo_modification,
-    au.histo_destructeur_id,
-    au.histo_destruction
-   FROM (public.these_annee_univ au
-     JOIN firsts fi ON (((au.source_code)::text = (fi.source_code)::text)));
-
-
-ALTER TABLE public.v_these_annee_univ_first OWNER TO :dbuser;
-
---
--- Name: v_tmp_anomalie; Type: VIEW; Schema: public; Owner: :dbuser
---
-
-CREATE VIEW public.v_tmp_anomalie AS
- WITH ds(etablissement_id, table_name, source_code, table_column, column_value, description) AS (
-         SELECT tmp.etablissement_id,
-            'TMP_ACTEUR'::text,
-            tmp.source_code,
-            'ETABLISSEMENT_ID'::text,
-            tmp.etablissement_id,
-            ('Aucun enregistrement existant dans ETABLISSEMENT avec CODE = '::text || (tmp.etablissement_id)::text)
-           FROM public.tmp_acteur tmp
-          WHERE (NOT (EXISTS ( SELECT t.id,
-                    t.sigle,
-                    t.libelle,
-                    t.chemin_logo,
-                    t.type_structure_id,
-                    t.histo_creation,
-                    t.histo_createur_id,
-                    t.histo_modification,
-                    t.histo_modificateur_id,
-                    t.histo_destruction,
-                    t.histo_destructeur_id,
-                    t.source_id,
-                    t.source_code,
-                    t.code,
-                    t.est_ferme,
-                    t.adresse,
-                    t.telephone,
-                    t.fax,
-                    t.email,
-                    t.site_web,
-                    t.id_ref
-                   FROM public.structure t
-                  WHERE ((t.code)::text = (tmp.etablissement_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_ACTEUR'::text,
-            tmp.source_code,
-            'SOURCE_ID'::text,
-            tmp.source_id,
-            ('Aucun enregistrement existant dans SOURCE avec CODE = '::text || (tmp.source_id)::text)
-           FROM public.tmp_acteur tmp
-          WHERE (NOT (EXISTS ( SELECT t.id,
-                    t.code,
-                    t.libelle,
-                    t.importable,
-                    t.etablissement_id
-                   FROM public.source t
-                  WHERE ((t.code)::text = (tmp.source_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_ACTEUR'::text,
-            tmp.source_code,
-            'INDIVIDU_ID'::text,
-            tmp.individu_id,
-            ('Aucun enregistrement existant dans TMP_INDIVIDU avec SOURCE_CODE = '::text || (tmp.individu_id)::text)
-           FROM public.tmp_acteur tmp
-          WHERE (NOT (EXISTS ( SELECT t.insert_date,
-                    t.id,
-                    t.etablissement_id,
-                    t.source_id,
-                    t.source_code,
-                    t.type,
-                    t.civ,
-                    t.lib_nom_usu_ind,
-                    t.lib_nom_pat_ind,
-                    t.lib_pr1_ind,
-                    t.lib_pr2_ind,
-                    t.lib_pr3_ind,
-                    t.email,
-                    t.dat_nai_per,
-                    t.lib_nat,
-                    t.supann_id,
-                    t.source_insert_date
-                   FROM public.tmp_individu t
-                  WHERE ((t.source_code)::text = (tmp.individu_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_ACTEUR'::text,
-            tmp.source_code,
-            'THESE_ID'::text,
-            tmp.these_id,
-            ('Aucun enregistrement existant dans TMP_THESE avec SOURCE_CODE = '::text || (tmp.these_id)::text)
-           FROM public.tmp_acteur tmp
-          WHERE (NOT (EXISTS ( SELECT t.insert_date,
-                    t.id,
-                    t.etablissement_id,
-                    t.source_id,
-                    t.source_code,
-                    t.doctorant_id,
-                    t.ecole_doct_id,
-                    t.unite_rech_id,
-                    t.correction_possible,
-                    t.dat_aut_sou_ths,
-                    t.dat_fin_cfd_ths,
-                    t.dat_deb_ths,
-                    t.dat_prev_sou,
-                    t.dat_sou_ths,
-                    t.eta_ths,
-                    t.lib_int1_dis,
-                    t.lib_etab_cotut,
-                    t.lib_pays_cotut,
-                    t.cod_neg_tre,
-                    t.tem_sou_aut_ths,
-                    t.tem_avenant_cotut,
-                    t.lib_ths,
-                    t.annee_univ_1ere_insc,
-                    t.dat_abandon,
-                    t.dat_transfert_dep,
-                    t.source_insert_date,
-                    t.correction_effectuee
-                   FROM public.tmp_these t
-                  WHERE ((t.source_code)::text = (tmp.these_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_ACTEUR'::text,
-            tmp.source_code,
-            'ROLE_ID'::text,
-            tmp.role_id,
-            ('Aucun enregistrement existant dans TMP_ROLE avec SOURCE_CODE = '::text || (tmp.role_id)::text)
-           FROM public.tmp_acteur tmp
-          WHERE (NOT (EXISTS ( SELECT t.insert_date,
-                    t.id,
-                    t.etablissement_id,
-                    t.source_id,
-                    t.source_code,
-                    t.lib_roj,
-                    t.lic_roj,
-                    t.source_insert_date
-                   FROM public.tmp_role t
-                  WHERE ((t.source_code)::text = (tmp.role_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_DOCTORANT'::text,
-            tmp.source_code,
-            'ETABLISSEMENT_ID'::text,
-            tmp.etablissement_id,
-            ('Aucun enregistrement existant dans ETABLISSEMENT avec CODE = '::text || (tmp.etablissement_id)::text)
-           FROM public.tmp_doctorant tmp
-          WHERE (NOT (EXISTS ( SELECT t.id,
-                    t.sigle,
-                    t.libelle,
-                    t.chemin_logo,
-                    t.type_structure_id,
-                    t.histo_creation,
-                    t.histo_createur_id,
-                    t.histo_modification,
-                    t.histo_modificateur_id,
-                    t.histo_destruction,
-                    t.histo_destructeur_id,
-                    t.source_id,
-                    t.source_code,
-                    t.code,
-                    t.est_ferme,
-                    t.adresse,
-                    t.telephone,
-                    t.fax,
-                    t.email,
-                    t.site_web,
-                    t.id_ref
-                   FROM public.structure t
-                  WHERE ((t.code)::text = (tmp.etablissement_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_DOCTORANT'::text,
-            tmp.source_code,
-            'SOURCE_ID'::text,
-            tmp.source_id,
-            ('Aucun enregistrement existant dans SOURCE avec CODE = '::text || (tmp.source_id)::text)
-           FROM public.tmp_doctorant tmp
-          WHERE (NOT (EXISTS ( SELECT t.id,
-                    t.code,
-                    t.libelle,
-                    t.importable,
-                    t.etablissement_id
-                   FROM public.source t
-                  WHERE ((t.code)::text = (tmp.source_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_DOCTORANT'::text,
-            tmp.source_code,
-            'INDIVIDU_ID'::text,
-            tmp.individu_id,
-            ('Aucun enregistrement existant dans TMP_INDIVIDU avec SOURCE_CODE = '::text || (tmp.individu_id)::text)
-           FROM public.tmp_doctorant tmp
-          WHERE (NOT (EXISTS ( SELECT t.insert_date,
-                    t.id,
-                    t.etablissement_id,
-                    t.source_id,
-                    t.source_code,
-                    t.type,
-                    t.civ,
-                    t.lib_nom_usu_ind,
-                    t.lib_nom_pat_ind,
-                    t.lib_pr1_ind,
-                    t.lib_pr2_ind,
-                    t.lib_pr3_ind,
-                    t.email,
-                    t.dat_nai_per,
-                    t.lib_nat,
-                    t.supann_id,
-                    t.source_insert_date
-                   FROM public.tmp_individu t
-                  WHERE ((t.source_code)::text = (tmp.individu_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_ECOLE_DOCT'::text,
-            tmp.source_code,
-            'ETABLISSEMENT_ID'::text,
-            tmp.etablissement_id,
-            ('Aucun enregistrement existant dans ETABLISSEMENT avec CODE = '::text || (tmp.etablissement_id)::text)
-           FROM public.tmp_ecole_doct tmp
-          WHERE (NOT (EXISTS ( SELECT t.id,
-                    t.sigle,
-                    t.libelle,
-                    t.chemin_logo,
-                    t.type_structure_id,
-                    t.histo_creation,
-                    t.histo_createur_id,
-                    t.histo_modification,
-                    t.histo_modificateur_id,
-                    t.histo_destruction,
-                    t.histo_destructeur_id,
-                    t.source_id,
-                    t.source_code,
-                    t.code,
-                    t.est_ferme,
-                    t.adresse,
-                    t.telephone,
-                    t.fax,
-                    t.email,
-                    t.site_web,
-                    t.id_ref
-                   FROM public.structure t
-                  WHERE ((t.code)::text = (tmp.etablissement_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_ECOLE_DOCT'::text,
-            tmp.source_code,
-            'SOURCE_ID'::text,
-            tmp.source_id,
-            ('Aucun enregistrement existant dans SOURCE avec CODE = '::text || (tmp.source_id)::text)
-           FROM public.tmp_ecole_doct tmp
-          WHERE (NOT (EXISTS ( SELECT t.id,
-                    t.code,
-                    t.libelle,
-                    t.importable,
-                    t.etablissement_id
-                   FROM public.source t
-                  WHERE ((t.code)::text = (tmp.source_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_ECOLE_DOCT'::text,
-            tmp.source_code,
-            'STRUCTURE_ID'::text,
-            tmp.structure_id,
-            ('Aucun enregistrement existant dans TMP_STRUCTURE avec SOURCE_CODE = '::text || (tmp.structure_id)::text)
-           FROM public.tmp_ecole_doct tmp
-          WHERE (NOT (EXISTS ( SELECT t.insert_date,
-                    t.id,
-                    t.etablissement_id,
-                    t.source_id,
-                    t.source_code,
-                    t.type_structure_id,
-                    t.sigle,
-                    t.libelle,
-                    t.code_pays,
-                    t.libelle_pays,
-                    t.code,
-                    t.source_insert_date
-                   FROM public.tmp_structure t
-                  WHERE ((t.source_code)::text = (tmp.structure_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_ETABLISSEMENT'::text,
-            tmp.source_code,
-            'ETABLISSEMENT_ID'::text,
-            tmp.etablissement_id,
-            ('Aucun enregistrement existant dans ETABLISSEMENT avec CODE = '::text || (tmp.etablissement_id)::text)
-           FROM public.tmp_structure tmp
-          WHERE (NOT (EXISTS ( SELECT t.id,
-                    t.sigle,
-                    t.libelle,
-                    t.chemin_logo,
-                    t.type_structure_id,
-                    t.histo_creation,
-                    t.histo_createur_id,
-                    t.histo_modification,
-                    t.histo_modificateur_id,
-                    t.histo_destruction,
-                    t.histo_destructeur_id,
-                    t.source_id,
-                    t.source_code,
-                    t.code,
-                    t.est_ferme,
-                    t.adresse,
-                    t.telephone,
-                    t.fax,
-                    t.email,
-                    t.site_web,
-                    t.id_ref
-                   FROM public.structure t
-                  WHERE ((t.code)::text = (tmp.etablissement_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_ETABLISSEMENT'::text,
-            tmp.source_code,
-            'SOURCE_ID'::text,
-            tmp.source_id,
-            ('Aucun enregistrement existant dans SOURCE avec CODE = '::text || (tmp.source_id)::text)
-           FROM public.tmp_etablissement tmp
-          WHERE (NOT (EXISTS ( SELECT t.id,
-                    t.code,
-                    t.libelle,
-                    t.importable,
-                    t.etablissement_id
-                   FROM public.source t
-                  WHERE ((t.code)::text = (tmp.source_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_ETABLISSEMENT'::text,
-            tmp.source_code,
-            'STRUCTURE_ID'::text,
-            tmp.structure_id,
-            ('Aucun enregistrement existant dans TMP_STRUCTURE avec SOURCE_CODE = '::text || (tmp.structure_id)::text)
-           FROM public.tmp_etablissement tmp
-          WHERE (NOT (EXISTS ( SELECT t.insert_date,
-                    t.id,
-                    t.etablissement_id,
-                    t.structure_id,
-                    t.source_id,
-                    t.source_code,
-                    t.source_insert_date
-                   FROM public.tmp_etablissement t
-                  WHERE ((t.source_code)::text = (tmp.structure_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_INDIVIDU'::text,
-            tmp.source_code,
-            'ETABLISSEMENT_ID'::text,
-            tmp.etablissement_id,
-            ('Aucun enregistrement existant dans ETABLISSEMENT avec CODE = '::text || (tmp.etablissement_id)::text)
-           FROM public.tmp_individu tmp
-          WHERE (NOT (EXISTS ( SELECT t.id,
-                    t.sigle,
-                    t.libelle,
-                    t.chemin_logo,
-                    t.type_structure_id,
-                    t.histo_creation,
-                    t.histo_createur_id,
-                    t.histo_modification,
-                    t.histo_modificateur_id,
-                    t.histo_destruction,
-                    t.histo_destructeur_id,
-                    t.source_id,
-                    t.source_code,
-                    t.code,
-                    t.est_ferme,
-                    t.adresse,
-                    t.telephone,
-                    t.fax,
-                    t.email,
-                    t.site_web,
-                    t.id_ref
-                   FROM public.structure t
-                  WHERE ((t.code)::text = (tmp.etablissement_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_INDIVIDU'::text,
-            tmp.source_code,
-            'SOURCE_ID'::text,
-            tmp.source_id,
-            ('Aucun enregistrement existant dans SOURCE avec CODE = '::text || (tmp.source_id)::text)
-           FROM public.tmp_individu tmp
-          WHERE (NOT (EXISTS ( SELECT t.id,
-                    t.code,
-                    t.libelle,
-                    t.importable,
-                    t.etablissement_id
-                   FROM public.source t
-                  WHERE ((t.code)::text = (tmp.source_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_ROLE'::text,
-            tmp.source_code,
-            'ETABLISSEMENT_ID'::text,
-            tmp.etablissement_id,
-            ('Aucun enregistrement existant dans ETABLISSEMENT avec CODE = '::text || (tmp.etablissement_id)::text)
-           FROM public.tmp_role tmp
-          WHERE (NOT (EXISTS ( SELECT t.id,
-                    t.sigle,
-                    t.libelle,
-                    t.chemin_logo,
-                    t.type_structure_id,
-                    t.histo_creation,
-                    t.histo_createur_id,
-                    t.histo_modification,
-                    t.histo_modificateur_id,
-                    t.histo_destruction,
-                    t.histo_destructeur_id,
-                    t.source_id,
-                    t.source_code,
-                    t.code,
-                    t.est_ferme,
-                    t.adresse,
-                    t.telephone,
-                    t.fax,
-                    t.email,
-                    t.site_web,
-                    t.id_ref
-                   FROM public.structure t
-                  WHERE ((t.code)::text = (tmp.etablissement_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_ROLE'::text,
-            tmp.source_code,
-            'SOURCE_ID'::text,
-            tmp.source_id,
-            ('Aucun enregistrement existant dans SOURCE avec CODE = '::text || (tmp.source_id)::text)
-           FROM public.tmp_role tmp
-          WHERE (NOT (EXISTS ( SELECT t.id,
-                    t.code,
-                    t.libelle,
-                    t.importable,
-                    t.etablissement_id
-                   FROM public.source t
-                  WHERE ((t.code)::text = (tmp.source_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_STRUCTURE'::text,
-            tmp.source_code,
-            'ETABLISSEMENT_ID'::text,
-            tmp.etablissement_id,
-            ('Aucun enregistrement existant dans ETABLISSEMENT avec CODE = '::text || (tmp.etablissement_id)::text)
-           FROM public.tmp_structure tmp
-          WHERE (NOT (EXISTS ( SELECT t.id,
-                    t.sigle,
-                    t.libelle,
-                    t.chemin_logo,
-                    t.type_structure_id,
-                    t.histo_creation,
-                    t.histo_createur_id,
-                    t.histo_modification,
-                    t.histo_modificateur_id,
-                    t.histo_destruction,
-                    t.histo_destructeur_id,
-                    t.source_id,
-                    t.source_code,
-                    t.code,
-                    t.est_ferme,
-                    t.adresse,
-                    t.telephone,
-                    t.fax,
-                    t.email,
-                    t.site_web,
-                    t.id_ref
-                   FROM public.structure t
-                  WHERE ((t.code)::text = (tmp.etablissement_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_STRUCTURE'::text,
-            tmp.source_code,
-            'SOURCE_ID'::text,
-            tmp.source_id,
-            ('Aucun enregistrement existant dans SOURCE avec CODE = '::text || (tmp.source_id)::text)
-           FROM public.tmp_structure tmp
-          WHERE (NOT (EXISTS ( SELECT t.id,
-                    t.code,
-                    t.libelle,
-                    t.importable,
-                    t.etablissement_id
-                   FROM public.source t
-                  WHERE ((t.code)::text = (tmp.source_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_STRUCTURE'::text,
-            tmp.source_code,
-            'TYPE_STRUCTURE_ID'::text,
-            tmp.type_structure_id,
-            ('Aucun enregistrement existant dans TYPE_STRUCTURE avec CODE = '::text || (tmp.type_structure_id)::text)
-           FROM public.tmp_structure tmp
-          WHERE (NOT (EXISTS ( SELECT t.id,
-                    t.code,
-                    t.libelle
-                   FROM public.type_structure t
-                  WHERE ((t.code)::text = (tmp.type_structure_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_THESE'::text,
-            tmp.source_code,
-            'ETABLISSEMENT_ID'::text,
-            tmp.etablissement_id,
-            ('Aucun enregistrement existant dans ETABLISSEMENT avec CODE = '::text || (tmp.etablissement_id)::text)
-           FROM public.tmp_these tmp
-          WHERE (NOT (EXISTS ( SELECT t.id,
-                    t.sigle,
-                    t.libelle,
-                    t.chemin_logo,
-                    t.type_structure_id,
-                    t.histo_creation,
-                    t.histo_createur_id,
-                    t.histo_modification,
-                    t.histo_modificateur_id,
-                    t.histo_destruction,
-                    t.histo_destructeur_id,
-                    t.source_id,
-                    t.source_code,
-                    t.code,
-                    t.est_ferme,
-                    t.adresse,
-                    t.telephone,
-                    t.fax,
-                    t.email,
-                    t.site_web,
-                    t.id_ref
-                   FROM public.structure t
-                  WHERE ((t.code)::text = (tmp.etablissement_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_THESE'::text,
-            tmp.source_code,
-            'SOURCE_ID'::text,
-            tmp.source_id,
-            ('Aucun enregistrement existant dans SOURCE avec CODE = '::text || (tmp.source_id)::text)
-           FROM public.tmp_these tmp
-          WHERE (NOT (EXISTS ( SELECT t.id,
-                    t.code,
-                    t.libelle,
-                    t.importable,
-                    t.etablissement_id
-                   FROM public.source t
-                  WHERE ((t.code)::text = (tmp.source_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_THESE'::text,
-            tmp.source_code,
-            'DOCTORANT_ID'::text,
-            tmp.doctorant_id,
-            ('Aucun enregistrement existant dans TMP_DOCTORANT avec SOURCE_CODE = '::text || (tmp.doctorant_id)::text)
-           FROM public.tmp_these tmp
-          WHERE (NOT (EXISTS ( SELECT t.insert_date,
-                    t.id,
-                    t.etablissement_id,
-                    t.source_id,
-                    t.source_code,
-                    t.individu_id,
-                    t.ine,
-                    t.source_insert_date
-                   FROM public.tmp_doctorant t
-                  WHERE ((t.source_code)::text = (tmp.doctorant_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_THESE'::text,
-            tmp.source_code,
-            'ECOLE_DOCT_ID'::text,
-            tmp.ecole_doct_id,
-            ('Aucun enregistrement existant dans TMP_ECOLE_DOCT avec SOURCE_CODE = '::text || (tmp.ecole_doct_id)::text)
-           FROM public.tmp_these tmp
-          WHERE (NOT (EXISTS ( SELECT t.insert_date,
-                    t.id,
-                    t.etablissement_id,
-                    t.structure_id,
-                    t.source_id,
-                    t.source_code,
-                    t.source_insert_date
-                   FROM public.tmp_ecole_doct t
-                  WHERE ((t.source_code)::text = (tmp.ecole_doct_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_THESE'::text,
-            tmp.source_code,
-            'UNITE_RECH_ID'::text,
-            tmp.unite_rech_id,
-            ('Aucun enregistrement existant dans TMP_UNITE_RECH avec SOURCE_CODE = '::text || (tmp.unite_rech_id)::text)
-           FROM public.tmp_these tmp
-          WHERE (NOT (EXISTS ( SELECT t.insert_date,
-                    t.id,
-                    t.etablissement_id,
-                    t.structure_id,
-                    t.source_id,
-                    t.source_code,
-                    t.source_insert_date
-                   FROM public.tmp_unite_rech t
-                  WHERE ((t.source_code)::text = (tmp.unite_rech_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_UNITE_RECH'::text,
-            tmp.source_code,
-            'ETABLISSEMENT_ID'::text,
-            tmp.etablissement_id,
-            ('Aucun enregistrement existant dans ETABLISSEMENT avec CODE = '::text || (tmp.etablissement_id)::text)
-           FROM public.tmp_unite_rech tmp
-          WHERE (NOT (EXISTS ( SELECT t.id,
-                    t.sigle,
-                    t.libelle,
-                    t.chemin_logo,
-                    t.type_structure_id,
-                    t.histo_creation,
-                    t.histo_createur_id,
-                    t.histo_modification,
-                    t.histo_modificateur_id,
-                    t.histo_destruction,
-                    t.histo_destructeur_id,
-                    t.source_id,
-                    t.source_code,
-                    t.code,
-                    t.est_ferme,
-                    t.adresse,
-                    t.telephone,
-                    t.fax,
-                    t.email,
-                    t.site_web,
-                    t.id_ref
-                   FROM public.structure t
-                  WHERE ((t.code)::text = (tmp.etablissement_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_UNITE_RECH'::text,
-            tmp.source_code,
-            'SOURCE_ID'::text,
-            tmp.source_id,
-            ('Aucun enregistrement existant dans SOURCE avec CODE = '::text || (tmp.source_id)::text)
-           FROM public.tmp_unite_rech tmp
-          WHERE (NOT (EXISTS ( SELECT t.id,
-                    t.code,
-                    t.libelle,
-                    t.importable,
-                    t.etablissement_id
-                   FROM public.source t
-                  WHERE ((t.code)::text = (tmp.source_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_UNITE_RECH'::text,
-            tmp.source_code,
-            'STRUCTURE_ID'::text,
-            tmp.structure_id,
-            ('Aucun enregistrement existant dans TMP_STRUCTURE avec SOURCE_CODE = '::text || (tmp.structure_id)::text)
-           FROM public.tmp_unite_rech tmp
-          WHERE (NOT (EXISTS ( SELECT t.insert_date,
-                    t.id,
-                    t.etablissement_id,
-                    t.source_id,
-                    t.source_code,
-                    t.type_structure_id,
-                    t.sigle,
-                    t.libelle,
-                    t.code_pays,
-                    t.libelle_pays,
-                    t.code,
-                    t.source_insert_date
-                   FROM public.tmp_structure t
-                  WHERE ((t.source_code)::text = (tmp.structure_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_VARIABLE'::text,
-            tmp.source_code,
-            'ETABLISSEMENT_ID'::text,
-            tmp.etablissement_id,
-            ('Aucun enregistrement existant dans ETABLISSEMENT avec CODE = '::text || (tmp.etablissement_id)::text)
-           FROM public.tmp_variable tmp
-          WHERE (NOT (EXISTS ( SELECT t.id,
-                    t.sigle,
-                    t.libelle,
-                    t.chemin_logo,
-                    t.type_structure_id,
-                    t.histo_creation,
-                    t.histo_createur_id,
-                    t.histo_modification,
-                    t.histo_modificateur_id,
-                    t.histo_destruction,
-                    t.histo_destructeur_id,
-                    t.source_id,
-                    t.source_code,
-                    t.code,
-                    t.est_ferme,
-                    t.adresse,
-                    t.telephone,
-                    t.fax,
-                    t.email,
-                    t.site_web,
-                    t.id_ref
-                   FROM public.structure t
-                  WHERE ((t.code)::text = (tmp.etablissement_id)::text))))
-        UNION ALL
-         SELECT tmp.etablissement_id,
-            'TMP_VARIABLE'::text,
-            tmp.source_code,
-            'SOURCE_ID'::text,
-            tmp.source_id,
-            ('Aucun enregistrement existant dans SOURCE avec CODE = '::text || (tmp.source_id)::text)
-           FROM public.tmp_variable tmp
-          WHERE (NOT (EXISTS ( SELECT t.id,
-                    t.code,
-                    t.libelle,
-                    t.importable,
-                    t.etablissement_id
-                   FROM public.source t
-                  WHERE ((t.code)::text = (tmp.source_id)::text))))
+   FROM (public.validation v
+     JOIN public.type_validation tv ON ((tv.id = v.type_validation_id)))
+  WHERE ((tv.code)::text = 'VERSION_PAPIER_CORRIGEE'::text);
+
+
+ALTER TABLE public.v_situ_version_papier_corrigee OWNER TO :dbuser;
+
+--
+-- Name: v_these_annee_univ_first; Type: VIEW; Schema: public; Owner: :dbuser
+--
+
+CREATE VIEW public.v_these_annee_univ_first AS
+ WITH firsts(source_code) AS (
+         SELECT DISTINCT first_value(these_annee_univ.source_code) OVER (PARTITION BY these_annee_univ.these_id ORDER BY these_annee_univ.annee_univ) AS first_value
+           FROM public.these_annee_univ
+          WHERE (these_annee_univ.histo_destruction IS NULL)
         )
- SELECT row_number() OVER (ORDER BY 1::integer, 2::integer, 3::integer, 4::integer, 5::integer, 6::integer) AS id,
-    ds.etablissement_id,
-    ds.table_name,
-    ds.source_code,
-    ds.table_column,
-    ds.column_value,
-    ds.description
-   FROM ds;
+ SELECT au.id,
+    au.source_code,
+    au.source_id,
+    au.these_id,
+    au.annee_univ,
+    au.histo_createur_id,
+    au.histo_creation,
+    au.histo_modificateur_id,
+    au.histo_modification,
+    au.histo_destructeur_id,
+    au.histo_destruction
+   FROM (public.these_annee_univ au
+     JOIN firsts fi ON (((au.source_code)::text = (fi.source_code)::text)));
 
 
-ALTER TABLE public.v_tmp_anomalie OWNER TO :dbuser;
+ALTER TABLE public.v_these_annee_univ_first OWNER TO :dbuser;
 
 --
 -- Name: wf_etape; Type: TABLE; Schema: public; Owner: :dbuser
@@ -5667,7 +7327,7 @@ CREATE VIEW public.v_wf_etape_pertin AS
             e.ordre
            FROM (public.these t
              JOIN public.wf_etape e ON (((e.code)::text = 'VALIDATION_PAGE_DE_COUVERTURE'::text)))
-          WHERE ((t.etat_these)::text = ANY ((ARRAY['E'::character varying, 'S'::character varying])::text[]))
+          WHERE ((t.etat_these)::text = ANY (ARRAY[('E'::character varying)::text, ('S'::character varying)::text]))
         UNION ALL
          SELECT t.id AS these_id,
             e.id AS etape_id,
@@ -5675,7 +7335,7 @@ CREATE VIEW public.v_wf_etape_pertin AS
             e.ordre
            FROM (public.these t
              JOIN public.wf_etape e ON (((e.code)::text = 'DEPOT_VERSION_ORIGINALE'::text)))
-          WHERE ((t.etat_these)::text = ANY ((ARRAY['E'::character varying, 'S'::character varying])::text[]))
+          WHERE ((t.etat_these)::text = ANY (ARRAY[('E'::character varying)::text, ('S'::character varying)::text]))
         UNION ALL
          SELECT t.id AS these_id,
             e.id AS etape_id,
@@ -5683,7 +7343,7 @@ CREATE VIEW public.v_wf_etape_pertin AS
             e.ordre
            FROM (public.these t
              JOIN public.wf_etape e ON (((e.code)::text = 'AUTORISATION_DIFFUSION_THESE'::text)))
-          WHERE ((t.etat_these)::text = ANY ((ARRAY['E'::character varying, 'S'::character varying])::text[]))
+          WHERE ((t.etat_these)::text = ANY (ARRAY[('E'::character varying)::text, ('S'::character varying)::text]))
         UNION ALL
          SELECT t.id AS these_id,
             e.id AS etape_id,
@@ -5691,7 +7351,7 @@ CREATE VIEW public.v_wf_etape_pertin AS
             e.ordre
            FROM (public.these t
              JOIN public.wf_etape e ON (((e.code)::text = 'ATTESTATIONS'::text)))
-          WHERE ((t.etat_these)::text = ANY ((ARRAY['E'::character varying, 'S'::character varying])::text[]))
+          WHERE ((t.etat_these)::text = ANY (ARRAY[('E'::character varying)::text, ('S'::character varying)::text]))
         UNION ALL
          SELECT t.id AS these_id,
             e.id AS etape_id,
@@ -5699,7 +7359,7 @@ CREATE VIEW public.v_wf_etape_pertin AS
             e.ordre
            FROM (public.these t
              JOIN public.wf_etape e ON (((e.code)::text = 'SIGNALEMENT_THESE'::text)))
-          WHERE ((t.etat_these)::text = ANY ((ARRAY['E'::character varying, 'S'::character varying])::text[]))
+          WHERE ((t.etat_these)::text = ANY (ARRAY[('E'::character varying)::text, ('S'::character varying)::text]))
         UNION ALL
          SELECT t.id AS these_id,
             e.id AS etape_id,
@@ -5707,7 +7367,7 @@ CREATE VIEW public.v_wf_etape_pertin AS
             e.ordre
            FROM (public.these t
              JOIN public.wf_etape e ON (((e.code)::text = 'ARCHIVABILITE_VERSION_ORIGINALE'::text)))
-          WHERE ((t.etat_these)::text = ANY ((ARRAY['E'::character varying, 'S'::character varying])::text[]))
+          WHERE ((t.etat_these)::text = ANY (ARRAY[('E'::character varying)::text, ('S'::character varying)::text]))
         UNION ALL
          SELECT t.id AS these_id,
             e.id AS etape_id,
@@ -5716,7 +7376,7 @@ CREATE VIEW public.v_wf_etape_pertin AS
            FROM ((public.these t
              JOIN public.wf_etape e ON (((e.code)::text = 'DEPOT_VERSION_ARCHIVAGE'::text)))
              JOIN public.v_situ_archivab_vo situ ON (((situ.these_id = t.id) AND (situ.est_valide = false))))
-          WHERE ((t.etat_these)::text = ANY ((ARRAY['E'::character varying, 'S'::character varying])::text[]))
+          WHERE ((t.etat_these)::text = ANY (ARRAY[('E'::character varying)::text, ('S'::character varying)::text]))
         UNION ALL
          SELECT t.id AS these_id,
             e.id AS etape_id,
@@ -5725,7 +7385,7 @@ CREATE VIEW public.v_wf_etape_pertin AS
            FROM ((public.these t
              JOIN public.wf_etape e ON (((e.code)::text = 'ARCHIVABILITE_VERSION_ARCHIVAGE'::text)))
              JOIN public.v_situ_archivab_vo situ ON (((situ.these_id = t.id) AND (situ.est_valide = false))))
-          WHERE ((t.etat_these)::text = ANY ((ARRAY['E'::character varying, 'S'::character varying])::text[]))
+          WHERE ((t.etat_these)::text = ANY (ARRAY[('E'::character varying)::text, ('S'::character varying)::text]))
         UNION ALL
          SELECT t.id AS these_id,
             e.id AS etape_id,
@@ -5734,7 +7394,7 @@ CREATE VIEW public.v_wf_etape_pertin AS
            FROM ((public.these t
              JOIN public.wf_etape e ON (((e.code)::text = 'VERIFICATION_VERSION_ARCHIVAGE'::text)))
              JOIN public.v_situ_archivab_va situ ON (((situ.these_id = t.id) AND (situ.est_valide = true))))
-          WHERE ((t.etat_these)::text = ANY ((ARRAY['E'::character varying, 'S'::character varying])::text[]))
+          WHERE ((t.etat_these)::text = ANY (ARRAY[('E'::character varying)::text, ('S'::character varying)::text]))
         UNION ALL
          SELECT t.id AS these_id,
             e.id AS etape_id,
@@ -5742,7 +7402,7 @@ CREATE VIEW public.v_wf_etape_pertin AS
             e.ordre
            FROM (public.these t
              JOIN public.wf_etape e ON (((e.code)::text = 'RDV_BU_SAISIE_DOCTORANT'::text)))
-          WHERE ((t.etat_these)::text = ANY ((ARRAY['E'::character varying, 'S'::character varying])::text[]))
+          WHERE ((t.etat_these)::text = ANY (ARRAY[('E'::character varying)::text, ('S'::character varying)::text]))
         UNION ALL
          SELECT t.id AS these_id,
             e.id AS etape_id,
@@ -5750,7 +7410,7 @@ CREATE VIEW public.v_wf_etape_pertin AS
             e.ordre
            FROM (public.these t
              JOIN public.wf_etape e ON (((e.code)::text = 'RDV_BU_SAISIE_BU'::text)))
-          WHERE ((t.etat_these)::text = ANY ((ARRAY['E'::character varying, 'S'::character varying])::text[]))
+          WHERE ((t.etat_these)::text = ANY (ARRAY[('E'::character varying)::text, ('S'::character varying)::text]))
         UNION ALL
          SELECT t.id AS these_id,
             e.id AS etape_id,
@@ -5758,7 +7418,7 @@ CREATE VIEW public.v_wf_etape_pertin AS
             e.ordre
            FROM (public.these t
              JOIN public.wf_etape e ON (((e.code)::text = 'RDV_BU_VALIDATION_BU'::text)))
-          WHERE ((t.etat_these)::text = ANY ((ARRAY['E'::character varying, 'S'::character varying])::text[]))
+          WHERE ((t.etat_these)::text = ANY (ARRAY[('E'::character varying)::text, ('S'::character varying)::text]))
         UNION ALL
          SELECT t.id AS these_id,
             e.id AS etape_id,
@@ -5766,7 +7426,7 @@ CREATE VIEW public.v_wf_etape_pertin AS
             e.ordre
            FROM (public.these t
              JOIN public.wf_etape e ON (((e.code)::text = 'DEPOT_VERSION_ORIGINALE_CORRIGEE'::text)))
-          WHERE (((t.correc_autorisee IS NOT NULL) OR (t.correc_autorisee_forcee IS NOT NULL) OR ((t.correc_effectuee)::text = 'O'::text)) AND ((t.etat_these)::text = ANY ((ARRAY['E'::character varying, 'S'::character varying])::text[])))
+          WHERE (((t.correc_autorisee IS NOT NULL) OR ((t.correc_autorisee_forcee IS NOT NULL) AND ((t.correc_autorisee_forcee)::text <> 'aucune'::text)) OR ((t.correc_effectuee)::text = 'O'::text)) AND ((t.etat_these)::text = ANY (ARRAY[('E'::character varying)::text, ('S'::character varying)::text])))
         UNION ALL
          SELECT t.id AS these_id,
             e.id AS etape_id,
@@ -5774,7 +7434,7 @@ CREATE VIEW public.v_wf_etape_pertin AS
             e.ordre
            FROM (public.these t
              JOIN public.wf_etape e ON (((e.code)::text = 'AUTORISATION_DIFFUSION_THESE_VERSION_CORRIGEE'::text)))
-          WHERE (((t.correc_autorisee IS NOT NULL) OR (t.correc_autorisee_forcee IS NOT NULL) OR ((t.correc_effectuee)::text = 'O'::text)) AND ((t.etat_these)::text = ANY ((ARRAY['E'::character varying, 'S'::character varying])::text[])))
+          WHERE (((t.correc_autorisee IS NOT NULL) OR ((t.correc_autorisee_forcee IS NOT NULL) AND ((t.correc_autorisee_forcee)::text <> 'aucune'::text)) OR ((t.correc_effectuee)::text = 'O'::text)) AND ((t.etat_these)::text = ANY (ARRAY[('E'::character varying)::text, ('S'::character varying)::text])))
         UNION ALL
          SELECT t.id AS these_id,
             e.id AS etape_id,
@@ -5782,7 +7442,7 @@ CREATE VIEW public.v_wf_etape_pertin AS
             e.ordre
            FROM (public.these t
              JOIN public.wf_etape e ON (((e.code)::text = 'ATTESTATIONS_VERSION_CORRIGEE'::text)))
-          WHERE (((t.correc_autorisee IS NOT NULL) OR (t.correc_autorisee_forcee IS NOT NULL) OR ((t.correc_effectuee)::text = 'O'::text)) AND ((t.etat_these)::text = ANY ((ARRAY['E'::character varying, 'S'::character varying])::text[])))
+          WHERE (((t.correc_autorisee IS NOT NULL) OR ((t.correc_autorisee_forcee IS NOT NULL) AND ((t.correc_autorisee_forcee)::text <> 'aucune'::text)) OR ((t.correc_effectuee)::text = 'O'::text)) AND ((t.etat_these)::text = ANY (ARRAY[('E'::character varying)::text, ('S'::character varying)::text])))
         UNION ALL
          SELECT t.id AS these_id,
             e.id AS etape_id,
@@ -5790,7 +7450,7 @@ CREATE VIEW public.v_wf_etape_pertin AS
             e.ordre
            FROM (public.these t
              JOIN public.wf_etape e ON (((e.code)::text = 'ARCHIVABILITE_VERSION_ORIGINALE_CORRIGEE'::text)))
-          WHERE (((t.correc_autorisee IS NOT NULL) OR (t.correc_autorisee_forcee IS NOT NULL) OR ((t.correc_effectuee)::text = 'O'::text)) AND ((t.etat_these)::text = ANY ((ARRAY['E'::character varying, 'S'::character varying])::text[])))
+          WHERE (((t.correc_autorisee IS NOT NULL) OR ((t.correc_autorisee_forcee IS NOT NULL) AND ((t.correc_autorisee_forcee)::text <> 'aucune'::text)) OR ((t.correc_effectuee)::text = 'O'::text)) AND ((t.etat_these)::text = ANY (ARRAY[('E'::character varying)::text, ('S'::character varying)::text])))
         UNION ALL
          SELECT t.id AS these_id,
             e.id AS etape_id,
@@ -5799,7 +7459,7 @@ CREATE VIEW public.v_wf_etape_pertin AS
            FROM ((public.these t
              JOIN public.wf_etape e ON (((e.code)::text = 'DEPOT_VERSION_ARCHIVAGE_CORRIGEE'::text)))
              JOIN public.v_situ_archivab_voc situ ON (((situ.these_id = t.id) AND (situ.est_valide = false))))
-          WHERE (((t.correc_autorisee IS NOT NULL) OR (t.correc_autorisee_forcee IS NOT NULL) OR ((t.correc_effectuee)::text = 'O'::text)) AND ((t.etat_these)::text = ANY ((ARRAY['E'::character varying, 'S'::character varying])::text[])))
+          WHERE (((t.correc_autorisee IS NOT NULL) OR ((t.correc_autorisee_forcee IS NOT NULL) AND ((t.correc_autorisee_forcee)::text <> 'aucune'::text)) OR ((t.correc_effectuee)::text = 'O'::text)) AND ((t.etat_these)::text = ANY (ARRAY[('E'::character varying)::text, ('S'::character varying)::text])))
         UNION ALL
          SELECT t.id AS these_id,
             e.id AS etape_id,
@@ -5808,7 +7468,7 @@ CREATE VIEW public.v_wf_etape_pertin AS
            FROM ((public.these t
              JOIN public.wf_etape e ON (((e.code)::text = 'ARCHIVABILITE_VERSION_ARCHIVAGE_CORRIGEE'::text)))
              JOIN public.v_situ_archivab_voc situ ON (((situ.these_id = t.id) AND (situ.est_valide = false))))
-          WHERE (((t.correc_autorisee IS NOT NULL) OR (t.correc_autorisee_forcee IS NOT NULL) OR ((t.correc_effectuee)::text = 'O'::text)) AND ((t.etat_these)::text = ANY ((ARRAY['E'::character varying, 'S'::character varying])::text[])))
+          WHERE (((t.correc_autorisee IS NOT NULL) OR ((t.correc_autorisee_forcee IS NOT NULL) AND ((t.correc_autorisee_forcee)::text <> 'aucune'::text)) OR ((t.correc_effectuee)::text = 'O'::text)) AND ((t.etat_these)::text = ANY (ARRAY[('E'::character varying)::text, ('S'::character varying)::text])))
         UNION ALL
          SELECT t.id AS these_id,
             e.id AS etape_id,
@@ -5817,7 +7477,7 @@ CREATE VIEW public.v_wf_etape_pertin AS
            FROM ((public.these t
              JOIN public.wf_etape e ON (((e.code)::text = 'VERIFICATION_VERSION_ARCHIVAGE_CORRIGEE'::text)))
              JOIN public.v_situ_archivab_vac situ ON (((situ.these_id = t.id) AND (situ.est_valide = true))))
-          WHERE (((t.correc_autorisee IS NOT NULL) OR (t.correc_autorisee_forcee IS NOT NULL) OR ((t.correc_effectuee)::text = 'O'::text)) AND ((t.etat_these)::text = ANY ((ARRAY['E'::character varying, 'S'::character varying])::text[])))
+          WHERE (((t.correc_autorisee IS NOT NULL) OR ((t.correc_autorisee_forcee IS NOT NULL) AND ((t.correc_autorisee_forcee)::text <> 'aucune'::text)) OR ((t.correc_effectuee)::text = 'O'::text)) AND ((t.etat_these)::text = ANY (ARRAY[('E'::character varying)::text, ('S'::character varying)::text])))
         UNION ALL
          SELECT t.id AS these_id,
             e.id AS etape_id,
@@ -5825,7 +7485,7 @@ CREATE VIEW public.v_wf_etape_pertin AS
             e.ordre
            FROM (public.these t
              JOIN public.wf_etape e ON (((e.code)::text = 'DEPOT_VERSION_CORRIGEE_VALIDATION_DOCTORANT'::text)))
-          WHERE (((t.correc_autorisee IS NOT NULL) OR (t.correc_autorisee_forcee IS NOT NULL) OR ((t.correc_effectuee)::text = 'O'::text)) AND ((t.etat_these)::text = ANY ((ARRAY['E'::character varying, 'S'::character varying])::text[])))
+          WHERE (((t.correc_autorisee IS NOT NULL) OR ((t.correc_autorisee_forcee IS NOT NULL) AND ((t.correc_autorisee_forcee)::text <> 'aucune'::text)) OR ((t.correc_effectuee)::text = 'O'::text)) AND ((t.etat_these)::text = ANY (ARRAY[('E'::character varying)::text, ('S'::character varying)::text])))
         UNION ALL
          SELECT t.id AS these_id,
             e.id AS etape_id,
@@ -5833,7 +7493,7 @@ CREATE VIEW public.v_wf_etape_pertin AS
             e.ordre
            FROM (public.these t
              JOIN public.wf_etape e ON (((e.code)::text = 'DEPOT_VERSION_CORRIGEE_VALIDATION_DIRECTEUR'::text)))
-          WHERE (((t.correc_autorisee IS NOT NULL) OR (t.correc_autorisee_forcee IS NOT NULL) OR ((t.correc_effectuee)::text = 'O'::text)) AND ((t.etat_these)::text = ANY ((ARRAY['E'::character varying, 'S'::character varying])::text[])))
+          WHERE (((t.correc_autorisee IS NOT NULL) OR ((t.correc_autorisee_forcee IS NOT NULL) AND ((t.correc_autorisee_forcee)::text <> 'aucune'::text)) OR ((t.correc_effectuee)::text = 'O'::text)) AND ((t.etat_these)::text = ANY (ARRAY[('E'::character varying)::text, ('S'::character varying)::text])))
         UNION ALL
          SELECT t.id AS these_id,
             e.id AS etape_id,
@@ -5841,26 +7501,7 @@ CREATE VIEW public.v_wf_etape_pertin AS
             e.ordre
            FROM (public.these t
              JOIN public.wf_etape e ON (((e.code)::text = 'REMISE_EXEMPLAIRE_PAPIER_THESE_CORRIGEE'::text)))
-          WHERE (((t.correc_autorisee IS NOT NULL) OR (t.correc_autorisee_forcee IS NOT NULL) OR ((t.correc_effectuee)::text = 'O'::text)) AND ((t.etat_these)::text = ANY ((ARRAY['E'::character varying, 'S'::character varying])::text[])) AND (EXISTS ( SELECT d.id,
-                    d.these_id,
-                    d.droit_auteur_ok,
-                    d.autoris_mel,
-                    d.autoris_embargo_duree,
-                    d.autoris_motif,
-                    d.histo_creation,
-                    d.histo_createur_id,
-                    d.histo_modification,
-                    d.histo_modificateur_id,
-                    d.histo_destruction,
-                    d.histo_destructeur_id,
-                    d.certif_charte_diff,
-                    d.confident,
-                    d.confident_date_fin,
-                    d.orcid,
-                    d.nnt,
-                    d.hal_id,
-                    d.version_corrigee,
-                    d.creation_auto
+          WHERE (((t.correc_autorisee IS NOT NULL) OR ((t.correc_autorisee_forcee IS NOT NULL) AND ((t.correc_autorisee_forcee)::text <> 'aucune'::text)) OR ((t.correc_effectuee)::text = 'O'::text)) AND ((t.etat_these)::text = ANY (ARRAY[('E'::character varying)::text, ('S'::character varying)::text])) AND (EXISTS ( SELECT d.id
                    FROM public.diffusion d
                   WHERE ((d.these_id = t.id) AND (d.version_corrigee = true) AND (d.autoris_mel = ANY (ARRAY[0, 1]))))))) alias38;
 
@@ -6317,6 +7958,152 @@ CREATE SEQUENCE public.wf_etape_id_seq
 
 ALTER TABLE public.wf_etape_id_seq OWNER TO :dbuser;
 
+--
+-- Name: z_doctorant_compl; Type: TABLE; Schema: public; Owner: :dbuser
+--
+
+CREATE TABLE public.z_doctorant_compl (
+    id bigint NOT NULL,
+    doctorant_id bigint NOT NULL,
+    persopass character varying(50),
+    email_pro character varying(100),
+    histo_creation timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_createur_id bigint NOT NULL,
+    histo_modification timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone NOT NULL,
+    histo_modificateur_id bigint NOT NULL,
+    histo_destruction timestamp without time zone,
+    histo_destructeur_id bigint
+);
+
+
+ALTER TABLE public.z_doctorant_compl OWNER TO :dbuser;
+
+--
+-- Name: TABLE z_doctorant_compl; Type: COMMENT; Schema: public; Owner: :dbuser
+--
+
+COMMENT ON TABLE public.z_doctorant_compl IS 'Table obsolète conservée un temps';
+
+
+--
+-- Name: categorie_privilege id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.categorie_privilege ALTER COLUMN id SET DEFAULT nextval('public.categorie_privilege_id_seq'::regclass);
+
+
+--
+-- Name: csi_membre id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.csi_membre ALTER COLUMN id SET DEFAULT nextval('public.csi_membre_id_seq'::regclass);
+
+
+--
+-- Name: doctorant_mission_enseignement id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.doctorant_mission_enseignement ALTER COLUMN id SET DEFAULT nextval('public.doctorant_mission_enseignement_id_seq'::regclass);
+
+
+--
+-- Name: fichier_these id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.fichier_these ALTER COLUMN id SET DEFAULT nextval('public.fichier_these_id_seq'::regclass);
+
+
+--
+-- Name: formation_enquete_categorie id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_enquete_categorie ALTER COLUMN id SET DEFAULT nextval('public.formation_enquete_categorie_id_seq'::regclass);
+
+
+--
+-- Name: formation_enquete_question id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_enquete_question ALTER COLUMN id SET DEFAULT nextval('public.formation_enquete_question_id_seq'::regclass);
+
+
+--
+-- Name: formation_enquete_reponse id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_enquete_reponse ALTER COLUMN id SET DEFAULT nextval('public.formation_enquete_reponse_id_seq'::regclass);
+
+
+--
+-- Name: formation_formateur id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_formateur ALTER COLUMN id SET DEFAULT nextval('public.formation_formateur_id_seq'::regclass);
+
+
+--
+-- Name: formation_formation id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_formation ALTER COLUMN id SET DEFAULT nextval('public.formation_formation_id_seq'::regclass);
+
+
+--
+-- Name: formation_inscription id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_inscription ALTER COLUMN id SET DEFAULT nextval('public.formation_inscription_id_seq'::regclass);
+
+
+--
+-- Name: formation_module id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_module ALTER COLUMN id SET DEFAULT nextval('public.formation_module_id_seq'::regclass);
+
+
+--
+-- Name: formation_presence id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_presence ALTER COLUMN id SET DEFAULT nextval('public.formation_presence_id_seq'::regclass);
+
+
+--
+-- Name: formation_seance id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_seance ALTER COLUMN id SET DEFAULT nextval('public.formation_seance_id_seq'::regclass);
+
+
+--
+-- Name: formation_session id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_session ALTER COLUMN id SET DEFAULT nextval('public.formation_session_id_seq'::regclass);
+
+
+--
+-- Name: formation_session_etat_heurodatage id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_session_etat_heurodatage ALTER COLUMN id SET DEFAULT nextval('public.formation_session_etat_heurodatage_id_seq'::regclass);
+
+
+--
+-- Name: formation_session_structure_valide id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_session_structure_valide ALTER COLUMN id SET DEFAULT nextval('public.formation_session_structure_valide_id_seq'::regclass);
+
+
+--
+-- Name: horodatage_horodatage id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.horodatage_horodatage ALTER COLUMN id SET DEFAULT nextval('public.horodatage_horodatage_id_seq'::regclass);
+
+
 --
 -- Name: import_log id; Type: DEFAULT; Schema: public; Owner: :dbuser
 --
@@ -6325,10 +8112,179 @@ ALTER TABLE ONLY public.import_log ALTER COLUMN id SET DEFAULT nextval('public.i
 
 
 --
--- Name: soutenance_evenement id; Type: DEFAULT; Schema: public; Owner: :dbuser
+-- Name: individu_compl id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.individu_compl ALTER COLUMN id SET DEFAULT nextval('public.individu_compl_id_seq'::regclass);
+
+
+--
+-- Name: privilege id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.privilege ALTER COLUMN id SET DEFAULT nextval('public.privilege_id_seq'::regclass);
+
+
+--
+-- Name: step_star_log id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.step_star_log ALTER COLUMN id SET DEFAULT nextval('public.step_star_log_id_seq1'::regclass);
+
+
+--
+-- Name: tmp_acteur id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.tmp_acteur ALTER COLUMN id SET DEFAULT nextval('public.tmp_acteur_id_seq'::regclass);
+
+
+--
+-- Name: tmp_doctorant id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.tmp_doctorant ALTER COLUMN id SET DEFAULT nextval('public.tmp_doctorant_id_seq'::regclass);
+
+
+--
+-- Name: tmp_ecole_doct id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.tmp_ecole_doct ALTER COLUMN id SET DEFAULT nextval('public.tmp_ecole_doct_id_seq'::regclass);
+
+
+--
+-- Name: tmp_etablissement id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.tmp_etablissement ALTER COLUMN id SET DEFAULT nextval('public.tmp_etablissement_id_seq'::regclass);
+
+
+--
+-- Name: tmp_financement id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.tmp_financement ALTER COLUMN id SET DEFAULT nextval('public.tmp_financement_id_seq'::regclass);
+
+
+--
+-- Name: tmp_individu id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.tmp_individu ALTER COLUMN id SET DEFAULT nextval('public.tmp_individu_id_seq'::regclass);
+
+
+--
+-- Name: tmp_origine_financement id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.tmp_origine_financement ALTER COLUMN id SET DEFAULT nextval('public.tmp_origine_financement_id_seq'::regclass);
+
+
+--
+-- Name: tmp_role id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.tmp_role ALTER COLUMN id SET DEFAULT nextval('public.tmp_role_id_seq'::regclass);
+
+
+--
+-- Name: tmp_structure id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.tmp_structure ALTER COLUMN id SET DEFAULT nextval('public.tmp_structure_id_seq'::regclass);
+
+
+--
+-- Name: tmp_these id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.tmp_these ALTER COLUMN id SET DEFAULT nextval('public.tmp_these_id_seq'::regclass);
+
+
+--
+-- Name: tmp_these_annee_univ id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.tmp_these_annee_univ ALTER COLUMN id SET DEFAULT nextval('public.tmp_these_annee_univ_id_seq'::regclass);
+
+
+--
+-- Name: tmp_titre_acces id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.tmp_titre_acces ALTER COLUMN id SET DEFAULT nextval('public.tmp_titre_acces_id_seq'::regclass);
+
+
+--
+-- Name: tmp_unite_rech id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.tmp_unite_rech ALTER COLUMN id SET DEFAULT nextval('public.tmp_unite_rech_id_seq'::regclass);
+
+
+--
+-- Name: tmp_variable id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.tmp_variable ALTER COLUMN id SET DEFAULT nextval('public.tmp_variable_id_seq'::regclass);
+
+
+--
+-- Name: unicaen_avis_type_valeur_complem ordre; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_avis_type_valeur_complem ALTER COLUMN ordre SET DEFAULT nextval('public.unicaen_avis_type_valeur_complem_ordre_seq'::regclass);
+
+
+--
+-- Name: unicaen_avis_valeur ordre; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_avis_valeur ALTER COLUMN ordre SET DEFAULT nextval('public.unicaen_avis_valeur_ordre_seq'::regclass);
+
+
+--
+-- Name: unicaen_parametre_categorie id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_parametre_categorie ALTER COLUMN id SET DEFAULT nextval('public.unicaen_parametre_categorie_id_seq'::regclass);
+
+
+--
+-- Name: unicaen_parametre_parametre id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_parametre_parametre ALTER COLUMN id SET DEFAULT nextval('public.unicaen_parametre_parametre_id_seq'::regclass);
+
+
+--
+-- Name: unicaen_renderer_macro id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_renderer_macro ALTER COLUMN id SET DEFAULT nextval('public.unicaen_renderer_macro_id_seq'::regclass);
+
+
+--
+-- Name: unicaen_renderer_rendu id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_renderer_rendu ALTER COLUMN id SET DEFAULT nextval('public.unicaen_renderer_rendu_id_seq'::regclass);
+
+
+--
+-- Name: unicaen_renderer_template id; Type: DEFAULT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_renderer_template ALTER COLUMN id SET DEFAULT nextval('public.unicaen_renderer_template_id_seq'::regclass);
+
+
+--
+-- Name: SCHEMA public; Type: ACL; Schema: -; Owner: postgres
 --
 
-ALTER TABLE ONLY public.soutenance_evenement ALTER COLUMN id SET DEFAULT nextval('public.soutenance_evenement_id_seq'::regclass);
+REVOKE USAGE ON SCHEMA public FROM PUBLIC;
+GRANT ALL ON SCHEMA public TO PUBLIC;
 
 
 --
diff --git a/docker/sql/04_insert_data.sql b/docker/sql/04_insert_data.sql
index 50b1a2a461f499439ef15a2427bf36b354464821..8cb8ee628f462a955683c91d34bbe9dc08e97770 100644
--- a/docker/sql/04_insert_data.sql
+++ b/docker/sql/04_insert_data.sql
@@ -3,7 +3,7 @@
 --
 
 -- Dumped from database version 9.6.11
--- Dumped by pg_dump version 14.1 (Ubuntu 14.1-2.pgdg20.04+1)
+-- Dumped by pg_dump version 15.4 (Ubuntu 15.4-1.pgdg20.04+1)
 
 SET statement_timeout = 0;
 SET lock_timeout = 0;
@@ -46,6 +46,22 @@ INSERT INTO public.categorie_privilege (id, code, libelle, ordre) VALUES (100, '
 INSERT INTO public.categorie_privilege (id, code, libelle, ordre) VALUES (3001, 'liste-diffusion', 'Liste de diffusion', 50);
 INSERT INTO public.categorie_privilege (id, code, libelle, ordre) VALUES (3101, 'soutenance_intervention', 'Intervention sur les soutenances', 102);
 INSERT INTO public.categorie_privilege (id, code, libelle, ordre) VALUES (3102, 'soutenance_justificatif', 'Justificatifs associés à la soutenance', 102);
+INSERT INTO public.categorie_privilege (id, code, libelle, ordre) VALUES (3200, 'unicaen-db-import', 'Module unicaen/db-import', NULL);
+INSERT INTO public.categorie_privilege (id, code, libelle, ordre) VALUES (3220, 'individu', 'Gestion des individus', 500);
+INSERT INTO public.categorie_privilege (id, code, libelle, ordre) VALUES (5000, 'formation', 'Module de formation', 5000);
+INSERT INTO public.categorie_privilege (id, code, libelle, ordre) VALUES (5001, 'formation_module', 'Gestion des modules de formations', 5100);
+INSERT INTO public.categorie_privilege (id, code, libelle, ordre) VALUES (5002, 'formation_formation', 'Gestion des formations', 5200);
+INSERT INTO public.categorie_privilege (id, code, libelle, ordre) VALUES (5003, 'formation_session', 'Gestion des sessions de formations', 5300);
+INSERT INTO public.categorie_privilege (id, code, libelle, ordre) VALUES (5004, 'formation_seance', 'Gestion des séances de formations', 5400);
+INSERT INTO public.categorie_privilege (id, code, libelle, ordre) VALUES (5005, 'formation_inscription', 'Gestion des inscriptions aux formations', 5500);
+INSERT INTO public.categorie_privilege (id, code, libelle, ordre) VALUES (5006, 'formation_enquete', 'Gestion de l''enquête', 5600);
+INSERT INTO public.categorie_privilege (id, code, libelle, ordre) VALUES (5020, 'documentmacro', 'UnicaenRenderer - Gestion des macros', 10000);
+INSERT INTO public.categorie_privilege (id, code, libelle, ordre) VALUES (5021, 'documenttemplate', 'UnicaenRenderer - Gestion des templates', 10010);
+INSERT INTO public.categorie_privilege (id, code, libelle, ordre) VALUES (5022, 'documentcontenu', 'UnicaenRenderer - Gestion des contenus', 10020);
+INSERT INTO public.categorie_privilege (id, code, libelle, ordre) VALUES (5040, 'step-star', 'STEP-STAR', 20);
+INSERT INTO public.categorie_privilege (id, code, libelle, ordre) VALUES (5080, 'parametrecategorie', 'UnicaenParametre - Gestion des catégories de paramètres', 100);
+INSERT INTO public.categorie_privilege (id, code, libelle, ordre) VALUES (5081, 'parametre', 'UnicaenParametre - Gestion des paramètres', 101);
+INSERT INTO public.categorie_privilege (id, code, libelle, ordre) VALUES (5100, 'missionenseignement', 'Gestion des missions d''enseignement', 1000);
 
 
 --
@@ -64,6 +80,47 @@ INSERT INTO public.domaine_scientifique (id, libelle) VALUES (9, 'Sciences et te
 INSERT INTO public.domaine_scientifique (id, libelle) VALUES (10, 'Sciences agronomiques et écologiques');
 
 
+--
+-- Data for Name: formation_enquete_categorie; Type: TABLE DATA; Schema: public; Owner: :dbuser
+--
+
+INSERT INTO public.formation_enquete_categorie (id, libelle, description, ordre, histo_createur_id, histo_creation, histo_modificateur_id, histo_modification, histo_destructeur_id, histo_destruction) VALUES (3, 'Environnement et moyens pédagogiques', NULL, 1, 26181, '2022-11-22 08:15:15', 26181, '2022-11-22 08:15:15', NULL, NULL);
+INSERT INTO public.formation_enquete_categorie (id, libelle, description, ordre, histo_createur_id, histo_creation, histo_modificateur_id, histo_modification, histo_destructeur_id, histo_destruction) VALUES (4, 'A propos de la formation', NULL, 2, 26181, '2022-11-22 08:16:02', 26181, '2022-11-22 08:16:02', NULL, NULL);
+INSERT INTO public.formation_enquete_categorie (id, libelle, description, ordre, histo_createur_id, histo_creation, histo_modificateur_id, histo_modification, histo_destructeur_id, histo_destruction) VALUES (5, 'A propos du formateur', NULL, 3, 26181, '2022-11-22 08:16:14', 26181, '2022-11-22 08:16:14', NULL, NULL);
+INSERT INTO public.formation_enquete_categorie (id, libelle, description, ordre, histo_createur_id, histo_creation, histo_modificateur_id, histo_modification, histo_destructeur_id, histo_destruction) VALUES (6, 'Conclusion', NULL, 4, 26181, '2022-11-22 08:16:25', 26181, '2022-11-22 08:16:25', NULL, NULL);
+
+
+--
+-- Data for Name: formation_enquete_question; Type: TABLE DATA; Schema: public; Owner: :dbuser
+--
+
+INSERT INTO public.formation_enquete_question (id, libelle, description, ordre, histo_createur_id, histo_creation, histo_modificateur_id, histo_modification, histo_destructeur_id, histo_destruction, categorie_id) VALUES (3, 'Accueil général', NULL, 1, 26181, '2022-11-22 08:16:42', 26181, '2022-11-22 08:16:42', NULL, NULL, 3);
+INSERT INTO public.formation_enquete_question (id, libelle, description, ordre, histo_createur_id, histo_creation, histo_modificateur_id, histo_modification, histo_destructeur_id, histo_destruction, categorie_id) VALUES (4, 'Rythme de la formation', NULL, 2, 26181, '2022-11-22 08:17:01', 26181, '2022-11-22 08:17:01', NULL, NULL, 3);
+INSERT INTO public.formation_enquete_question (id, libelle, description, ordre, histo_createur_id, histo_creation, histo_modificateur_id, histo_modification, histo_destructeur_id, histo_destruction, categorie_id) VALUES (5, 'Qualité des équipements ou de la visio-conférence', NULL, 3, 26181, '2022-11-22 08:17:12', 26181, '2022-11-22 08:17:12', NULL, NULL, 3);
+INSERT INTO public.formation_enquete_question (id, libelle, description, ordre, histo_createur_id, histo_creation, histo_modificateur_id, histo_modification, histo_destructeur_id, histo_destruction, categorie_id) VALUES (6, 'Support de cours', NULL, 4, 26181, '2022-11-22 08:17:23', 26181, '2022-11-22 08:17:23', NULL, NULL, 3);
+INSERT INTO public.formation_enquete_question (id, libelle, description, ordre, histo_createur_id, histo_creation, histo_modificateur_id, histo_modification, histo_destructeur_id, histo_destruction, categorie_id) VALUES (7, 'Information préalable sur le contenu', NULL, 1, 26181, '2022-11-22 08:17:37', 26181, '2022-11-22 08:17:37', NULL, NULL, 4);
+INSERT INTO public.formation_enquete_question (id, libelle, description, ordre, histo_createur_id, histo_creation, histo_modificateur_id, histo_modification, histo_destructeur_id, histo_destruction, categorie_id) VALUES (8, 'Durée de la formation', NULL, 2, 26181, '2022-11-22 08:17:49', 26181, '2022-11-22 08:17:49', NULL, NULL, 4);
+INSERT INTO public.formation_enquete_question (id, libelle, description, ordre, histo_createur_id, histo_creation, histo_modificateur_id, histo_modification, histo_destructeur_id, histo_destruction, categorie_id) VALUES (9, 'Homogénéité du groupe', NULL, 3, 26181, '2022-11-22 08:18:01', 26181, '2022-11-22 08:18:01', NULL, NULL, 4);
+INSERT INTO public.formation_enquete_question (id, libelle, description, ordre, histo_createur_id, histo_creation, histo_modificateur_id, histo_modification, histo_destructeur_id, histo_destruction, categorie_id) VALUES (10, 'Contenu adapté à mon niveau', NULL, 4, 26181, '2022-11-22 08:18:12', 26181, '2022-11-22 08:18:12', NULL, NULL, 4);
+INSERT INTO public.formation_enquete_question (id, libelle, description, ordre, histo_createur_id, histo_creation, histo_modificateur_id, histo_modification, histo_destructeur_id, histo_destruction, categorie_id) VALUES (11, 'Contenu adapté au format (présentiel / distanciel)', NULL, 5, 26181, '2022-11-22 08:18:23', 26181, '2022-11-22 08:18:23', NULL, NULL, 4);
+INSERT INTO public.formation_enquete_question (id, libelle, description, ordre, histo_createur_id, histo_creation, histo_modificateur_id, histo_modification, histo_destructeur_id, histo_destruction, categorie_id) VALUES (12, 'Maîtrise du sujet', NULL, 1, 26181, '2022-11-22 08:18:35', 26181, '2022-11-22 08:18:35', NULL, NULL, 5);
+INSERT INTO public.formation_enquete_question (id, libelle, description, ordre, histo_createur_id, histo_creation, histo_modificateur_id, histo_modification, histo_destructeur_id, histo_destruction, categorie_id) VALUES (13, 'Qualité pédagogiques', NULL, 2, 26181, '2022-11-22 08:18:47', 26181, '2022-11-22 08:18:47', NULL, NULL, 5);
+INSERT INTO public.formation_enquete_question (id, libelle, description, ordre, histo_createur_id, histo_creation, histo_modificateur_id, histo_modification, histo_destructeur_id, histo_destruction, categorie_id) VALUES (14, 'Favorable aux échanges et à la participation', NULL, 3, 26181, '2022-11-22 08:18:58', 26181, '2022-11-22 08:19:24', NULL, NULL, 5);
+INSERT INTO public.formation_enquete_question (id, libelle, description, ordre, histo_createur_id, histo_creation, histo_modificateur_id, histo_modification, histo_destructeur_id, histo_destruction, categorie_id) VALUES (15, 'Satisfaction générale', NULL, 1, 26181, '2022-11-22 08:19:40', 26181, '2022-11-22 08:19:40', NULL, NULL, 6);
+
+
+--
+-- Data for Name: formation_etat; Type: TABLE DATA; Schema: public; Owner: :dbuser
+--
+
+INSERT INTO public.formation_etat (code, libelle, description, icone, couleur, ordre) VALUES ('C', 'Close', 'Formation close', 'icon icon-checked', 'darkgreen', 5);
+INSERT INTO public.formation_etat (code, libelle, description, icone, couleur, ordre) VALUES ('P', 'En préparation', 'Formation en cours de préparation', 'icon icon-editer', 'purple', 1);
+INSERT INTO public.formation_etat (code, libelle, description, icone, couleur, ordre) VALUES ('A', 'Session annulée', 'La session a été annulée', 'icon icon-historiser', 'darkred', 6);
+INSERT INTO public.formation_etat (code, libelle, description, icone, couleur, ordre) VALUES ('I', 'Session imminente', 'Session imminente', 'icon icon-calendrier', '#FECACA', 4);
+INSERT INTO public.formation_etat (code, libelle, description, icone, couleur, ordre) VALUES ('O', 'Inscription ouverte', NULL, 'icon icon-user-add', 'cadetblue', 2);
+INSERT INTO public.formation_etat (code, libelle, description, icone, couleur, ordre) VALUES ('F', 'Inscription fermée', NULL, 'icon icon-user-checked', 'teal', 3);
+
+
 --
 -- Data for Name: import_observ; Type: TABLE DATA; Schema: public; Owner: :dbuser
 --
@@ -93,7 +150,6 @@ INSERT INTO public.nature_fichier (id, code, libelle) VALUES (5, 'DEMANDE_CONFID
 INSERT INTO public.nature_fichier (id, code, libelle) VALUES (6, 'PROLONG_CONFIDENT', 'Demande de prolongation de confidentialité');
 INSERT INTO public.nature_fichier (id, code, libelle) VALUES (7, 'PRE_RAPPORT_SOUTENANCE', 'Pré-rapport de soutenance');
 INSERT INTO public.nature_fichier (id, code, libelle) VALUES (8, 'CONV_MISE_EN_LIGNE', 'Convention de mise en ligne');
-INSERT INTO public.nature_fichier (id, code, libelle) VALUES (9, 'AVENANT_CONV_MISE_EN_LIGNE', 'Avenant à la convention de mise en ligne');
 INSERT INTO public.nature_fichier (id, code, libelle) VALUES (22, 'COMMUNS', 'Fichier commun non lié à une thèse (ex: modèle d''avenant à la convention de MEL)');
 INSERT INTO public.nature_fichier (id, code, libelle) VALUES (61, 'JUSTIFICATIF_HDR', 'Justificatif d''habilitation à diriger des recherches');
 INSERT INTO public.nature_fichier (id, code, libelle) VALUES (62, 'DELOCALISATION_SOUTENANCE', 'Formulaire de délocalisation de soutenance');
@@ -107,6 +163,15 @@ INSERT INTO public.nature_fichier (id, code, libelle) VALUES (122, 'RAPPORT_MIPA
 INSERT INTO public.nature_fichier (id, code, libelle) VALUES (81, 'SIGNATURE_CONVOCATION', 'Signature pour la convocation à la soutenance');
 INSERT INTO public.nature_fichier (id, code, libelle) VALUES (18, 'JUSTIFICATIF_ETRANGER', 'Justificatif de la qualité d''un membre de jury étranger');
 INSERT INTO public.nature_fichier (id, code, libelle) VALUES (41, 'RAPPORT_ACTIVITE', 'Rapport annuel');
+INSERT INTO public.nature_fichier (id, code, libelle) VALUES (141, 'SIGNATURE_RAPPORT_ACTIVITE', 'Signature figurant sur la page de validation d''un rapport d''activité');
+INSERT INTO public.nature_fichier (id, code, libelle) VALUES (181, 'SIGNATURE_FORMATION', 'Signature pour les formations');
+INSERT INTO public.nature_fichier (id, code, libelle) VALUES (201, 'CONV_FORMATION_DOCTORALE', 'Convention de formation doctorale');
+INSERT INTO public.nature_fichier (id, code, libelle) VALUES (202, 'CONV_FORMATION_DOCTORALE_AVENANT', 'Avenant à la convention de formation doctorale');
+INSERT INTO public.nature_fichier (id, code, libelle) VALUES (203, 'CHARTE_DOCTORAT', 'Charte du doctorat');
+INSERT INTO public.nature_fichier (id, code, libelle) VALUES (204, 'CHARTE_DOCTORAT_AVENANT', 'Avenant à la charte du doctorat');
+INSERT INTO public.nature_fichier (id, code, libelle) VALUES (9, 'CONV_MISE_EN_LIGNE_AVENANT', 'Avenant à la convention de mise en ligne');
+INSERT INTO public.nature_fichier (id, code, libelle) VALUES (205, 'FORMATION_INTEGRITE_SCIENTIFIQUE', 'Justificatif de suivi de la formation "Intégrité scientifique"');
+INSERT INTO public.nature_fichier (id, code, libelle) VALUES (206, 'AUTORISATION_SOUTENANCE', ' ''Autorisation de soutenance''');
 
 
 --
@@ -128,6 +193,261 @@ INSERT INTO public.notif (id, code, description, recipients, template, enabled)
 ', 1);
 
 
+--
+-- Data for Name: pays; Type: TABLE DATA; Schema: public; Owner: :dbuser
+--
+
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (3, '248', 'ALA', 'AX', 'Îles Åland', 'ÅLAND, ÎLES', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::248');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (9, '660', 'AIA', 'AI', 'Anguilla', 'ANGUILLA', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::660');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (10, '010', 'ATA', 'AQ', 'Antarctique', 'ANTARCTIQUE', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::010');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (27, '060', 'BMU', 'BM', 'Bermudes', 'BERMUDES', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::060');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (30, '535', 'BES', 'BQ', 'Pays-Bas caribéens', 'BONAIRE, SAINT-EUSTACHE ET SABA', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::535');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (33, '074', 'BVT', 'BV', 'Île Bouvet', 'BOUVET, ÎLE', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::074');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (39, '136', 'CYM', 'KY', 'Îles Caïmans', 'CAÏMANES, ÎLES', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::136');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (47, '162', 'CXR', 'CX', 'Île Christmas', 'CHRISTMAS, ÎLE', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::162');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (49, '166', 'CCK', 'CC', 'Îles Cocos', 'COCOS (KEELING), ÎLES', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::166');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (54, '184', 'COK', 'CK', 'Îles Cook', 'COOK, ÎLES', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::184');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (61, '531', 'CUW', 'CW', 'Curaçao', 'CURAÇAO', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::531');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (75, '238', 'FLK', 'FK', 'Malouines', 'FALKLAND, ÎLES (MALVINAS)', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::238');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (76, '234', 'FRO', 'FO', 'Îles Féroé', 'FÉROÉ, ÎLES', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::234');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (83, '239', 'SGS', 'GS', 'Géorgie du Sud-et-les îles Sandwich du Sud', 'GÉORGIE DU SUD ET LES ÎLES SANDWICH DU SUD', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::239');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (89, '312', 'GLP', 'GP', 'Guadeloupe', 'GUADELOUPE', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::312');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (90, '316', 'GUM', 'GU', 'Guam', 'GUAM', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::316');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (92, '831', 'GGY', 'GG', 'Guernesey', 'GUERNESEY', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::831');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (97, '254', 'GUF', 'GF', 'Guyane', 'GUYANE FRANÇAISE', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::254');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (99, '334', 'HMD', 'HM', 'Îles Heard-et-MacDonald', 'HEARD ET MACDONALD, ÎLES', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::334');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (101, '344', 'HKG', 'HK', 'Hong Kong', 'HONG KONG', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::344');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (103, '833', 'IMN', 'IM', 'Île de Man', 'ÎLE DE MAN', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::833');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (104, '581', 'UMI', 'UM', 'Îles mineures éloignées des États-Unis', 'ÎLES MINEURES ÉLOIGNÉES DES ÉTATS-UNIS', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::581');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (105, '092', 'VGB', 'VG', 'Îles Vierges britanniques', 'ÎLES VIERGES BRITANNIQUES', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::092');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (106, '850', 'VIR', 'VI', 'Îles Vierges des États-Unis', 'ÎLES VIERGES DES ÉTATS-UNIS', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::850');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (117, '832', 'JEY', 'JE', 'Jersey', 'JERSEY', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::832');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (133, '446', 'MAC', 'MO', 'Macao', 'MACAO', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::446');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (141, '580', 'MNP', 'MP', 'Îles Mariannes du Nord', 'MARIANNES DU NORD, ÎLES', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::580');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (144, '474', 'MTQ', 'MQ', 'Martinique', 'MARTINIQUE', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::474');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (147, '175', 'MYT', 'YT', 'Mayotte', 'MAYOTTE', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::175');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (154, '500', 'MSR', 'MS', 'Montserrat', 'MONTSERRAT', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::500');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (163, '570', 'NIU', 'NU', 'Niue', 'NIUÉ', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::570');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (164, '574', 'NFK', 'NF', 'Île Norfolk', 'NORFOLK, ÎLE', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::574');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (166, '540', 'NCL', 'NC', 'Nouvelle-Calédonie', 'NOUVELLE-CALÉDONIE', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::540');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (178, '528', 'NLD', 'NL', 'Pays-Bas', 'PAYS-BAS', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::528');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (183, '258', 'PYF', 'PF', 'Polynésie française', 'POLYNÉSIE FRANÇAISE', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::258');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (187, '638', 'REU', 'RE', 'La Réunion', 'RÉUNION', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::638');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (193, '652', 'BLM', 'BL', 'Saint-Barthélemy', 'SAINT-BARTHÉLEMY', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::652');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (196, '663', 'MAF', 'MF', 'Saint-Martin', 'SAINT-MARTIN (PARTIE FRANÇAISE)', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::663');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (197, '534', 'SXM', 'SX', 'Saint-Martin', 'SAINT-MARTIN (PARTIE NÉERLANDAISE)', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::534');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (198, '666', 'SPM', 'PM', 'Saint-Pierre-et-Miquelon', 'SAINT-PIERRE-ET-MIQUELON', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::666');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (205, '016', 'ASM', 'AS', 'Samoa américaines', 'SAMOA AMÉRICAINES', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::016');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (216, '728', 'SSD', 'SS', 'Soudan du Sud', 'SOUDAN DU SUD', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::728');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (221, '744', 'SJM', 'SJ', 'Svalbard et ile Jan Mayen', 'SVALBARD ET ÎLE JAN MAYEN', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::744');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (229, '260', 'ATF', 'TF', 'Terres australes et antarctiques françaises', 'TERRES AUSTRALES FRANÇAISES', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::260');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (233, '772', 'TKL', 'TK', 'Tokelau', 'TOKELAU', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::772');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (238, '796', 'TCA', 'TC', 'Îles Turques-et-Caïques', 'TURKS ET CAÏQUES, ÎLES', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::796');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (246, '876', 'WLF', 'WF', 'Wallis-et-Futuna', 'WALLIS-ET-FUTUNA', NULL, NULL, '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::876');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (79, '250', 'FRA', 'FR', 'France', 'FRANCE', 'Français(e)', '100', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::250');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (62, '208', 'DNK', 'DK', 'Danemark', 'DANEMARK', 'Danois(e)', '101', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::208');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (112, '352', 'ISL', 'IS', 'Islande', 'ISLANDE', 'Islandais(e)', '102', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::352');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (165, '578', 'NOR', 'NO', 'Norvège', 'NORVÈGE', 'Norvegien(ne)', '103', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::578');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (218, '752', 'SWE', 'SE', 'Suède', 'SUÈDE', 'Suedois(e)', '104', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::752');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (78, '246', 'FIN', 'FI', 'Finlande', 'FINLANDE', 'Finlandais(e)', '105', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::246');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (72, '233', 'EST', 'EE', 'Estonie', 'ESTONIE', 'Estonien(ne)', '106', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::233');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (126, '428', 'LVA', 'LV', 'Lettonie', 'LETTONIE', 'Lettonien(ne)', '107', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::428');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (131, '440', 'LTU', 'LT', 'Lituanie', 'LITUANIE', 'Lithuanien(ne)', '108', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::440');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (6, '276', 'DEU', 'DE', 'Allemagne', 'ALLEMAGNE', 'Allemand(e)', '109', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::276');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (17, '040', 'AUT', 'AT', 'Autriche', 'AUTRICHE', 'Autrichien(ne)', '110', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::040');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (36, '100', 'BGR', 'BG', 'Bulgarie', 'BULGARIE', 'Bulgare', '111', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::100');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (208, '688', 'SRB', 'RS', 'Serbie', 'SERBIE', 'Serbe', '121', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::688');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (102, '348', 'HUN', 'HU', 'Hongrie', 'HONGRIE', 'Hongrois(e)', '112', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::348');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (130, '438', 'LIE', 'LI', 'Liechtenstein', 'LIECHTENSTEIN', 'Liechtenstein', '113', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::438');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (188, '642', 'ROU', 'RO', 'Roumanie', 'ROUMANIE', 'Roumain(e)', '114', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::642');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (228, '203', 'CZE', 'CZ', 'Tchéquie', 'TCHÉQUIE', 'Tcheque', '116', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::203');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (212, '703', 'SVK', 'SK', 'Slovaquie', 'SLOVAQUIE', 'Slovaque', '117', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::703');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (31, '070', 'BIH', 'BA', 'Bosnie-Herzégovine', 'BOSNIE-HERZÉGOVINE', 'Bosniaque', '118', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::070');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (59, '191', 'HRV', 'HR', 'Croatie', 'CROATIE', 'Croate', '119', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::191');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (182, '616', 'POL', 'PL', 'Pologne', 'POLOGNE', 'Polonais(e)', '122', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::616');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (190, '643', 'RUS', 'RU', 'Russie', 'RUSSIE, FÉDÉRATION DE', 'Russe', '123', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::643');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (4, '008', 'ALB', 'AL', 'Albanie', 'ALBANIE', 'Albanais(e)', '125', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::008');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (86, '300', 'GRC', 'GR', 'Grèce', 'GRÈCE', 'Grec(Que)', '126', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::300');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (114, '380', 'ITA', 'IT', 'Italie', 'ITALIE', 'Italien(ne)', '127', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::380');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (195, '674', 'SMR', 'SM', 'Saint-Marin', 'SAINT-MARIN', 'Saint Marin', '128', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::674');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (199, '336', 'VAT', 'VA', 'Saint-Siège (État de la Cité du Vatican)', 'SAINT-SIÈGE (ÉTAT DE LA CITÉ DU VATICAN)', 'Vatican(e)', '129', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::336');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (7, '020', 'AND', 'AD', 'Andorre', 'ANDORRE', 'Andorran(ne)', '130', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::020');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (24, '056', 'BEL', 'BE', 'Belgique', 'BELGIQUE', 'Belge', '131', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::056');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (189, '826', 'GBR', 'GB', 'Royaume-Uni', 'ROYAUME-UNI', 'Britannique', '132', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::826');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (71, '724', 'ESP', 'ES', 'Espagne', 'ESPAGNE', 'Espagnol(e)', '134', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::724');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (15, '533', 'ABW', 'AW', 'Aruba', 'ARUBA', 'Neerlandais(e)', '135', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::533');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (111, '372', 'IRL', 'IE', 'Irlande', 'IRLANDE', 'Irlandais(e)', '136', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::372');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (132, '442', 'LUX', 'LU', 'Luxembourg', 'LUXEMBOURG', 'Luxembourgeois(e)', '137', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::442');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (151, '492', 'MCO', 'MC', 'Monaco', 'MONACO', 'Monegasque', '138', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::492');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (185, '620', 'PRT', 'PT', 'Portugal', 'PORTUGAL', 'Portugais(e)', '139', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::620');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (219, '756', 'CHE', 'CH', 'Suisse', 'SUISSE', 'Suisse', '140', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::756');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (140, '470', 'MLT', 'MT', 'Malte', 'MALTE', 'Maltais(e)', '144', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::470');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (213, '705', 'SVN', 'SI', 'Slovénie', 'SLOVÉNIE', 'Slovene', '145', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::705');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (23, '112', 'BLR', 'BY', 'Biélorussie', 'BÉLARUS', 'Bielorusse', '148', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::112');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (150, '498', 'MDA', 'MD', 'Moldavie', 'MOLDAVIE', 'Moldave', '151', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::498');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (241, '804', 'UKR', 'UA', 'Ukraine', 'UKRAINE', 'Ukrainien(ne)', '155', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::804');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (12, '682', 'SAU', 'SA', 'Arabie saoudite', 'ARABIE SAOUDITE', 'Saoudien(ne)', '201', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::682');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (110, '368', 'IRQ', 'IQ', 'Irak', 'IRAQ', 'Irakien(ne)', '203', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::368');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (109, '364', 'IRN', 'IR', 'Iran', 'IRAN, RÉPUBLIQUE ISLAMIQUE D''', 'Iranien(ne)', '204', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::364');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (127, '422', 'LBN', 'LB', 'Liban', 'LIBAN', 'Libanais(e)', '205', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::422');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (223, '760', 'SYR', 'SY', 'Syrie', 'SYRIENNE, RÉPUBLIQUE ARABE', 'Syrien(ne)', '206', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::760');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (113, '376', 'ISR', 'IL', 'Israël', 'ISRAËL', 'Israelien(ne)', '207', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::376');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (239, '792', 'TUR', 'TR', 'Turquie', 'TURQUIE', 'Turc (Turque)', '208', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::792');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (1, '004', 'AFG', 'AF', 'Afghanistan', 'AFGHANISTAN', 'Afghan(e)', '212', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::004');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (172, '586', 'PAK', 'PK', 'Pakistan', 'PAKISTAN', 'Pakistanais(e)', '213', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::586');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (28, '064', 'BTN', 'BT', 'Bhoutan', 'BHOUTAN', 'Bhoutan', '214', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::064');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (159, '524', 'NPL', 'NP', 'Népal', 'NÉPAL', 'Nepalais(e)', '215', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::524');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (46, '156', 'CHN', 'CN', 'Chine', 'CHINE', 'Chinois(e)', '216', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::156');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (116, '392', 'JPN', 'JP', 'Japon', 'JAPON', 'Japonais(e)', '217', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::392');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (230, '764', 'THA', 'TH', 'Thaïlande', 'THAÏLANDE', 'Thailandais(e)', '219', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::764');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (180, '608', 'PHL', 'PH', 'Philippines', 'PHILIPPINES', 'Philippin(ne)', '220', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::608');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (118, '400', 'JOR', 'JO', 'Jordanie', 'JORDANIE', 'Jordanien(ne)', '222', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::400');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (107, '356', 'IND', 'IN', 'Inde', 'INDE', 'Indien(ne)', '223', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::356');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (156, '104', 'MMR', 'MM', 'Birmanie', 'MYANMAR', 'Birman(e)', '224', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::104');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (35, '096', 'BRN', 'BN', 'Brunei', 'BRUNÉI DARUSSALAM', 'Brunei', '225', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::096');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (211, '702', 'SGP', 'SG', 'Singapour', 'SINGAPOUR', 'Singapourien(ne)', '226', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::702');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (136, '458', 'MYS', 'MY', 'Malaisie', 'MALAISIE', 'Malais(e)', '227', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::458');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (138, '462', 'MDV', 'MV', 'Maldives', 'MALDIVES', 'Maldives', '229', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::462');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (108, '360', 'IDN', 'ID', 'Indonésie', 'INDONÉSIE', 'Indonesien(ne)', '231', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::360');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (40, '116', 'KHM', 'KH', 'Cambodge', 'CAMBODGE', 'Cambodgien(ne)', '234', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::116');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (217, '144', 'LKA', 'LK', 'Sri Lanka', 'SRI LANKA', 'Sri Lankais(e)', '235', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::144');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (225, '158', 'TWN', 'TW', 'Taïwan / (République de Chine (Taïwan))', 'TAÏWAN', 'Chinois(e) Taiwan', '236', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::158');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (56, '408', 'PRK', 'KP', 'Corée du Nord', 'CORÉE, RÉPUBLIQUE POPULAIRE DÉMOCRATIQUE DE', 'Nord Coreen(ne)', '238', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::408');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (55, '410', 'KOR', 'KR', 'Corée du Sud', 'CORÉE, RÉPUBLIQUE DE', 'Sud Coreen(ne)', '239', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::410');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (123, '414', 'KWT', 'KW', 'Koweït', 'KOWEÏT', 'Koweitien(ne)', '240', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::414');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (124, '418', 'LAO', 'LA', 'Laos', 'LAO, RÉPUBLIQUE DÉMOCRATIQUE POPULAIRE', 'Laotien(ne)', '241', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::418');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (152, '496', 'MNG', 'MN', 'Mongolie', 'MONGOLIE', 'Mongol(e)', '242', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::496');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (245, '704', 'VNM', 'VN', 'Viêt Nam', 'VIET NAM', 'Vietnamien(ne)', '243', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::704');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (21, '050', 'BGD', 'BD', 'Bangladesh', 'BANGLADESH', 'Bengali(e)', '246', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::050');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (68, '784', 'ARE', 'AE', 'Émirats arabes unis', 'ÉMIRATS ARABES UNIS', 'Emirats Arabes Unis', '247', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::784');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (186, '634', 'QAT', 'QA', 'Qatar', 'QATAR', 'Qatari(e)', '248', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::634');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (20, '048', 'BHR', 'BH', 'Bahreïn', 'BAHREÏN', 'Barheinien(ne)', '249', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::048');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (169, '512', 'OMN', 'OM', 'Oman', 'OMAN', 'Omanais(e)', '250', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::512');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (247, '887', 'YEM', 'YE', 'Yémen', 'YÉMEN', 'Yemenite', '251', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::887');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (14, '051', 'ARM', 'AM', 'Arménie', 'ARMÉNIE', 'Armenien(e)', '252', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::051');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (18, '031', 'AZE', 'AZ', 'Azerbaïdjan', 'AZERBAÏDJAN', 'Azeri(e)', '253', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::031');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (48, '196', 'CYP', 'CY', 'Chypre', 'CHYPRE', 'Chypriote', '254', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::196');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (82, '268', 'GEO', 'GE', 'Géorgie', 'GÉORGIE', 'Georgien(ne)', '255', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::268');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (119, '398', 'KAZ', 'KZ', 'Kazakhstan', 'KAZAKHSTAN', 'Kazakh', '256', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::398');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (121, '417', 'KGZ', 'KG', 'Kirghizistan', 'KIRGHIZISTAN', 'Kirghizistanais(e)', '257', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::417');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (171, '860', 'UZB', 'UZ', 'Ouzbékistan', 'OUZBÉKISTAN', 'Ouzbek', '258', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::860');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (224, '762', 'TJK', 'TJ', 'Tadjikistan', 'TADJIKISTAN', 'Tadjik', '259', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::762');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (237, '795', 'TKM', 'TM', 'Turkménistan', 'TURKMÉNISTAN', 'Turkmene', '260', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::795');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (66, '818', 'EGY', 'EG', 'Égypte', 'ÉGYPTE', 'Egyptien(ne)', '301', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::818');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (128, '430', 'LBR', 'LR', 'Liberia', 'LIBÉRIA', 'Liberian(e)', '302', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::430');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (2, '710', 'ZAF', 'ZA', 'Afrique du Sud', 'AFRIQUE DU SUD', 'Sud Africain(e)', '303', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::710');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (81, '270', 'GMB', 'GM', 'Gambie', 'GAMBIE', 'Gambien(ne)', '304', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::270');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (226, '834', 'TZA', 'TZ', 'Tanzanie', 'TANZANIE, RÉPUBLIQUE UNIE DE', 'Tanzanien(ne)', '309', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::834');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (249, '716', 'ZWE', 'ZW', 'Zimbabwe', 'ZIMBABWE', 'Zimbabweien(ne)', '310', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::716');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (157, '516', 'NAM', 'NA', 'Namibie', 'NAMIBIE', 'Namibien(ne)', '311', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::516');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (53, '180', 'COD', 'CD', 'République démocratique du Congo', 'CONGO, RÉPUBLIQUE DÉMOCRATIQUE DU', 'Zairois(e)', '312', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::180');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (95, '226', 'GNQ', 'GQ', 'Guinée équatoriale', 'GUINÉE ÉQUATORIALE', 'Guineen(ne) Equatori', '314', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::226');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (74, '231', 'ETH', 'ET', 'Éthiopie', 'ÉTHIOPIE', 'Ethiopien(ne)', '315', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::231');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (129, '434', 'LBY', 'LY', 'Libye', 'LIBYE', 'Libyen(ne)', '316', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::434');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (214, '706', 'SOM', 'SO', 'Somalie', 'SOMALIE', 'Somalien(ne)', '318', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::706');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (38, '108', 'BDI', 'BI', 'Burundi', 'BURUNDI', 'Burundais(e)', '321', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::108');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (41, '120', 'CMR', 'CM', 'Cameroun', 'CAMEROUN', 'Camerounais(e)', '322', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::120');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (44, '140', 'CAF', 'CF', 'République centrafricaine', 'CENTRAFRICAINE, RÉPUBLIQUE', 'Centrafricain(e)', '323', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::140');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (52, '178', 'COG', 'CG', 'République du Congo', 'CONGO', 'Congolais(e)', '324', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::178');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (58, '384', 'CIV', 'CI', 'Côte d''Ivoire', 'CÔTE D''IVOIRE', 'Ivoirien(ne)', '326', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::384');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (26, '204', 'BEN', 'BJ', 'Bénin', 'BÉNIN', 'Beninois(e)', '327', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::204');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (80, '266', 'GAB', 'GA', 'Gabon', 'GABON', 'Gabonais(e)', '328', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::266');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (84, '288', 'GHA', 'GH', 'Ghana', 'GHANA', 'Ghaneen(ne)', '329', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::288');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (93, '324', 'GIN', 'GN', 'Guinée', 'GUINÉE', 'Guineen(ne)', '330', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::324');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (37, '854', 'BFA', 'BF', 'Burkina Faso', 'BURKINA FASO', 'Burkinabe', '331', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::854');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (120, '404', 'KEN', 'KE', 'Kenya', 'KENYA', 'Kenyan(ne)', '332', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::404');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (135, '450', 'MDG', 'MG', 'Madagascar', 'MADAGASCAR', 'Malgache', '333', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::450');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (137, '454', 'MWI', 'MW', 'Malawi', 'MALAWI', 'Malawien(ne)', '334', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::454');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (139, '466', 'MLI', 'ML', 'Mali', 'MALI', 'Malien(ne)', '335', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::466');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (146, '478', 'MRT', 'MR', 'Mauritanie', 'MAURITANIE', 'Mauritanien(ne)', '336', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::478');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (161, '562', 'NER', 'NE', 'Niger', 'NIGER', 'Nigerien(ne)', '337', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::562');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (162, '566', 'NGA', 'NG', 'Nigeria', 'NIGÉRIA', 'Nigerian(e)', '338', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::566');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (170, '800', 'UGA', 'UG', 'Ouganda', 'OUGANDA', 'Ougandais(e)', '339', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::800');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (191, '646', 'RWA', 'RW', 'Rwanda', 'RWANDA', 'Ruandais(e)', '340', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::646');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (207, '686', 'SEN', 'SN', 'Sénégal', 'SÉNÉGAL', 'Senegalais(e)', '341', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::686');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (210, '694', 'SLE', 'SL', 'Sierra Leone', 'SIERRA LEONE', 'Sierra Leone', '342', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::694');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (215, '729', 'SDN', 'SD', 'Soudan', 'SOUDAN', 'Soudanais(e)', '343', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::729');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (227, '148', 'TCD', 'TD', 'Tchad', 'TCHAD', 'Tchadien(ne)', '344', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::148');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (232, '768', 'TGO', 'TG', 'Togo', 'TOGO', 'Togolais(e)', '345', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::768');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (248, '894', 'ZMB', 'ZM', 'Zambie', 'ZAMBIE', 'Zambien(ne)', '346', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::894');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (32, '072', 'BWA', 'BW', 'Botswana', 'BOTSWANA', 'Botswanais(e)', '347', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::072');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (125, '426', 'LSO', 'LS', 'Lesotho', 'LESOTHO', 'Lesotho', '348', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::426');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (142, '504', 'MAR', 'MA', 'Maroc', 'MAROC', 'Marocain(e)', '350', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::504');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (236, '788', 'TUN', 'TN', 'Tunisie', 'TUNISIE', 'Tunisien(ne)', '351', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::788');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (5, '012', 'DZA', 'DZ', 'Algérie', 'ALGÉRIE', 'Algerien(ne)', '352', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::012');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (145, '480', 'MUS', 'MU', 'Maurice', 'MAURICE', 'Mauricien(ne)', '390', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::480');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (222, '748', 'SWZ', 'SZ', 'Eswatini', 'ESWATINI', 'Swazilandais(e)', '391', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::748');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (94, '624', 'GNB', 'GW', 'Guinée-Bissau', 'GUINÉE-BISSAU', 'Guineen(ne) Bissau', '392', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::624');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (155, '508', 'MOZ', 'MZ', 'Mozambique', 'MOZAMBIQUE', 'Mozambiquois(e)', '393', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::508');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (206, '678', 'STP', 'ST', 'Sao Tomé-et-Principe', 'SAO TOMÉ-ET-PRINCIPE', 'Sao Tome Et Principe', '394', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::678');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (8, '024', 'AGO', 'AO', 'Angola', 'ANGOLA', 'Angolais(e)', '395', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::024');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (43, '132', 'CPV', 'CV', 'Cap-Vert', 'CABO VERDE', 'Cap Verdien(ne)', '396', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::132');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (51, '174', 'COM', 'KM', 'Comores', 'COMORES', 'Comorien(ne)', '397', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::174');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (209, '690', 'SYC', 'SC', 'Seychelles', 'SEYCHELLES', 'Seychelles', '398', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::690');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (63, '262', 'DJI', 'DJ', 'Djibouti', 'DJIBOUTI', 'Djiboutien(ne)', '399', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::262');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (42, '124', 'CAN', 'CA', 'Canada', 'CANADA', 'Canadien(ne)', '401', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::124');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (73, '840', 'USA', 'US', 'États-Unis', 'ÉTATS-UNIS', 'Americain(e)', '404', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::840');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (148, '484', 'MEX', 'MX', 'Mexique', 'MEXIQUE', 'Mexicain(e)', '405', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::484');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (57, '188', 'CRI', 'CR', 'Costa Rica', 'COSTA RICA', 'Costa Ricain(e)', '406', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::188');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (60, '192', 'CUB', 'CU', 'Cuba', 'CUBA', 'Cubain(e)', '407', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::192');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (64, '214', 'DOM', 'DO', 'République dominicaine', 'DOMINICAINE, RÉPUBLIQUE', 'Dominicain(e)', '408', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::214');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (91, '320', 'GTM', 'GT', 'Guatemala', 'GUATEMALA', 'Guatemalteque', '409', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::320');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (98, '332', 'HTI', 'HT', 'Haïti', 'HAÏTI', 'Haitien(ne)', '410', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::332');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (100, '340', 'HND', 'HN', 'Honduras', 'HONDURAS', 'Hondurien(ne)', '411', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::340');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (160, '558', 'NIC', 'NI', 'Nicaragua', 'NICARAGUA', 'Nicaraguais(e)', '412', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::558');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (175, '591', 'PAN', 'PA', 'Panama', 'PANAMA', 'Panameen(ne)', '413', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::591');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (67, '222', 'SLV', 'SV', 'Salvador', 'EL SALVADOR', 'El Salvadorien(ne)', '414', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::222');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (13, '032', 'ARG', 'AR', 'Argentine', 'ARGENTINE', 'Argentin(e)', '415', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::032');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (34, '076', 'BRA', 'BR', 'Brésil', 'BRÉSIL', 'Bresilien(ne)', '416', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::076');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (45, '152', 'CHL', 'CL', 'Chili', 'CHILI', 'Chilien(ne)', '417', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::152');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (29, '068', 'BOL', 'BO', 'Bolivie', 'BOLIVIE, ÉTAT PLURINATIONAL DE', 'Bolivien(ne)', '418', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::068');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (50, '170', 'COL', 'CO', 'Colombie', 'COLOMBIE', 'Colombien(ne)', '419', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::170');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (69, '218', 'ECU', 'EC', 'Équateur', 'ÉQUATEUR', 'Equatorien(ne)', '420', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::218');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (177, '600', 'PRY', 'PY', 'Paraguay', 'PARAGUAY', 'Paraguayen(ne)', '421', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::600');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (179, '604', 'PER', 'PE', 'Pérou', 'PÉROU', 'Peruvien(ne)', '422', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::604');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (242, '858', 'URY', 'UY', 'Uruguay', 'URUGUAY', 'Uruguayen(ne)', '423', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::858');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (244, '862', 'VEN', 'VE', 'Venezuela', 'VENEZUELA, RÉPUBLIQUE BOLIVARIENNE DU', 'Venezuelien(ne)', '424', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::862');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (115, '388', 'JAM', 'JM', 'Jamaïque', 'JAMAÏQUE', 'Jamaicain(e)', '426', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::388');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (96, '328', 'GUY', 'GY', 'Guyana', 'GUYANA', 'Guyanais(e)', '428', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::328');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (25, '084', 'BLZ', 'BZ', 'Belize', 'BELIZE', 'Belize', '429', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::084');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (235, '780', 'TTO', 'TT', 'Trinité-et-Tobago', 'TRINITÉ-ET-TOBAGO', 'Trinite Et Tobago', '433', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::780');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (22, '052', 'BRB', 'BB', 'Barbade', 'BARBADE', 'Barbade', '434', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::052');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (87, '308', 'GRD', 'GD', 'Grenade', 'GRENADE', 'Grenade Etgrenadines', '435', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::308');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (19, '044', 'BHS', 'BS', 'Bahamas', 'BAHAMAS', 'Bahamas', '436', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::044');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (220, '740', 'SUR', 'SR', 'Suriname', 'SURINAME', 'Surinamais(e)', '437', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::740');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (11, '028', 'ATG', 'AG', 'Antigua-et-Barbuda', 'ANTIGUA-ET-BARBUDA', 'Antigua Et Barbuda', '441', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::028');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (194, '659', 'KNA', 'KN', 'Saint-Christophe-et-Niévès', 'SAINT-KITTS-ET-NEVIS', 'St Christophe Nieves', '442', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::659');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (16, '036', 'AUS', 'AU', 'Australie', 'AUSTRALIE', 'Australien(ne)', '501', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::036');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (167, '554', 'NZL', 'NZ', 'Nouvelle-Zélande', 'NOUVELLE-ZÉLANDE', 'Neo Zelandais(e)', '502', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::554');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (204, '882', 'WSM', 'WS', 'Samoa', 'SAMOA', 'Samoan(ne)', '506', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::882');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (158, '520', 'NRU', 'NR', 'Nauru', 'NAURU', 'Nauru', '507', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::520');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (243, '548', 'VUT', 'VU', 'Vanuatu', 'VANUATU', 'Vanuatu', '514', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::548');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (143, '584', 'MHL', 'MH', 'Îles Marshall', 'MARSHALL, ÎLES', 'Ile Marshall', '515', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::584');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (149, '583', 'FSM', 'FM', 'États fédérés de Micronésie', 'MICRONÉSIE, ÉTATS FÉDÉRÉS DE', 'Micronesien(ne)', '516', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::583');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (77, '242', 'FJI', 'FJ', 'Fidji', 'FIDJI', 'Fidji', '508', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::242');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (122, '296', 'KIR', 'KI', 'Kiribati', 'KIRIBATI', 'Kiribati', '513', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::296');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (176, '598', 'PNG', 'PG', 'Papouasie-Nouvelle-Guinée', 'PAPOUASIE-NOUVELLE-GUINÉE', 'Papouasie', '510', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::598');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (203, '090', 'SLB', 'SB', 'Îles Salomon', 'SALOMON, ÎLES', 'Salomon', '512', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::090');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (181, '612', 'PCN', 'PN', 'Îles Pitcairn', 'PITCAIRN', 'Britannique', '503', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::612');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (184, '630', 'PRI', 'PR', 'Porto Rico', 'PORTO RICO', 'Americain(e)', '432', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::630');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (201, '654', 'SHN', 'SH', 'Sainte-Hélène, Ascension et Tristan da Cunha', 'SAINTE-HÉLÈNE, ASCENSION ET TRISTAN DA CUNHA', 'Britannique', '306', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::654');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (168, '086', 'IOT', 'IO', 'Territoire britannique de l''océan Indien', 'OCÉAN INDIEN, TERRITOIRE BRITANNIQUE DE L''', 'Britannique', '308', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::086');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (85, '292', 'GIB', 'GI', 'Gibraltar', 'GIBRALTAR', 'Britannique', '133', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::292');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (134, '807', 'MKD', 'MK', 'Macédoine du Nord', 'RÉPUBLIQUE DE MACÉDOINE', 'Macedoine Ex. Rep Yougo', '156', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::807');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (70, '232', 'ERI', 'ER', 'Érythrée', 'ÉRYTHRÉE', 'Erythree', '317', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::232');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (65, '212', 'DMA', 'DM', 'Dominique', 'DOMINIQUE', 'Dominicain(e)', '438', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::212');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (202, '662', 'LCA', 'LC', 'Sainte-Lucie', 'SAINTE-LUCIE', 'Sainte-Lucien(e)', '439', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::662');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (88, '304', 'GRL', 'GL', 'Groenland', 'GROENLAND', 'Danois(e)', '430', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::304');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (200, '670', 'VCT', 'VC', 'Saint-Vincent-et-les-Grenadines', 'SAINT-VINCENT-ET-LES-GRENADINES', 'Saint Vincent Et Grenadines Nord', '440', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::670');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (234, '776', 'TON', 'TO', 'Tonga', 'TONGA', 'Tongua Ou Friendly', '509', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::776');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (240, '798', 'TUV', 'TV', 'Tuvalu', 'TUVALU', 'Tuvalu', '511', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::798');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (174, '275', 'PSE', 'PS', 'Palestine', 'ÉTAT DE PALESTINE', 'Palestinien(ne)', '261', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::275');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (192, '732', 'ESH', 'EH', 'République arabe sahraouie démocratique', 'SAHARA OCCIDENTAL', 'Sahara Occidental', '389', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::732');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (173, '585', 'PLW', 'PW', 'Palaos', 'PALAOS', 'Palaosien(ne)', '517', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::585');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (153, '499', 'MNE', 'ME', 'Monténégro', 'MONTÉNÉGRO', 'Montenegro', '120', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::499');
+INSERT INTO public.pays (id, code_iso, code_iso_alpha3, code_iso_alpha2, libelle, libelle_iso, libelle_nationalite, code_pays_apogee, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, source_id, source_code) VALUES (231, '626', 'TLS', 'TL', 'Timor oriental', 'TIMOR-LESTE', 'Timor Oriental', '262', '2022-06-27 12:52:16.043676', 1, NULL, NULL, NULL, NULL, 1, 'SYGAL::626');
+
+
 --
 -- Data for Name: privilege; Type: TABLE DATA; Schema: public; Owner: :dbuser
 --
@@ -165,7 +485,6 @@ INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (66
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (343, 47, 'televerser', 'Téléversement de fichier commun non lié à une thèse (ex: avenant à la convention de MEL)', 10);
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (344, 47, 'telecharger', 'Téléchargement de fichier commun non lié à une thèse (ex: avenant à la convention de MEL)', 20);
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (461, 3080, 'gestion-president', 'Affichage de la gestion des Présidents du jury', 10);
-INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (425, 4, 'afficher-mail-contact', 'Afficher le mail de contact', 20);
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (381, 3, 'consultation-page-couverture', 'Consultation de la page de couverture', 3026);
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (462, 3080, 'modifier-mail-president', 'Modification de l''email des Présidents du jury', 20);
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (463, 3080, 'notifier-president', 'Notification des Présidents du jury', 30);
@@ -180,8 +499,6 @@ INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (53
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (540, 3121, 'telecharger-tout', 'Télécharger les rapports concernant toute thèse', 700);
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (541, 3121, 'telecharger-sien', 'Télécharger les rapports concernant ses thèses', 800);
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (542, 3121, 'telecharger-zip', 'Télécharger des rapports sous la forme d''une archive compressée (.zip)', 900);
-INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (543, 3121, 'rechercher-tout', 'Rechercher des rapports concernant toute thèse', 1000);
-INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (544, 3121, 'rechercher-sien', 'Rechercher des rapports concernant ses thèses', 1100);
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (561, 3140, 'lister-tout', 'Lister les rapports concernant toute thèse', 100);
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (562, 3140, 'lister-sien', 'Lister les rapports concernant ses thèses', 200);
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (563, 3140, 'televerser-tout', 'Téléverser un rapport concernant toute thèse', 300);
@@ -199,6 +516,7 @@ INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (57
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (575, 3141, 'televerser-sien', 'Téléverser un rapport concernant ses thèses', 400);
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (576, 3141, 'supprimer-tout', 'Supprimer un rapport concernant toute thèse', 500);
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (577, 3141, 'supprimer-sien', 'Supprimer un rapport concernant ses thèses', 600);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (425, 4, 'afficher-email-contact', 'Visualiser l''email de contact du doctorant', 20);
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (578, 3141, 'telecharger-tout', 'Télécharger les rapports concernant toute thèse', 700);
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (579, 3141, 'telecharger-sien', 'Télécharger les rapports concernant ses thèses', 800);
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (580, 3141, 'telecharger-zip', 'Télécharger des rapports sous la forme d''une archive compressée (.zip)', 900);
@@ -236,7 +554,6 @@ INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (6,
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (9, 2, 'vues-procedures', 'Mise à jour des vues différentielles et des procédures de mise à jour', 4);
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (8, 2, 'tbl', 'Tableau de bord principal', 3);
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (7, 2, 'maj', 'Mise à jour des données à partir de leurs sources', 2);
-INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (11, 4, 'modification-persopass', 'Modification du persopass', 10);
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (14, 5, 'attribution-role', 'Attribution de rôle aux utilisateurs', 20);
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (41, 3, 'saisie-description-version-initiale', 'Saisie de la description de la thèse', 3040);
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (49, 3, 'saisie-description-version-corrigee', 'Saisie de la description de version corrigée', 3041);
@@ -293,6 +610,110 @@ INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (38
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (39, 19, 'modification-sa-structure', 'Modification de la substitution de sa structure', 500);
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (662, 101, 'simuler_remontees', 'Simulation des remontées du jury du SI', 1000);
 INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (682, 3, 'accorder-sursis-correction', 'Accorder un sursis pour le téléversement de la version corrigée', 3047);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (701, 3121, 'ajouter-avis-tout', 'Ajouter un avis sur un rapport concernant toute thèse', 10);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (702, 3121, 'supprimer-avis-tout', 'Supprimer un avis sur un rapport concernant toute thèse', 30);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (703, 3121, 'ajouter-avis-sien', 'Ajouter un avis sur un rapport concernant ses thèses', 20);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (704, 3121, 'supprimer-avis-sien', 'Supprimer un avis sur un rapport concernant ses thèses', 40);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (721, 101, 'declaration-honneur-valider', 'Valider/Refuser la déclaration sur l''honneur de non plagiat', 1001);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (722, 101, 'declaration-honneur-revoquer', 'Revoquer la déclaration sur l''honneur de non plagiat', 1002);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (723, 3200, 'synchro-lister', 'Lister les synchros', 40);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (724, 3200, 'log-lister', 'Lister les logs', 70);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (725, 3200, 'synchro-lancer', 'Lancer une synchro', 60);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (726, 3200, 'import-lancer', 'Lancer un import', 30);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (727, 3200, 'observation-consulter-resultat', 'Consulter les resultats d''une observation', 100);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (728, 3200, 'import-lister', 'Lister les imports', 10);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (729, 3200, 'synchro-consulter', 'Consulter une synchro', 50);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (730, 3200, 'import-consulter', 'Consulter un import', 20);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (731, 3200, 'log-consulter', 'Consulter un log', 80);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (732, 3200, 'observation-lister', 'Lister les observations', 90);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (741, 3220, 'individucompl_afficher', 'Afficher un complément d''individu', 20);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (742, 3220, 'individucompl_supprimer', 'Suppression un complément d''individu', 40);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (743, 3220, 'individucompl_index', 'Accéder à l''index des compléments d''individu', 10);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (744, 3220, 'individucompl_modifier', 'Modifier un complément d''individu', 30);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (761, 3121, 'modifier-avis-tout', 'Modifier un avis sur un rapport concernant toute thèse', 25);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (762, 3121, 'modifier-avis-sien', 'Modifier un avis sur un rapport concernant ses thèses', 26);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (781, 3220, 'modifier', 'Modifier un individu', 4);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (782, 3220, 'consulter', 'Consulter la fiche détaillée d''un individu', 2);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (783, 3220, 'lister', 'Lister les individus', 1);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (784, 3220, 'supprimer', 'Supprimer un individu', 5);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (785, 3220, 'ajouter', 'Créer un individu', 3);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (801, 5000, 'index_doctorant', 'Accès à l''index doctorant', 2);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (802, 5000, 'index_formateur', 'Accès à l''index des formateurs', 3);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (803, 5000, 'index', 'Accès à l''index du module de formation', 1);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (804, 5001, 'index', 'Accès à l''index des modules de formation', 1);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (805, 5001, 'catalogue', 'Accéder au catalogue des formations ', 7);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (806, 5001, 'afficher', 'Afficher un module de formation', 2);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (807, 5001, 'modifier', 'Modifier un module de formation', 4);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (808, 5001, 'historiser', 'Historiser/Restaurer un module de formation', 5);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (809, 5001, 'supprimer', 'Supprimer un module de formation', 6);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (810, 5001, 'ajouter', 'Ajouter un module de formation', 3);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (818, 5003, 'afficher', 'Afficher une session de formation', 2);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (819, 5003, 'ajouter', 'Ajouter une session de formation', 3);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (820, 5003, 'index', 'Accès à l''index des sessions de formation', 1);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (821, 5003, 'modifier', 'Modifier une session de formation', 4);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (822, 5003, 'gerer_inscription', 'Gerer les inscriptions d''une session de formation', 7);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (823, 5003, 'historiser', 'Historiser/Restaurer une session de formation', 5);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (824, 5003, 'supprimer', 'Supprimer une session de formation', 6);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (825, 5004, 'ajouter', 'Ajouter une séance de formation', 3);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (826, 5004, 'supprimer', 'Supprimer une séance de formation', 6);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (827, 5004, 'afficher', 'Afficher une séance de formation', 2);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (828, 5004, 'modifier', 'Modifier une séance de formation', 4);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (829, 5004, 'historiser', 'Historiser/Restaurer une séance de formation', 5);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (830, 5004, 'index', 'Accès à l''index des séances de formation', 1);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (831, 5004, 'renseigner_presence', 'Renseigner les présences', 7);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (832, 5005, 'supprimer', 'Supprimer une inscription de formation', 6);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (833, 5005, 'afficher', 'Afficher une inscription de formation', 2);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (834, 5005, 'historiser', 'Historiser/Restaurer une inscription de formation', 5);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (835, 5005, 'ajouter', 'Ajouter une inscription de formation', 3);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (836, 5005, 'gerer_liste', 'Gerer la liste d''une inscription', 7);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (837, 5005, 'index', 'Accès à l''index des inscriptions de formation', 1);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (838, 5005, 'generer_attestation', 'Gerer l''attestation', 9);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (839, 5005, 'generer_convocation', 'Generer la convoctation', 8);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (840, 5006, 'reponse_repondre', 'Répondre à l''enquête', 8);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (841, 5006, 'question_modifier', 'Modifier une question de l''enquête', 3);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (842, 5006, 'reponse_resultat', 'Afficher les résultats de l''enquête', 9);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (843, 5006, 'question_supprimer', 'Supprimer une question de l''enquête', 6);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (844, 5006, 'question_afficher', 'Afficher les questions de l''enquête', 2);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (845, 5006, 'question_ajouter', 'Ajouter une question de l''enquête', 3);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (846, 5006, 'question_historiser', 'Historiser/Restaurer une question de l''enquête', 5);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (861, 5020, 'documentmacro_modifier', 'Modifier une macro', 20);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (862, 5020, 'documentmacro_supprimer', 'Supprimer une macro', 40);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (863, 5020, 'documentmacro_index', 'Afficher l''index des macros', 1);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (864, 5020, 'documentmacro_ajouter', 'Ajouter une macro', 10);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (865, 5021, 'documenttemplate_afficher', 'Afficher un template', 10);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (866, 5021, 'documenttemplate_index', 'Afficher l''index des contenus', 1);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (867, 5021, 'documenttemplate_supprimer', 'Supprimer un contenu', 40);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (868, 5021, 'documenttemplate_ajouter', 'Ajouter un contenu', 15);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (869, 5021, 'documenttemplate_modifier', 'Modifier un contenu', 20);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (870, 5022, 'documentcontenu_index', 'Accès à l''index des contenus', 10);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (871, 5022, 'documentcontenu_afficher', 'Afficher un contenu', 20);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (872, 5022, 'documentcontenu_supprimer', 'Supprimer un contenu ', 30);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (881, 5002, 'afficher', 'Afficher une action de formation', 2);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (882, 5002, 'modifier', 'Modifier une action de formation', 4);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (883, 5002, 'historiser', 'Historiser/Restaurer une action de formation', 5);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (884, 5002, 'supprimer', 'Supprimer une action de formation', 6);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (885, 5002, 'index', 'Accès à l''index des actions de formation', 1);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (886, 5002, 'ajouter', 'Ajouter une action de formation', 3);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (901, 5040, 'log-lister', 'Lister les logs', 10);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (902, 5040, 'log-consulter', 'Consulter les détails d''un log', 20);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (903, 5040, 'tef-telecharger', 'Télécharger le fichier TEF envoyé', 30);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (11, 4, 'modifier-email-contact', 'Modifier l''email de contact du doctorant', 10);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (1000, 5080, 'parametrecategorie_index', 'Affichage de l''index des paramètres', 10);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (1001, 5080, 'parametrecategorie_afficher', 'Affichage des détails d''une catégorie', 20);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (1002, 5080, 'parametrecategorie_modifier', 'Modifier une catégorie de paramètre', 40);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (1003, 5080, 'parametrecategorie_supprimer', 'Supprimer une catégorie de paramètre', 60);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (1004, 5080, 'parametrecategorie_ajouter', 'Ajouter une catégorie de paramètre', 30);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (1020, 3121, 'ajouter-sien', 'Ajouter un rapport d''activité concernant ses thèses', 220);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (1021, 3121, 'consulter-tout', 'Consulter un rapport d''activité concernant toute thèse', 230);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (1022, 3121, 'consulter-sien', 'Consulter un rapport d''activité concernant ses thèses', 240);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (1023, 3121, 'generer-tout', 'Générer un rapport d''activité au format PDF concernant toute thèse', 245);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (1024, 3121, 'ajouter-tout', 'Ajouter un rapport d''activité concernant toute thèse', 210);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (1025, 3121, 'modifier-tout', 'Modifier un rapport d''activité concernant toute thèse', 225);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (1026, 3121, 'generer-sien', 'Générer un rapport d''activité au format PDF concernant ses thèses', 246);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (1027, 3121, 'modifier-sien', 'Modifier un rapport d''activité concernant ses thèses', 226);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (1040, 5100, 'missionenseignement_modifier', 'Ajouter/Retirer des missions d''enseignement', 20);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (1041, 5100, 'missionenseignement_visualiser', 'Visualiser les missions d''enseignement', 10);
+INSERT INTO public.privilege (id, categorie_id, code, libelle, ordre) VALUES (1060, 101, 'proposition-revoquer-structure', 'Révoquer la validation (structure) de la proposition', 34);
 
 
 --
@@ -326,6 +747,8 @@ INSERT INTO public.profil (id, libelle, role_id, structure_type, description, or
 INSERT INTO public.profil (id, libelle, role_id, structure_type, description, ordre) VALUES (65, 'Gestionnaire École doctorale', 'GEST_ED', 2, NULL, 30);
 INSERT INTO public.profil (id, libelle, role_id, structure_type, description, ordre) VALUES (1, 'Responsable Unité de recherche', 'RESP_UR', 3, NULL, 40);
 INSERT INTO public.profil (id, libelle, role_id, structure_type, description, ordre) VALUES (2, 'Responsable École doctorale', 'RESP_ED', 2, NULL, 30);
+INSERT INTO public.profil (id, libelle, role_id, structure_type, description, ordre) VALUES (81, 'Formateur·trice', 'FORMATEUR', NULL, NULL, 0);
+INSERT INTO public.profil (id, libelle, role_id, structure_type, description, ordre) VALUES (82, 'Gestionnaire de formation', 'GEST_FORMATION', NULL, NULL, 0);
 
 
 --
@@ -381,7 +804,6 @@ INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (537, 2);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (539, 2);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (541, 2);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (542, 2);
-INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (544, 2);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (562, 2);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (564, 2);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (566, 2);
@@ -394,8 +816,6 @@ INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (577, 2);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (579, 2);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (580, 2);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (582, 2);
-INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (584, 2);
-INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (586, 2);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (11, 3);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (15, 3);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (35, 3);
@@ -498,7 +918,6 @@ INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (536, 4);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (538, 4);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (540, 4);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (542, 4);
-INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (543, 4);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (561, 4);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (563, 4);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (565, 4);
@@ -696,8 +1115,6 @@ INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (539, 6);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (540, 6);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (541, 6);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (542, 6);
-INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (543, 6);
-INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (544, 6);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (561, 6);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (562, 6);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (563, 6);
@@ -751,7 +1168,6 @@ INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (127, 7);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (129, 7);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (137, 7);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (160, 7);
-INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (177, 7);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (197, 7);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (198, 7);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (199, 7);
@@ -765,7 +1181,6 @@ INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (487, 7);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (502, 7);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (503, 7);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (504, 7);
-INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (510, 7);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (513, 7);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (520, 7);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (521, 7);
@@ -773,7 +1188,6 @@ INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (535, 7);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (537, 7);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (539, 7);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (541, 7);
-INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (544, 7);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (562, 7);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (564, 7);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (566, 7);
@@ -936,7 +1350,6 @@ INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (537, 65);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (539, 65);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (541, 65);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (542, 65);
-INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (544, 65);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (562, 65);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (564, 65);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (566, 65);
@@ -949,8 +1362,6 @@ INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (577, 65);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (579, 65);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (580, 65);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (582, 65);
-INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (584, 65);
-INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (586, 65);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (35, 64);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (47, 64);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (81, 64);
@@ -967,7 +1378,6 @@ INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (409, 64);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (421, 64);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (422, 64);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (502, 64);
-INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (506, 64);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (510, 64);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (512, 64);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (513, 64);
@@ -978,45 +1388,329 @@ INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (503, 6);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (485, 4);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (486, 4);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (487, 4);
-INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (682, 4);
-INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (682, 6);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (367, 4);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (368, 4);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (661, 4);
 INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (409, 11);
-
-
---
--- Data for Name: soutenance_configuration; Type: TABLE DATA; Schema: public; Owner: :dbuser
---
-
-INSERT INTO public.soutenance_configuration (id, code, libelle, valeur) VALUES (1, 'AVIS_DEADLINE', 'Nombre de jours avant soutenance pour le retour des rapports', '14');
-INSERT INTO public.soutenance_configuration (id, code, libelle, valeur) VALUES (2, 'JURY_SIZE_MIN', 'Nombre minimal de membre de jury et de rapporteur', '4');
-INSERT INTO public.soutenance_configuration (id, code, libelle, valeur) VALUES (3, 'JURY_SIZE_MAX', 'Nombre maximal de membre de jury et de rapporteur', '8');
-INSERT INTO public.soutenance_configuration (id, code, libelle, valeur) VALUES (4, 'JURY_RAPPORTEUR_SIZE_MIN', 'Nombre minimal de rapporteur', '2');
-INSERT INTO public.soutenance_configuration (id, code, libelle, valeur) VALUES (5, 'JURY_RANGA_RATIO_MIN', 'Ratio minimal de membre de rang A', '0.5');
-INSERT INTO public.soutenance_configuration (id, code, libelle, valeur) VALUES (6, 'JURY_EXTERIEUR_RATIO_MIN', 'Ratio minimal de membre exterieur', '0.50');
-INSERT INTO public.soutenance_configuration (id, code, libelle, valeur) VALUES (7, 'JURY_PARITE_RATIO_MIN', 'Ratio minimal sur la parity du jury', '0');
-INSERT INTO public.soutenance_configuration (id, code, libelle, valeur) VALUES (8, 'PROPOSITION_ORDRE_VALIDATION_ACTEUR', 'Ordre de validation de la proposition pour les acteurs directs', '1');
-INSERT INTO public.soutenance_configuration (id, code, libelle, valeur) VALUES (9, 'PROPOSITION_ORDRE_VALIDATION_UR', 'Ordre de validation de la proposition pour l''unité de recherche', '2');
-INSERT INTO public.soutenance_configuration (id, code, libelle, valeur) VALUES (10, 'PROPOSITION_ORDRE_VALIDATION_ED', 'Ordre de validation de la proposition pour l''école doctorale', '3');
-INSERT INTO public.soutenance_configuration (id, code, libelle, valeur) VALUES (11, 'PROPOSITION_ORDRE_VALIDATION_BDD', 'Ordre de validation de la proposition pour le bureau des doctorats', '4');
-INSERT INTO public.soutenance_configuration (id, code, libelle, valeur) VALUES (12, 'PROPOSITION_ORDRE_VALIDATION_PRESIDENT', 'Ordre de validation de la proposition pour le président', '-1');
-INSERT INTO public.soutenance_configuration (id, code, libelle, valeur) VALUES (13, 'FORMULAIRE_DELOCALISATION', 'Formulaire de demande de délocalisation de la soutenance', 'https://sygal.normandie-univ.fr/fichier/telecharger/permanent/DEMANDE_DELOCALISATION_SOUTENANCE');
-INSERT INTO public.soutenance_configuration (id, code, libelle, valeur) VALUES (14, 'FORMULAIRE_DELEGUATION', 'Formulaire de demande de déléguation de signature', 'https://sygal.normandie-univ.fr/fichier/telecharger/permanent/DEMANDE_DELEGATION_SIGNATURE');
-INSERT INTO public.soutenance_configuration (id, code, libelle, valeur) VALUES (15, 'FORMULAIRE_LABEL_EUROPEEN', 'Formulaire de demande de label européen', 'https://sygal.normandie-univ.fr/fichier/telecharger/permanent/DEMANDE_LABEL_EUROPEEN');
-INSERT INTO public.soutenance_configuration (id, code, libelle, valeur) VALUES (18, 'PERIODE_INTERVENTION_DIRECTEUR', 'Période autorisant les directeurs à intervenir', '21');
-INSERT INTO public.soutenance_configuration (id, code, libelle, valeur) VALUES (16, 'FORMULAIRE_THESE_ANGLAIS', 'Formulaire de demande de rédaction en anglais', '');
-INSERT INTO public.soutenance_configuration (id, code, libelle, valeur) VALUES (17, 'FORMULAIRE_CONFIDENTIALITE', 'Formulaire de de mande de confidentialité', 'https://sygal.normandie-univ.fr/fichier/telecharger/permanent/DEMANDE_DE_CONFIDENTIALITE');
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (682, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (682, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (81, 41);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (81, 3);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (81, 101);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (81, 11);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (81, 12);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (701, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (702, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (703, 65);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (704, 65);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (704, 2);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (703, 2);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (46, 3);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (95, 3);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (14, 3);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (96, 3);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (721, 7);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (722, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (722, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (728, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (730, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (726, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (723, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (729, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (725, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (724, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (731, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (732, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (727, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (521, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (522, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (721, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (703, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (704, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (510, 7);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (743, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (743, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (742, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (742, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (742, 7);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (742, 9);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (742, 10);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (744, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (744, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (744, 7);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (744, 9);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (744, 10);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (741, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (741, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (741, 7);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (741, 9);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (741, 10);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (761, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (762, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (762, 65);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (762, 2);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (781, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (781, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (782, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (782, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (783, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (783, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (784, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (784, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (785, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (785, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (803, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (810, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (809, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (808, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (807, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (806, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (805, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (804, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (824, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (823, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (822, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (821, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (820, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (819, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (818, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (831, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (830, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (829, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (828, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (827, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (826, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (825, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (839, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (838, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (837, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (836, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (835, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (834, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (833, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (832, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (846, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (845, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (844, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (843, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (842, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (841, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (840, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (886, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (885, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (884, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (883, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (882, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (881, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (801, 7);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (805, 7);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (806, 7);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (881, 7);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (839, 7);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (838, 7);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (832, 7);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (835, 7);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (834, 7);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (840, 7);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (805, 81);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (806, 81);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (881, 81);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (818, 81);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (831, 81);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (827, 81);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (842, 81);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (803, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (810, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (809, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (808, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (807, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (806, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (805, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (804, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (886, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (885, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (884, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (883, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (882, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (881, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (824, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (823, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (822, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (821, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (820, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (819, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (818, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (831, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (830, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (829, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (828, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (827, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (826, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (825, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (839, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (838, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (837, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (836, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (835, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (834, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (833, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (832, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (846, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (845, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (844, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (843, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (842, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (841, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (840, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (861, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (864, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (863, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (862, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (869, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (865, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (867, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (866, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (868, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (872, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (870, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (871, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (903, 5);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (903, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (902, 5);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (902, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (901, 5);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (901, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (803, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (804, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (806, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (810, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (807, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (808, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (809, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (805, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (885, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (881, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (886, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (882, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (883, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (884, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (820, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (818, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (819, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (821, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (823, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (824, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (822, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (830, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (827, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (825, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (828, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (829, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (826, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (831, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (837, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (833, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (835, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (832, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (834, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (836, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (839, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (838, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (844, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (845, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (841, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (846, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (843, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (840, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (842, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (157, 65);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (803, 2);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (804, 2);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (806, 2);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (805, 2);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (885, 2);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (881, 2);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (820, 2);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (818, 2);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (830, 2);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (827, 2);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1027, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1027, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1026, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1026, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1025, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1025, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1024, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1024, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1023, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1023, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1022, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1022, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1021, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1021, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1020, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1020, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1027, 7);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1027, 9);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1020, 7);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1020, 9);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1026, 7);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1026, 9);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1026, 10);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1026, 64);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1026, 65);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1026, 1);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1026, 2);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (541, 10);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (541, 64);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (541, 1);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1022, 7);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1022, 9);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1022, 10);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1022, 64);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1022, 65);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1022, 1);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1022, 2);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (535, 10);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1020, 1);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (584, 7);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (584, 9);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (703, 9);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (762, 9);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (703, 1);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (762, 1);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (703, 10);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (762, 10);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (586, 65);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (586, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (585, 65);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (584, 1);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (535, 1);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (535, 64);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (562, 1);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (562, 64);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (573, 64);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (573, 1);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1060, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1060, 1);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1060, 2);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1040, 3);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1040, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1040, 6);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (1040, 82);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (515, 4);
+INSERT INTO public.profil_privilege (privilege_id, profil_id) VALUES (516, 4);
 
 
 --
 -- Data for Name: soutenance_etat; Type: TABLE DATA; Schema: public; Owner: :dbuser
 --
 
-INSERT INTO public.soutenance_etat (id, code, libelle, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id) VALUES (1, 'EN_COURS', 'En cours d''examen', '2020-09-21 10:50:03', 1, '2020-09-21 10:50:03', 1, NULL, NULL);
-INSERT INTO public.soutenance_etat (id, code, libelle, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id) VALUES (2, 'VALIDEE', 'Soutenance autorisée', '2020-09-21 10:50:04', 1, '2020-09-21 10:50:04', 1, NULL, NULL);
-INSERT INTO public.soutenance_etat (id, code, libelle, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id) VALUES (3, 'REJETEE', 'Soutenance rejetée', '2020-09-21 10:50:04', 1, '2020-09-21 10:50:04', 1, NULL, NULL);
+INSERT INTO public.soutenance_etat (id, code, libelle, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, ordre) VALUES (1, 'EN_COURS', 'En cours d''examen', '2020-09-21 10:50:03', 1, '2020-09-21 10:50:03', 1, NULL, NULL, 1);
+INSERT INTO public.soutenance_etat (id, code, libelle, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, ordre) VALUES (4, 'ETABLISSEMENT', 'Validation du dossier par l établissement', '2020-09-21 10:50:04', 1, '2020-09-21 10:50:04', 1, NULL, NULL, 2);
+INSERT INTO public.soutenance_etat (id, code, libelle, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, ordre) VALUES (5, 'COMPLET', 'Avis de soutenance en cours de validation au chef d’établissement', '2023-04-05 07:06:44.507203', 1, '2023-04-05 07:06:44.507203', 1, NULL, NULL, 3);
+INSERT INTO public.soutenance_etat (id, code, libelle, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, ordre) VALUES (2, 'VALIDEE', 'Soutenance autorisée', '2020-09-21 10:50:04', 1, '2020-09-21 10:50:04', 1, NULL, NULL, 10);
+INSERT INTO public.soutenance_etat (id, code, libelle, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, ordre) VALUES (3, 'REJETEE', 'Soutenance rejetée', '2020-09-21 10:50:04', 1, '2020-09-21 10:50:04', 1, NULL, NULL, 20);
 
 
 --
@@ -1030,12 +1724,16 @@ INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_c
 INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (35, 'Membre étranger de rang B', 'B', 'N', 'N', '2021-05-28 15:22:37', 1446, '2021-05-28 15:22:37', 1446, NULL, NULL, 'O');
 INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (74, 'Professeur des universités-praticien hospitalier ', 'A', 'O', 'N', '2021-07-12 13:43:02', 1446, '2021-07-12 13:43:02', 1446, NULL, NULL, 'N');
 INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (134, 'Professeur (dans un établissement à l''étranger)', 'A', 'O', 'N', '2021-10-27 11:19:13', 1461, '2021-10-27 16:39:19', 1446, NULL, NULL, 'O');
-INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (454, 'Membre étranger de rang B HDR', 'B', 'N', 'N', '2021-11-16 16:59:01', 1446, '2021-11-16 16:59:01', 1446, NULL, NULL, 'O');
 INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (34, 'Membre étranger de rang A', 'A', 'O', 'N', '2021-05-28 15:22:14', 1446, '2021-10-27 11:14:29', 1461, NULL, NULL, 'O');
 INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (1, 'Professeur des universités (université Française)', 'A', 'O', 'N', '2020-09-21 11:05:34', 1, '2021-10-27 11:15:18', 1461, NULL, NULL, 'N');
+INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (454, 'Membre étranger de rang B HDR', 'B', 'O', 'N', '2021-11-16 16:59:01', 1446, '2022-07-19 08:17:48', 1446, NULL, NULL, 'O');
+INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (494, 'Enseignant Chercheur retraité', ' ', 'N', 'N', '2022-04-29 15:26:58', 1461, '2022-04-29 15:26:58', 1461, NULL, NULL, 'N');
 INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (12, 'Chercheur', 'B', 'N', 'N', '2020-09-21 11:05:34', 1, '2021-10-27 11:24:15', 1461, NULL, NULL, 'N');
+INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (474, 'Autre membre de rang A', 'A', 'O', 'N', '2022-04-08 15:45:43', 1461, '2023-01-23 13:46:08', 1446, NULL, NULL, 'N');
 INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (11, 'Ingénieur d''Etudes ', 'B', 'N', 'N', '2020-09-21 11:05:34', 1, '2021-10-27 11:32:56', 1461, NULL, NULL, 'N');
 INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (94, 'Maître de Conférences - Praticien Hospitalier', 'B', 'N', 'N', '2021-10-07 15:25:14', 1446, '2021-10-27 11:33:53', 1461, NULL, NULL, 'N');
+INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (514, 'Ingénieur des ponts, eaux  et forêts', 'A', 'O', 'N', '2023-01-23 13:48:14', 1446, '2023-01-23 13:48:14', 1446, NULL, NULL, 'N');
+INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (536, 'Autre membre de rang B', 'B', 'N', 'N', '2023-04-25 12:46:21.594642', 1, '2023-04-25 12:46:21.594642', 1, NULL, NULL, 'N');
 INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (16, 'Adjoint administratif', 'B', 'N', 'N', '2021-04-28 09:17:37', 1446, '2021-10-27 11:37:48', 1461, NULL, NULL, 'N');
 INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (174, 'Assistant ingénieur', 'B', 'N', 'N', '2021-10-27 11:38:52', 1461, '2021-10-27 11:38:52', 1461, NULL, NULL, 'N');
 INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (194, 'Associate Professor', 'B', 'N', 'N', '2021-10-27 11:39:18', 1461, '2021-10-27 11:39:18', 1461, NULL, NULL, 'N');
@@ -1049,6 +1747,7 @@ INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_c
 INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (394, ' Praticien Hospitalier', 'B', 'N', 'N', '2021-10-27 11:44:33', 1461, '2021-10-27 11:44:33', 1461, NULL, NULL, 'N');
 INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (414, 'Senior lecturer', 'B', 'N', 'N', '2021-10-27 11:45:13', 1461, '2021-10-27 11:45:36', 1461, NULL, NULL, 'N');
 INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (234, 'Chargé d''enseignement', 'B', 'N', 'N', '2021-10-27 11:40:14', 1461, '2021-10-27 11:45:58', 1461, NULL, NULL, 'N');
+INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (537, 'Associate Professor - Équivalent HDR', 'B', 'O', 'N', '2023-04-25 12:52:30.492962', 1, '2023-04-25 12:52:30.492962', 1, NULL, NULL, 'N');
 INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (434, 'Docent', 'B', 'N', 'N', '2021-10-27 11:50:36', 1461, '2021-10-27 11:50:36', 1461, NULL, NULL, 'N');
 INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (114, 'Directeur de recherche émérite', 'A', 'O', 'O', '2021-10-27 11:17:13', 1461, '2021-10-27 16:36:56', 1446, NULL, NULL, 'N');
 INSERT INTO public.soutenance_qualite (id, libelle, rang, hdr, emeritat, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id, histo_destruction, histo_destructeur_id, justificatif) VALUES (7, 'Professeur des universités émerite', 'A', 'O', 'O', '2020-09-21 11:05:34', 1, '2021-10-27 16:37:08', 1446, NULL, NULL, 'N');
@@ -1086,9 +1785,216 @@ INSERT INTO public.type_validation (id, code, libelle) VALUES (10, 'VALIDATION_P
 INSERT INTO public.type_validation (id, code, libelle) VALUES (11, 'VALIDATION_PROPOSITION_BDD', 'Validation de la proposition de soutenance par le bureau des doctorats');
 INSERT INTO public.type_validation (id, code, libelle) VALUES (12, 'AVIS_SOUTENANCE', 'Signature de l''avis de soutenance');
 INSERT INTO public.type_validation (id, code, libelle) VALUES (13, 'REFUS_ENGAGEMENT_IMPARTIALITE', 'Refus de l''engagement d''impartialité');
-INSERT INTO public.type_validation (id, code, libelle) VALUES (7, 'RAPPORT_ACTIVITE', 'Validation de rapport d''activité');
 INSERT INTO public.type_validation (id, code, libelle) VALUES (14, 'RAPPORT_CSI', 'Validation de rapport CSI');
 INSERT INTO public.type_validation (id, code, libelle) VALUES (15, 'RAPPORT_MIPARCOURS', 'Validation de rapport mi-parcours');
+INSERT INTO public.type_validation (id, code, libelle) VALUES (21, 'DOCTORANT_DECLARATION_HONNEUR_NON_PLAGIAT', 'Déclaration sur l''honneur de non plagiat du doctorant');
+INSERT INTO public.type_validation (id, code, libelle) VALUES (22, 'DOCTORANT_REFUS_HONNEUR_NON_PLAGIAT', 'Refus de la déclaration sur l''honneur de non plagiat du doctorant');
+INSERT INTO public.type_validation (id, code, libelle) VALUES (7, 'RAPPORT_ACTIVITE_AUTO', 'Validation finale du rapport d''activité non dématérialisé (ancien module)');
+INSERT INTO public.type_validation (id, code, libelle) VALUES (41, 'RAPPORT_ACTIVITE_DOCTORANT', 'Validation électronique du rapport d''activité par le doctorant');
+INSERT INTO public.type_validation (id, code, libelle) VALUES (42, 'RAPPORT_ACTIVITE', 'Validation finale du rapport d''activité non dématérialisé (ancien module)');
+
+
+--
+-- Data for Name: unicaen_alerte_alerte; Type: TABLE DATA; Schema: public; Owner: :dbuser
+--
+
+INSERT INTO public.unicaen_alerte_alerte (id, code, title, text, severity, duration, dismissible) VALUES (4, 'ALERTE_MAINTENANCE', 'Maintenance à venir', '<p>L''application ESUP-SyGAL sera en maintenance donc indisponible aujourd''hui de 10h30 à 12h au plus tard.</p>', 'danger', 0, true);
+INSERT INTO public.unicaen_alerte_alerte (id, code, title, text, severity, duration, dismissible) VALUES (3, 'ALERTE_FERMETURE_ESTIVALE', 'DEMANDE DE SOUTENANCE', '<p>En raison de la période estivale le délai de traitement de 2 mois est repoussé pendant la période de fermeture des services de l’établissement soit du 22/07 au 27/08/2023.</p>', 'danger', 0, true);
+
+
+--
+-- Data for Name: unicaen_avis_type; Type: TABLE DATA; Schema: public; Owner: :dbuser
+--
+
+INSERT INTO public.unicaen_avis_type (id, code, libelle, description, ordre) VALUES (1, 'AVIS_RAPPORT_ACTIVITE_GEST', 'Complétude du rapport d''activité (ancien module)', 'Point de vue Gestionnaire d''ED', 10);
+INSERT INTO public.unicaen_avis_type (id, code, libelle, description, ordre) VALUES (3, 'AVIS_RAPPORT_ACTIVITE_DIR_THESE', 'Avis et validation électronique de la direction de thèse', 'Point de vue de la direction de thèse', 20);
+INSERT INTO public.unicaen_avis_type (id, code, libelle, description, ordre) VALUES (4, 'AVIS_RAPPORT_ACTIVITE_CODIR_THESE', 'Avis et validation électronique de la codirection de thèse', 'Point de vue de la codirection de thèse', 20);
+INSERT INTO public.unicaen_avis_type (id, code, libelle, description, ordre) VALUES (5, 'AVIS_RAPPORT_ACTIVITE_DIR_UR', 'Avis et validation électronique de la direction de l''unité de recherche', 'Point de vue de la direction d''UR', 20);
+INSERT INTO public.unicaen_avis_type (id, code, libelle, description, ordre) VALUES (2, 'AVIS_RAPPORT_ACTIVITE_DIR_ED', 'Avis et validation électronique de la direction de l''école doctorale', 'Point de vue de la Direction d''ED', 20);
+
+
+--
+-- Data for Name: unicaen_avis_valeur; Type: TABLE DATA; Schema: public; Owner: :dbuser
+--
+
+INSERT INTO public.unicaen_avis_valeur (id, code, valeur, valeur_bool, tags, ordre, description) VALUES (1, 'AVIS_RAPPORT_ACTIVITE_VALEUR_COMPLET', 'Rapport complet', true, 'icon-ok', 1, NULL);
+INSERT INTO public.unicaen_avis_valeur (id, code, valeur, valeur_bool, tags, ordre, description) VALUES (2, 'AVIS_RAPPORT_ACTIVITE_VALEUR_INCOMPLET', 'Rapport incomplet', false, 'icon-ko', 2, NULL);
+INSERT INTO public.unicaen_avis_valeur (id, code, valeur, valeur_bool, tags, ordre, description) VALUES (4, 'AVIS_RAPPORT_ACTIVITE_VALEUR_POSITIF', 'Avis positif', true, 'icon-ok', 4, NULL);
+INSERT INTO public.unicaen_avis_valeur (id, code, valeur, valeur_bool, tags, ordre, description) VALUES (5, 'AVIS_RAPPORT_ACTIVITE_VALEUR_NEGATIF', 'Avis réservé', false, 'icon-ko', 5, NULL);
+INSERT INTO public.unicaen_avis_valeur (id, code, valeur, valeur_bool, tags, ordre, description) VALUES (3, 'AVIS_RAPPORT_ACTIVITE_DIR_ED_VALEUR_INCOMPLET', 'Rapport incomplet', false, 'icon-ko', 3, NULL);
+
+
+--
+-- Data for Name: unicaen_avis_type_valeur; Type: TABLE DATA; Schema: public; Owner: :dbuser
+--
+
+INSERT INTO public.unicaen_avis_type_valeur (id, avis_type_id, avis_valeur_id) VALUES (1, 1, 1);
+INSERT INTO public.unicaen_avis_type_valeur (id, avis_type_id, avis_valeur_id) VALUES (2, 1, 2);
+INSERT INTO public.unicaen_avis_type_valeur (id, avis_type_id, avis_valeur_id) VALUES (3, 2, 3);
+INSERT INTO public.unicaen_avis_type_valeur (id, avis_type_id, avis_valeur_id) VALUES (4, 2, 4);
+INSERT INTO public.unicaen_avis_type_valeur (id, avis_type_id, avis_valeur_id) VALUES (5, 2, 5);
+INSERT INTO public.unicaen_avis_type_valeur (id, avis_type_id, avis_valeur_id) VALUES (6, 3, 2);
+INSERT INTO public.unicaen_avis_type_valeur (id, avis_type_id, avis_valeur_id) VALUES (7, 3, 4);
+INSERT INTO public.unicaen_avis_type_valeur (id, avis_type_id, avis_valeur_id) VALUES (8, 3, 5);
+INSERT INTO public.unicaen_avis_type_valeur (id, avis_type_id, avis_valeur_id) VALUES (9, 4, 4);
+INSERT INTO public.unicaen_avis_type_valeur (id, avis_type_id, avis_valeur_id) VALUES (10, 4, 5);
+INSERT INTO public.unicaen_avis_type_valeur (id, avis_type_id, avis_valeur_id) VALUES (11, 5, 4);
+INSERT INTO public.unicaen_avis_type_valeur (id, avis_type_id, avis_valeur_id) VALUES (12, 5, 5);
+
+
+--
+-- Data for Name: unicaen_avis_type_valeur_complem; Type: TABLE DATA; Schema: public; Owner: :dbuser
+--
+
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (1, 2, NULL, 'AVIS_RAPPORT_ACTIVITE_GEST__AVIS_RAPPORT_ACTIVITE_VALEUR_INCOMPLET__PB_DOCTORANT', 'Pas de date/signature du doctorant', 'checkbox', 10, false, true);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (2, 2, NULL, 'AVIS_RAPPORT_ACTIVITE_GEST__AVIS_RAPPORT_ACTIVITE_VALEUR_INCOMPLET__MANQUE_DATE_SIGNATURE_DIRECTION_THESE', 'Manque la date/signature de la direction de thèse', 'checkbox', 20, false, true);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (13, 2, NULL, 'AVIS_RAPPORT_ACTIVITE_GEST__AVIS_RAPPORT_ACTIVITE_VALEUR_INCOMPLET__MANQUE_AVIS_DIRECTION_THESE', 'Manque l''avis de la direction de thèse', 'checkbox', 25, false, false);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (3, 2, NULL, 'AVIS_RAPPORT_ACTIVITE_GEST__AVIS_RAPPORT_ACTIVITE_VALEUR_INCOMPLET__MANQUE_DATE_SIGNATURE_DIRECTION_UR', 'Manque la date/signature de la Direction de l''Unité de Recherche', 'checkbox', 30, false, true);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (14, 2, NULL, 'AVIS_RAPPORT_ACTIVITE_GEST__AVIS_RAPPORT_ACTIVITE_VALEUR_INCOMPLET__MANQUE_AVIS_DIRECTION_UR', 'Manque l''avis de la Direction de l''Unité de Recherche', 'checkbox', 35, false, false);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (4, 2, NULL, 'AVIS_RAPPORT_ACTIVITE_GEST__AVIS_RAPPORT_ACTIVITE_VALEUR_INCOMPLET__PB_AUTRE', 'Autre (à préciser)', 'checkbox', 40, false, true);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (5, 2, 4, 'AVIS_RAPPORT_ACTIVITE_GEST__AVIS_RAPPORT_ACTIVITE_VALEUR_INCOMPLET__PB_AUTRE_PRECISION', 'Précisions :', 'textarea', 50, false, false);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (6, 2, NULL, 'AVIS_RAPPORT_ACTIVITE_GEST__AVIS_RAPPORT_ACTIVITE_VALEUR_INCOMPLET__PB_COMMENTAIRES', 'Commentaires', 'textarea', 60, false, false);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (7, 1, NULL, 'AVIS_RAPPORT_ACTIVITE_GEST__AVIS_RAPPORT_ACTIVITE_VALEUR_COMPLET__PB_COMMENTAIRES', 'Commentaires', 'textarea', 70, false, false);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (9, 5, NULL, 'AVIS_RAPPORT_ACTIVITE_DIR__AVIS_RAPPORT_ACTIVITE_VALEUR_NEGATIF__PB_MOTIF', 'Motif', 'textarea', 90, false, true);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (10, 3, NULL, 'AVIS_RAPPORT_ACTIVITE_DIR__AVIS_RAPPORT_ACTIVITE_DIR_VALEUR_INCOMPLET__PB_COMMENTAIRES', 'Commentaires', 'textarea', 100, false, false);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (11, 4, NULL, 'AVIS_RAPPORT_ACTIVITE_DIR__AVIS_RAPPORT_ACTIVITE_VALEUR_POSITIF__PB_COMMENTAIRES', 'Commentaires', 'textarea', 110, false, false);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (12, 5, NULL, 'AVIS_RAPPORT_ACTIVITE_DIR__AVIS_RAPPORT_ACTIVITE_VALEUR_NEGATIF__PB_COMMENTAIRES', 'Commentaires', 'textarea', 120, false, false);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (8, 3, NULL, 'AVIS_RAPPORT_ACTIVITE_DIR__AVIS_RAPPORT_ACTIVITE_DIR_VALEUR_INCOMPLET__PB_INFOS', 'Si le rapport est jugé incomplet, la balle retournera dans le camp du doctorant...', 'information', 80, false, false);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (15, 6, NULL, 'AVIS_RAPPORT_ACTIVITE_DIR_THESE__AVIS_RAPPORT_ACTIVITE_VALEUR_INCOMPLET__PB_INFOS', 'Si le rapport est jugé incomplet, la balle retournera dans le camp du doctorant...', 'information', 15, false, false);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (16, 8, NULL, 'AVIS_RAPPORT_ACTIVITE_DIR_THESE__AVIS_RAPPORT_ACTIVITE_VALEUR_NEGATIF__PB_MOTIF', 'Motif', 'textarea', 16, false, true);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (17, 6, NULL, 'AVIS_RAPPORT_ACTIVITE_DIR_THESE__AVIS_RAPPORT_ACTIVITE_VALEUR_INCOMPLET__PB_COMMENTAIRES', 'Commentaires', 'textarea', 17, false, false);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (18, 7, NULL, 'AVIS_RAPPORT_ACTIVITE_DIR_THESE__AVIS_RAPPORT_ACTIVITE_VALEUR_POSITIF__PB_COMMENTAIRES', 'Commentaires', 'textarea', 18, false, false);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (19, 8, NULL, 'AVIS_RAPPORT_ACTIVITE_DIR_THESE__AVIS_RAPPORT_ACTIVITE_VALEUR_NEGATIF__PB_COMMENTAIRES', 'Commentaires', 'textarea', 19, false, false);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (20, 10, NULL, 'AVIS_RAPPORT_ACTIVITE_CODIR_THESE__AVIS_RAPPORT_ACTIVITE_VALEUR_NEGATIF__PB_MOTIF', 'Motif', 'textarea', 20, false, true);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (21, 9, NULL, 'AVIS_RAPPORT_ACTIVITE_CODIR_THESE__AVIS_RAPPORT_ACTIVITE_VALEUR_POSITIF__PB_COMMENTAIRES', 'Commentaires', 'textarea', 21, false, false);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (22, 10, NULL, 'AVIS_RAPPORT_ACTIVITE_CODIR_THESE__AVIS_RAPPORT_ACTIVITE_VALEUR_NEGATIF__PB_COMMENTAIRES', 'Commentaires', 'textarea', 22, false, false);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (23, 12, NULL, 'AVIS_RAPPORT_ACTIVITE_DIR_UR__AVIS_RAPPORT_ACTIVITE_VALEUR_NEGATIF__PB_MOTIF', 'Motif', 'textarea', 23, false, true);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (24, 11, NULL, 'AVIS_RAPPORT_ACTIVITE_DIR_UR__AVIS_RAPPORT_ACTIVITE_VALEUR_POSITIF__PB_COMMENTAIRES', 'Commentaires', 'textarea', 24, false, false);
+INSERT INTO public.unicaen_avis_type_valeur_complem (id, avis_type_valeur_id, parent_id, code, libelle, type, ordre, obligatoire, obligatoire_un_au_moins) VALUES (25, 12, NULL, 'AVIS_RAPPORT_ACTIVITE_DIR_UR__AVIS_RAPPORT_ACTIVITE_VALEUR_NEGATIF__PB_COMMENTAIRES', 'Commentaires', 'textarea', 25, false, false);
+
+
+--
+-- Data for Name: unicaen_parametre_categorie; Type: TABLE DATA; Schema: public; Owner: :dbuser
+--
+
+INSERT INTO public.unicaen_parametre_categorie (id, code, libelle, description, ordre) VALUES (1, 'SOUTENANCE', 'Gestion des paramètres du module Soutenance', NULL, 1000);
+INSERT INTO public.unicaen_parametre_categorie (id, code, libelle, description, ordre) VALUES (2, 'FORMATION', 'Gestion des paramètres du module Formation', NULL, 900);
+INSERT INTO public.unicaen_parametre_categorie (id, code, libelle, description, ordre) VALUES (3, 'RAPPORT_ACTIVITE', 'Paramètres du module Rapports d''activité', NULL, 100);
+INSERT INTO public.unicaen_parametre_categorie (id, code, libelle, description, ordre) VALUES (4, 'ANNEE_UNIV', 'Années universitaires', 'Paramètres concernant les années universitaires', 50);
+
+
+--
+-- Data for Name: unicaen_parametre_parametre; Type: TABLE DATA; Schema: public; Owner: :dbuser
+--
+
+INSERT INTO public.unicaen_parametre_parametre (id, categorie_id, code, libelle, description, valeurs_possibles, valeur, ordre) VALUES (1, 1, 'NB_MIN_RAPPORTEUR', 'Nombre minimal de rapporteurs', NULL, 'Number', '2', 300);
+INSERT INTO public.unicaen_parametre_parametre (id, categorie_id, code, libelle, description, valeurs_possibles, valeur, ordre) VALUES (2, 1, 'RATIO_MIN_RANG_A', 'Ratio minimal de membres de rang A', NULL, 'String', '0.5', 500);
+INSERT INTO public.unicaen_parametre_parametre (id, categorie_id, code, libelle, description, valeurs_possibles, valeur, ordre) VALUES (3, 1, 'DELAI_INTERVENTION', 'Délai permettant aux directeurs d''intervenir [-j jour:+j jour]', NULL, 'Number', '21', 1200);
+INSERT INTO public.unicaen_parametre_parametre (id, categorie_id, code, libelle, description, valeurs_possibles, valeur, ordre) VALUES (4, 1, 'DOC_DELOCALISATION', 'Formulaire de délocalisation de la soutenance', NULL, 'String', 'https://sygal.normandie-univ.fr/fichier/telecharger/permanent/DEMANDE_DELOCALISATION_SOUTENANCE', 2100);
+INSERT INTO public.unicaen_parametre_parametre (id, categorie_id, code, libelle, description, valeurs_possibles, valeur, ordre) VALUES (6, 1, 'DOC_REDACTION_ANGLAIS', 'Formulaire de demande de rédaction en anglais', NULL, 'String', NULL, 2400);
+INSERT INTO public.unicaen_parametre_parametre (id, categorie_id, code, libelle, description, valeurs_possibles, valeur, ordre) VALUES (7, 1, 'DOC_LABEL_EUROPEEN', 'Formulaire de demande de label europeen', NULL, 'String', 'https://sygal.normandie-univ.fr/fichier/telecharger/permanent/DEMANDE_LABEL_EUROPEEN', 2300);
+INSERT INTO public.unicaen_parametre_parametre (id, categorie_id, code, libelle, description, valeurs_possibles, valeur, ordre) VALUES (9, 1, 'NB_MIN_MEMBRE_JURY', 'Nombre minimal de membres dans le jury', NULL, 'Number', '4', 10);
+INSERT INTO public.unicaen_parametre_parametre (id, categorie_id, code, libelle, description, valeurs_possibles, valeur, ordre) VALUES (10, 1, 'DOC_CONFIDENTIALITE', 'Formulaire de demande de confidentialité', NULL, 'String', 'https://sygal-test.normandie-univ.fr/fichier/telecharger/permanent/DEMANDE_DE_CONFIDENTIALITE', 2500);
+INSERT INTO public.unicaen_parametre_parametre (id, categorie_id, code, libelle, description, valeurs_possibles, valeur, ordre) VALUES (11, 1, 'RATIO_MIN_EXTERIEUR', 'Ratio minimal de membres extérieurs', NULL, 'String', '0.5', 600);
+INSERT INTO public.unicaen_parametre_parametre (id, categorie_id, code, libelle, description, valeurs_possibles, valeur, ordre) VALUES (12, 1, 'NB_MAX_MEMBRE_JURY', 'Nombre maximal de membres dans le jury', NULL, 'Number', '8', 20);
+INSERT INTO public.unicaen_parametre_parametre (id, categorie_id, code, libelle, description, valeurs_possibles, valeur, ordre) VALUES (13, 1, 'DOC_DELEGATION_SIGNATURE', 'Formulaire de délégation de signature', NULL, 'String', 'https://sygal.normandie-univ.fr/fichier/telecharger/permanent/DEMANDE_DELEGATION_SIGNATURE', 2200);
+INSERT INTO public.unicaen_parametre_parametre (id, categorie_id, code, libelle, description, valeurs_possibles, valeur, ordre) VALUES (8, 1, 'DELAI_RETOUR', 'Delai avant le retour des rapports', NULL, 'Number', '14', 1100);
+INSERT INTO public.unicaen_parametre_parametre (id, categorie_id, code, libelle, description, valeurs_possibles, valeur, ordre) VALUES (17, 4, 'SPEC_DATE_BASCULE', 'Spécification pour la date de bascule', 'Spécification pour calculer la date de bascule d''une année universitaire sur la suivante', NULL, '-10 months', 9999);
+INSERT INTO public.unicaen_parametre_parametre (id, categorie_id, code, libelle, description, valeurs_possibles, valeur, ordre) VALUES (18, 4, 'SPEC_ANNEE_UNIV_DATE_DEBUT', 'Spécification de la date de début', 'Spécification de la date de début d''une année universitaire, *fonction de la date de bascule*', NULL, '01/11/%s 00:00:00', 9999);
+INSERT INTO public.unicaen_parametre_parametre (id, categorie_id, code, libelle, description, valeurs_possibles, valeur, ordre) VALUES (5, 1, 'EQUILIBRE_FEMME_HOMME', 'Équilibre Femme/Homme dans le jury', '<p>N''est que indicatif car ne peut &ecirc;tre <em>enforced</em> dans certaines disciplines.</p>', 'String', '0', 400);
+INSERT INTO public.unicaen_parametre_parametre (id, categorie_id, code, libelle, description, valeurs_possibles, valeur, ordre) VALUES (19, 4, 'SPEC_ANNEE_UNIV_DATE_FIN', 'Spécification de la date de fin', 'Spécification de la date de fin d''une année universitaire, *fonction de la date de bascule*', NULL, '31/10/%s 23:59:59', 9999);
+INSERT INTO public.unicaen_parametre_parametre (id, categorie_id, code, libelle, description, valeurs_possibles, valeur, ordre) VALUES (14, 2, 'DELAI_ENQUETE', ' Délai pour la saisie de l''enquête (en jours) ', NULL, 'Number', '200', 10);
+INSERT INTO public.unicaen_parametre_parametre (id, categorie_id, code, libelle, description, valeurs_possibles, valeur, ordre) VALUES (15, 3, 'CAMPAGNE_DEPOT_DEBUT', 'Jour et mois de début de la campagne de dépôt des rapports d''activité pour l''année universitaire N/N+1 en cours. Exemple : 01/04/N+1.', NULL, 'String', '04/05/N+1', 100);
+INSERT INTO public.unicaen_parametre_parametre (id, categorie_id, code, libelle, description, valeurs_possibles, valeur, ordre) VALUES (16, 3, 'CAMPAGNE_DEPOT_FIN', 'Jour et mois de fin de la campagne de dépôt des rapports d''activité pour l''année universitaire N/N+1 en cours. Exemple : 15/06/N+1.', NULL, 'String', '31/06/N+1', 200);
+
+
+--
+-- Data for Name: unicaen_renderer_macro; Type: TABLE DATA; Schema: public; Owner: :dbuser
+--
+
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (1, 'Doctorant#Denomination', '<p>Retourne la dénomination du doctorant</p>', 'doctorant', '__toString');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (2, 'Module#Libelle', '<p>Retourne le libellé du module de formation</p>', 'module', 'getLibelle');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (3, 'Formation#Libelle', '<p>Retourne le libellé de la formation</p>', 'formation', 'getLibelle');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (4, 'Session#Modalite', '<p>Retourne la modalité de la formation sous la forme : présentielle ou distancielle.</p>', 'session', 'getModalite');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (5, 'Formation#Responsable', '<p>Retourne la dénomination du responsable de la formation</p>', 'formation', 'toStringResponsable');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (6, 'Session#SeancesTable', '<p>Retourne la liste des séances sous la forme d''un tableau HTML</p>', 'session', 'getSeancesAsTable');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (8, 'Inscription#PositionComplementaire', '<p>Retourne la position sur la liste complémentaire</p>', 'inscription', 'getPositionListeComplementaire');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (9, 'Membre#Denomination', '<p>Retourne la dénomination d''une membre</p>', 'membre', 'getDenomination');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (7, 'Session#Duree', '<p>Retourne la durée totale sous la forme d''un flottant (par exemple : 5,75)</p>', 'session', 'getDuree');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (10, 'These#Discipline', '<p>Affiche le libellé de la discipline associée à la thèse</p>', 'these', 'getLibelleDiscipline');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (12, 'Url#Serment', '<p>Retourne le lien vers le téléchargement du serment du docteur</p>', 'Url', 'getSermentDocteur');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (13, 'Url#ProcesVerbal', '<p>Retourne le lien vers le téléchargement du procés verbal</p>', 'Url', 'getProcesVerbal');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (14, 'Url#RapportSoutenance', '<p>Retourne le lien vers le téléchargement du rapport de soutenance</p>', 'Url', 'getRapportSoutenance');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (18, 'Url#RapportTechnique', '<p>Retourne le lien vers le téléchargement du rapport technique</p>', 'Url', 'getRapportTechnique');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (25, 'These#Titre', NULL, 'these', 'getTitre');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (26, 'Url#RapporteurDashboard', '<p>Fourni l''url vers le darshboard du rapporteur passé en variable</p>', 'Url', 'getUrlRapporteurDashboard');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (27, 'Session#Periode', NULL, 'session', 'getPeriode');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (28, 'Inscription#DureeSuivie', NULL, 'inscription', 'getDureeSuivie');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (29, 'Session#Responsable', NULL, 'session', 'getDenominationResponsable');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (30, 'Signature#EtablissementFormation', NULL, 'Url', 'getFormationSignature');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (31, 'Validation#Date', '<p>Retourne la date de la création de la validation au format d/m/Y à H:i</p>', 'validation', 'getDateToString');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (32, 'Validation#Auteur', '<p>Retour le Displayname de l''auteur de la validation</p>', 'validation', 'getAuteurToString');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (33, 'Url#SoutenanceProposition', NULL, 'Url', 'getSoutenanceProposition');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (34, 'EcoleDoctorale#Libelle', NULL, 'ecole-doctorale', '__toString');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (35, 'Etablissement#Libelle', NULL, 'etablissement', '__toString');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (36, 'UniteRecherche#Libelle', NULL, 'unite-recherche', '__toString');
+INSERT INTO public.unicaen_renderer_macro (id, code, description, variable_name, methode_name) VALUES (43, 'Url#SoutenancePresoutenance', NULL, 'Url', 'getSoutenancePresoutenance');
+
+
+--
+-- Data for Name: unicaen_renderer_template; Type: TABLE DATA; Schema: public; Owner: :dbuser
+--
+
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (7, 'FORMATION_SESSION_ANNULEE', '<p>Courrier électronique envoyé aux inscrits des listes principale et complémentaire</p>', 'mail', 'ANNULATION - VAR[Formation#Libelle]', '<p>Bonjour VAR[Doctorant#Denomination],</p>
+<p>La session de formation VAR[Formation#Libelle] vient d''être annulée.</p>
+<p>Cordialement,<br />VAR[Formation#Responsable]</p>', NULL, 'Formation\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (8, 'SOUTENANCE_ENGAGEMENT_IMPARTIALITE', '<p>Texte associé à l''engagement d''impartialité</p>', 'texte', 'Engagement d''impartialité', '<p>En signant cet engagement d''impartialité, je, sous-signé <strong>VAR[Membre#Denomination]</strong>, atteste ne pas avoir de liens d''intérêt, qu''ils soient de nature professionnelle, familiale, personnelle ou patrimoniale avec le doctorant ou son directeur de thèse, ne pas avoir pris part aux travaux de la thèse et ne pas avoir de publication cosignée avec le doctorant dans les cinq dernières années et ne pas avoir participé au comité de suivi de la thèse de VAR[Doctorant#Denomination].</p><p>By signing, I certify that I have no personal or family connection with the doctoral student or his/her PhD supervisor and that I have not taken part in the work of the thesis and not co-authored  publications with the doctoral student for the last five years.<br /><br /></p>', NULL, 'Soutenance\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (12, 'TRANSMETTRE_DOCUMENTS_DIRECTION', '<p>Courrier électronique envoyé à la direction de thèse pour transmission de documents avant soutenance</p>', 'mail', 'Transmission des documents pour la soutenance de VAR[Doctorant#Denomination]', '<p>Bonjour,</p>
+<p>La soutenance de VAR[Doctorant#Denomination] est imminente.<br />Vous retrouverez ci-dessous les liens pour télécharger les documents utiles pour la soutenance.</p>
+<p>Document pour la soutenance :<br />- Serment du docteur : VAR[Url#Serment]<br />- Procès verbal : VAR[Url#ProcesVerbal]<br />- Rapport de soutenance : VAR[Url#RapportSoutenance]<br />- Rapport technique (en cas de viso-conférence) : VAR[Url#RapportTechnique]<br /><br />Bonne journée,<br />L''équipe SyGAL</p>
+<p> </p>', NULL, 'Soutenance\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (10, 'FORMATION_INSCRIPTION_CLOSE', '<p>Courrier envoyé à la clôture des inscriptions pour les étudiants non classés</p>', 'mail', 'Les inscriptions à la formation VAR[Formation#Libelle] sont maintenant closes.', '<p>Bonjour,</p>
+<p>Les inscriptions à la formation VAR[Formation#Libelle] sont maintenant closes.<br />Vous recevrez prochainement un courrier électronique vous informant de votre classement (sur la liste principale ou complémentaire).<br /><br /></p>
+<p>En vous souhaitant une bonne journée,<br />VAR[Formation#Responsable]</p>', NULL, 'Formation\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (20, 'FORMATION_ATTESTATION', NULL, 'pdf', 'Attestation de suivie de la formation VAR[Formation#Libelle]', '<h1 style="text-align: center;">Attestation de suivi de formation</h1><p></p><p>Bonjour ,</p><p>Je, sousigné·e, certifie que <strong>VAR[Doctorant#Denomination]</strong> a participé à la formation <strong>VAR[Formation#Libelle]</strong> qui s''est déroulée sur la période du VAR[Session#Periode] (Durée : VAR[Session#Duree] heures).</p><p>VAR[Doctorant#Denomination] a suivi VAR[Inscription#DureeSuivie] heure·s de formation.</p><p style="text-align: right;">Le·la responsable du module<br />VAR[Session#Responsable]<br /><br /></p><p style="text-align: right;">VAR[Signature#EtablissementFormation]</p>', NULL, 'Formation\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (21, 'FORMATION_CONVOCATION', NULL, 'pdf', 'Convocation à la formation VAR[Formation#Libelle] du VAR[Session#Periode]', '<h1 style="text-align: center;">Convocation à la session de formation VAR[Formation#Libelle]</h1><p><br /><br />Bonjour VAR[Doctorant#Denomination],</p><p>Nous avons le plaisir de vous informer que la formation, VAR[Formation#Libelle], à laquelle vous êtes inscrit·e se déroulera selon le calendrier ci-dessous :<br />VAR[Session#SeancesTable]<br /><br />En cas d''impossibilité d''assister à tout ou partie de ce stage, merci de bien vouloir informer le ou la responsable du module de formation (VAR[Session#Responsable]) dans les meilleurs délais afin de permettre de contacter un·e doctorant·e actuellement sur liste d''attente.</p><p>Nous vous souhaitons un stage fructueux.</p><p style="text-align: right;">L''application SyGAL,<br />VAR[Signature#EtablissementFormation]</p><p><br /><span style="text-decoration: underline;">P.S.:</span> Cette convocation vaut ordre de mission<br /><br /><br /></p>', 'table { width:100%; } th { text-align:left; }', 'Formation\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (5, 'FORMATION_SESSION_IMMINENTE', NULL, 'mail', 'La session de formation VAR[Formation#Libelle] va bientôt débutée', '<p>Bonjour VAR[Doctorant#Denomination],</p>
+<p><br />Nous vous rappelons que la formation VAR[Formation#Libelle]  à laquelle vous êtes inscrit·e va bientôt débuter.</p>
+<p>Les séances de cette formation se tiendront :<br />VAR[Session#SeancesTable]</p>
+<p><br />Cordialement,<br />VAR[Formation#Responsable]</p>', NULL, 'Formation\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (22, 'DEMANDE_ENGAGEMENT_IMPARTIALITE', '<p>Courrier électronique notifiant un·e futur·e rapporteur·e pour la signature de l''engagement d''impartialité.<br />Envoyé lors de l''appariement membre/acteur</p>', 'mail', 'Demande de signature de l''engagement d''impartialité de la thèse de VAR[Doctorant#Denomination]', '<p>-- Version française ---------------------------------------------------------------</p><p>Bonjour,</p><p>Afin de pouvoir devenir rapporteur de la thèse de <strong>VAR[Doctorant#Denomination]</strong> intitulée <strong>VAR[These#Titre]</strong>, il est nécessaire de signer électroniquement l''engagement d''impartialité dans l''application <em>ESUP-SyGAL</em> :<strong> VAR[Url#RapporteurDashboard]</strong>.<br /><br />Vous accéderez ainsi à une page "index de la soutenance" listant les membres du jury.<br />Cliquez ensuite sur "accès à l’engagement d’impartialité".<br />Puis après avoir pris connaissance des conditions relatives à cet engagement, vous pourrez signer ou non cet engagement d’impartialité.<br />Si vous signez, vous pourrez alors télécharger le PDF du manuscrit de thèse.</p><p>Cordialement<br /><br />-- English version ------------------------------------------------------------------<br /><br />Dear Mrs/Mr,</p><p>Before being officially registered as an external referee for the PhD thesis presented by <strong>VAR[Doctorant#Denomination]</strong> entitled <strong>VAR[These#Titre]</strong>, you have to sign the "impartiality commitment" available in your dashborad : <strong>VAR[Url#RapporteurDashboard]</strong>.<br /><br />You will then be connected to a web page entitled "index of the PhD defense" listing the PhD jury members.<br />Click then on "access to the impartiality commitment".<br />Then, after reading the requirements regarding the impartiality commitment of an external referee, you sign it or not.<br />If you sign it, you will be able to download the PDF version of the PhD manuscript.</p><p>Best regards,</p><p>-- Justification ----------------------------------------------------------------------<br /><br />Vous avez reçu ce mail car :</p><ul><li>vous avez été désigné rapporteur pour la thèse de VAR[Doctorant#Denomination]</li><li>la signature a été annulée<br /><br /></li></ul>', NULL, 'Soutenance\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (23, 'SIGNATURE_ENGAGEMENT_IMPARTIALITE', '<p>Courrier électronique envoyé vers les maisons du doctorat lors de la signature de l''engagement d''impartialité par un rapporteur</p>', 'mail', 'Signature de l''engagement d''impartialité de la thèse de VAR[Doctorant#Denomination] par VAR[Membre#Denomination]', '<p>Bonjour,</p><p><strong>VAR[Membre#Denomination]</strong> vient de signer l''engagement d''impartialité de la thèse de <strong>VAR[Doctorant#Denomination]</strong> intitulée <strong>VAR[These#Titre]</strong>.</p><p>-- Justification ----------------------------------------------------------------------<br /><br />Vous avez reçu ce mail car :</p><ul><li>le rapporteeur VAR[Membre#Denomination] vient de signer l''engagement d''impartialité; </li><li>vous êtes un gestionnaire de la maison du doctorat de l''établissement d''inscription du doctorant . <br /><br /></li></ul>', NULL, 'Soutenance\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (24, 'REFUS_ENGAGEMENT_IMPARTIALITE', '<p>Courrier électronique envoyé lors du refus de l''engagement d''impartialité</p>', 'mail', 'Refus de l''engagement d''impartialité de la thèse de VAR[Doctorant#Denomination] par VAR[Membre#Denomination]', '<p>Bonjour,</p><p><strong>VAR[Membre#Denomination]</strong> vient de refuser l''engagement d''impartialité de la thèse de <strong>VAR[Doctorant#Denomination]</strong> intitulée <strong>VAR[These#Titre]</strong>.</p><p>-- Justification ----------------------------------------------------------------------</p><p>Vous avez reçu ce mail car :</p><ul><li>le rapporteur VAR[Membre#Denomination] vient de refuser de signer l''engagement d''impartialité;</li><li>vous êtes :<ul><li>soit un des acteurs directs de la thèse de VAR[Doctorant#Denomination],</li><li>soit un gestionnaire de la maison du doctorat de l''établissement d''inscription du doctorant.<br />            <br /><br /></li></ul></li></ul>', NULL, 'Soutenance\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (25, 'ANNULATION_ENGAGEMENT_IMPARTIALITE', '<p>Courrier électronique envoyé lors de l''annulation d''un engagement d''impartialité</p>', 'mail', 'Annulation de la signature de l''engagement d''impartialité de VAR[Membre#Denomination] pour la thèse de VAR[Doctorant#Denomination]', '<p>Bonjour,</p><p><br />Votre signature de l''engagement d''impartialité de la thèse de <strong>VAR[Doctorant#Denomination]</strong> intitulée <strong>VAR[These#Titre]</strong> vient d''être annulée.</p> <p>-- Justification ----------------------------------------------------------------------</p> <p>Vous avez reçu ce mail car :</p><ul><li>vous avez signé l''engagement d''impartialité pour la thèse de VAR[Doctorant#Denomination];  </li><li>la signature a été annulée. </li></ul>', NULL, 'Soutenance\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (26, 'SOUTENANCE_VALIDATION_ANNULEE', '<p>Annulation de la validation</p>', 'mail', 'Votre validation de la proposition de soutenance de VAR[Doctorant#Denomination] a été annulée', '<p>Bonjour,</p><p>Ceci est un mail envoyé automatiquement par l''application ESUP SyGAL</p><p>Suite à la modification de la proposition de soutenance, votre validation (faite le VAR[Validation#Date]) a été annulée. Si la nouvelle proposition vous convient, veuillez valider la proposition de soutenance à nouveau.<br /><br />Pour consulter, les modifications faites connectez-vous à  ESUP SyGAL et visualisez la proposition de soutenance en utilisant le lien suivant : VAR[Url#SoutenanceProposition].</p><p><span style="text-decoration: underline;">NB :</span> La proposition de soutenance sera envoyée automatiquement à votre unité de recherche puis à votre école doctorale, une fois que tous les intervenants directs auront validé celle-ci (c.-à-d. doctorant, directeur et co-directeur(s)).<br /><br />-- Justification ----------------------------------------------------------------------</p><p>Vous avez reçu ce mail car :</p><ul><li>vous avez validé la proposition de soutenance de VAR[Doctorant#Denomination] ;</li><li>une modification de la proposition a été faite ou demandée.</li></ul>', NULL, 'Soutenance\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (27, 'SOUTENANCE_VALIDATION_ACTEUR_DIRECT', '<p>Mail de validation d''une proposition par un des acteurs directs</p>', 'mail', 'Une validation de votre proposition de soutenance vient d''être faite', '<p>Bonjour,</p><p>Ceci est un mail envoyé automatiquement par l''application ESUP SyGAL.</p><p>VAR[Validation#Auteur] vient de valider la proposition de soutenance de thèse.</p><p><br />Pour consulter cette proposition, connectez-vous à ESUP SyGAL et visualisez la proposition de soutenance en utilisant le lien suivant : VAR[Url#SoutenanceProposition].</p><p><span style="text-decoration: underline;">NB :</span> La proposition de soutenance sera envoyée automatiquement à votre unité de recherche puis à votre école doctorale, une fois que tous les intervenants directs auront validé celle-ci (c.-à-d. doctorant, directeur et co-directeur(s)).</p><p>-- Justification ----------------------------------------------------------------------</p><p>Vous avez reçu ce mail car :</p><ul><li>un des acteurs directs de la thèse de VAR[Doctorant#Denomination] vient de valider la proposition de soutenance  ;</li><li>vous êtes un des acteurs directs de la thèse de VAR[Doctorant#Denomination].</li></ul>', NULL, 'Soutenance\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (28, 'SOUTENANCE_VALIDATION_DEMANDE_UR', NULL, 'mail', 'Demande de validation d''une proposition de la soutenance de VAR[Doctorant#Denomination]', '<p>Bonjour,</p><p>Ceci est un mail envoyé automatiquement par l''application ESUP SyGAL.</p><p>Une proposition de soutenance vient d''être faite pour la thèse suivante :</p><table style="width: 473.433px;"><tbody><tr><td style="width: 547px;"><strong>Titre</strong></td><td style="width: 467.433px;">VAR[These#Titre]</td></tr><tr><td style="width: 547px;"><strong>Doctorant·e</strong></td><td style="width: 467.433px;">VAR[Doctorant#Denomination]</td></tr></tbody></table><p>Pour examiner cette proposition et statuer sur celle-ci merci de vous rendre dans l''application ESUP SyGAL : VAR[Url#SoutenanceProposition].<br /><br />-- Justification ----------------------------------------------------------------------</p><p> Vous avez reçu ce mail car :</p><ul><li>tous les acteurs directs de la thèse de VAR[Doctorant#Denomination] ont validé la proposition de soutenance ;</li><li>vous êtes un·e responsable de l''unité de recherche encadrant la thèse.</li></ul>', NULL, 'Soutenance\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (29, 'SOUTENANCE_VALIDATION_DEMANDE_ED', NULL, 'mail', 'Demande de validation d''une proposition de la soutenance de VAR[Doctorant#Denomination]', '<p>Bonjour,</p><p>Ceci est un mail envoyé automatiquement par l''application ESUP SyGAL.</p><p>Une proposition de soutenance vient d''être faite pour la thèse suivante :</p><table style="width: 473.433px;"><tbody><tr><td style="width: 547px;"><strong>Titre</strong></td><td style="width: 467.433px;">VAR[These#Titre]</td></tr><tr><td style="width: 547px;"><strong>Doctorant·e</strong></td><td style="width: 467.433px;">VAR[Doctorant#Denomination]</td></tr></tbody></table><p>Pour examiner cette proposition et statuer sur celle-ci merci de vous rendre dans l''application ESUP SyGAL : VAR[Url#SoutenanceProposition].<br /><br />-- Justification ----------------------------------------------------------------------</p><p> Vous avez reçu ce mail car :</p><ul><li>l''unité de recherche de la thèse de VAR[Doctorant#Denomination] ont validé la proposition de soutenance ;</li><li>vous êtes un·e responsable de l''école doctorale encadrant la thèse.</li></ul>', NULL, 'Soutenance\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (30, 'SOUTENANCE_VALIDATION_DEMANDE_ETAB', NULL, 'mail', 'Demande de validation d''une proposition de la soutenance de VAR[Doctorant#Denomination]', '<p>Bonjour,</p><p>Ceci est un mail envoyé automatiquement par l''application ESUP SyGAL.</p><p>Une proposition de soutenance vient d''être faite pour la thèse suivante :</p><table style="width: 473.433px;"><tbody><tr><td style="width: 547px;"><strong>Titre</strong></td><td style="width: 467.433px;">VAR[These#Titre]</td></tr><tr><td style="width: 547px;"><strong>Doctorant·e</strong></td><td style="width: 467.433px;">VAR[Doctorant#Denomination]</td></tr></tbody></table><p>Pour examiner cette proposition et statuer sur celle-ci merci de vous rendre dans l''application ESUP SyGAL : VAR[Url#SoutenanceProposition].<br /><br />-- Justification ----------------------------------------------------------------------</p><p> Vous avez reçu ce mail car :</p><ul><li>l''école doctorale de la thèse de VAR[Doctorant#Denomination] ont validé la proposition de soutenance ;</li><li>vous êtes un·e responsable de la maison du doctorat encadrant la thèse.</li></ul>', NULL, 'Soutenance\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (1, 'FORMATION_INSCRIPTION_ENREGISTREE', '<p>Mail envoyé au doctorant·e lors d''une inscription à une session de formation</p>', 'mail', 'Validation de votre inscription à la session de formation VAR[Formation#Libelle]', '<p>Bonjour VAR[Doctorant#Denomination],</p>
+<p>Nous avons bien reçu votre demande d’inscription à la formation VAR[Formation#Libelle] se déroulant : <br />VAR[Session#SeancesTable]</p>
+<p><br />Cordialement,<br />VAR[Formation#Responsable]<br /><br style="background-color: #2b2b2b; color: #a9b7c6; font-family: ''JetBrains Mono'',monospace; font-size: 9,8pt;" /></p>', NULL, 'Formation\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (3, 'FORMATION_INSCRIPTION_LISTE_COMPLEMENTAIRE', NULL, 'mail', 'Vous êtes sur la liste complémentaire de la formation VAR[Formation#Libelle]', '<p>Bonjour VAR[Doctorant#Denomination],<br /><br />Vous êtes inscrit·e en <strong>liste complémentaire</strong> de la session de formation VAR[Formation#Libelle].<br />Vous êtes à la position VAR[Inscription#PositionComplementaire] sur cette liste.</p>
+<p><br />La session de formation se déroulera selon les dates suivantes :<br />VAR[Session#SeancesTable]<br />Si une place en liste principale se libère vous serez informé·e par l''application ESUP-SyGAL.<br /><br />Cordialement,<br />VAR[Formation#Responsable]</p>', NULL, 'Formation\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (6, 'FORMATION_SESSION_TERMINEE', NULL, 'mail', 'La session de formation VAR[Formation#Libelle] est maintenant terminée.', '<p>Bonjour VAR[Doctorant#Denomination],</p>
+<p>Nous espérons que la formation s’est bien déroulée.<br />Pour l’obtention de l’attestation de VAR[Session#Duree] heures de formation , il est nécessairement de remplir le questionnaire de satisfaction sur ESUP-SyGAL.</p>
+<p>Cordialement,<br />VAR[Formation#Responsable]</p>', NULL, 'Formation\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (2, 'FORMATION_INSCRIPTION_LISTE_PRINCIPALE', '<p>Mail envoyer à l''étudiant lorsqu''il est inscrit en liste principale</p>', 'mail', 'Vous êtes sur la liste principale de la formation VAR[Formation#Libelle]', '<p>Bonjour VAR[Doctorant#Denomination],</p>
+<p>Vous êtes inscrit·e en <strong>liste principale</strong> de la session de formation VAR[Formation#Libelle].<br />Celle-ci se déroulera selon les dates suivantes :<br />VAR[Session#SeancesTable]<br />Pensez à bien réserver cette date dans votre agenda.</p>
+<p>Si vous avez besoin d''une convocation, vous pouvez retrouver celle-ci dans ESUP-SyGAL dans la partie ''<em>Mes formations</em>'' onglet ''<em>Mes inscriptions en cours</em>''.</p>
+<p>En cas d’empêchement pensez à vous désinscrire afin de libérer votre place pour une personne de la liste complémentaire.</p>
+<p>Cordialement,<br />VAR[Formation#Responsable]<br /><br /></p>', NULL, 'Formation\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (4, 'FORMATION_INSCRIPTION_ECHEC', '<p>Courrier envoyé lors qu''un doctorant est non classé</p>', 'mail', 'Information sur la formation VAR[Formation#Libelle]', '<p>Bonjour VAR[Doctorant#Denomination],</p>
+<p>Vous étiez inscrit sur liste complémentaire à la formation VAR[Formation#Libelle] se déroulant :<br />VAR[Session#SeancesTable]</p>
+<p><strong>Cependant, aucune place ne s’étant libérée, nous sommes au regret de vous informer que vous ne pourrez pas participer à la formation.</strong></p>
+<p><br />Cordialement,<br />VAR[Formation#Responsable]</p>', NULL, 'Formation\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (9, 'SERMENT_DU_DOCTEUR', '<p>Texte du serment du doctorant</p>', 'pdf', 'serment_du_docteur.pdf', '<p>Version Française :<br />« En présence de mes pairs.<br /> Parvenu(e) à l''issue de mon doctorat en VAR[These#Discipline], et ayant ainsi pratiqué, dans ma quête du savoir, l''exercice d''une recherche scientifique exigeante, en cultivant la rigueur intellectuelle, la réflexivité éthique et dans le respect des principes de l''intégrité scientifique, je m''engage, pour ce qui dépendra de moi, dans la suite de ma carrière professionnelle quel qu''en soit le secteur ou le domaine d''activité, à maintenir une conduite intègre dans mon rapport au savoir, mes méthodes et mes résultats. »<br /><br />English version :<br />« In the presence of my peers.<br /> With the completion of my doctorate in VAR[These#Discipline], in my quest for knowledge, I have carried out demanding research, demonstrated intellectual rigour, ethical reflection, and respect for the principles of research integrity. As I pursue my professional career, whatever my chosen field, I pledge, to the greatest of my ability, to continue to maintain integrity in my relationship to knowledge, in my methods and in my results »<br /><br /></p>
+<p><br class="Apple-interchange-newline" /><br /></p>
+<p> </p>
+<p> </p>', NULL, 'Soutenance\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (41, 'FORMATION_SESSION_IMMINENTE_FORMATEUR', '<p>Courrier électronique envoyé aux formateur·trices lorsque la session est imminente</p>', 'mail', 'La session de formation VAR[Formation#Libelle] va bientôt débutée', '<p>Bonjour,</p> <p>Nous vous rappelons que la formation VAR[Formation#Libelle] dont vous êtes déclaré·e comme formateur·trice va bientôt débuter.<br /><br />Les séances de cette formation se tiendront :<br />VAR[Session#SeancesTable]</p> <p>Cordialement,<br />VAR[Formation#Responsable]</p>', NULL, 'Formation\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (42, 'VALIDATION_SOUTENANCE_AVANT_PRESOUTENANCE', '<p>Courrier électronique indiquant aux acteurs directs et aux structures que le dossiers est complet et par pour saisie en présoutenance</p>', 'mail', 'Validation de proposition de soutenance de VAR[Doctorant#Denomination]', '<p>Bonjour,</p><p>Ceci est un mail envoyé automatiquement par l''application ESUP-SyGAL.<br /><br />La proposition de soutenance de thèse suivante a été validée par tous les acteurs et structures associées :</p><table><tbody><tr><th>Titre :</th><td>VAR[These#Titre]</td></tr><tr><th>Doctorant :</th><td>VAR[Doctorant#Denomination]</td></tr></tbody></table><p>Pour examiner cette proposition merci de vous rendre dans l''application ESUP-SyGAL : VAR[Url#SoutenanceProposition].</p><p>-----------------------</p><p>Vous avez reçu ce mail car :</p><ul><li>la proposition de soutenance vient d''être validée par tous les acteurs directs et toutes les structures concernées ;</li><li>vous êtes soit :<ul><li>un des acteurs directs de la thèse de VAR[Doctorant#Denomination]</li><li>un·e responsable de l''école de doctorale gérant la thèse,</li><li>un·e responsable de l''unité de recherche encadrant la thèse,</li><li>un·e gestionnaire du bureau des doctorat de l''établissement d''inscription du doctorant. <br /><br /></li></ul></li></ul>', 'table { width:100%; } th { text-align:left; }', 'Soutenance\Provider\Template');
+INSERT INTO public.unicaen_renderer_template (id, code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES (43, 'VALIDATION_SOUTENANCE_ENVOI_PRESOUTENANCE', '<p>Courrier électronique pour indiquer que la thèse peut début le circuit de présoutenance</p>', 'mail', 'Vous pouvez maintenant procéder au renseignement des informations liées à la soutenance de VAR[Doctorant#Denomination]', '<p>Bonjour,</p><p>La proposition de soutenance de la thèse suivante a été totalement validée :</p><table><tbody><tr><th>Titre :</th><td>VAR[These#Titre]</td></tr><tr><th>Doctorant :</th><td>VAR[Doctorant#Denomination]</td></tr></tbody></table><p>Vous pouvez maintenance procéder à la saisie des informations liées à la soutenance : VAR[Url#SoutenancePresoutenance]</p><p>---------------------------------</p><p>Vous avez reçu ce mail car :</p><ul><li>la proposition de soutenance de thèse de VAR[Doctorant#Denomination] a été complètement validée </li><li>vous êtes gestionnaire de la maison du doctorat de l''établissement d''inscription du doctorant. </li></ul>', 'table { width:100%; } th { text-align:left; }', 'Soutenance\Provider\Template');
 
 
 --
@@ -1131,6 +2037,76 @@ INSERT INTO public.wf_etape (id, code, ordre, chemin, obligatoire, route, libell
 INSERT INTO public.wf_etape (id, code, ordre, chemin, obligatoire, route, libelle_acteur, libelle_autres, desc_non_franchie, desc_sans_objectif) VALUES (60, 'REMISE_EXEMPLAIRE_PAPIER_THESE_CORRIGEE', 300, 1, true, 'these/version-papier', 'Remise de l''exemplaire papier de la thèse corrigée', 'Remise de l''exemplaire papier de la thèse corrigée', 'Remise de l''exemplaire papier de la thèse corrigée', NULL);
 
 
+--
+-- Name: categorie_privilege_id_seq; Type: SEQUENCE SET; Schema: public; Owner: :dbuser
+--
+
+SELECT pg_catalog.setval('public.categorie_privilege_id_seq', 5119, true);
+
+
+--
+-- Name: formation_enquete_categorie_id_seq; Type: SEQUENCE SET; Schema: public; Owner: :dbuser
+--
+
+SELECT pg_catalog.setval('public.formation_enquete_categorie_id_seq', 6, true);
+
+
+--
+-- Name: formation_enquete_question_id_seq; Type: SEQUENCE SET; Schema: public; Owner: :dbuser
+--
+
+SELECT pg_catalog.setval('public.formation_enquete_question_id_seq', 15, true);
+
+
+--
+-- Name: privilege_id_seq; Type: SEQUENCE SET; Schema: public; Owner: :dbuser
+--
+
+SELECT pg_catalog.setval('public.privilege_id_seq', 1079, true);
+
+
+--
+-- Name: unicaen_avis_type_valeur_complem_ordre_seq; Type: SEQUENCE SET; Schema: public; Owner: :dbuser
+--
+
+SELECT pg_catalog.setval('public.unicaen_avis_type_valeur_complem_ordre_seq', 25, true);
+
+
+--
+-- Name: unicaen_avis_valeur_ordre_seq; Type: SEQUENCE SET; Schema: public; Owner: :dbuser
+--
+
+SELECT pg_catalog.setval('public.unicaen_avis_valeur_ordre_seq', 5, true);
+
+
+--
+-- Name: unicaen_parametre_categorie_id_seq; Type: SEQUENCE SET; Schema: public; Owner: :dbuser
+--
+
+SELECT pg_catalog.setval('public.unicaen_parametre_categorie_id_seq', 4, true);
+
+
+--
+-- Name: unicaen_parametre_parametre_id_seq; Type: SEQUENCE SET; Schema: public; Owner: :dbuser
+--
+
+SELECT pg_catalog.setval('public.unicaen_parametre_parametre_id_seq', 19, true);
+
+
+--
+-- Name: unicaen_renderer_macro_id_seq; Type: SEQUENCE SET; Schema: public; Owner: :dbuser
+--
+
+SELECT pg_catalog.setval('public.unicaen_renderer_macro_id_seq', 43, true);
+
+
+--
+-- Name: unicaen_renderer_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: :dbuser
+--
+
+SELECT pg_catalog.setval('public.unicaen_renderer_template_id_seq', 43, true);
+
+
 --
 -- PostgreSQL database dump complete
 --
diff --git a/docker/sql/05_prepare_data.sql b/docker/sql/05_prepare_data.sql
index d0ecb9f0325208cc107ab942584fe9d4d205ac97..c72b04178840ca82b864099b625bec3ffc44d2f0 100644
--- a/docker/sql/05_prepare_data.sql
+++ b/docker/sql/05_prepare_data.sql
@@ -2,6 +2,34 @@
 -- PREPARATION des données insérées.
 --
 
--- Suppression des données dont l'utilisateur créateur/modificateur n'existera pas dans la nouvelle base :
-delete from soutenance_etat    where histo_createur_id <> 1 or histo_modificateur_id <> 1; -- 1 = SyGAL
+--
+-- Dans certaines tables, on supprime les données dont l'auteur n'existe pas dans une bdd neuve.
+--
+
+delete from soutenance_etat where histo_createur_id <> 1 or histo_modificateur_id <> 1; -- 1 = pseudo-utilisateur SyGAL
 delete from soutenance_qualite where histo_createur_id <> 1 or histo_modificateur_id <> 1;
+
+--
+-- Dans certaines tables, on écrase l'auteur avec celui par défaut.
+--
+
+update soutenance_etat set histo_createur_id = 1,
+                           histo_creation = default,
+                           histo_modificateur_id = null,
+                           histo_modification = null;
+update soutenance_qualite set histo_createur_id = 1,
+                              histo_creation = default,
+                              histo_modificateur_id = null,
+                              histo_modification = null;
+update formation_enquete_categorie set histo_createur_id = 1,
+                                       histo_creation = default,
+                                       histo_modificateur_id = null,
+                                       histo_modification = null;
+update formation_enquete_question set histo_createur_id = 1,
+                                      histo_creation = default,
+                                      histo_modificateur_id = null,
+                                      histo_modification = null;
+update pays set histo_createur_id = 1,
+                histo_creation = default,
+                histo_modificateur_id = null,
+                histo_modification = null;
diff --git a/docker/sql/06_create_constraints.sql b/docker/sql/06_create_constraints.sql
index 7ae37f23d2ea2e3b44be4b7fca03376c9937df80..55a94ab7a0b42e5d0d98826f5c67bc7e2d1a9170 100644
--- a/docker/sql/06_create_constraints.sql
+++ b/docker/sql/06_create_constraints.sql
@@ -3,7 +3,7 @@
 --
 
 -- Dumped from database version 9.6.11
--- Dumped by pg_dump version 14.1 (Ubuntu 14.1-2.pgdg20.04+1)
+-- Dumped by pg_dump version 15.4 (Ubuntu 15.4-1.pgdg20.04+1)
 
 SET statement_timeout = 0;
 SET lock_timeout = 0;
@@ -18,6 +18,14 @@ SET row_security = off;
 
 SET default_tablespace = '';
 
+--
+-- Name: structure structure_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.structure
+    ADD CONSTRAINT structure_pkey PRIMARY KEY (id);
+
+
 --
 -- Name: acteur acteur_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -50,6 +58,14 @@ ALTER TABLE ONLY public.categorie_privilege
     ADD CONSTRAINT categorie_privilege_pkey PRIMARY KEY (id);
 
 
+--
+-- Name: csi_membre csi_membre_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.csi_membre
+    ADD CONSTRAINT csi_membre_pkey PRIMARY KEY (id);
+
+
 --
 -- Name: diffusion diffusion_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -59,13 +75,21 @@ ALTER TABLE ONLY public.diffusion
 
 
 --
--- Name: doctorant_compl doctorant_compl_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+-- Name: z_doctorant_compl doctorant_compl_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
 --
 
-ALTER TABLE ONLY public.doctorant_compl
+ALTER TABLE ONLY public.z_doctorant_compl
     ADD CONSTRAINT doctorant_compl_pkey PRIMARY KEY (id);
 
 
+--
+-- Name: doctorant_mission_enseignement doctorant_mission_enseignement_pk; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.doctorant_mission_enseignement
+    ADD CONSTRAINT doctorant_mission_enseignement_pk PRIMARY KEY (id);
+
+
 --
 -- Name: doctorant doctorant_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -138,6 +162,118 @@ ALTER TABLE ONLY public.financement
     ADD CONSTRAINT financement_pkey PRIMARY KEY (id);
 
 
+--
+-- Name: formation_enquete_categorie formation_enquete_categorie_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_enquete_categorie
+    ADD CONSTRAINT formation_enquete_categorie_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: formation_enquete_question formation_enquete_question_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_enquete_question
+    ADD CONSTRAINT formation_enquete_question_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: formation_enquete_reponse formation_enquete_reponse_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_enquete_reponse
+    ADD CONSTRAINT formation_enquete_reponse_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: formation_etat formation_etat_pk; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_etat
+    ADD CONSTRAINT formation_etat_pk PRIMARY KEY (code);
+
+
+--
+-- Name: formation_formateur formation_formateur_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_formateur
+    ADD CONSTRAINT formation_formateur_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: formation_formation formation_formation_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_formation
+    ADD CONSTRAINT formation_formation_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: formation_inscription formation_inscription_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_inscription
+    ADD CONSTRAINT formation_inscription_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: formation_module formation_module_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_module
+    ADD CONSTRAINT formation_module_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: formation_presence formation_presence_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_presence
+    ADD CONSTRAINT formation_presence_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: formation_seance formation_seance_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_seance
+    ADD CONSTRAINT formation_seance_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: formation_session_etat_heurodatage formation_session_etat_heurodatage_pk; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_session_etat_heurodatage
+    ADD CONSTRAINT formation_session_etat_heurodatage_pk PRIMARY KEY (id);
+
+
+--
+-- Name: formation_session formation_session_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_session
+    ADD CONSTRAINT formation_session_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: formation_session_structure_valide formation_session_structure_valide_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_session_structure_valide
+    ADD CONSTRAINT formation_session_structure_valide_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: horodatage_horodatage horodatage_horodatage_pk; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.horodatage_horodatage
+    ADD CONSTRAINT horodatage_horodatage_pk PRIMARY KEY (id);
+
+
 --
 -- Name: import_log import_log_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -218,6 +354,14 @@ ALTER TABLE ONLY public.indicateur
     ADD CONSTRAINT indicateur_pkey PRIMARY KEY (id);
 
 
+--
+-- Name: individu_compl individu_compl_pk; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.individu_compl
+    ADD CONSTRAINT individu_compl_pk PRIMARY KEY (id);
+
+
 --
 -- Name: individu individu_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -242,14 +386,6 @@ ALTER TABLE ONLY public.individu_role
     ADD CONSTRAINT individu_role_pkey PRIMARY KEY (id);
 
 
---
--- Name: information_fichier_sav information_fichier_sav_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
---
-
-ALTER TABLE ONLY public.information_fichier_sav
-    ADD CONSTRAINT information_fichier_sav_pkey PRIMARY KEY (id);
-
-
 --
 -- Name: information_langue information_langue_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -346,6 +482,38 @@ ALTER TABLE ONLY public.parametre
     ADD CONSTRAINT parametre_pkey PRIMARY KEY (id);
 
 
+--
+-- Name: pays pays_code_iso_alpha2_key; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.pays
+    ADD CONSTRAINT pays_code_iso_alpha2_key UNIQUE (code_iso_alpha2);
+
+
+--
+-- Name: pays pays_code_iso_alpha3_key; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.pays
+    ADD CONSTRAINT pays_code_iso_alpha3_key UNIQUE (code_iso_alpha3);
+
+
+--
+-- Name: pays pays_code_iso_key; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.pays
+    ADD CONSTRAINT pays_code_iso_key UNIQUE (code_iso);
+
+
+--
+-- Name: pays pays_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.pays
+    ADD CONSTRAINT pays_pkey PRIMARY KEY (id);
+
+
 --
 -- Name: privilege privilege_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -378,6 +546,38 @@ ALTER TABLE ONLY public.profil_to_role
     ADD CONSTRAINT profil_to_role_pkey PRIMARY KEY (profil_id, role_id);
 
 
+--
+-- Name: rapport_activite_avis rapport_activite_avis_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.rapport_activite_avis
+    ADD CONSTRAINT rapport_activite_avis_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: rapport_activite rapport_activite_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.rapport_activite
+    ADD CONSTRAINT rapport_activite_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: rapport_activite_validation rapport_activite_validation_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.rapport_activite_validation
+    ADD CONSTRAINT rapport_activite_validation_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: rapport_avis rapport_avis_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.rapport_avis
+    ADD CONSTRAINT rapport_avis_pkey PRIMARY KEY (id);
+
+
 --
 -- Name: rapport rapport_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -434,14 +634,6 @@ ALTER TABLE ONLY public.source
     ADD CONSTRAINT source_pkey PRIMARY KEY (id);
 
 
---
--- Name: soutenance_configuration soutenance_configuration_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
---
-
-ALTER TABLE ONLY public.soutenance_configuration
-    ADD CONSTRAINT soutenance_configuration_pkey PRIMARY KEY (id);
-
-
 --
 -- Name: soutenance_etat soutenance_etat_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -451,11 +643,11 @@ ALTER TABLE ONLY public.soutenance_etat
 
 
 --
--- Name: soutenance_evenement soutenance_evenement_pk; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+-- Name: soutenance_horodatage soutenance_horodatage_pk; Type: CONSTRAINT; Schema: public; Owner: :dbuser
 --
 
-ALTER TABLE ONLY public.soutenance_evenement
-    ADD CONSTRAINT soutenance_evenement_pk PRIMARY KEY (id);
+ALTER TABLE ONLY public.soutenance_horodatage
+    ADD CONSTRAINT soutenance_horodatage_pk PRIMARY KEY (proposition_id, horodatage_id);
 
 
 --
@@ -507,19 +699,19 @@ ALTER TABLE ONLY public.soutenance_qualite_sup
 
 
 --
--- Name: structure_document structure_document_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+-- Name: step_star_log stepstar_log_pk; Type: CONSTRAINT; Schema: public; Owner: :dbuser
 --
 
-ALTER TABLE ONLY public.structure_document
-    ADD CONSTRAINT structure_document_pkey PRIMARY KEY (id);
+ALTER TABLE ONLY public.step_star_log
+    ADD CONSTRAINT stepstar_log_pk PRIMARY KEY (id);
 
 
 --
--- Name: structure structure_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+-- Name: structure_document structure_document_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
 --
 
-ALTER TABLE ONLY public.structure
-    ADD CONSTRAINT structure_pkey PRIMARY KEY (id);
+ALTER TABLE ONLY public.structure_document
+    ADD CONSTRAINT structure_document_pkey PRIMARY KEY (id);
 
 
 --
@@ -594,6 +786,110 @@ ALTER TABLE ONLY public.type_validation
     ADD CONSTRAINT type_validation_pkey PRIMARY KEY (id);
 
 
+--
+-- Name: unicaen_alerte_alerte unicaen_alerte_alerte__pk; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_alerte_alerte
+    ADD CONSTRAINT unicaen_alerte_alerte__pk PRIMARY KEY (id);
+
+
+--
+-- Name: unicaen_alerte_alerte_planning unicaen_alerte_alerte_planning__pk; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_alerte_alerte_planning
+    ADD CONSTRAINT unicaen_alerte_alerte_planning__pk PRIMARY KEY (id);
+
+
+--
+-- Name: unicaen_avis unicaen_avis__pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_avis
+    ADD CONSTRAINT unicaen_avis__pkey PRIMARY KEY (id);
+
+
+--
+-- Name: unicaen_avis_complem unicaen_avis_complem__pk; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_avis_complem
+    ADD CONSTRAINT unicaen_avis_complem__pk PRIMARY KEY (id);
+
+
+--
+-- Name: unicaen_avis_type unicaen_avis_type__pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_avis_type
+    ADD CONSTRAINT unicaen_avis_type__pkey PRIMARY KEY (id);
+
+
+--
+-- Name: unicaen_avis_type_valeur unicaen_avis_type_valeur__pk; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_avis_type_valeur
+    ADD CONSTRAINT unicaen_avis_type_valeur__pk PRIMARY KEY (id);
+
+
+--
+-- Name: unicaen_avis_type_valeur_complem unicaen_avis_type_valeur_complem__pk; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_avis_type_valeur_complem
+    ADD CONSTRAINT unicaen_avis_type_valeur_complem__pk PRIMARY KEY (id);
+
+
+--
+-- Name: unicaen_avis_valeur unicaen_avis_valeur__pk; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_avis_valeur
+    ADD CONSTRAINT unicaen_avis_valeur__pk PRIMARY KEY (id);
+
+
+--
+-- Name: unicaen_renderer_macro unicaen_document_macro_pk; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_renderer_macro
+    ADD CONSTRAINT unicaen_document_macro_pk PRIMARY KEY (id);
+
+
+--
+-- Name: unicaen_renderer_rendu unicaen_document_rendu_pk; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_renderer_rendu
+    ADD CONSTRAINT unicaen_document_rendu_pk PRIMARY KEY (id);
+
+
+--
+-- Name: unicaen_renderer_template unicaen_document_template_pk; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_renderer_template
+    ADD CONSTRAINT unicaen_document_template_pk PRIMARY KEY (id);
+
+
+--
+-- Name: unicaen_parametre_categorie unicaen_parametre_categorie_pk; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_parametre_categorie
+    ADD CONSTRAINT unicaen_parametre_categorie_pk PRIMARY KEY (id);
+
+
+--
+-- Name: unicaen_parametre_parametre unicaen_parametre_parametre_pk; Type: CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_parametre_parametre
+    ADD CONSTRAINT unicaen_parametre_parametre_pk PRIMARY KEY (id);
+
+
 --
 -- Name: unite_domaine_linker unite_domaine_linker_pkey; Type: CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -809,13 +1105,6 @@ CREATE INDEX attestation_these_idx ON public.attestation USING btree (these_id);
 CREATE UNIQUE INDEX categorie_privilege_unique ON public.categorie_privilege USING btree (code);
 
 
---
--- Name: configuration_code_uindex; Type: INDEX; Schema: public; Owner: :dbuser
---
-
-CREATE UNIQUE INDEX configuration_code_uindex ON public.soutenance_configuration USING btree (code);
-
-
 --
 -- Name: diffusion_hc_idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
@@ -848,42 +1137,42 @@ CREATE INDEX diffusion_these_idx ON public.diffusion USING btree (these_id);
 -- Name: doctorant_compl_doctorant_idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX doctorant_compl_doctorant_idx ON public.doctorant_compl USING btree (doctorant_id);
+CREATE INDEX doctorant_compl_doctorant_idx ON public.z_doctorant_compl USING btree (doctorant_id);
 
 
 --
 -- Name: doctorant_compl_hc_idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX doctorant_compl_hc_idx ON public.doctorant_compl USING btree (histo_createur_id);
+CREATE INDEX doctorant_compl_hc_idx ON public.z_doctorant_compl USING btree (histo_createur_id);
 
 
 --
 -- Name: doctorant_compl_hd_idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX doctorant_compl_hd_idx ON public.doctorant_compl USING btree (histo_destructeur_id);
+CREATE INDEX doctorant_compl_hd_idx ON public.z_doctorant_compl USING btree (histo_destructeur_id);
 
 
 --
 -- Name: doctorant_compl_hm_idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX doctorant_compl_hm_idx ON public.doctorant_compl USING btree (histo_modificateur_id);
+CREATE INDEX doctorant_compl_hm_idx ON public.z_doctorant_compl USING btree (histo_modificateur_id);
 
 
 --
 -- Name: doctorant_compl_un_1; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX doctorant_compl_un_1 ON public.doctorant_compl USING btree (persopass, histo_destruction) WHERE (histo_destruction IS NOT NULL);
+CREATE UNIQUE INDEX doctorant_compl_un_1 ON public.z_doctorant_compl USING btree (persopass, histo_destruction) WHERE (histo_destruction IS NOT NULL);
 
 
 --
 -- Name: doctorant_compl_un_2; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX doctorant_compl_un_2 ON public.doctorant_compl USING btree (persopass) WHERE (histo_destruction IS NULL);
+CREATE UNIQUE INDEX doctorant_compl_un_2 ON public.z_doctorant_compl USING btree (persopass) WHERE (histo_destruction IS NULL);
 
 
 --
@@ -1062,122 +1351,199 @@ CREATE UNIQUE INDEX financement_source_code_un ON public.financement USING btree
 
 
 --
--- Name: import_notif_un; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: formation_enquete_categorie_id_uindex; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX import_notif_un ON public.import_notif USING btree (table_name, column_name, operation);
+CREATE UNIQUE INDEX formation_enquete_categorie_id_uindex ON public.formation_enquete_categorie USING btree (id);
 
 
 --
--- Name: import_obs_notif_io_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: formation_enquete_question_id_uindex; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX import_obs_notif_io_idx ON public.import_obs_notif USING btree (import_observ_id);
+CREATE UNIQUE INDEX formation_enquete_question_id_uindex ON public.formation_enquete_question USING btree (id);
 
 
 --
--- Name: import_obs_notif_ior_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: formation_enquete_reponse_id_uindex; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX import_obs_notif_ior_idx ON public.import_obs_result_notif USING btree (import_observ_result_id);
+CREATE UNIQUE INDEX formation_enquete_reponse_id_uindex ON public.formation_enquete_reponse USING btree (id);
 
 
 --
--- Name: import_obs_notif_n_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: formation_formateur_id_uindex; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX import_obs_notif_n_idx ON public.import_obs_notif USING btree (notif_id);
+CREATE UNIQUE INDEX formation_formateur_id_uindex ON public.formation_formateur USING btree (id);
 
 
 --
--- Name: import_obs_notif_nr_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: formation_formation_id_uindex; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX import_obs_notif_nr_idx ON public.import_obs_result_notif USING btree (notif_result_id);
+CREATE UNIQUE INDEX formation_formation_id_uindex ON public.formation_formation USING btree (id);
 
 
 --
--- Name: import_observ_un; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: formation_inscription_id_uindex; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX import_observ_un ON public.import_observ USING btree (table_name, column_name, operation, to_value);
+CREATE UNIQUE INDEX formation_inscription_id_uindex ON public.formation_inscription USING btree (id);
 
 
 --
--- Name: individu_hcfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: formation_module_id_uindex; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX individu_hcfk_idx ON public.individu USING btree (histo_createur_id);
+CREATE UNIQUE INDEX formation_module_id_uindex ON public.formation_module USING btree (id);
 
 
 --
--- Name: individu_hdfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: formation_presence_id_uindex; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX individu_hdfk_idx ON public.individu USING btree (histo_destructeur_id);
+CREATE UNIQUE INDEX formation_presence_id_uindex ON public.formation_presence USING btree (id);
 
 
 --
--- Name: individu_hmfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: formation_seance_id_uindex; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX individu_hmfk_idx ON public.individu USING btree (histo_modificateur_id);
+CREATE UNIQUE INDEX formation_seance_id_uindex ON public.formation_seance USING btree (id);
 
 
 --
--- Name: individu_role_individu_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: formation_session_id_uindex; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX individu_role_individu_idx ON public.individu_role USING btree (individu_id);
+CREATE UNIQUE INDEX formation_session_id_uindex ON public.formation_session USING btree (id);
 
 
 --
--- Name: individu_role_role_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: formation_session_structure_valide_id_uindex; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX individu_role_role_idx ON public.individu_role USING btree (role_id);
+CREATE UNIQUE INDEX formation_session_structure_valide_id_uindex ON public.formation_session_structure_valide USING btree (id);
 
 
 --
--- Name: individu_role_unique; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: import_notif_un; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX individu_role_unique ON public.individu_role USING btree (individu_id, role_id);
+CREATE UNIQUE INDEX import_notif_un ON public.import_notif USING btree (table_name, column_name, operation);
 
 
 --
--- Name: individu_source_code_uindex; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: import_obs_notif_io_idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX individu_source_code_uindex ON public.individu USING btree (source_code);
+CREATE INDEX import_obs_notif_io_idx ON public.import_obs_notif USING btree (import_observ_id);
 
 
 --
--- Name: individu_source_code_uniq_1; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: import_obs_notif_ior_idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX individu_source_code_uniq_1 ON public.individu USING btree (source_code, histo_destruction) WHERE (histo_destruction IS NOT NULL);
+CREATE INDEX import_obs_notif_ior_idx ON public.import_obs_result_notif USING btree (import_observ_result_id);
 
 
 --
--- Name: individu_source_code_uniq_2; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: import_obs_notif_n_idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX individu_source_code_uniq_2 ON public.individu USING btree (source_code) WHERE (histo_destruction IS NULL);
+CREATE INDEX import_obs_notif_n_idx ON public.import_obs_notif USING btree (notif_id);
 
 
 --
--- Name: individu_src_id_index; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: import_obs_notif_nr_idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX individu_src_id_index ON public.individu USING btree (source_id);
+CREATE INDEX import_obs_notif_nr_idx ON public.import_obs_result_notif USING btree (notif_result_id);
+
+
+--
+-- Name: import_observ_un; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX import_observ_un ON public.import_observ USING btree (table_name, column_name, operation, to_value);
+
+
+--
+-- Name: individu_compl_id_uindex; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX individu_compl_id_uindex ON public.individu_compl USING btree (id);
+
+
+--
+-- Name: individu_hcfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX individu_hcfk_idx ON public.individu USING btree (histo_createur_id);
+
+
+--
+-- Name: individu_hdfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX individu_hdfk_idx ON public.individu USING btree (histo_destructeur_id);
+
+
+--
+-- Name: individu_hmfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX individu_hmfk_idx ON public.individu USING btree (histo_modificateur_id);
+
+
+--
+-- Name: individu_role_individu_id_role_id_uindex; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX individu_role_individu_id_role_id_uindex ON public.individu_role USING btree (individu_id, role_id);
+
+
+--
+-- Name: individu_role_individu_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX individu_role_individu_idx ON public.individu_role USING btree (individu_id);
+
+
+--
+-- Name: individu_role_role_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX individu_role_role_idx ON public.individu_role USING btree (role_id);
+
+
+--
+-- Name: individu_source_code_uindex; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX individu_source_code_uindex ON public.individu USING btree (source_code);
+
+
+--
+-- Name: individu_source_code_uniq_1; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX individu_source_code_uniq_1 ON public.individu USING btree (source_code, histo_destruction) WHERE (histo_destruction IS NOT NULL);
 
 
 --
--- Name: information_filename_uindex; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: individu_source_code_uniq_2; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX individu_source_code_uniq_2 ON public.individu USING btree (source_code) WHERE (histo_destruction IS NULL);
+
+
+--
+-- Name: individu_src_id_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX information_filename_uindex ON public.information_fichier_sav USING btree (filename);
+CREATE INDEX individu_src_id_index ON public.individu USING btree (source_id);
 
 
 --
@@ -1243,6 +1609,174 @@ CREATE UNIQUE INDEX privilege_unique ON public.privilege USING btree (categorie_
 CREATE UNIQUE INDEX profil_role_id_uindex ON public.profil USING btree (role_id);
 
 
+--
+-- Name: rapport_activite_avis_avis_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX rapport_activite_avis_avis_idx ON public.rapport_activite_avis USING btree (avis_id);
+
+
+--
+-- Name: rapport_activite_avis_hcfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX rapport_activite_avis_hcfk_idx ON public.rapport_activite_avis USING btree (histo_createur_id);
+
+
+--
+-- Name: rapport_activite_avis_hdfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX rapport_activite_avis_hdfk_idx ON public.rapport_activite_avis USING btree (histo_destructeur_id);
+
+
+--
+-- Name: rapport_activite_avis_hmfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX rapport_activite_avis_hmfk_idx ON public.rapport_activite_avis USING btree (histo_modificateur_id);
+
+
+--
+-- Name: rapport_activite_avis_rapport_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX rapport_activite_avis_rapport_idx ON public.rapport_activite_avis USING btree (rapport_id);
+
+
+--
+-- Name: rapport_activite_fichier_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX rapport_activite_fichier_idx ON public.rapport_activite USING btree (fichier_id);
+
+
+--
+-- Name: rapport_activite_hcfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX rapport_activite_hcfk_idx ON public.rapport_activite USING btree (histo_createur_id);
+
+
+--
+-- Name: rapport_activite_hdfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX rapport_activite_hdfk_idx ON public.rapport_activite USING btree (histo_destructeur_id);
+
+
+--
+-- Name: rapport_activite_hmfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX rapport_activite_hmfk_idx ON public.rapport_activite USING btree (histo_modificateur_id);
+
+
+--
+-- Name: rapport_activite_these_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX rapport_activite_these_idx ON public.rapport_activite USING btree (these_id);
+
+
+--
+-- Name: rapport_activite_uniq_un1; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX rapport_activite_uniq_un1 ON public.rapport_activite USING btree (these_id, annee_univ, est_fin_contrat, histo_destruction) WHERE (histo_destruction IS NOT NULL);
+
+
+--
+-- Name: rapport_activite_uniq_un2; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX rapport_activite_uniq_un2 ON public.rapport_activite USING btree (these_id, annee_univ, est_fin_contrat) WHERE (histo_destruction IS NULL);
+
+
+--
+-- Name: rapport_activite_validation_hcfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX rapport_activite_validation_hcfk_idx ON public.rapport_activite_validation USING btree (histo_createur_id);
+
+
+--
+-- Name: rapport_activite_validation_hdfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX rapport_activite_validation_hdfk_idx ON public.rapport_activite_validation USING btree (histo_destructeur_id);
+
+
+--
+-- Name: rapport_activite_validation_hmfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX rapport_activite_validation_hmfk_idx ON public.rapport_activite_validation USING btree (histo_modificateur_id);
+
+
+--
+-- Name: rapport_activite_validation_indiv_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX rapport_activite_validation_indiv_idx ON public.rapport_activite_validation USING btree (individu_id);
+
+
+--
+-- Name: rapport_activite_validation_rapport_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX rapport_activite_validation_rapport_idx ON public.rapport_activite_validation USING btree (rapport_id);
+
+
+--
+-- Name: rapport_activite_validation_type_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX rapport_activite_validation_type_idx ON public.rapport_activite_validation USING btree (type_validation_id);
+
+
+--
+-- Name: rapport_activite_validation_un_1; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX rapport_activite_validation_un_1 ON public.rapport_activite_validation USING btree (type_validation_id, rapport_id, individu_id, histo_destruction) WHERE (histo_destruction IS NOT NULL);
+
+
+--
+-- Name: rapport_activite_validation_un_2; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX rapport_activite_validation_un_2 ON public.rapport_activite_validation USING btree (type_validation_id, rapport_id, individu_id) WHERE (histo_destruction IS NULL);
+
+
+--
+-- Name: rapport_avis_hcfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX rapport_avis_hcfk_idx ON public.rapport_avis USING btree (histo_createur_id);
+
+
+--
+-- Name: rapport_avis_hdfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX rapport_avis_hdfk_idx ON public.rapport_avis USING btree (histo_destructeur_id);
+
+
+--
+-- Name: rapport_avis_hmfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX rapport_avis_hmfk_idx ON public.rapport_avis USING btree (histo_modificateur_id);
+
+
+--
+-- Name: rapport_avis_rapport_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX rapport_avis_rapport_idx ON public.rapport_avis USING btree (rapport_id);
+
+
 --
 -- Name: rapport_validation_hcfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
@@ -1369,13 +1903,6 @@ CREATE INDEX role_type_structure_id_idx ON public.role USING btree (type_structu
 CREATE UNIQUE INDEX source_code_unique ON public.etablissement USING btree (source_code);
 
 
---
--- Name: soutenance_evenement_id_uindex; Type: INDEX; Schema: public; Owner: :dbuser
---
-
-CREATE UNIQUE INDEX soutenance_evenement_id_uindex ON public.soutenance_evenement USING btree (id);
-
-
 --
 -- Name: str_substit_str_to_idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
@@ -1496,122 +2023,136 @@ CREATE INDEX tmp_acteur_source_id_index ON public.tmp_acteur USING btree (source
 
 
 --
--- Name: tmp_acteur_uniq; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_acteur_unique_index; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX tmp_acteur_unique_index ON public.tmp_acteur USING btree (source_id, source_code);
+
+
+--
+-- Name: tmp_doctorant_source_code_index; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX tmp_doctorant_source_code_index ON public.tmp_doctorant USING btree (source_code);
+
+
+--
+-- Name: tmp_doctorant_source_id_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX tmp_acteur_uniq ON public.tmp_acteur USING btree (id, etablissement_id);
+CREATE INDEX tmp_doctorant_source_id_index ON public.tmp_doctorant USING btree (source_id);
 
 
 --
--- Name: tmp_doctorant_source_code_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_doctorant_unique_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX tmp_doctorant_source_code_idx ON public.tmp_doctorant USING btree (source_code);
+CREATE UNIQUE INDEX tmp_doctorant_unique_index ON public.tmp_doctorant USING btree (source_id, source_code);
 
 
 --
--- Name: tmp_doctorant_source_id_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_ecole_doct_source_code_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX tmp_doctorant_source_id_idx ON public.tmp_doctorant USING btree (source_id);
+CREATE INDEX tmp_ecole_doct_source_code_index ON public.tmp_ecole_doct USING btree (source_code);
 
 
 --
--- Name: tmp_doctorant_uniq; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_ecole_doct_source_id_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX tmp_doctorant_uniq ON public.tmp_doctorant USING btree (id, etablissement_id);
+CREATE INDEX tmp_ecole_doct_source_id_index ON public.tmp_ecole_doct USING btree (source_id);
 
 
 --
--- Name: tmp_ecole_doct_source_code_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_ecole_doct_unique_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX tmp_ecole_doct_source_code_idx ON public.tmp_ecole_doct USING btree (source_code);
+CREATE UNIQUE INDEX tmp_ecole_doct_unique_index ON public.tmp_ecole_doct USING btree (source_id, source_code);
 
 
 --
--- Name: tmp_ecole_doct_source_id_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_etablissement_source_code_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX tmp_ecole_doct_source_id_idx ON public.tmp_ecole_doct USING btree (source_id);
+CREATE INDEX tmp_etablissement_source_code_index ON public.tmp_etablissement USING btree (source_code);
 
 
 --
--- Name: tmp_ecole_doct_struct_id_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_etablissement_source_id_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX tmp_ecole_doct_struct_id_idx ON public.tmp_ecole_doct USING btree (structure_id);
+CREATE INDEX tmp_etablissement_source_id_index ON public.tmp_etablissement USING btree (source_id);
 
 
 --
--- Name: tmp_ecole_doct_uniq; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_etablissement_unique_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX tmp_ecole_doct_uniq ON public.tmp_ecole_doct USING btree (id, structure_id);
+CREATE UNIQUE INDEX tmp_etablissement_unique_index ON public.tmp_etablissement USING btree (source_id, source_code);
 
 
 --
--- Name: tmp_etab_source_code_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_financement_source_code_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX tmp_etab_source_code_idx ON public.tmp_etablissement USING btree (source_code);
+CREATE INDEX tmp_financement_source_code_index ON public.tmp_financement USING btree (source_code);
 
 
 --
--- Name: tmp_etab_source_id_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_financement_source_id_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX tmp_etab_source_id_idx ON public.tmp_etablissement USING btree (source_id);
+CREATE INDEX tmp_financement_source_id_index ON public.tmp_financement USING btree (source_id);
 
 
 --
--- Name: tmp_etab_struct_id_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_financement_unique_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX tmp_etab_struct_id_idx ON public.tmp_etablissement USING btree (structure_id);
+CREATE UNIQUE INDEX tmp_financement_unique_index ON public.tmp_financement USING btree (source_id, source_code);
 
 
 --
--- Name: tmp_etab_uniq; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_individu_source_code_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX tmp_etab_uniq ON public.tmp_etablissement USING btree (id, structure_id);
+CREATE INDEX tmp_individu_source_code_index ON public.tmp_individu USING btree (source_code);
 
 
 --
--- Name: tmp_financement_uniq; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_individu_source_id_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX tmp_financement_uniq ON public.tmp_financement USING btree (id, etablissement_id);
+CREATE INDEX tmp_individu_source_id_index ON public.tmp_individu USING btree (source_id);
 
 
 --
--- Name: tmp_individu_source_code_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_individu_unique_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX tmp_individu_source_code_idx ON public.tmp_individu USING btree (source_code);
+CREATE UNIQUE INDEX tmp_individu_unique_index ON public.tmp_individu USING btree (source_id, source_code);
 
 
 --
--- Name: tmp_individu_source_id_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_origine_financement_source_code_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX tmp_individu_source_id_idx ON public.tmp_individu USING btree (source_id);
+CREATE INDEX tmp_origine_financement_source_code_index ON public.tmp_origine_financement USING btree (source_code);
 
 
 --
--- Name: tmp_individu_uniq; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_origine_financement_source_id_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX tmp_individu_uniq ON public.tmp_individu USING btree (id, etablissement_id);
+CREATE INDEX tmp_origine_financement_source_id_index ON public.tmp_origine_financement USING btree (source_id);
 
 
 --
--- Name: tmp_origine_financement_uniq; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_origine_financement_unique_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX tmp_origine_financement_uniq ON public.tmp_origine_financement USING btree (id, etablissement_id);
+CREATE UNIQUE INDEX tmp_origine_financement_unique_index ON public.tmp_origine_financement USING btree (source_id, source_code);
 
 
 --
@@ -1629,52 +2170,52 @@ CREATE INDEX tmp_role_source_id_index ON public.tmp_role USING btree (source_id)
 
 
 --
--- Name: tmp_role_uniq; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_role_unique_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX tmp_role_uniq ON public.tmp_role USING btree (id, etablissement_id);
+CREATE UNIQUE INDEX tmp_role_unique_index ON public.tmp_role USING btree (source_id, source_code);
 
 
 --
--- Name: tmp_structure_source_code_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_structure_source_code_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX tmp_structure_source_code_idx ON public.tmp_structure USING btree (source_code);
+CREATE INDEX tmp_structure_source_code_index ON public.tmp_structure USING btree (source_code);
 
 
 --
--- Name: tmp_structure_source_id_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_structure_source_id_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX tmp_structure_source_id_idx ON public.tmp_structure USING btree (source_id);
+CREATE INDEX tmp_structure_source_id_index ON public.tmp_structure USING btree (source_id);
 
 
 --
--- Name: tmp_structure_type_id_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_structure_unique_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX tmp_structure_type_id_idx ON public.tmp_structure USING btree (type_structure_id);
+CREATE UNIQUE INDEX tmp_structure_unique_index ON public.tmp_structure USING btree (source_id, source_code);
 
 
 --
--- Name: tmp_these_annee_u_src_cod_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_these_annee_univ_source_code_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX tmp_these_annee_u_src_cod_idx ON public.tmp_these_annee_univ USING btree (source_code);
+CREATE INDEX tmp_these_annee_univ_source_code_index ON public.tmp_these_annee_univ USING btree (source_code);
 
 
 --
--- Name: tmp_these_annee_u_src_id_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_these_annee_univ_source_id_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX tmp_these_annee_u_src_id_idx ON public.tmp_these_annee_univ USING btree (source_id);
+CREATE INDEX tmp_these_annee_univ_source_id_index ON public.tmp_these_annee_univ USING btree (source_id);
 
 
 --
--- Name: tmp_these_annee_u_uniq; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_these_annee_univ_unique_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX tmp_these_annee_u_uniq ON public.tmp_these_annee_univ USING btree (id, etablissement_id);
+CREATE UNIQUE INDEX tmp_these_annee_univ_unique_index ON public.tmp_these_annee_univ USING btree (source_id, source_code);
 
 
 --
@@ -1692,59 +2233,52 @@ CREATE INDEX tmp_these_source_id_index ON public.tmp_these USING btree (source_i
 
 
 --
--- Name: tmp_these_uniq; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_these_unique_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX tmp_these_uniq ON public.tmp_these USING btree (id, etablissement_id);
+CREATE UNIQUE INDEX tmp_these_unique_index ON public.tmp_these USING btree (source_id, source_code);
 
 
 --
--- Name: tmp_titre_acces_source_cod_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_titre_acces_source_code_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX tmp_titre_acces_source_cod_idx ON public.tmp_titre_acces USING btree (source_code);
+CREATE INDEX tmp_titre_acces_source_code_index ON public.tmp_titre_acces USING btree (source_code);
 
 
 --
--- Name: tmp_titre_acces_source_id_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_titre_acces_source_id_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX tmp_titre_acces_source_id_idx ON public.tmp_titre_acces USING btree (source_id);
+CREATE INDEX tmp_titre_acces_source_id_index ON public.tmp_titre_acces USING btree (source_id);
 
 
 --
--- Name: tmp_titre_acces_uniq; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_titre_acces_unique_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX tmp_titre_acces_uniq ON public.tmp_titre_acces USING btree (id, etablissement_id);
+CREATE UNIQUE INDEX tmp_titre_acces_unique_index ON public.tmp_titre_acces USING btree (source_id, source_code);
 
 
 --
--- Name: tmp_unite_rech_source_code_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_unite_rech_source_code_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX tmp_unite_rech_source_code_idx ON public.tmp_unite_rech USING btree (source_code);
+CREATE INDEX tmp_unite_rech_source_code_index ON public.tmp_unite_rech USING btree (source_code);
 
 
 --
--- Name: tmp_unite_rech_source_id_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_unite_rech_source_id_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX tmp_unite_rech_source_id_idx ON public.tmp_unite_rech USING btree (source_id);
+CREATE INDEX tmp_unite_rech_source_id_index ON public.tmp_unite_rech USING btree (source_id);
 
 
 --
--- Name: tmp_unite_rech_struct_id_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_unite_rech_unique_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX tmp_unite_rech_struct_id_idx ON public.tmp_unite_rech USING btree (structure_id);
-
-
---
--- Name: tmp_unite_rech_uniq; Type: INDEX; Schema: public; Owner: :dbuser
---
-
-CREATE UNIQUE INDEX tmp_unite_rech_uniq ON public.tmp_unite_rech USING btree (id, structure_id);
+CREATE UNIQUE INDEX tmp_unite_rech_unique_index ON public.tmp_unite_rech USING btree (source_id, source_code);
 
 
 --
@@ -1762,10 +2296,10 @@ CREATE INDEX tmp_variable_source_id_index ON public.tmp_variable USING btree (so
 
 
 --
--- Name: tmp_variable_uniq; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: tmp_variable_unique_index; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX tmp_variable_uniq ON public.tmp_variable USING btree (id, etablissement_id);
+CREATE UNIQUE INDEX tmp_variable_unique_index ON public.tmp_variable USING btree (source_id, source_code);
 
 
 --
@@ -1790,126 +2324,322 @@ CREATE UNIQUE INDEX type_validation_un ON public.type_validation USING btree (co
 
 
 --
--- Name: unite_rech_hc_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: unicaen_alerte_alerte__idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX unite_rech_hc_idx ON public.unite_rech USING btree (histo_createur_id);
+CREATE INDEX unicaen_alerte_alerte__idx ON public.unicaen_alerte_alerte USING btree (id);
 
 
 --
--- Name: unite_rech_hd_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: unicaen_alerte_alerte__un; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX unite_rech_hd_idx ON public.unite_rech USING btree (histo_destructeur_id);
+CREATE UNIQUE INDEX unicaen_alerte_alerte__un ON public.unicaen_alerte_alerte USING btree (code);
 
 
 --
--- Name: unite_rech_hm_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: unicaen_alerte_alerte_planning__alerte__idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX unite_rech_hm_idx ON public.unite_rech USING btree (histo_modificateur_id);
+CREATE INDEX unicaen_alerte_alerte_planning__alerte__idx ON public.unicaen_alerte_alerte_planning USING btree (alerte_id);
 
 
 --
--- Name: unite_rech_source_code_un; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: unicaen_alerte_alerte_planning__idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX unite_rech_source_code_un ON public.unite_rech USING btree (source_code);
+CREATE INDEX unicaen_alerte_alerte_planning__idx ON public.unicaen_alerte_alerte_planning USING btree (id);
 
 
 --
--- Name: unite_rech_source_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis__idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX unite_rech_source_idx ON public.unite_rech USING btree (source_id);
+CREATE INDEX unicaen_avis__idx ON public.unicaen_avis USING btree (id);
 
 
 --
--- Name: unite_rech_struct_id_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis__unicaen_avis_type__idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX unite_rech_struct_id_idx ON public.unite_rech USING btree (structure_id);
+CREATE INDEX unicaen_avis__unicaen_avis_type__idx ON public.unicaen_avis USING btree (avis_type_id);
 
 
 --
--- Name: user_token_user_action_un; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis__unicaen_avis_valeur__idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX user_token_user_action_un ON public.user_token USING btree (user_id, action);
+CREATE INDEX unicaen_avis__unicaen_avis_valeur__idx ON public.unicaen_avis USING btree (avis_valeur_id);
 
 
 --
--- Name: utilis_password_reset_token_un; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_complem__idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX utilis_password_reset_token_un ON public.utilisateur USING btree (password_reset_token);
+CREATE INDEX unicaen_avis_complem__idx ON public.unicaen_avis_complem USING btree (id);
 
 
 --
--- Name: validation_hcfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_complem__unicaen_avis_type_valeur_complem__idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX validation_hcfk_idx ON public.validation USING btree (histo_createur_id);
+CREATE INDEX unicaen_avis_complem__unicaen_avis_type_valeur_complem__idx ON public.unicaen_avis_complem USING btree (avis_type_complem_id);
 
 
 --
--- Name: validation_hdfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_type__idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX validation_hdfk_idx ON public.validation USING btree (histo_destructeur_id);
+CREATE INDEX unicaen_avis_type__idx ON public.unicaen_avis_type USING btree (id);
 
 
 --
--- Name: validation_hmfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_type__un; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX validation_hmfk_idx ON public.validation USING btree (histo_modificateur_id);
+CREATE UNIQUE INDEX unicaen_avis_type__un ON public.unicaen_avis_type USING btree (code);
 
 
 --
--- Name: validation_individu_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_type_valeur__idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX validation_individu_idx ON public.validation USING btree (individu_id);
+CREATE INDEX unicaen_avis_type_valeur__idx ON public.unicaen_avis_type_valeur USING btree (id);
 
 
 --
--- Name: validation_these_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_type_valeur__unicaen_avis_type__idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX validation_these_idx ON public.validation USING btree (these_id);
+CREATE INDEX unicaen_avis_type_valeur__unicaen_avis_type__idx ON public.unicaen_avis_type_valeur USING btree (avis_type_id);
 
 
 --
--- Name: validation_type_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_type_valeur__unicaen_avis_valeur__idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX validation_type_idx ON public.validation USING btree (type_validation_id);
+CREATE INDEX unicaen_avis_type_valeur__unicaen_avis_valeur__idx ON public.unicaen_avis_type_valeur USING btree (avis_valeur_id);
 
 
 --
--- Name: validation_un_1; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_type_valeur_complem__idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX validation_un_1 ON public.validation USING btree (type_validation_id, these_id, individu_id, histo_destruction) WHERE (histo_destruction IS NOT NULL);
+CREATE INDEX unicaen_avis_type_valeur_complem__idx ON public.unicaen_avis_type_valeur_complem USING btree (id);
 
 
 --
--- Name: validation_un_2; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_type_valeur_complem__un; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE UNIQUE INDEX validation_un_2 ON public.validation USING btree (type_validation_id, these_id, individu_id) WHERE (histo_destruction IS NULL);
+CREATE UNIQUE INDEX unicaen_avis_type_valeur_complem__un ON public.unicaen_avis_type_valeur_complem USING btree (code);
 
 
 --
--- Name: validite_fichier_fichier_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_type_valeur_complem__unicaen_avis_type_valeur__idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
-CREATE INDEX validite_fichier_fichier_idx ON public.validite_fichier USING btree (fichier_id);
+CREATE INDEX unicaen_avis_type_valeur_complem__unicaen_avis_type_valeur__idx ON public.unicaen_avis_type_valeur USING btree (id);
 
 
 --
--- Name: validite_fichier_hcfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+-- Name: unicaen_avis_valeur__idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX unicaen_avis_valeur__idx ON public.unicaen_avis_valeur USING btree (id);
+
+
+--
+-- Name: unicaen_avis_valeur__un; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX unicaen_avis_valeur__un ON public.unicaen_avis_valeur USING btree (code);
+
+
+--
+-- Name: unicaen_document_macro_code_uindex; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX unicaen_document_macro_code_uindex ON public.unicaen_renderer_macro USING btree (code);
+
+
+--
+-- Name: unicaen_document_macro_id_uindex; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX unicaen_document_macro_id_uindex ON public.unicaen_renderer_macro USING btree (id);
+
+
+--
+-- Name: unicaen_document_rendu_id_uindex; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX unicaen_document_rendu_id_uindex ON public.unicaen_renderer_template USING btree (id);
+
+
+--
+-- Name: unicaen_document_template_code_uindex; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX unicaen_document_template_code_uindex ON public.unicaen_renderer_template USING btree (code);
+
+
+--
+-- Name: unicaen_document_template_id_uindex; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX unicaen_document_template_id_uindex ON public.unicaen_renderer_template USING btree (id);
+
+
+--
+-- Name: unicaen_parametre_categorie_code_uindex; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX unicaen_parametre_categorie_code_uindex ON public.unicaen_parametre_categorie USING btree (code);
+
+
+--
+-- Name: unicaen_parametre_categorie_id_uindex; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX unicaen_parametre_categorie_id_uindex ON public.unicaen_parametre_categorie USING btree (id);
+
+
+--
+-- Name: unicaen_parametre_parametre_code_categorie_id_uindex; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX unicaen_parametre_parametre_code_categorie_id_uindex ON public.unicaen_parametre_parametre USING btree (code, categorie_id);
+
+
+--
+-- Name: unicaen_parametre_parametre_id_uindex; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX unicaen_parametre_parametre_id_uindex ON public.unicaen_parametre_parametre USING btree (id);
+
+
+--
+-- Name: unite_rech_hc_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX unite_rech_hc_idx ON public.unite_rech USING btree (histo_createur_id);
+
+
+--
+-- Name: unite_rech_hd_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX unite_rech_hd_idx ON public.unite_rech USING btree (histo_destructeur_id);
+
+
+--
+-- Name: unite_rech_hm_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX unite_rech_hm_idx ON public.unite_rech USING btree (histo_modificateur_id);
+
+
+--
+-- Name: unite_rech_source_code_un; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX unite_rech_source_code_un ON public.unite_rech USING btree (source_code);
+
+
+--
+-- Name: unite_rech_source_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX unite_rech_source_idx ON public.unite_rech USING btree (source_id);
+
+
+--
+-- Name: unite_rech_struct_id_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX unite_rech_struct_id_idx ON public.unite_rech USING btree (structure_id);
+
+
+--
+-- Name: user_token_user_action_un; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX user_token_user_action_un ON public.user_token USING btree (user_id, action);
+
+
+--
+-- Name: utilis_password_reset_token_un; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX utilis_password_reset_token_un ON public.utilisateur USING btree (password_reset_token);
+
+
+--
+-- Name: validation_hcfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX validation_hcfk_idx ON public.validation USING btree (histo_createur_id);
+
+
+--
+-- Name: validation_hdfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX validation_hdfk_idx ON public.validation USING btree (histo_destructeur_id);
+
+
+--
+-- Name: validation_hmfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX validation_hmfk_idx ON public.validation USING btree (histo_modificateur_id);
+
+
+--
+-- Name: validation_individu_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX validation_individu_idx ON public.validation USING btree (individu_id);
+
+
+--
+-- Name: validation_these_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX validation_these_idx ON public.validation USING btree (these_id);
+
+
+--
+-- Name: validation_type_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX validation_type_idx ON public.validation USING btree (type_validation_id);
+
+
+--
+-- Name: validation_un_1; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX validation_un_1 ON public.validation USING btree (type_validation_id, these_id, individu_id, histo_destruction) WHERE (histo_destruction IS NOT NULL);
+
+
+--
+-- Name: validation_un_2; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE UNIQUE INDEX validation_un_2 ON public.validation USING btree (type_validation_id, these_id, individu_id) WHERE (histo_destruction IS NULL);
+
+
+--
+-- Name: validite_fichier_fichier_idx; Type: INDEX; Schema: public; Owner: :dbuser
+--
+
+CREATE INDEX validite_fichier_fichier_idx ON public.validite_fichier USING btree (fichier_id);
+
+
+--
+-- Name: validite_fichier_hcfk_idx; Type: INDEX; Schema: public; Owner: :dbuser
 --
 
 CREATE INDEX validite_fichier_hcfk_idx ON public.validite_fichier USING btree (histo_createur_id);
@@ -2056,6 +2786,14 @@ ALTER TABLE ONLY public.acteur
     ADD CONSTRAINT acteur_these_fk FOREIGN KEY (these_id) REFERENCES public.these(id);
 
 
+--
+-- Name: acteur acteur_unite_rech_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.acteur
+    ADD CONSTRAINT acteur_unite_rech_id_fk FOREIGN KEY (acteur_uniterech_id) REFERENCES public.unite_rech(id) ON DELETE SET NULL;
+
+
 --
 -- Name: attestation attestation_hc_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -2096,14 +2834,6 @@ ALTER TABLE ONLY public.soutenance_avis
     ADD CONSTRAINT avis_destructeur_id FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id);
 
 
---
--- Name: soutenance_avis avis_fichier_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
---
-
-ALTER TABLE ONLY public.soutenance_avis
-    ADD CONSTRAINT avis_fichier_id_fk FOREIGN KEY (fichier_id) REFERENCES public.fichier(id);
-
-
 --
 -- Name: soutenance_avis avis_membre_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -2161,10 +2891,10 @@ ALTER TABLE ONLY public.diffusion
 
 
 --
--- Name: doctorant_compl doctorant_compl_doctorant_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+-- Name: z_doctorant_compl doctorant_compl_doctorant_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
 
-ALTER TABLE ONLY public.doctorant_compl
+ALTER TABLE ONLY public.z_doctorant_compl
     ADD CONSTRAINT doctorant_compl_doctorant_fk FOREIGN KEY (doctorant_id) REFERENCES public.doctorant(id);
 
 
@@ -2208,6 +2938,38 @@ ALTER TABLE ONLY public.doctorant
     ADD CONSTRAINT doctorant_indiv_fk FOREIGN KEY (individu_id) REFERENCES public.individu(id);
 
 
+--
+-- Name: doctorant_mission_enseignement doctorant_mission_enseignement_doctorant_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.doctorant_mission_enseignement
+    ADD CONSTRAINT doctorant_mission_enseignement_doctorant_id_fk FOREIGN KEY (doctorant_id) REFERENCES public.doctorant(id) ON DELETE CASCADE;
+
+
+--
+-- Name: doctorant_mission_enseignement doctorant_mission_enseignement_utilisateur_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.doctorant_mission_enseignement
+    ADD CONSTRAINT doctorant_mission_enseignement_utilisateur_id_fk FOREIGN KEY (histo_createur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: doctorant_mission_enseignement doctorant_mission_enseignement_utilisateur_id_fk2; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.doctorant_mission_enseignement
+    ADD CONSTRAINT doctorant_mission_enseignement_utilisateur_id_fk2 FOREIGN KEY (histo_modificateur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: doctorant_mission_enseignement doctorant_mission_enseignement_utilisateur_id_fk3; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.doctorant_mission_enseignement
+    ADD CONSTRAINT doctorant_mission_enseignement_utilisateur_id_fk3 FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id);
+
+
 --
 -- Name: doctorant doctorant_source_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -2348,56 +3110,528 @@ ALTER TABLE ONLY public.fichier_these
 -- Name: fichier_these fichier_these_these_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
 
-ALTER TABLE ONLY public.fichier_these
-    ADD CONSTRAINT fichier_these_these_fk FOREIGN KEY (these_id) REFERENCES public.these(id) ON DELETE CASCADE;
+ALTER TABLE ONLY public.fichier_these
+    ADD CONSTRAINT fichier_these_these_fk FOREIGN KEY (these_id) REFERENCES public.these(id) ON DELETE CASCADE;
+
+
+--
+-- Name: fichier fichier_version_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.fichier
+    ADD CONSTRAINT fichier_version_fk FOREIGN KEY (version_fichier_id) REFERENCES public.version_fichier(id);
+
+
+--
+-- Name: financement financement_hcfk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.financement
+    ADD CONSTRAINT financement_hcfk FOREIGN KEY (histo_createur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: financement financement_hdfk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.financement
+    ADD CONSTRAINT financement_hdfk FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: financement financement_hmfk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.financement
+    ADD CONSTRAINT financement_hmfk FOREIGN KEY (histo_modificateur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: financement financement_source_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.financement
+    ADD CONSTRAINT financement_source_fk FOREIGN KEY (source_id) REFERENCES public.source(id);
+
+
+--
+-- Name: formation_presence foramtion_presence_seance_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_presence
+    ADD CONSTRAINT foramtion_presence_seance_id_fk FOREIGN KEY (seance_id) REFERENCES public.formation_seance(id) ON DELETE CASCADE;
+
+
+--
+-- Name: formation_enquete_categorie formation_enquete_categorie_utilisateur_id_fk_1; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_enquete_categorie
+    ADD CONSTRAINT formation_enquete_categorie_utilisateur_id_fk_1 FOREIGN KEY (histo_createur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_enquete_categorie formation_enquete_categorie_utilisateur_id_fk_2; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_enquete_categorie
+    ADD CONSTRAINT formation_enquete_categorie_utilisateur_id_fk_2 FOREIGN KEY (histo_modificateur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_enquete_categorie formation_enquete_categorie_utilisateur_id_fk_3; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_enquete_categorie
+    ADD CONSTRAINT formation_enquete_categorie_utilisateur_id_fk_3 FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_enquete_question formation_enquete_question_formation_enquete_categorie_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_enquete_question
+    ADD CONSTRAINT formation_enquete_question_formation_enquete_categorie_id_fk FOREIGN KEY (categorie_id) REFERENCES public.formation_enquete_categorie(id);
+
+
+--
+-- Name: formation_enquete_question formation_enquete_question_utilisateur_id_fk_1; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_enquete_question
+    ADD CONSTRAINT formation_enquete_question_utilisateur_id_fk_1 FOREIGN KEY (histo_createur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_enquete_question formation_enquete_question_utilisateur_id_fk_2; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_enquete_question
+    ADD CONSTRAINT formation_enquete_question_utilisateur_id_fk_2 FOREIGN KEY (histo_modificateur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_enquete_question formation_enquete_question_utilisateur_id_fk_3; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_enquete_question
+    ADD CONSTRAINT formation_enquete_question_utilisateur_id_fk_3 FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_enquete_reponse formation_enquete_reponse_inscription_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_enquete_reponse
+    ADD CONSTRAINT formation_enquete_reponse_inscription_id_fk FOREIGN KEY (inscription_id) REFERENCES public.formation_inscription(id) ON DELETE CASCADE;
+
+
+--
+-- Name: formation_enquete_reponse formation_enquete_reponse_question_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_enquete_reponse
+    ADD CONSTRAINT formation_enquete_reponse_question_id_fk FOREIGN KEY (question_id) REFERENCES public.formation_enquete_question(id) ON DELETE CASCADE;
+
+
+--
+-- Name: formation_enquete_reponse formation_enquete_reponse_utilisateur_id_fk_1; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_enquete_reponse
+    ADD CONSTRAINT formation_enquete_reponse_utilisateur_id_fk_1 FOREIGN KEY (histo_createur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_enquete_reponse formation_enquete_reponse_utilisateur_id_fk_2; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_enquete_reponse
+    ADD CONSTRAINT formation_enquete_reponse_utilisateur_id_fk_2 FOREIGN KEY (histo_modificateur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_enquete_reponse formation_enquete_reponse_utilisateur_id_fk_3; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_enquete_reponse
+    ADD CONSTRAINT formation_enquete_reponse_utilisateur_id_fk_3 FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_formateur formation_formateur_individu_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_formateur
+    ADD CONSTRAINT formation_formateur_individu_id_fk FOREIGN KEY (individu_id) REFERENCES public.individu(id) ON DELETE CASCADE;
+
+
+--
+-- Name: formation_formateur formation_formateur_session_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_formateur
+    ADD CONSTRAINT formation_formateur_session_id_fk FOREIGN KEY (session_id) REFERENCES public.formation_session(id) ON DELETE CASCADE;
+
+
+--
+-- Name: formation_formateur formation_formateur_utilisateur_id_fk_1; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_formateur
+    ADD CONSTRAINT formation_formateur_utilisateur_id_fk_1 FOREIGN KEY (histo_createur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_formateur formation_formateur_utilisateur_id_fk_2; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_formateur
+    ADD CONSTRAINT formation_formateur_utilisateur_id_fk_2 FOREIGN KEY (histo_modificateur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_formateur formation_formateur_utilisateur_id_fk_3; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_formateur
+    ADD CONSTRAINT formation_formateur_utilisateur_id_fk_3 FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_formation formation_formation_etablissement_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_formation
+    ADD CONSTRAINT formation_formation_etablissement_id_fk FOREIGN KEY (site_id) REFERENCES public.etablissement(id) ON DELETE SET NULL;
+
+
+--
+-- Name: formation_formation formation_formation_individu_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_formation
+    ADD CONSTRAINT formation_formation_individu_id_fk FOREIGN KEY (responsable_id) REFERENCES public.individu(id) ON DELETE SET NULL;
+
+
+--
+-- Name: formation_formation formation_formation_module_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_formation
+    ADD CONSTRAINT formation_formation_module_id_fk FOREIGN KEY (module_id) REFERENCES public.formation_module(id) ON DELETE SET NULL;
+
+
+--
+-- Name: formation_formation formation_formation_structure_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_formation
+    ADD CONSTRAINT formation_formation_structure_id_fk FOREIGN KEY (type_structure_id) REFERENCES public.structure(id) ON DELETE SET NULL;
+
+
+--
+-- Name: formation_formation formation_formation_utilisateur_id_fk_1; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_formation
+    ADD CONSTRAINT formation_formation_utilisateur_id_fk_1 FOREIGN KEY (histo_createur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_formation formation_formation_utilisateur_id_fk_2; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_formation
+    ADD CONSTRAINT formation_formation_utilisateur_id_fk_2 FOREIGN KEY (histo_modificateur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_formation formation_formation_utilisateur_id_fk_3; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_formation
+    ADD CONSTRAINT formation_formation_utilisateur_id_fk_3 FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_inscription formation_inscription_doctorant_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_inscription
+    ADD CONSTRAINT formation_inscription_doctorant_id_fk FOREIGN KEY (doctorant_id) REFERENCES public.doctorant(id) ON DELETE CASCADE;
+
+
+--
+-- Name: formation_inscription formation_inscription_session_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_inscription
+    ADD CONSTRAINT formation_inscription_session_fk FOREIGN KEY (session_id) REFERENCES public.formation_session(id) ON DELETE CASCADE;
+
+
+--
+-- Name: formation_inscription formation_inscription_utilisateur_id_fk_1; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_inscription
+    ADD CONSTRAINT formation_inscription_utilisateur_id_fk_1 FOREIGN KEY (histo_createur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_inscription formation_inscription_utilisateur_id_fk_2; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_inscription
+    ADD CONSTRAINT formation_inscription_utilisateur_id_fk_2 FOREIGN KEY (histo_modificateur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_inscription formation_inscription_utilisateur_id_fk_3; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_inscription
+    ADD CONSTRAINT formation_inscription_utilisateur_id_fk_3 FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_module formation_module_utilisateur_id_fk_1; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_module
+    ADD CONSTRAINT formation_module_utilisateur_id_fk_1 FOREIGN KEY (histo_createur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_module formation_module_utilisateur_id_fk_2; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_module
+    ADD CONSTRAINT formation_module_utilisateur_id_fk_2 FOREIGN KEY (histo_modificateur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_module formation_module_utilisateur_id_fk_3; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_module
+    ADD CONSTRAINT formation_module_utilisateur_id_fk_3 FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_presence formation_presence_inscription_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_presence
+    ADD CONSTRAINT formation_presence_inscription_id_fk FOREIGN KEY (inscription_id) REFERENCES public.formation_inscription(id) ON DELETE CASCADE;
+
+
+--
+-- Name: formation_presence formation_presence_utilisateur_id_fk_1; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_presence
+    ADD CONSTRAINT formation_presence_utilisateur_id_fk_1 FOREIGN KEY (histo_createur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_presence formation_presence_utilisateur_id_fk_2; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_presence
+    ADD CONSTRAINT formation_presence_utilisateur_id_fk_2 FOREIGN KEY (histo_modificateur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_presence formation_presence_utilisateur_id_fk_3; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_presence
+    ADD CONSTRAINT formation_presence_utilisateur_id_fk_3 FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_seance formation_seance_session_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_seance
+    ADD CONSTRAINT formation_seance_session_fk FOREIGN KEY (session_id) REFERENCES public.formation_session(id) ON DELETE CASCADE;
+
+
+--
+-- Name: formation_seance formation_seance_utilisateur_id_fk_1; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_seance
+    ADD CONSTRAINT formation_seance_utilisateur_id_fk_1 FOREIGN KEY (histo_createur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_seance formation_seance_utilisateur_id_fk_2; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_seance
+    ADD CONSTRAINT formation_seance_utilisateur_id_fk_2 FOREIGN KEY (histo_modificateur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_seance formation_seance_utilisateur_id_fk_3; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_seance
+    ADD CONSTRAINT formation_seance_utilisateur_id_fk_3 FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_session_etat_heurodatage formation_session_etat_heurodatage_etat; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_session_etat_heurodatage
+    ADD CONSTRAINT formation_session_etat_heurodatage_etat FOREIGN KEY (etat_id) REFERENCES public.formation_etat(code) ON DELETE CASCADE;
+
+
+--
+-- Name: formation_session_etat_heurodatage formation_session_etat_heurodatage_session; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_session_etat_heurodatage
+    ADD CONSTRAINT formation_session_etat_heurodatage_session FOREIGN KEY (session_id) REFERENCES public.formation_session(id) ON DELETE CASCADE;
+
+
+--
+-- Name: formation_session_etat_heurodatage formation_session_etat_heurodatage_user; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_session_etat_heurodatage
+    ADD CONSTRAINT formation_session_etat_heurodatage_user FOREIGN KEY (utilisateur_id) REFERENCES public.utilisateur(id) ON DELETE CASCADE;
+
+
+--
+-- Name: formation_session formation_session_formation_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_session
+    ADD CONSTRAINT formation_session_formation_id_fk FOREIGN KEY (formation_id) REFERENCES public.formation_formation(id) ON DELETE CASCADE;
+
+
+--
+-- Name: formation_session formation_session_responsable_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_session
+    ADD CONSTRAINT formation_session_responsable_id_fk FOREIGN KEY (responsable_id) REFERENCES public.individu(id) ON DELETE SET NULL;
+
+
+--
+-- Name: formation_session formation_session_site_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_session
+    ADD CONSTRAINT formation_session_site_id_fk FOREIGN KEY (site_id) REFERENCES public.etablissement(id) ON DELETE SET NULL;
+
+
+--
+-- Name: formation_session_structure_valide formation_session_structure_valide_session_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_session_structure_valide
+    ADD CONSTRAINT formation_session_structure_valide_session_id_fk FOREIGN KEY (session_id) REFERENCES public.formation_session(id) ON DELETE CASCADE;
+
+
+--
+-- Name: formation_session_structure_valide formation_session_structure_valide_structure_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_session_structure_valide
+    ADD CONSTRAINT formation_session_structure_valide_structure_id_fk FOREIGN KEY (structure_id) REFERENCES public.structure(id) ON DELETE CASCADE;
+
+
+--
+-- Name: formation_session_structure_valide formation_session_structure_valide_utilisateur_id_fk_1; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_session_structure_valide
+    ADD CONSTRAINT formation_session_structure_valide_utilisateur_id_fk_1 FOREIGN KEY (histo_createur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_session_structure_valide formation_session_structure_valide_utilisateur_id_fk_2; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_session_structure_valide
+    ADD CONSTRAINT formation_session_structure_valide_utilisateur_id_fk_2 FOREIGN KEY (histo_modificateur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_session_structure_valide formation_session_structure_valide_utilisateur_id_fk_3; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_session_structure_valide
+    ADD CONSTRAINT formation_session_structure_valide_utilisateur_id_fk_3 FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: formation_session formation_session_type_structure_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_session
+    ADD CONSTRAINT formation_session_type_structure_id_fk FOREIGN KEY (type_structure_id) REFERENCES public.structure(id) ON DELETE SET NULL;
+
+
+--
+-- Name: formation_session formation_session_utilisateur_id_fk_1; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_session
+    ADD CONSTRAINT formation_session_utilisateur_id_fk_1 FOREIGN KEY (histo_createur_id) REFERENCES public.utilisateur(id);
 
 
 --
--- Name: fichier fichier_version_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+-- Name: formation_session formation_session_utilisateur_id_fk_2; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
 
-ALTER TABLE ONLY public.fichier
-    ADD CONSTRAINT fichier_version_fk FOREIGN KEY (version_fichier_id) REFERENCES public.version_fichier(id);
+ALTER TABLE ONLY public.formation_session
+    ADD CONSTRAINT formation_session_utilisateur_id_fk_2 FOREIGN KEY (histo_modificateur_id) REFERENCES public.utilisateur(id);
 
 
 --
--- Name: financement financement_hcfk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+-- Name: formation_session formation_session_utilisateur_id_fk_3; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
 
-ALTER TABLE ONLY public.financement
-    ADD CONSTRAINT financement_hcfk FOREIGN KEY (histo_createur_id) REFERENCES public.utilisateur(id);
+ALTER TABLE ONLY public.formation_session
+    ADD CONSTRAINT formation_session_utilisateur_id_fk_3 FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id);
 
 
 --
--- Name: financement financement_hdfk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+-- Name: horodatage_horodatage horodatage_horodatage_utilisateur_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
 
-ALTER TABLE ONLY public.financement
-    ADD CONSTRAINT financement_hdfk FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id);
+ALTER TABLE ONLY public.horodatage_horodatage
+    ADD CONSTRAINT horodatage_horodatage_utilisateur_id_fk FOREIGN KEY (user_id) REFERENCES public.utilisateur(id);
 
 
 --
--- Name: financement financement_hmfk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+-- Name: import_observ_result import_observ_result_ioe_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
 
-ALTER TABLE ONLY public.financement
-    ADD CONSTRAINT financement_hmfk FOREIGN KEY (histo_modificateur_id) REFERENCES public.utilisateur(id);
+ALTER TABLE ONLY public.import_observ_result
+    ADD CONSTRAINT import_observ_result_ioe_fk FOREIGN KEY (import_observ_id) REFERENCES public.import_observ(id) ON DELETE CASCADE;
 
 
 --
--- Name: financement financement_source_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+-- Name: individu_compl individu_compl_etablissement_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
 
-ALTER TABLE ONLY public.financement
-    ADD CONSTRAINT financement_source_fk FOREIGN KEY (source_id) REFERENCES public.source(id);
+ALTER TABLE ONLY public.individu_compl
+    ADD CONSTRAINT individu_compl_etablissement_id_fk FOREIGN KEY (etablissement_id) REFERENCES public.etablissement(id) ON DELETE SET NULL;
 
 
 --
--- Name: import_observ_result import_observ_result_ioe_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+-- Name: individu_compl individu_compl_unite_rech_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
 
-ALTER TABLE ONLY public.import_observ_result
-    ADD CONSTRAINT import_observ_result_ioe_fk FOREIGN KEY (import_observ_id) REFERENCES public.import_observ(id) ON DELETE CASCADE;
+ALTER TABLE ONLY public.individu_compl
+    ADD CONSTRAINT individu_compl_unite_rech_id_fk FOREIGN KEY (unite_id) REFERENCES public.unite_rech(id) ON DELETE SET NULL;
 
 
 --
@@ -2424,6 +3658,14 @@ ALTER TABLE ONLY public.individu
     ADD CONSTRAINT individu_hm_fk FOREIGN KEY (histo_modificateur_id) REFERENCES public.utilisateur(id) ON DELETE CASCADE;
 
 
+--
+-- Name: individu individu_pays_id_nationalite_fkey; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.individu
+    ADD CONSTRAINT individu_pays_id_nationalite_fkey FOREIGN KEY (pays_id_nationalite) REFERENCES public.pays(id);
+
+
 --
 -- Name: individu_role individu_role_ind_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -2592,6 +3834,14 @@ ALTER TABLE ONLY public.soutenance_membre
     ADD CONSTRAINT membre_createur_fk FOREIGN KEY (histo_createur_id) REFERENCES public.utilisateur(id);
 
 
+--
+-- Name: csi_membre membre_createur_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.csi_membre
+    ADD CONSTRAINT membre_createur_fk FOREIGN KEY (histo_createur_id) REFERENCES public.utilisateur(id);
+
+
 --
 -- Name: soutenance_membre membre_destructeur_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -2600,6 +3850,14 @@ ALTER TABLE ONLY public.soutenance_membre
     ADD CONSTRAINT membre_destructeur_fk FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id);
 
 
+--
+-- Name: csi_membre membre_destructeur_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.csi_membre
+    ADD CONSTRAINT membre_destructeur_fk FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id);
+
+
 --
 -- Name: soutenance_membre membre_modificateur_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -2608,6 +3866,14 @@ ALTER TABLE ONLY public.soutenance_membre
     ADD CONSTRAINT membre_modificateur_fk FOREIGN KEY (histo_modificateur_id) REFERENCES public.utilisateur(id);
 
 
+--
+-- Name: csi_membre membre_modificateur_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.csi_membre
+    ADD CONSTRAINT membre_modificateur_fk FOREIGN KEY (histo_modificateur_id) REFERENCES public.utilisateur(id);
+
+
 --
 -- Name: soutenance_membre membre_proposition_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -2624,6 +3890,22 @@ ALTER TABLE ONLY public.soutenance_membre
     ADD CONSTRAINT membre_qualite_fk FOREIGN KEY (qualite) REFERENCES public.soutenance_qualite(id) ON DELETE SET NULL;
 
 
+--
+-- Name: csi_membre membre_qualite_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.csi_membre
+    ADD CONSTRAINT membre_qualite_fk FOREIGN KEY (qualite) REFERENCES public.soutenance_qualite(id) ON DELETE SET NULL;
+
+
+--
+-- Name: csi_membre membre_these_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.csi_membre
+    ADD CONSTRAINT membre_these_fk FOREIGN KEY (these_id) REFERENCES public.these(id) ON DELETE CASCADE;
+
+
 --
 -- Name: metadonnee_these metadonnee_these_these_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -2680,6 +3962,38 @@ ALTER TABLE ONLY public.origine_financement
     ADD CONSTRAINT origine_financement_source_fk FOREIGN KEY (source_id) REFERENCES public.source(id);
 
 
+--
+-- Name: pays pays_hcfk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.pays
+    ADD CONSTRAINT pays_hcfk FOREIGN KEY (histo_createur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: pays pays_hdfk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.pays
+    ADD CONSTRAINT pays_hdfk FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: pays pays_hmfk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.pays
+    ADD CONSTRAINT pays_hmfk FOREIGN KEY (histo_modificateur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: pays pays_source_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.pays
+    ADD CONSTRAINT pays_source_fk FOREIGN KEY (source_id) REFERENCES public.source(id);
+
+
 --
 -- Name: profil_privilege profil_privilege_profil_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -2736,6 +4050,102 @@ ALTER TABLE ONLY public.soutenance_proposition
     ADD CONSTRAINT proposition_these_fk FOREIGN KEY (these_id) REFERENCES public.these(id) ON DELETE CASCADE;
 
 
+--
+-- Name: rapport_activite_avis rapport_activite_avis__unicaen_avis__fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.rapport_activite_avis
+    ADD CONSTRAINT rapport_activite_avis__unicaen_avis__fk FOREIGN KEY (avis_id) REFERENCES public.unicaen_avis(id);
+
+
+--
+-- Name: rapport_activite_avis rapport_activite_avis_hc_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.rapport_activite_avis
+    ADD CONSTRAINT rapport_activite_avis_hc_fk FOREIGN KEY (histo_createur_id) REFERENCES public.utilisateur(id) ON DELETE CASCADE;
+
+
+--
+-- Name: rapport_activite_avis rapport_activite_avis_hd_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.rapport_activite_avis
+    ADD CONSTRAINT rapport_activite_avis_hd_fk FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id) ON DELETE CASCADE;
+
+
+--
+-- Name: rapport_activite_avis rapport_activite_avis_hm_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.rapport_activite_avis
+    ADD CONSTRAINT rapport_activite_avis_hm_fk FOREIGN KEY (histo_modificateur_id) REFERENCES public.utilisateur(id) ON DELETE CASCADE;
+
+
+--
+-- Name: rapport_activite_avis rapport_activite_avis_rapport_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.rapport_activite_avis
+    ADD CONSTRAINT rapport_activite_avis_rapport_fk FOREIGN KEY (rapport_id) REFERENCES public.rapport_activite(id);
+
+
+--
+-- Name: rapport_activite rapport_activite_hc_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.rapport_activite
+    ADD CONSTRAINT rapport_activite_hc_fk FOREIGN KEY (histo_createur_id) REFERENCES public.utilisateur(id) ON DELETE CASCADE;
+
+
+--
+-- Name: rapport_activite rapport_activite_hd_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.rapport_activite
+    ADD CONSTRAINT rapport_activite_hd_fk FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id) ON DELETE CASCADE;
+
+
+--
+-- Name: rapport_activite rapport_activite_hm_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.rapport_activite
+    ADD CONSTRAINT rapport_activite_hm_fk FOREIGN KEY (histo_modificateur_id) REFERENCES public.utilisateur(id) ON DELETE CASCADE;
+
+
+--
+-- Name: rapport_activite rapport_activite_these_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.rapport_activite
+    ADD CONSTRAINT rapport_activite_these_fk FOREIGN KEY (these_id) REFERENCES public.these(id) ON DELETE CASCADE;
+
+
+--
+-- Name: rapport_activite_validation rapport_activite_validation_indiv_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.rapport_activite_validation
+    ADD CONSTRAINT rapport_activite_validation_indiv_id_fk FOREIGN KEY (individu_id) REFERENCES public.individu(id);
+
+
+--
+-- Name: rapport_activite_validation rapport_activite_validation_rapport_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.rapport_activite_validation
+    ADD CONSTRAINT rapport_activite_validation_rapport_fk FOREIGN KEY (rapport_id) REFERENCES public.rapport_activite(id);
+
+
+--
+-- Name: rapport_activite_validation rapport_activite_validation_type_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.rapport_activite_validation
+    ADD CONSTRAINT rapport_activite_validation_type_fk FOREIGN KEY (type_validation_id) REFERENCES public.type_validation(id);
+
+
 --
 -- Name: rapport rapport_annuel_fichier_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -2744,6 +4154,14 @@ ALTER TABLE ONLY public.rapport
     ADD CONSTRAINT rapport_annuel_fichier_fk FOREIGN KEY (fichier_id) REFERENCES public.fichier(id) ON DELETE CASCADE;
 
 
+--
+-- Name: rapport_activite rapport_annuel_fichier_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.rapport_activite
+    ADD CONSTRAINT rapport_annuel_fichier_fk FOREIGN KEY (fichier_id) REFERENCES public.fichier(id) ON DELETE CASCADE;
+
+
 --
 -- Name: rapport rapport_annuel_hc_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -2784,6 +4202,22 @@ ALTER TABLE ONLY public.rapport
     ADD CONSTRAINT rapport_annuel_type_id_fk FOREIGN KEY (type_rapport_id) REFERENCES public.type_rapport(id);
 
 
+--
+-- Name: rapport_avis rapport_avis__unicaen_avis__fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.rapport_avis
+    ADD CONSTRAINT rapport_avis__unicaen_avis__fk FOREIGN KEY (avis_id) REFERENCES public.unicaen_avis(id);
+
+
+--
+-- Name: rapport_avis rapport_avis_rapport_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.rapport_avis
+    ADD CONSTRAINT rapport_avis_rapport_fk FOREIGN KEY (rapport_id) REFERENCES public.rapport(id);
+
+
 --
 -- Name: rapport_validation rapport_validation_indiv_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -2992,6 +4426,14 @@ ALTER TABLE ONLY public.structure_document
     ADD CONSTRAINT sd_utilisateur_id_fk_3 FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id);
 
 
+--
+-- Name: formation_session session_etat_code_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.formation_session
+    ADD CONSTRAINT session_etat_code_fk FOREIGN KEY (etat_code) REFERENCES public.formation_etat(code) ON DELETE SET NULL;
+
+
 --
 -- Name: soutenance_intervention sintervention_these_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -3040,6 +4482,22 @@ ALTER TABLE ONLY public.soutenance_membre
     ADD CONSTRAINT soutemembre_acteur_fk FOREIGN KEY (acteur_id) REFERENCES public.acteur(id) ON DELETE CASCADE;
 
 
+--
+-- Name: csi_membre soutemembre_acteur_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.csi_membre
+    ADD CONSTRAINT soutemembre_acteur_fk FOREIGN KEY (acteur_id) REFERENCES public.acteur(id) ON DELETE CASCADE;
+
+
+--
+-- Name: soutenance_avis soutenance_avis_fichier_these_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.soutenance_avis
+    ADD CONSTRAINT soutenance_avis_fichier_these_id_fk FOREIGN KEY (fichierthese_id) REFERENCES public.fichier_these(id);
+
+
 --
 -- Name: soutenance_proposition soutenance_etat_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -3049,11 +4507,19 @@ ALTER TABLE ONLY public.soutenance_proposition
 
 
 --
--- Name: soutenance_evenement soutenance_evenement_soutenance_proposition_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+-- Name: soutenance_horodatage soutenance_horodatage_horodatage_horodatage_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.soutenance_horodatage
+    ADD CONSTRAINT soutenance_horodatage_horodatage_horodatage_id_fk FOREIGN KEY (horodatage_id) REFERENCES public.horodatage_horodatage(id) ON DELETE CASCADE;
+
+
+--
+-- Name: soutenance_horodatage soutenance_horodatage_soutenance_proposition_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
 
-ALTER TABLE ONLY public.soutenance_evenement
-    ADD CONSTRAINT soutenance_evenement_soutenance_proposition_id_fk FOREIGN KEY (proposition_id) REFERENCES public.soutenance_proposition(id) ON DELETE CASCADE;
+ALTER TABLE ONLY public.soutenance_horodatage
+    ADD CONSTRAINT soutenance_horodatage_soutenance_proposition_id_fk FOREIGN KEY (proposition_id) REFERENCES public.soutenance_proposition(id) ON DELETE CASCADE;
 
 
 --
@@ -3112,6 +4578,14 @@ ALTER TABLE ONLY public.soutenance_qualite
     ADD CONSTRAINT squalite_utilisateur_id_fk_3 FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id);
 
 
+--
+-- Name: step_star_log stepstar_log_these_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.step_star_log
+    ADD CONSTRAINT stepstar_log_these_id_fk FOREIGN KEY (these_id) REFERENCES public.these(id) ON DELETE CASCADE;
+
+
 --
 -- Name: structure_substit str_substit_createur_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -3201,26 +4675,34 @@ ALTER TABLE ONLY public.privilege
 
 
 --
--- Name: doctorant_compl thesard_compl_hcfk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+-- Name: individu_compl table_name_individu_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.individu_compl
+    ADD CONSTRAINT table_name_individu_id_fk FOREIGN KEY (individu_id) REFERENCES public.individu(id) ON DELETE CASCADE;
+
+
+--
+-- Name: z_doctorant_compl thesard_compl_hcfk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
 
-ALTER TABLE ONLY public.doctorant_compl
+ALTER TABLE ONLY public.z_doctorant_compl
     ADD CONSTRAINT thesard_compl_hcfk FOREIGN KEY (histo_createur_id) REFERENCES public.utilisateur(id);
 
 
 --
--- Name: doctorant_compl thesard_compl_hdfk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+-- Name: z_doctorant_compl thesard_compl_hdfk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
 
-ALTER TABLE ONLY public.doctorant_compl
+ALTER TABLE ONLY public.z_doctorant_compl
     ADD CONSTRAINT thesard_compl_hdfk FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id);
 
 
 --
--- Name: doctorant_compl thesard_compl_hmfk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+-- Name: z_doctorant_compl thesard_compl_hmfk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
 
-ALTER TABLE ONLY public.doctorant_compl
+ALTER TABLE ONLY public.z_doctorant_compl
     ADD CONSTRAINT thesard_compl_hmfk FOREIGN KEY (histo_modificateur_id) REFERENCES public.utilisateur(id);
 
 
@@ -3328,6 +4810,14 @@ ALTER TABLE ONLY public.these
     ADD CONSTRAINT these_unite_rech_fk FOREIGN KEY (unite_rech_id) REFERENCES public.unite_rech(id);
 
 
+--
+-- Name: individu_compl tilisateur_id_fk_3; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.individu_compl
+    ADD CONSTRAINT tilisateur_id_fk_3 FOREIGN KEY (histo_destructeur_id) REFERENCES public.utilisateur(id);
+
+
 --
 -- Name: titre_acces titre_acces_hc_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -3368,6 +4858,94 @@ ALTER TABLE ONLY public.titre_acces
     ADD CONSTRAINT titre_acces_these_id_fk FOREIGN KEY (these_id) REFERENCES public.these(id) ON DELETE CASCADE;
 
 
+--
+-- Name: unicaen_alerte_alerte_planning unicaen_alerte_alerte_planning__unicaen_alerte__fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_alerte_alerte_planning
+    ADD CONSTRAINT unicaen_alerte_alerte_planning__unicaen_alerte__fk FOREIGN KEY (alerte_id) REFERENCES public.unicaen_alerte_alerte(id);
+
+
+--
+-- Name: unicaen_avis unicaen_avis__unicaen_avis_type__fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_avis
+    ADD CONSTRAINT unicaen_avis__unicaen_avis_type__fk FOREIGN KEY (avis_type_id) REFERENCES public.unicaen_avis_type(id);
+
+
+--
+-- Name: unicaen_avis unicaen_avis__unicaen_avis_valeur__fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_avis
+    ADD CONSTRAINT unicaen_avis__unicaen_avis_valeur__fk FOREIGN KEY (avis_valeur_id) REFERENCES public.unicaen_avis_valeur(id);
+
+
+--
+-- Name: unicaen_avis_complem unicaen_avis_complem__unicaen_avis__fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_avis_complem
+    ADD CONSTRAINT unicaen_avis_complem__unicaen_avis__fk FOREIGN KEY (avis_id) REFERENCES public.unicaen_avis(id);
+
+
+--
+-- Name: unicaen_avis_complem unicaen_avis_complem__unicaen_avis_type_valeur_complem__fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_avis_complem
+    ADD CONSTRAINT unicaen_avis_complem__unicaen_avis_type_valeur_complem__fk FOREIGN KEY (avis_type_complem_id) REFERENCES public.unicaen_avis_type_valeur_complem(id);
+
+
+--
+-- Name: unicaen_avis_type_valeur unicaen_avis_type_valeur__unicaen_avis_type__fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_avis_type_valeur
+    ADD CONSTRAINT unicaen_avis_type_valeur__unicaen_avis_type__fk FOREIGN KEY (avis_type_id) REFERENCES public.unicaen_avis_type(id);
+
+
+--
+-- Name: unicaen_avis_type_valeur unicaen_avis_type_valeur__unicaen_avis_valeur__fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_avis_type_valeur
+    ADD CONSTRAINT unicaen_avis_type_valeur__unicaen_avis_valeur__fk FOREIGN KEY (avis_valeur_id) REFERENCES public.unicaen_avis_valeur(id);
+
+
+--
+-- Name: unicaen_avis_type_valeur_complem unicaen_avis_type_valeur_complem__parent__fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_avis_type_valeur_complem
+    ADD CONSTRAINT unicaen_avis_type_valeur_complem__parent__fk FOREIGN KEY (parent_id) REFERENCES public.unicaen_avis_type_valeur_complem(id);
+
+
+--
+-- Name: unicaen_avis_type_valeur_complem unicaen_avis_type_valeur_complem__unicaen_avis_type_valeur__fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_avis_type_valeur_complem
+    ADD CONSTRAINT unicaen_avis_type_valeur_complem__unicaen_avis_type_valeur__fk FOREIGN KEY (avis_type_valeur_id) REFERENCES public.unicaen_avis_type_valeur(id);
+
+
+--
+-- Name: unicaen_renderer_rendu unicaen_document_rendu_template_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_renderer_rendu
+    ADD CONSTRAINT unicaen_document_rendu_template_id_fk FOREIGN KEY (template_id) REFERENCES public.unicaen_renderer_template(id) ON DELETE SET NULL;
+
+
+--
+-- Name: unicaen_parametre_parametre unicaen_parametre_parametre_unicaen_parametre_categorie_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.unicaen_parametre_parametre
+    ADD CONSTRAINT unicaen_parametre_parametre_unicaen_parametre_categorie_id_fk FOREIGN KEY (categorie_id) REFERENCES public.unicaen_parametre_categorie(id);
+
+
 --
 -- Name: unite_rech unite_rech_compl_hcfk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
@@ -3408,6 +4986,22 @@ ALTER TABLE ONLY public.unite_rech
     ADD CONSTRAINT unite_rech_struct_fk FOREIGN KEY (structure_id) REFERENCES public.structure(id) ON DELETE CASCADE;
 
 
+--
+-- Name: individu_compl utilisateur_id_fk_1; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.individu_compl
+    ADD CONSTRAINT utilisateur_id_fk_1 FOREIGN KEY (histo_createur_id) REFERENCES public.utilisateur(id);
+
+
+--
+-- Name: individu_compl utilisateur_id_fk_2; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
+--
+
+ALTER TABLE ONLY public.individu_compl
+    ADD CONSTRAINT utilisateur_id_fk_2 FOREIGN KEY (histo_modificateur_id) REFERENCES public.utilisateur(id);
+
+
 --
 -- Name: utilisateur utilisateur_individu_fk; Type: FK CONSTRAINT; Schema: public; Owner: :dbuser
 --
diff --git a/docker/sql/07_create_comue.sql b/docker/sql/07_create_comue.sql
index 41518f9d104f98066501036cfaffac1d22e23525..23849567af4d0bc21781fc509c4bc59c5a4f43a5 100644
--- a/docker/sql/07_create_comue.sql
+++ b/docker/sql/07_create_comue.sql
@@ -9,7 +9,8 @@ select
   nextval('structure_id_seq'), 'COMUE',
   '',   --> sigle ou abbréviation à personnaliser
   '', --> libellé à personnaliser
-  null, 1, 'COMUE', 1, 1
+  1, 1, 'COMUE', 1, 1
+from type_structure ts
 where 0 = 1
 ;
 
diff --git a/docker/sql/08_create_ced.sql b/docker/sql/08_create_ced.sql
new file mode 100644
index 0000000000000000000000000000000000000000..9201daebd4358a0bc71e354596d28de61b407273
--- /dev/null
+++ b/docker/sql/08_create_ced.sql
@@ -0,0 +1,21 @@
+--
+-- Collège des écoles doctorales (CED) éventuel.
+--
+-- NB : Ce script crée un CED *uniquement si* vous l'avez demandé dans la config de préparation des scripts.
+--
+
+insert into structure (id, source_code, code, sigle, libelle,
+                       type_structure_id, source_id, histo_createur_id)
+select nextval('structure_id_seq'), 'CED', 'CED',
+       '',   --> sigle ou abbréviation à personnaliser
+       '', --> libellé à personnaliser
+       1, 1, 1
+    from type_structure ts
+    where 0 = 1
+;
+
+insert into etablissement (id, structure_id, source_id, source_code, est_ced, histo_createur_id)
+    select nextval('etablissement_id_seq'), s.id, 1, 'CED', true, 1
+    from structure s
+    where s.source_code = 'CED'
+;
diff --git a/docker/sql/09_init.sql b/docker/sql/09_init.sql
new file mode 100644
index 0000000000000000000000000000000000000000..4218ffec6848c2fa962c1de88f9d74a7b59ad057
--- /dev/null
+++ b/docker/sql/09_init.sql
@@ -0,0 +1,132 @@
+--
+-- INITIALISATIONS de données.
+--
+-- Attention, ce sript doit être adapté à l'établissement d'installation :
+--
+--      'UCN' : code unique identifiant l'établissement, ex: 'UNILIM'
+--      'Unicaen' : sigle ou libellé court de l'établissement, ex: 'Unilim'
+--      'Université de Caen Normandie' : libellé complet de l'établissement, ex: 'Université de Limoges'
+--      'unicaen.fr' : domaine de l'établissement, ex: 'unilim.fr'
+--      'sygal-assistance@univ.fr' : Adresse électronique d'assistance
+--      'sygal-scd@univ.fr' : Adresse électronique par les aspects Bibliothèque
+--      'sygal-doctorat@univ.fr' : Adresse électronique par les aspects Doctorat
+--
+
+--
+-- Création de l'établissement.
+--
+-- 1/ STRUCTURE
+--
+insert into structure (id, type_structure_id,
+                       source_code, source_id,
+                       code, sigle, libelle,
+                       histo_createur_id, histo_modificateur_id)
+select
+    nextval('structure_id_seq'), 1, 'UCN', 1,
+    'UCN', 'Unicaen', 'Université de Caen Normandie',
+    1, 1
+;
+
+--
+-- 2/ ETABLISSEMENT
+--
+insert into etablissement (id, structure_id, domaine, source_code, source_id,
+                           est_comue, est_membre, est_etab_inscription,
+                           email_assistance, email_bibliotheque, email_doctorat,
+                           histo_createur_id, histo_modificateur_id)
+select
+    nextval('etablissement_id_seq'), s.id, 'unicaen.fr', 'UCN', 1,
+    false, true, true,
+    'sygal-assistance@univ.fr', 'sygal-scd@univ.fr', 'sygal-doctorat@univ.fr',
+    1, 1
+from structure s
+where s.source_code = 'UCN'
+;
+
+--
+-- Création des sources de données importables, ex: Apogée.
+--
+delete from source where code <> 'SYGAL::sygal'
+;
+insert into source (id, code, libelle, importable, etablissement_id)
+select 2, source_code||'::apogee', 'Apogée '||source_code, true, id
+from etablissement
+where source_code = 'UCN'
+  and '1' = '1'
+;
+insert into source (id, code, libelle, importable, etablissement_id)
+select 3, source_code||'::physalis', 'Physalis '||source_code, true, id
+from etablissement
+where source_code = 'UCN'
+  and '0' = '1'
+;
+
+--
+-- Rôles par établissement.
+--
+insert into role (
+    id,
+    code,
+    libelle,
+    source_code,
+    source_id,
+    role_id,
+    these_dep,
+    histo_createur_id,
+    histo_modificateur_id,
+    structure_id,
+    type_structure_dependant_id
+)
+with tmp(code, libelle, these_dep) as (
+    select 'ADMIN',     'Administrateur',             false union
+    select 'MDD',       'Maison du doctorat',         false union
+    select 'BU',        'Bibliothèque universitaire', false union
+    select 'DOCTORANT', 'Doctorant',                  true
+)
+select
+    nextval('role_id_seq'),
+    tmp.code,
+    tmp.libelle,
+    s.source_code || '::' || tmp.code,
+    1,
+    tmp.libelle || ' ' || s.source_code,
+    tmp.these_dep,
+    1,
+    1,
+    s.id,
+    1
+from tmp, structure s
+where s.source_code = 'UCN'
+;
+
+--
+-- Accord de tous les privilèges au rôle ADMIN_TECH.
+--
+insert into profil_privilege(profil_id, privilege_id)
+select pro.id, pri.id
+from profil pro,
+     privilege pri
+where pro.role_id = 'ADMIN_TECH'
+  and not exists(select * from profil_privilege where profil_id = pro.id and privilege_id = pri.id)
+;
+insert into role_privilege(role_id, privilege_id)
+select r.id, pri.id
+from role r,
+     privilege pri
+where r.code = 'ADMIN_TECH'
+  and not exists(select * from role_privilege where role_id = r.id and privilege_id = pri.id)
+;
+insert into profil_to_role(profil_id, role_id)
+select pro.id, r.id
+from profil pro,
+     role r
+where pro.role_id = 'ADMIN_TECH'
+  and r.code = 'ADMIN_TECH'
+  and not exists(select * from profil_to_role where profil_id = pro.id and role_id = r.id)
+;
+
+
+--
+-- Peuplement des VM.
+--
+refresh materialized view mv_recherche_these;
diff --git a/docker/sql/10_create_fixture.sql b/docker/sql/10_create_fixture.sql
new file mode 100644
index 0000000000000000000000000000000000000000..2beab32df32aa9413c0590bdfecdd3d294366d3d
--- /dev/null
+++ b/docker/sql/10_create_fixture.sql
@@ -0,0 +1,38 @@
+--
+-- DONNÉES DE TEST.
+--
+
+--
+-- Création de l'individu/utilisateur de test
+--
+insert into individu (id, civilite, nom_usuel, nom_patronymique, prenom1, email, source_code, supann_id, source_id, histo_createur_id, histo_modificateur_id)
+select nextval('individu_id_seq'),
+       'M.',
+       'Premier',
+       'Premier',
+       'François',
+       'francois.premier@unicaen.fr',
+       'INCONNU::00012345',
+       '00012345',
+       1, 1, 1
+;
+insert into utilisateur (id, username, email, display_name, password, individu_id)
+select nextval('utilisateur_id_seq'),
+       'premierf@unicaen.fr', -- du genre EPPN (si shibboleth activé) ou supannAliasLogin (si LDAP activé)
+       'francois.premier@unicaen.fr',
+       'François PREMIER',
+       'shib', -- 'shib' (si authentification shibboleth), ou 'ldap' (si auth LDAP), ou mdp bcrypté (si auth BDD locale)
+       i.id
+from individu i
+where i.source_code = 'INCONNU::00012345'
+;
+
+--
+-- /!\ Attribution du rôle Admin tech à l'utilisateur de test !!
+--
+insert into individu_role(id, individu_id, role_id)
+select nextval('individu_role_id_seq'), i.id, r.id
+from individu i, role r
+where i.source_code = 'INCONNU::00012345'
+  and r.source_code = 'ADMIN_TECH'
+;