Commit 6950dc85 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Merge branch 'release-1.3.0' into develop

parents de332bb2 f23ba369
Pipeline #5806 failed with stage
in 17 seconds
Journal des modifications
=========================
v1.2.6 (21/10/2019)
1.3.0 (20/11/2019)
------------------
### Améliorations
- Transformation des vues SYGAL_* en tables pour réduire les temps de réponses du web service.
L'utilisation de vues V_SYGAL_* perdure néanmoins comme source de données de ces tables.
Le contenu de ces tables est mis à jour par un script PHP à CRONer.
v1.2.6 (12/11/2019)
-------------------
### Améliorations
......
This diff is collapsed.
......@@ -2,9 +2,9 @@
return [
'unicaen-app' => [
'app_infos' => [
'version' => '1.2.6',
'date' => '12/11/2019',
'version' => '1.3.0',
'date' => '20/11/2019',
],
],
'comment' => 'Fichier généré le 12/11/2019 à 11:39:20 avec /home/gauthierb/workspace/sygal-import-ws/bump-version',
'comment' => 'Fichier généré le 20/11/2019 à 09:43:55 avec /home/gauthierb/workspace/sygal-import-ws/bump-version',
];
......@@ -5,12 +5,14 @@
* The previous config file has been stored in ./config/modules.config.old
*/
return [
'Zend\Log',
'Zend\\Cache',
'Zend\\Form',
'Zend\\Db',
'Zend\\Filter',
'Zend\\Hydrator',
'Zend\\InputFilter',
'Zend\Mvc\Console',
'Zend\\Paginator',
'Zend\\Router',
'Zend\\Validator',
......
......@@ -11,7 +11,7 @@
--
-- La vue SYGAL_MV_EMAIL est chargée de fournir les adresses électroniques des individus gravitant autour des thèses.
-- SYGAL_MV_EMAIL est chargée de fournir les adresses électroniques des individus gravitant autour des thèses.
-- Par défaut, on crée une vue ne ramenant rien.
--
-- Les solutions possibles sont :
......@@ -29,7 +29,7 @@ create view SYGAL_MV_EMAIL as
create view SYGAL_SOURCE as
create view V_SYGAL_SOURCE as
select
'apogee' as id,
'apogee' as code,
......@@ -38,7 +38,7 @@ select
from dual
/
create view SYGAL_VARIABLE as
create view V_SYGAL_VARIABLE as
select
'apogee' as source_id, -- Id de la source
cod_vap as id,
......@@ -65,10 +65,10 @@ select
DATE_DEB_VALIDITE,
DATE_FIN_VALIDITE
from
SYGAL_VARIABLE_MANU
V_SYGAL_VARIABLE_MANU
/
create view SYGAL_INDIVIDU as
create view V_SYGAL_INDIVIDU as
select distinct
'apogee' as source_id, -- Id de la source
'doctorant' as type,
......@@ -174,7 +174,7 @@ select distinct
)
/
create view SYGAL_DOCTORANT as
create view V_SYGAL_DOCTORANT as
select distinct
'apogee' as source_id, -- Id de la source
ind.cod_etu as id, -- Identifiant du doctorant
......@@ -201,7 +201,7 @@ select distinct
and cod_etu is not null
/
create view SYGAL_THESE as
create view V_SYGAL_THESE as
with inscription_administrative as (
select distinct
ths.cod_ind,
......@@ -250,7 +250,7 @@ create view SYGAL_THESE as
ths.lib_ths, -- Titre de la these
ths.cod_lng, -- Code langue etrangere du titre
ths.dat_deb_ths, -- Date de 1ere inscription
null as cod_anu_prm_iae, -- DEPRECATED (cf. SYGAL_THESE_ANNEE_UNIV)
null as cod_anu_prm_iae, -- DEPRECATED (cf. V_SYGAL_THESE_ANNEE_UNIV)
edo.cod_nat_edo as ecole_doct_id, -- Identifiant de l'ecole doctorale
ths.cod_eqr as unite_rech_id, -- Identifiant de l'unité de recherche principale
......@@ -303,7 +303,7 @@ create view SYGAL_THESE as
anc.cod_dip_anc is null
/
create view SYGAL_STRUCTURE as
create view V_SYGAL_STRUCTURE as
select
'apogee' as source_id, -- Id de la source
'ecole-doctorale' as TYPE_STRUCTURE_ID, -- Type de structure
......@@ -416,7 +416,7 @@ select
where per.tem_ext_int_per = 'X'
/
create view SYGAL_ECOLE_DOCT as
create view V_SYGAL_ECOLE_DOCT as
select distinct
'apogee' as source_id, -- Id de la source
edo.cod_nat_edo as structure_id, -- Id de la structure
......@@ -424,7 +424,7 @@ select distinct
from ecole_doctorale edo
/
create view SYGAL_UNITE_RECH as
create view V_SYGAL_UNITE_RECH as
select distinct
'apogee' as source_id, -- Id de la source
eqr.cod_eqr as structure_id, -- Id de la structure
......@@ -432,7 +432,7 @@ select distinct
from equipe_rch eqr
/
create view SYGAL_ETABLISSEMENT as
create view V_SYGAL_ETABLISSEMENT as
select distinct
'apogee' as source_id, -- Id de la source
etb.cod_etb as structure_id, -- Id de la structure
......@@ -505,7 +505,7 @@ select distinct
where per.tem_ext_int_per = 'X'
/
create view SYGAL_ROLE_TR as
create view V_SYGAL_ROLE_TR as
with tmp(FROM_COD_ROJ, TO_COD_ROJ) as (
select 'A', 'A' from dual union -- A : Membre absent
select 'B', 'B' from dual union -- B : Co-encadrant
......@@ -519,7 +519,7 @@ create view SYGAL_ROLE_TR as
select * from tmp
/
create view SYGAL_ROLE_NOMENC as
create view V_SYGAL_ROLE_NOMENC as
with tmp(COD_ROJ, LIC_ROJ, LIB_ROJ) as (
select 'A', 'Absent', 'Membre absent' from dual union
select 'B', 'Co-encadr', 'Co-encadrant' from dual union
......@@ -533,26 +533,26 @@ create view SYGAL_ROLE_NOMENC as
select * from tmp
/
create view SYGAL_ROLE_JURY as
create view V_SYGAL_ROLE_JURY as
select distinct
rtr.TO_COD_ROJ as COD_ROJ,
sr.LIB_ROJ,
sr.LIC_ROJ
from role_jury ar
join SYGAL_ROLE_TR rtr on ar.COD_ROJ = rtr.FROM_COD_ROJ
join SYGAL_ROLE_NOMENC sr on sr.COD_ROJ = rtr.TO_COD_ROJ
join V_SYGAL_ROLE_TR rtr on ar.COD_ROJ = rtr.FROM_COD_ROJ
join V_SYGAL_ROLE_NOMENC sr on sr.COD_ROJ = rtr.TO_COD_ROJ
/
create view SYGAL_ROLE as
create view V_SYGAL_ROLE as
select
'apogee' as source_id, -- Id de la source
COD_ROJ as id, -- Id du rôle
LIB_ROJ,
LIC_ROJ
from SYGAL_ROLE_JURY
from V_SYGAL_ROLE_JURY
/
create view SYGAL_ACTEUR as
create view V_SYGAL_ACTEUR as
with acteur as (
select
'D_' || rowid as id,
......@@ -632,15 +632,15 @@ with acteur as (
per.tem_hab_rch_per, -- HDR (O/N)
act.tem_rap_recu -- Rapport recu (O/N)
from acteur act
join SYGAL_ROLE_JURY roj on roj.cod_roj = act.cod_roj
join V_SYGAL_ROLE_JURY roj on roj.cod_roj = act.cod_roj
join personnel per on per.cod_per = act.cod_per
left join corps_per cps on cps.cod_cps = nvl ( act.cod_cps, per.cod_cps )
left join etablissement etb on etb.cod_etb = nvl ( act.cod_etb, per.cod_etb )
left join pays pay on pay.cod_pay = etb.cod_pay_adr_etb
left join SYGAL_ROLE_JURY rjc on rjc.cod_roj = act.cod_roj_compl
left join V_SYGAL_ROLE_JURY rjc on rjc.cod_roj = act.cod_roj_compl
/
create view SYGAL_FINANCEMENT as
create view V_SYGAL_FINANCEMENT as
with inscription_admin as (
select
iae.cod_ind,
......@@ -684,7 +684,7 @@ with inscription_admin as (
tfi.quotite_tfi
/
create view SYGAL_ORIGINE_FINANCEMENT as
create view V_SYGAL_ORIGINE_FINANCEMENT as
with tmp(ID, SOURCE_ID, COD_OFI, LIC_OFI, LIB_OFI) as (
select '10', 'apogee', '10', 'SALARIE', 'Etudiant salarié' from dual union all
select '11', 'apogee', '11', 'SANS FIN', 'Sans financement' from dual union all
......@@ -723,7 +723,7 @@ create view SYGAL_ORIGINE_FINANCEMENT as
select * from tmp
/
create view SYGAL_TITRE_ACCES as
create view V_SYGAL_TITRE_ACCES as
with inscription_administrative as (
select
iae.cod_ind,
......@@ -810,7 +810,7 @@ with inscription_administrative as (
tac.titre_acces_interne_externe is not null
/
create view SYGAL_THESE_ANNEE_UNIV as
create view V_SYGAL_THESE_ANNEE_UNIV as
with old_these as (
select distinct
cod_ind,
......
......@@ -15,7 +15,7 @@
-- - Adresse mail de contact de la BU
-- - Adresse mail de contact du bureau des doctorats
--
create or replace view SYGAL_VARIABLE_MANU as
create view V_SYGAL_VARIABLE_MANU as
select
'apogee' as source_id,
'EMAIL_ASSISTANCE' as id,
......@@ -50,7 +50,7 @@ create or replace view SYGAL_VARIABLE_MANU as
--
-- Vue traduisant les codes rôles en usage dans votre établissement vers les codes compris par SyGAL.
--
create or replace view SYGAL_ROLE_TR as
create view V_SYGAL_ROLE_TR as
with tmp(FROM_COD_ROJ, TO_COD_ROJ) as (
select 'A', 'A' from dual union -- A : Membre absent
select 'B', 'B' from dual union -- B : Co-encadrant
......
......@@ -9,15 +9,15 @@
-- Vues communes à tous les établissements ayant Physalis.
--
/*
create view SYGAL_SOURCE as
...
*/
/*
create view SYGAL_VARIABLE as
...
*/
create view V_SYGAL_SOURCE as
select
'physalis' as id,
'physalis' as code,
'Physalis' as libelle,
1 as importable
from dual
/
/*
create view SYGAL_INDIVIDU as
......
......@@ -9,6 +9,68 @@
-- Vues Physalis propre à votre établissement, à personnaliser.
--
/*
Néant
*/
create or replace view SYGAL_VARIABLE_MANU as
select
'physalis' as source_id,
'EMAIL_ASSISTANCE' as id,
'EMAIL_ASSISTANCE' as cod_vap,
'Adresse mail de l''assistance utilisateur' as lib_vap,
'assistance-sygal@univ.fr' as par_vap, -----------------------------> à personnaliser
to_date('2017-01-01', 'YYYY-MM-DD') as DATE_DEB_VALIDITE,
to_date('9999-12-31', 'YYYY-MM-DD') as DATE_FIN_VALIDITE
from dual
union all
select
'physalis' as source_id,
'EMAIL_BU' as id,
'EMAIL_BU' as cod_vap,
'Adresse mail de contact de la BU' as lib_vap,
'bu@univ.fr' as par_vap, ------------------------------------------> à personnaliser
to_date('2017-01-01', 'YYYY-MM-DD') as DATE_DEB_VALIDITE,
to_date('9999-12-31', 'YYYY-MM-DD') as DATE_FIN_VALIDITE
from dual
union all
select
'physalis' as source_id,
'EMAIL_BDD' as id,
'EMAIL_BDD' as cod_vap,
'Adresse mail de contact du bureau des doctorats' as lib_vap,
'bdd@univ.fr' as par_vap, -----------------------------------------> à personnaliser
to_date('2017-01-01', 'YYYY-MM-DD') as DATE_DEB_VALIDITE,
to_date('9999-12-31', 'YYYY-MM-DD') as DATE_FIN_VALIDITE
from dual
/
create view V_SYGAL_VARIABLE as
with tmp(cod_vap, lib_vap, par_vap) as (
select 'ETB_ART_ETB_LIB', 'Article du nom de l''etb de référence', 'L''' from dual union
select 'ETB_LIB', 'Nom de l''établissement de référence', 'Université de Caen Normandie' from dual union
select 'ETB_LIB_NOM_RESP', 'Nom du responsable de l''établissement', 'M. Pierre Denise' from dual union
select 'ETB_LIB_TIT_RESP', 'Titre du responsable de l''établissement', 'Le Président de l''université' from dual union
select 'EMAIL_ASSISTANCE', 'Adresse mail de l''assistance utilisateur', 'assistance-sygal@unicaen.fr' from dual union
select 'EMAIL_BU', 'Adresse mail de contact de la BU', 'scd.theses@unicaen.fr' from dual union
select 'EMAIL_BDD', 'Adresse mail de contact du bureau des doctorats', 'recherche.doctorat@unicaen.fr' from dual union
select 'TRIBUNAL_COMPETENT', 'Tribunal compétent', 'Le Tribunal Administratif de Caen' from dual
)
select
'physalis' as source_id, -- Id de la source
cod_vap as id,
cod_vap,
lib_vap,
par_vap,
to_date('2017-01-01', 'YYYY-MM-DD') as DATE_DEB_VALIDITE,
to_date('9999-12-31', 'YYYY-MM-DD') as DATE_FIN_VALIDITE
from tmp
-- + variables définies manuellement :
union all
select
source_id,
id,
cod_vap,
lib_vap,
par_vap,
DATE_DEB_VALIDITE,
DATE_FIN_VALIDITE
from
V_SYGAL_VARIABLE_MANU
/
#
# Web service d'import pour SyGAL.
#
APP_DIR=/var/www/sygal-import-ws
LOG_FILE=/tmp/sygal-import-ws.log
##### Mise à jour des tables sources des services #####
*/5 * * * * root /usr/bin/php ${APP_DIR}/public/index.php update-service-tables 1> ${LOG_FILE} 2>&1
## (toutes les 5 minutes)
--
-- sygal-import-ws v1.3.0
--
-- Transformation des vues SYGAL_* en tables pour réduire les temps de réponses.
-- L'utilisation de vues V_SYGAL_* perdure néanmoins comme source de données de ces tables.
-- Le contenu de ces tables sera mis à jour par un script PHP à CRONer.
--
rename SYGAL_ACTEUR to V_SYGAL_ACTEUR ;
rename SYGAL_DOCTORANT to V_SYGAL_DOCTORANT ;
rename SYGAL_ECOLE_DOCT to V_SYGAL_ECOLE_DOCT ;
rename SYGAL_ETABLISSEMENT to V_SYGAL_ETABLISSEMENT ;
rename SYGAL_FINANCEMENT to V_SYGAL_FINANCEMENT ;
rename SYGAL_INDIVIDU to V_SYGAL_INDIVIDU ;
rename SYGAL_ORIGINE_FINANCEMENT to V_SYGAL_ORIGINE_FINANCEMENT ;
rename SYGAL_ROLE to V_SYGAL_ROLE ;
rename SYGAL_ROLE_JURY to V_SYGAL_ROLE_JURY ;
rename SYGAL_ROLE_NOMENC to V_SYGAL_ROLE_NOMENC ;
rename SYGAL_ROLE_TR to V_SYGAL_ROLE_TR ;
rename SYGAL_SOURCE to V_SYGAL_SOURCE ;
rename SYGAL_STRUCTURE to V_SYGAL_STRUCTURE ;
rename SYGAL_THESE to V_SYGAL_THESE ;
rename SYGAL_THESE_ANNEE_UNIV to V_SYGAL_THESE_ANNEE_UNIV ;
rename SYGAL_TITRE_ACCES to V_SYGAL_TITRE_ACCES ;
rename SYGAL_UNITE_RECH to V_SYGAL_UNITE_RECH ;
rename SYGAL_VARIABLE to V_SYGAL_VARIABLE ;
rename SYGAL_VARIABLE_MANU to V_SYGAL_VARIABLE_MANU ;
create or replace view V_SYGAL_ROLE_JURY as
select distinct
rtr.TO_COD_ROJ as COD_ROJ,
sr.LIB_ROJ,
sr.LIC_ROJ
from role_jury ar
join V_SYGAL_ROLE_TR rtr on ar.COD_ROJ = rtr.FROM_COD_ROJ
join V_SYGAL_ROLE_NOMENC sr on sr.COD_ROJ = rtr.TO_COD_ROJ
;
create or replace view V_SYGAL_ACTEUR as
with acteur as (
select
'D.'||ths.cod_ths||'.'||ths.cod_per_dir||'.'||ths.cod_etb_dir||'.'||ths.cod_cps_dir as id,
ths.cod_ths,
'D' as cod_roj,
ths.cod_per_dir as cod_per,
ths.cod_etb_dir as cod_etb,
ths.cod_cps_dir as cod_cps,
null as tem_rap_recu,
null as cod_roj_compl
from these_hdr_sout ths
where ths.cod_ths_trv = '1' and ths.cod_per_dir is not null
union
select
'K1.'||ths.cod_ths||'.'||ths.cod_per_cdr||'.'||ths.cod_etb_cdr||'.'||ths.cod_cps_cdr as id,
ths.cod_ths,
'K' as cod_roj,
ths.cod_per_cdr as cod_per,
ths.cod_etb_cdr as cod_etb,
ths.cod_cps_cdr as cod_cps,
null as tem_rap_recu,
null as cod_roj_compl
from these_hdr_sout ths
where ths.cod_ths_trv = '1' and ths.cod_per_cdr is not null
union
select
'K2.'||ths.cod_ths||'.'||ths.cod_per_cdr2||'.'||ths.cod_etb_cdr2||'.'||ths.cod_cps_cdr2 as id,
ths.cod_ths,
'K' as cod_roj,
ths.cod_per_cdr2 as cod_per,
ths.cod_etb_cdr2 as cod_etb,
ths.cod_cps_cdr2 as cod_cps,
null as tem_rap_recu,
null as cod_roj_compl
from these_hdr_sout ths
where ths.cod_ths_trv = '1' and ths.cod_per_cdr2 is not null
union
select
'R.'||trs.cod_ths||'.'||trs.cod_per as id,
trs.cod_ths,
'R' as cod_roj,
trs.cod_per,
null as cod_etb,
null as cod_cps,
trs.tem_rap_recu,
null as cod_roj_compl
from ths_rap_sou trs
union
select
'M.'||tjp.cod_ths||'.'||tjp.cod_per||'.'||tjp.cod_etb||'.'||tjp.cod_cps as id,
tjp.cod_ths,
'M' as cod_roj,
tjp.cod_per,
tjp.cod_etb,
tjp.cod_cps,
null as tem_rap_recu,
case when tjp.cod_roj in ( 'P', 'B', 'A' ) then tjp.cod_roj else null end as cod_roj_compl
from ths_jur_per tjp
)
select distinct
act.id as id,
'apogee' as source_id, -- Id de la source
act.cod_ths as these_id, -- Identifiant de la these
roj.cod_roj as role_id, -- Identifiant du rôle
cast(act.cod_roj_compl as varchar2(1 char)) as cod_roj_compl, -- Code du complement sur le role dans le jury
rjc.lib_roj as lib_roj_compl, -- Libelle du complement sur le role dans le jury
act.cod_per,
coalesce(
regexp_replace(per.num_dos_har_per,'[^0-9]',''),
'COD_PER_'||act.cod_per
) as individu_id, -- Code Harpege ou Apogee de l acteur
nvl ( act.cod_etb, per.cod_etb ) as acteur_etablissement_id, -- Id de l'etablissement de l'acteur
case when etb.cod_dep = '099' then etb.cod_pay_adr_etb else null end as cod_pay_etb, -- Code pays etablissement
case when etb.cod_dep = '099' then pay.lib_pay else null end as lib_pay_etb, -- Libelle pays etablissement
cps.cod_cps, -- Code du corps d'appartenance
cps.lib_cps, -- Libelle du corps d'appartenance
per.tem_hab_rch_per, -- HDR (O/N)
act.tem_rap_recu -- Rapport recu (O/N)
from acteur act
join V_SYGAL_ROLE_JURY roj on roj.cod_roj = act.cod_roj
join personnel per on per.cod_per = act.cod_per
left join corps_per cps on cps.cod_cps = nvl ( act.cod_cps, per.cod_cps )
left join etablissement etb on etb.cod_etb = nvl ( act.cod_etb, per.cod_etb )
left join pays pay on pay.cod_pay = etb.cod_pay_adr_etb
left join V_SYGAL_ROLE_JURY rjc on rjc.cod_roj = act.cod_roj_compl
;
create or replace view V_SYGAL_ROLE as
select
'apogee' as source_id, -- Id de la source
COD_ROJ as id, -- Id du rôle
LIB_ROJ,
LIC_ROJ
from V_SYGAL_ROLE_JURY
;
create or replace view V_SYGAL_VARIABLE as
select
'apogee' as source_id, -- Id de la source
cod_vap as id,
cod_vap,
lib_vap,
par_vap,
to_date('2017-01-01', 'YYYY-MM-DD') as DATE_DEB_VALIDITE,
to_date('9999-12-31', 'YYYY-MM-DD') as DATE_FIN_VALIDITE
from variable_appli
where cod_vap in (
'ETB_LIB',
'ETB_ART_ETB_LIB',
'ETB_LIB_TIT_RESP',
'ETB_LIB_NOM_RESP'
)
-- + variables définies manuellement :
union all
select
source_id,
id,
cod_vap,
lib_vap,
par_vap,
DATE_DEB_VALIDITE,
DATE_FIN_VALIDITE
from
V_SYGAL_VARIABLE_MANU
;
create table SYGAL_ACTEUR as select * from V_SYGAL_ACTEUR ;
create table SYGAL_DOCTORANT as select * from V_SYGAL_DOCTORANT ;
create table SYGAL_ECOLE_DOCT as select * from V_SYGAL_ECOLE_DOCT ;
create table SYGAL_ETABLISSEMENT as select * from V_SYGAL_ETABLISSEMENT ;
create table SYGAL_FINANCEMENT as select * from V_SYGAL_FINANCEMENT ;
create table SYGAL_INDIVIDU as select * from V_SYGAL_INDIVIDU ;
create table SYGAL_ORIGINE_FINANCEMENT as select * from V_SYGAL_ORIGINE_FINANCEMENT ;
create table SYGAL_ROLE as select * from V_SYGAL_ROLE ;
create table SYGAL_STRUCTURE as select * from V_SYGAL_STRUCTURE ;
create table SYGAL_THESE as select * from V_SYGAL_THESE ;
create table SYGAL_THESE_ANNEE_UNIV as select * from V_SYGAL_THESE_ANNEE_UNIV ;
create table SYGAL_TITRE_ACCES as select * from V_SYGAL_TITRE_ACCES ;
create table SYGAL_UNITE_RECH as select * from V_SYGAL_UNITE_RECH ;
create table SYGAL_VARIABLE as select * from V_SYGAL_VARIABLE ;
alter table SYGAL_ACTEUR add inserted_on date default sysdate not null ;
alter table SYGAL_DOCTORANT add inserted_on date default sysdate not null ;
alter table SYGAL_ECOLE_DOCT add inserted_on date default sysdate not null ;
alter table SYGAL_ETABLISSEMENT add inserted_on date default sysdate not null ;
alter table SYGAL_FINANCEMENT add inserted_on date default sysdate not null ;
alter table SYGAL_INDIVIDU add inserted_on date default sysdate not null ;
alter table SYGAL_ORIGINE_FINANCEMENT add inserted_on date default sysdate not null ;
alter table SYGAL_ROLE add inserted_on date default sysdate not null ;
alter table SYGAL_STRUCTURE add inserted_on date default sysdate not null ;
alter table SYGAL_THESE add inserted_on date default sysdate not null ;
alter table SYGAL_THESE_ANNEE_UNIV add inserted_on date default sysdate not null ;
alter table SYGAL_TITRE_ACCES add inserted_on date default sysdate not null ;
alter table SYGAL_UNITE_RECH add inserted_on date default sysdate not null ;
alter table SYGAL_VARIABLE add inserted_on date default sysdate not null ;
--
-- sygal-import-ws v1.3.0
--
-- Transformation des vues SYGAL_* en tables pour réduire les temps de réponses.
-- L'utilisation de vues V_SYGAL_* perdure néanmoins comme source de données de ces tables.
-- Le contenu de ces tables sera mis à jour par un script PHP à CRONer.
--
rename SYGAL_ACTEUR to V_SYGAL_ACTEUR ;
rename SYGAL_DOCTORANT to V_SYGAL_DOCTORANT ;
rename SYGAL_ECOLE_DOCT to V_SYGAL_ECOLE_DOCT ;
rename SYGAL_ETABLISSEMENT to V_SYGAL_ETABLISSEMENT ;
rename SYGAL_FINANCEMENT to V_SYGAL_FINANCEMENT ;
rename SYGAL_INDIVIDU to V_SYGAL_INDIVIDU ;
rename SYGAL_ORIGINE_FINANCEMENT to V_SYGAL_ORIGINE_FINANCEMENT ;
rename SYGAL_ROLE to V_SYGAL_ROLE ;
-- rename SYGAL_ROLE_JURY to V_SYGAL_ROLE_JURY ; --> non applicable pour Physalis
-- rename SYGAL_ROLE_NOMENC to V_SYGAL_ROLE_NOMENC ; --> non applicable pour Physalis
-- rename SYGAL_ROLE_TR to V_SYGAL_ROLE_TR ; --> non applicable pour Physalis