bootstrap.constraints.xml Maven / Gradle / Ivy
<?xml version="1.1" encoding="UTF-8" standalone="no"?> <!-- ~ Copyright (C) 2019 Consiglio Nazionale delle Ricerche ~ ~ This program is free software: you can redistribute it and/or modify ~ it under the terms of the GNU Affero General Public License as ~ published by the Free Software Foundation, either version 3 of the ~ License, or (at your option) any later version. ~ ~ This program is distributed in the hope that it will be useful, ~ but WITHOUT ANY WARRANTY; without even the implied warranty of ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ~ GNU Affero General Public License for more details. ~ ~ You should have received a copy of the GNU Affero General Public License ~ along with this program. If not, see <https://www.gnu.org/licenses/>. --> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd"> <changeSet author="sigla" id="1517416281033-2378"> <addForeignKeyConstraint baseColumnNames="cd_cds_mag,cd_magazzino_mag" baseTableName="bolla_scarico_mag" constraintName="bolla_scarico_mag_fk00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_magazzino" referencedTableName="magazzino"/> </changeSet> <changeSet author="sigla" id="1517416281033-2379"> <addForeignKeyConstraint baseColumnNames="cd_cds_mag_dest,cd_magazzino_dest" baseTableName="bolla_scarico_mag" constraintName="bolla_scarico_mag_fk01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_magazzino" referencedTableName="magazzino"/> </changeSet> <changeSet author="sigla" id="1517416281033-2380"> <addForeignKeyConstraint baseColumnNames="cd_uop_dest" baseTableName="bolla_scarico_mag" constraintName="bolla_scarico_mag_fk02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_operativa" referencedTableName="unita_operativa_ord"/> </changeSet> <changeSet author="sigla" id="1517416281033-2381"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_magazzino,esercizio,cd_numeratore_mag" baseTableName="bolla_scarico_mag" constraintName="bolla_scarico_mag_fk04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_magazzino,esercizio,cd_numeratore_mag" referencedTableName="numerazione_mag"/> </changeSet> <changeSet author="sigla" id="1517416281033-2382"> <addForeignKeyConstraint baseColumnNames="cd_cds_ordine,cd_unita_operativa,esercizio_ordine,cd_numeratore_ordine,numero_ordine,riga_ordine,consegna" baseTableName="bolla_scarico_riga_mag" constraintName="bolla_scarico_riga_mag_fk00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_operativa,esercizio,cd_numeratore,numero,riga,consegna" referencedTableName="ordine_acq_consegna"/> </changeSet> <changeSet author="sigla" id="1517416281033-2383"> <addForeignKeyConstraint baseColumnNames="cd_unita_misura" baseTableName="bolla_scarico_riga_mag" constraintName="bolla_scarico_riga_mag_fk01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_misura" referencedTableName="unita_misura"/> </changeSet> <changeSet author="sigla" id="1517416281033-2384"> <addForeignKeyConstraint baseColumnNames="cd_bene_servizio" baseTableName="bolla_scarico_riga_mag" constraintName="bolla_scarico_riga_mag_fk02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_bene_servizio" referencedTableName="bene_servizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2385"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_magazzino,esercizio,cd_numeratore_mag,pg_bolla_sca" baseTableName="bolla_scarico_riga_mag" constraintName="bolla_scarico_riga_mag_fk03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_magazzino,esercizio,cd_numeratore_mag,pg_bolla_sca" referencedTableName="bolla_scarico_mag"/> </changeSet> <changeSet author="sigla" id="1517416281033-2386"> <addForeignKeyConstraint baseColumnNames="cd_cds_lotto,cd_magazzino_lotto,esercizio_lotto,cd_numeratore_lotto,pg_lotto" baseTableName="bolla_scarico_riga_mag" constraintName="bolla_scarico_riga_mag_fk04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_magazzino,esercizio,cd_numeratore_mag,pg_lotto" referencedTableName="lotto_mag"/> </changeSet> <changeSet author="sigla" id="1517416281033-2387"> <addForeignKeyConstraint baseColumnNames="cd_cds_rich,cd_unita_operativa_rich,esercizio_rich,cd_numeratore_rich,numero_rich,riga_rich" baseTableName="bolla_scarico_riga_mag" constraintName="bolla_scarico_riga_mag_fk05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_operativa,esercizio,cd_numeratore,numero,riga" referencedTableName="richiesta_uop_riga"/> </changeSet> <changeSet author="sigla" id="1517416281033-2388"> <addForeignKeyConstraint baseColumnNames="pg_movimento" baseTableName="bolla_scarico_riga_mag" constraintName="bolla_scarico_riga_mag_fk06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_movimento" referencedTableName="movimenti_mag"/> </changeSet> <changeSet author="sigla" id="1517416281033-2389"> <addForeignKeyConstraint baseColumnNames="cd_unita_operativa" baseTableName="abil_utente_uop_oper" constraintName="fk_abil_utente_uop_oper00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_operativa" referencedTableName="unita_operativa_ord"/> </changeSet> <changeSet author="sigla" id="1517416281033-2390"> <addForeignKeyConstraint baseColumnNames="cd_tipo_operazione" baseTableName="abil_utente_uop_oper" constraintName="fk_abil_utente_uop_oper01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_operazione" referencedTableName="tipo_operazione_ord"/> </changeSet> <changeSet author="sigla" id="1517416281033-2391"> <addForeignKeyConstraint baseColumnNames="cd_utente" baseTableName="abil_utente_uop_oper" constraintName="fk_abil_utente_uop_oper02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_utente" referencedTableName="utente"/> </changeSet> <changeSet author="sigla" id="1517416281033-2392"> <addForeignKeyConstraint baseColumnNames="cd_utente,cd_unita_operativa,cd_tipo_operazione" baseTableName="abil_utente_uop_oper_mag" constraintName="fk_abil_utente_uop_oper_mag00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_utente,cd_unita_operativa,cd_tipo_operazione" referencedTableName="abil_utente_uop_oper"/> </changeSet> <changeSet author="sigla" id="1517416281033-2393"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_magazzino" baseTableName="abil_utente_uop_oper_mag" constraintName="fk_abil_utente_uop_oper_mag01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_magazzino" referencedTableName="magazzino"/> </changeSet> <changeSet author="sigla" id="1517416281033-2394"> <addForeignKeyConstraint baseColumnNames="cd_categoria_gruppo" baseTableName="abilit_bene_serv_mag" constraintName="fk_abilit_bene_serv_mag00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_categoria_gruppo" referencedTableName="categoria_gruppo_invent"/> </changeSet> <changeSet author="sigla" id="1517416281033-2395"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_magazzino" baseTableName="abilit_bene_serv_mag" constraintName="fk_abilit_bene_serv_mag01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_magazzino" referencedTableName="magazzino"/> </changeSet> <changeSet author="sigla" id="1517416281033-2396"> <addForeignKeyConstraint baseColumnNames="esercizio_contratto,stato_contratto,pg_contratto" baseTableName="accertamento" constraintName="fk_acc_contratto01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,stato,pg_contratto" referencedTableName="contratto"/> </changeSet> <changeSet author="sigla" id="1517416281033-2397"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,cd_tipo_documento_cont" baseTableName="accertamento" constraintName="fk_accertamento00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,cd_tipo_documento_cont" referencedTableName="numerazione_doc_cont"/> </changeSet> <changeSet author="sigla" id="1517416281033-2398"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="accertamento" constraintName="fk_accertamento01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2399"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="accertamento" constraintName="fk_accertamento02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2400"> <addForeignKeyConstraint baseColumnNames="cd_cds_origine" baseTableName="accertamento" constraintName="fk_accertamento03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2401"> <addForeignKeyConstraint baseColumnNames="cd_uo_origine" baseTableName="accertamento" constraintName="fk_accertamento04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2402"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="accertamento" constraintName="fk_accertamento05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-2403"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="accertamento" constraintName="fk_accertamento07" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2404"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita,cd_linea_attivita" baseTableName="accertamento_mod_voce" constraintName="fk_accertamento_mod_voce01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-2405"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento" baseTableName="accertamento_modifica" constraintName="fk_accertamento_modifica00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento" referencedTableName="accertamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2406"> <addForeignKeyConstraint baseColumnNames="esercizio,pg_variazione" baseTableName="accertamento_modifica" constraintName="fk_accertamento_modifica01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_variazione" referencedTableName="var_stanz_res"/> </changeSet> <changeSet author="sigla" id="1517416281033-2407"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento" baseTableName="accertamento_pgiro_modifica" constraintName="fk_accertamento_pgiro_modif00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento" referencedTableName="accertamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2408"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento,pg_accertamento_scadenzario" baseTableName="accertamento_scad_voce" constraintName="fk_accertamento_scad_voce00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento,pg_accertamento_scadenzario" referencedTableName="accertamento_scadenzario"/> </changeSet> <changeSet author="sigla" id="1517416281033-2409"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita,cd_linea_attivita" baseTableName="accertamento_scad_voce" constraintName="fk_accertamento_scad_voce01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-2410"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento" baseTableName="accertamento_scadenzario" constraintName="fk_accertamento_scadenzario00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento" referencedTableName="accertamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2411"> <addForeignKeyConstraint baseColumnNames="esercizio" baseTableName="acconto_classific_cori" constraintName="fk_acconto_classific_cori00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio" referencedTableName="esercizio_base"/> </changeSet> <changeSet author="sigla" id="1517416281033-2412"> <addForeignKeyConstraint baseColumnNames="cd_classificazione_cori" baseTableName="acconto_classific_cori" constraintName="fk_acconto_classific_cori01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_classificazione_cori" referencedTableName="classificazione_cori"/> </changeSet> <changeSet author="sigla" id="1517416281033-2413"> <addForeignKeyConstraint baseColumnNames="cd_anag" baseTableName="acconto_classific_cori" constraintName="fk_acconto_classific_cori02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_anag" referencedTableName="anagrafico"/> </changeSet> <changeSet author="sigla" id="1517416281033-2414"> <addForeignKeyConstraint baseColumnNames="cd_cds_conguaglio,cd_uo_conguaglio,esercizio,pg_conguaglio" baseTableName="acconto_classific_cori" constraintName="fk_acconto_classific_cori03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_conguaglio" referencedTableName="conguaglio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2415"> <addForeignKeyConstraint baseColumnNames="pg_comune" baseTableName="acconto_classific_cori" constraintName="fk_acconto_classific_cori04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_comune" referencedTableName="comune"/> </changeSet> <changeSet author="sigla" id="1517416281033-2416"> <addForeignKeyConstraint baseColumnNames="cd_accesso" baseTableName="albero_main" constraintName="fk_albero_main00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_accesso" referencedTableName="accesso"/> </changeSet> <changeSet author="sigla" id="1517416281033-2417"> <addForeignKeyConstraint baseColumnNames="pg_inventario,nr_inventario,progressivo" baseTableName="ammortamento_bene_inv" constraintName="fk_ammortamento_bene_inv00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_inventario,nr_inventario,progressivo" referencedTableName="inventario_beni"/> </changeSet> <changeSet author="sigla" id="1517416281033-2418"> <addForeignKeyConstraint baseColumnNames="cd_tipo_ammortamento,ti_ammortamento,cd_categoria_gruppo,esercizio_competenza" baseTableName="ammortamento_bene_inv" constraintName="fk_ammortamento_bene_inv01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_ammortamento,ti_ammortamento,cd_categoria_gruppo,esercizio_competenza" referencedTableName="ass_tipo_amm_cat_grup_inv"/> </changeSet> <changeSet author="sigla" id="1517416281033-2419"> <addForeignKeyConstraint baseColumnNames="cd_cds_ubicazione" baseTableName="ammortamento_bene_inv" constraintName="fk_ammortamento_bene_inv02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2420"> <addForeignKeyConstraint baseColumnNames="cd_uo_ubicazione" baseTableName="ammortamento_bene_inv" constraintName="fk_ammortamento_bene_inv03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2421"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita" baseTableName="ammortamento_per_pdg" constraintName="fk_ammortamento_per_pdg00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-2422"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="ammortamento_per_pdg" constraintName="fk_ammortamento_per_pdg01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-2423"> <addForeignKeyConstraint baseColumnNames="cd_classific_anag" baseTableName="anagrafico" constraintName="fk_anagrafico00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_classific_anag" referencedTableName="classificazione_anag"/> </changeSet> <changeSet author="sigla" id="1517416281033-2424"> <addForeignKeyConstraint baseColumnNames="pg_comune_nascita" baseTableName="anagrafico" constraintName="fk_anagrafico01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_comune" referencedTableName="comune"/> </changeSet> <changeSet author="sigla" id="1517416281033-2425"> <addForeignKeyConstraint baseColumnNames="pg_comune_fiscale" baseTableName="anagrafico" constraintName="fk_anagrafico02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_comune" referencedTableName="comune"/> </changeSet> <changeSet author="sigla" id="1517416281033-2426"> <addForeignKeyConstraint baseColumnNames="pg_nazione_fiscale" baseTableName="anagrafico" constraintName="fk_anagrafico03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_nazione" referencedTableName="nazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2427"> <addForeignKeyConstraint baseColumnNames="pg_nazione_nazionalita" baseTableName="anagrafico" constraintName="fk_anagrafico04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_nazione" referencedTableName="nazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2428"> <addForeignKeyConstraint baseColumnNames="cd_attivita_inps" baseTableName="anagrafico" constraintName="fk_anagrafico05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_attivita_inps" referencedTableName="codici_attivita_inps"/> </changeSet> <changeSet author="sigla" id="1517416281033-2429"> <addForeignKeyConstraint baseColumnNames="altra_ass_previd_inps" baseTableName="anagrafico" constraintName="fk_anagrafico06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="altra_ass_previd_inps" referencedTableName="codici_altra_forma_ass_inps"/> </changeSet> <changeSet author="sigla" id="1517416281033-2430"> <addForeignKeyConstraint baseColumnNames="pg_tipologia" baseTableName="anagrafico" constraintName="fk_anagrafico07" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_tipologia" referencedTableName="tipologie_istat"/> </changeSet> <changeSet author="sigla" id="1517416281033-2431"> <addForeignKeyConstraint baseColumnNames="cd_anag" baseTableName="anagrafico_esercizio" constraintName="fk_anagrafico_esercizio00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_anag" referencedTableName="anagrafico"/> </changeSet> <changeSet author="sigla" id="1517416281033-2432"> <addForeignKeyConstraint baseColumnNames="esercizio" baseTableName="anagrafico_esercizio" constraintName="fk_anagrafico_esercizio01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio" referencedTableName="esercizio_base"/> </changeSet> <changeSet author="sigla" id="1517416281033-2433"> <addForeignKeyConstraint baseColumnNames="cd_anag" baseTableName="anagrafico_terzo" constraintName="fk_anagrafico_terzo00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_anag" referencedTableName="anagrafico"/> </changeSet> <changeSet author="sigla" id="1517416281033-2434"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="anagrafico_terzo" constraintName="fk_anagrafico_terzo01" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2435"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="anticipo" constraintName="fk_anticipo00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2436"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="anticipo" constraintName="fk_anticipo01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2437"> <addForeignKeyConstraint baseColumnNames="cd_cds_origine" baseTableName="anticipo" constraintName="fk_anticipo02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2438"> <addForeignKeyConstraint baseColumnNames="cd_uo_origine" baseTableName="anticipo" constraintName="fk_anticipo03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2439"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="anticipo" constraintName="fk_anticipo04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2440"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_termini_pag" baseTableName="anticipo" constraintName="fk_anticipo05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_termini_pag" referencedTableName="termini_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2441"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_modalita_pag" baseTableName="anticipo" constraintName="fk_anticipo06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_modalita_pag" referencedTableName="modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2442"> <addForeignKeyConstraint baseColumnNames="cd_terzo,pg_banca" baseTableName="anticipo" constraintName="fk_anticipo07" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,pg_banca" referencedTableName="banca"/> </changeSet> <changeSet author="sigla" id="1517416281033-2443"> <addForeignKeyConstraint baseColumnNames="cd_divisa" baseTableName="anticipo" constraintName="fk_anticipo08" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_divisa" referencedTableName="divisa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2444"> <addForeignKeyConstraint baseColumnNames="cd_cds_obbligazione,esercizio_obbligazione,esercizio_ori_obbligazione,pg_obbligazione,pg_obbligazione_scadenzario" baseTableName="anticipo" constraintName="fk_anticipo09" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione,pg_obbligazione_scadenzario" referencedTableName="obbligazione_scadenzario"/> </changeSet> <changeSet author="sigla" id="1517416281033-2445"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita,cd_linea_attivita" baseTableName="anticipo" constraintName="fk_anticipo10" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-2446"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_voce_ep" baseTableName="ass_anag_voce_ep" constraintName="fk_ass_anag_voce_ep00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_voce_ep" referencedTableName="voce_ep"/> </changeSet> <changeSet author="sigla" id="1517416281033-2447"> <addForeignKeyConstraint baseColumnNames="cd_accesso" baseTableName="ass_bp_accesso" constraintName="fk_ass_bp_accesso00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_accesso" referencedTableName="accesso"/> </changeSet> <changeSet author="sigla" id="1517416281033-2448"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita,cd_linea_attivita" baseTableName="ass_cdp_la" constraintName="fk_ass_cdp_la00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-2449"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita,cd_linea_attivita,ti_appartenenza,ti_gestione,cd_elemento_voce,pg_spesa" baseTableName="ass_cdp_pdg" constraintName="fk_ass_cdp_pdg01" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita,cd_linea_attivita,ti_appartenenza,ti_gestione,cd_elemento_voce,pg_spesa" referencedTableName="pdg_preventivo_spe_det"/> </changeSet> <changeSet author="sigla" id="1517416281033-2450"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita,pg_progetto_costi" baseTableName="ass_cdp_pdgp" constraintName="fk_ass_cdp_pdgp01" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita,pg_progetto" referencedTableName="pdg_modulo_costi"/> </changeSet> <changeSet author="sigla" id="1517416281033-2451"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita,pg_progetto_spese,id_classificazione,cd_cds_area,cd_cofog,cd_missione" baseTableName="ass_cdp_pdgp" constraintName="fk_ass_cdp_pdgp02" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita,pg_progetto,id_classificazione,cd_cds_area,cd_cofog,cd_missione" referencedTableName="pdg_modulo_spese"/> </changeSet> <changeSet author="sigla" id="1517416281033-2452"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_cdr_root,pg_progetto_costi" baseTableName="ass_cdp_pdgp_round" constraintName="fk_ass_cdp_pdgp_round00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita,pg_progetto" referencedTableName="pdg_modulo_costi"/> </changeSet> <changeSet author="sigla" id="1517416281033-2453"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_cdr_root,pg_progetto_spese,id_classificazione,cd_cds_area,cd_cofog,cd_missione" baseTableName="ass_cdp_pdgp_round" constraintName="fk_ass_cdp_pdgp_round01" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita,pg_progetto,id_classificazione,cd_cds_area,cd_cofog,cd_missione" referencedTableName="pdg_modulo_spese"/> </changeSet> <changeSet author="sigla" id="1517416281033-2454"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita,cd_linea_attivita,ti_appartenenza,ti_gestione,cd_elemento_voce,pg_spesa" baseTableName="ass_cdp_round" constraintName="fk_ass_cdp_round00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita,cd_linea_attivita,ti_appartenenza,ti_gestione,cd_elemento_voce,pg_spesa" referencedTableName="pdg_preventivo_spe_det"/> </changeSet> <changeSet author="sigla" id="1517416281033-2455"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="ass_cdp_uo" constraintName="fk_ass_cdp_uo00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2456"> <addForeignKeyConstraint baseColumnNames="cd_cds_compenso,cd_uo_compenso,esercizio_compenso,pg_compenso" baseTableName="ass_comp_doc_cont_nmp" constraintName="fk_ass_comp_doc_cont_nmp00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_compenso" referencedTableName="compenso"/> </changeSet> <changeSet author="sigla" id="1517416281033-2457"> <addForeignKeyConstraint baseColumnNames="cd_cds_conguaglio,cd_uo_conguaglio,esercizio_conguaglio,pg_conguaglio" baseTableName="ass_compenso_conguaglio" constraintName="fk_ass_compenso_conguaglio00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_conguaglio" referencedTableName="conguaglio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2458"> <addForeignKeyConstraint baseColumnNames="cd_cds_compenso,cd_uo_compenso,esercizio_compenso,pg_compenso" baseTableName="ass_compenso_conguaglio" constraintName="fk_ass_compenso_conguaglio01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_compenso" referencedTableName="compenso"/> </changeSet> <changeSet author="sigla" id="1517416281033-2459"> <addForeignKeyConstraint baseColumnNames="cd_piano_gruppi,cd_gruppo_ep" baseTableName="ass_conto_gruppo_ep" constraintName="fk_ass_conto_gruppo_ep00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_piano_gruppi,cd_gruppo_ep" referencedTableName="gruppo_ep"/> </changeSet> <changeSet author="sigla" id="1517416281033-2460"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_voce_ep" baseTableName="ass_conto_gruppo_ep" constraintName="fk_ass_conto_gruppo_ep01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_voce_ep" referencedTableName="voce_ep"/> </changeSet> <changeSet author="sigla" id="1517416281033-2461"> <addForeignKeyConstraint baseColumnNames="esercizio,stato_contratto,pg_contratto" baseTableName="ass_contratto_ditte" constraintName="fk_ass_contratto_ditte01" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="esercizio,stato,pg_contratto" referencedTableName="contratto"/> </changeSet> <changeSet author="sigla" id="1517416281033-2462"> <addForeignKeyConstraint baseColumnNames="esercizio,stato_contratto,pg_contratto" baseTableName="ass_contratto_uo" constraintName="fk_ass_contratto_uo01" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="esercizio,stato,pg_contratto" referencedTableName="contratto"/> </changeSet> <changeSet author="sigla" id="1517416281033-2463"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="ass_contratto_uo" constraintName="fk_ass_contratto_uo02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2464"> <addForeignKeyConstraint baseColumnNames="cd_cds_area" baseTableName="ass_dipartimento_area" constraintName="fk_ass_dipartimento_area_00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2465"> <addForeignKeyConstraint baseColumnNames="cd_tipo_documento_amm" baseTableName="ass_doc_amm_rif_mod" constraintName="fk_ass_doc_amm_rif_mod00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_documento_amm" referencedTableName="tipo_documento_amm"/> </changeSet> <changeSet author="sigla" id="1517416281033-2466"> <addForeignKeyConstraint baseColumnNames="cd_modalita_pag" baseTableName="ass_doc_amm_rif_mod" constraintName="fk_ass_doc_amm_rif_mod01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_modalita_pag" referencedTableName="rif_modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2467"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="ass_ev_ev" constraintName="fk_ass_ev_ev00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-2468"> <addForeignKeyConstraint baseColumnNames="cd_tipo_unita" baseTableName="ass_ev_funz_tipocds" constraintName="fk_ass_ev_funz_tipocds00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_unita" referencedTableName="tipo_unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2469"> <addForeignKeyConstraint baseColumnNames="cd_funzione" baseTableName="ass_ev_funz_tipocds" constraintName="fk_ass_ev_funz_tipocds01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_funzione" referencedTableName="funzione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2470"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="ass_ev_siope" constraintName="fk_ass_ev_siope00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-2471"> <addForeignKeyConstraint baseColumnNames="esercizio_siope,ti_gestione_siope,cd_siope" baseTableName="ass_ev_siope" constraintName="fk_ass_ev_siope01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_gestione,cd_siope" referencedTableName="codici_siope"/> </changeSet> <changeSet author="sigla" id="1517416281033-2472"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="ass_ev_voceep" constraintName="fk_ass_ev_voceep00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-2473"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_voce_ep" baseTableName="ass_ev_voceep" constraintName="fk_ass_ev_voceep01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_voce_ep" referencedTableName="voce_ep"/> </changeSet> <changeSet author="sigla" id="1517416281033-2474"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_voce_ep_contr" baseTableName="ass_ev_voceep" constraintName="fk_ass_ev_voceep02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_voce_ep" referencedTableName="voce_ep"/> </changeSet> <changeSet author="sigla" id="1517416281033-2475"> <addForeignKeyConstraint baseColumnNames="esercizio_old,ti_appartenenza_old,ti_gestione_old,cd_elemento_voce_old" baseTableName="ass_evold_evnew" constraintName="fk_ass_evold_evnew00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-2476"> <addForeignKeyConstraint baseColumnNames="esercizio_new,ti_appartenenza_new,ti_gestione_new,cd_elemento_voce_new" baseTableName="ass_evold_evnew" constraintName="fk_ass_evold_evnew01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-2477"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,cd_unita_organizzativa,cd_codice_fondo" baseTableName="ass_fondo_eco_mandato" constraintName="fk_ass_fondo_eco_mandato00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,cd_unita_organizzativa,cd_codice_fondo" referencedTableName="fondo_economale"/> </changeSet> <changeSet author="sigla" id="1517416281033-2478"> <addForeignKeyConstraint baseColumnNames="cd_cds_mandato,esercizio_mandato,pg_mandato" baseTableName="ass_fondo_eco_mandato" constraintName="fk_ass_fondo_eco_mandato01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_mandato" referencedTableName="mandato"/> </changeSet> <changeSet author="sigla" id="1517416281033-2479"> <addForeignKeyConstraint baseColumnNames="cd_tipo_incarico" baseTableName="ass_incarico_attivita" constraintName="fk_ass_incarico_attivita00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_incarico" referencedTableName="tipo_incarico"/> </changeSet> <changeSet author="sigla" id="1517416281033-2480"> <addForeignKeyConstraint baseColumnNames="cd_tipo_attivita" baseTableName="ass_incarico_attivita" constraintName="fk_ass_incarico_attivita01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_attivita" referencedTableName="tipo_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-2481"> <addForeignKeyConstraint baseColumnNames="cd_tipo_limite" baseTableName="ass_incarico_attivita" constraintName="fk_ass_incarico_attivita03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_limite" referencedTableName="tipo_limite"/> </changeSet> <changeSet author="sigla" id="1517416281033-2482"> <addForeignKeyConstraint baseColumnNames="esercizio,pg_repertorio" baseTableName="ass_incarico_uo" constraintName="fk_ass_incarico_uo01" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_repertorio" referencedTableName="incarichi_repertorio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2483"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="ass_incarico_uo" constraintName="fk_ass_incarico_uo02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2484"> <addForeignKeyConstraint baseColumnNames="cd_cds_fatt_att,cd_uo_fatt_att,esercizio_fatt_att,pg_fattura_attiva,progressivo_riga_fatt_att" baseTableName="ass_inv_bene_fattura" constraintName="fk_ass_inv_bene_fattura00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_fattura_attiva,progressivo_riga" referencedTableName="fattura_attiva_riga"/> </changeSet> <changeSet author="sigla" id="1517416281033-2485"> <addForeignKeyConstraint baseColumnNames="cd_cds_fatt_pass,cd_uo_fatt_pass,esercizio_fatt_pass,pg_fattura_passiva,progressivo_riga_fatt_pass" baseTableName="ass_inv_bene_fattura" constraintName="fk_ass_inv_bene_fattura01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_fattura_passiva,progressivo_riga" referencedTableName="fattura_passiva_riga"/> </changeSet> <changeSet author="sigla" id="1517416281033-2486"> <addForeignKeyConstraint baseColumnNames="cd_cds_doc_gen,cd_uo_doc_gen,esercizio_doc_gen,cd_tipo_documento_amm,pg_documento_generico,progressivo_riga_doc_gen" baseTableName="ass_inv_bene_fattura" constraintName="fk_ass_inv_bene_fattura03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,cd_tipo_documento_amm,pg_documento_generico,progressivo_riga" referencedTableName="documento_generico_riga"/> </changeSet> <changeSet author="sigla" id="1517416281033-2487"> <addForeignKeyConstraint baseColumnNames="pg_inventario" baseTableName="ass_inventario_uo" constraintName="fk_ass_inventario_uo00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_inventario" referencedTableName="id_inventario"/> </changeSet> <changeSet author="sigla" id="1517416281033-2488"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="ass_inventario_uo" constraintName="fk_ass_inventario_uo01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2489"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="ass_inventario_uo" constraintName="fk_ass_inventario_uo02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2490"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita,cd_linea_attivita" baseTableName="ass_la_class_voci" constraintName="fk_ass_la_class_voci_00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-2491"> <addForeignKeyConstraint baseColumnNames="id_class_origine" baseTableName="ass_la_class_voci" constraintName="fk_ass_la_class_voci_01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_classificazione" referencedTableName="classificazione_voci"/> </changeSet> <changeSet author="sigla" id="1517416281033-2492"> <addForeignKeyConstraint baseColumnNames="cd_cdr_origine" baseTableName="ass_la_class_voci" constraintName="fk_ass_la_class_voci_02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-2493"> <addForeignKeyConstraint baseColumnNames="cd_natura_origine" baseTableName="ass_la_class_voci" constraintName="fk_ass_la_class_voci_03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_natura" referencedTableName="natura"/> </changeSet> <changeSet author="sigla" id="1517416281033-2494"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita,cd_linea_attivita" baseTableName="ass_linea_attivita_esercizio" constraintName="fk_ass_linea_attivita_eser01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-2495"> <addForeignKeyConstraint baseColumnNames="cd_unita_piano,cd_voce_piano" baseTableName="ass_linea_attivita_esercizio" constraintName="fk_ass_linea_attivita_eserc01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa,cd_voce_piano" referencedTableName="voce_piano_economico_prg"/> </changeSet> <changeSet author="sigla" id="1517416281033-2496"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,pg_mandato" baseTableName="ass_mandato_mandato" constraintName="fk_ass_mandato_mandato00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_mandato" referencedTableName="mandato"/> </changeSet> <changeSet author="sigla" id="1517416281033-2497"> <addForeignKeyConstraint baseColumnNames="cd_cds_coll,esercizio_coll,pg_mandato_coll" baseTableName="ass_mandato_mandato" constraintName="fk_ass_mandato_mandato01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_mandato" referencedTableName="mandato"/> </changeSet> <changeSet author="sigla" id="1517416281033-2498"> <addForeignKeyConstraint baseColumnNames="cd_cds_mandato,esercizio_mandato,pg_mandato" baseTableName="ass_mandato_reversale" constraintName="fk_ass_mandato_reversale00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_mandato" referencedTableName="mandato"/> </changeSet> <changeSet author="sigla" id="1517416281033-2499"> <addForeignKeyConstraint baseColumnNames="cd_cds_reversale,esercizio_reversale,pg_reversale" baseTableName="ass_mandato_reversale" constraintName="fk_ass_mandato_reversale01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_reversale" referencedTableName="reversale"/> </changeSet> <changeSet author="sigla" id="1517416281033-2500"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,esercizio_ori_obbligazione,pg_obbligazione" baseTableName="ass_obb_acr_pgiro" constraintName="fk_ass_obb_acr_pgiro00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione" referencedTableName="obbligazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2501"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,esercizio_ori_accertamento,pg_accertamento" baseTableName="ass_obb_acr_pgiro" constraintName="fk_ass_obb_acr_pgiro01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento" referencedTableName="accertamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2502"> <addForeignKeyConstraint baseColumnNames="cd_missione" baseTableName="ass_pdg_missione_tipo_uo" constraintName="fk_ass_pdg_missione_tipo_uo_01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_missione" referencedTableName="pdg_missione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2503"> <addForeignKeyConstraint baseColumnNames="cd_tipo_unita" baseTableName="ass_pdg_missione_tipo_uo" constraintName="fk_ass_pdg_missione_tipo_uo_02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_unita" referencedTableName="tipo_unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2504"> <addForeignKeyConstraint baseColumnNames="esercizio,pg_variazione_pdg" baseTableName="ass_pdg_variazione_cdr" constraintName="fk_ass_pdg_variazione_cdr00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_variazione_pdg" referencedTableName="pdg_variazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2505"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita" baseTableName="ass_pdg_variazione_cdr" constraintName="fk_ass_pdg_variazione_cdr01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-2506"> <addForeignKeyConstraint baseColumnNames="cd_tipo_rapporto" baseTableName="ass_ti_rapp_ti_prest" constraintName="fk_ass_ti_rapp_ti_prest00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_rapporto" referencedTableName="tipo_rapporto"/> </changeSet> <changeSet author="sigla" id="1517416281033-2507"> <addForeignKeyConstraint baseColumnNames="cd_ti_prestazione" baseTableName="ass_ti_rapp_ti_prest" constraintName="fk_ass_ti_rapp_ti_prest01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_ti_prestazione" referencedTableName="tipo_prestazione_compenso"/> </changeSet> <changeSet author="sigla" id="1517416281033-2508"> <addForeignKeyConstraint baseColumnNames="cd_tipo_rapporto" baseTableName="ass_ti_rapp_ti_tratt" constraintName="fk_ass_ti_rapp_ti_tratt00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_rapporto" referencedTableName="tipo_rapporto"/> </changeSet> <changeSet author="sigla" id="1517416281033-2509"> <addForeignKeyConstraint baseColumnNames="cd_tipo_ammortamento,ti_ammortamento" baseTableName="ass_tipo_amm_cat_grup_inv" constraintName="fk_ass_tipo_amm_cat_grup_inv00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_ammortamento,ti_ammortamento" referencedTableName="tipo_ammortamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2510"> <addForeignKeyConstraint baseColumnNames="cd_categoria_gruppo" baseTableName="ass_tipo_amm_cat_grup_inv" constraintName="fk_ass_tipo_amm_cat_grup_inv01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_categoria_gruppo" referencedTableName="categoria_gruppo_invent"/> </changeSet> <changeSet author="sigla" id="1517416281033-2511"> <addForeignKeyConstraint baseColumnNames="cd_contributo_ritenuta,dt_ini_validita" baseTableName="ass_tipo_contr_ritenuta_siope" constraintName="fk_ass_tipo_contr_rit_siope01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_contributo_ritenuta,dt_ini_validita" referencedTableName="tipo_contributo_ritenuta"/> </changeSet> <changeSet author="sigla" id="1517416281033-2512"> <addForeignKeyConstraint baseColumnNames="esercizio_siope_s,ti_gestione_siope_s,cd_siope_s" baseTableName="ass_tipo_contr_ritenuta_siope" constraintName="fk_ass_tipo_contr_rit_siope02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_gestione,cd_siope" referencedTableName="codici_siope"/> </changeSet> <changeSet author="sigla" id="1517416281033-2513"> <addForeignKeyConstraint baseColumnNames="esercizio_siope_e,ti_gestione_siope_e,cd_siope_e" baseTableName="ass_tipo_contr_ritenuta_siope" constraintName="fk_ass_tipo_contr_rit_siope03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_gestione,cd_siope" referencedTableName="codici_siope"/> </changeSet> <changeSet author="sigla" id="1517416281033-2514"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="ass_tipo_cori_ev" constraintName="fk_ass_tipo_cori_ev00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-2515"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_voce_ep" baseTableName="ass_tipo_cori_voce_ep" constraintName="fk_ass_tipo_cori_voce_ep00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_voce_ep" referencedTableName="voce_ep"/> </changeSet> <changeSet author="sigla" id="1517416281033-2516"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_voce_ep_contr" baseTableName="ass_tipo_cori_voce_ep" constraintName="fk_ass_tipo_cori_voce_ep01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_voce_ep" referencedTableName="voce_ep"/> </changeSet> <changeSet author="sigla" id="1517416281033-2517"> <addForeignKeyConstraint baseColumnNames="cd_tipo_file" baseTableName="ass_tipo_gruppo_file" constraintName="fk_ass_tipo_gruppo_file00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_file" referencedTableName="tipo_file"/> </changeSet> <changeSet author="sigla" id="1517416281033-2518"> <addForeignKeyConstraint baseColumnNames="cd_gruppo_file" baseTableName="ass_tipo_gruppo_file" constraintName="fk_ass_tipo_gruppo_file01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_gruppo_file" referencedTableName="gruppo_file"/> </changeSet> <changeSet author="sigla" id="1517416281033-2519"> <addForeignKeyConstraint baseColumnNames="cd_tipo_linea_attivita" baseTableName="ass_tipo_la_cdr" constraintName="fk_ass_tipo_la_cdr00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_linea_attivita" referencedTableName="tipo_linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-2520"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita" baseTableName="ass_tipo_la_cdr" constraintName="fk_ass_tipo_la_cdr01" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-2521"> <addForeignKeyConstraint baseColumnNames="tipo" baseTableName="ass_tipo_ruolo_privilegio" constraintName="fk_ass_tipo_ruolo_privilegio00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="tipo" referencedTableName="tipo_ruolo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2522"> <addForeignKeyConstraint baseColumnNames="cd_privilegio" baseTableName="ass_tipo_ruolo_privilegio" constraintName="fk_ass_tipo_ruolo_privilegio01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_privilegio" referencedTableName="privilegio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2523"> <addForeignKeyConstraint baseColumnNames="pg_tipologia" baseTableName="ass_tipologia_istat_siope" constraintName="fk_ass_tipologia_istat_siope00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_tipologia" referencedTableName="tipologie_istat"/> </changeSet> <changeSet author="sigla" id="1517416281033-2524"> <addForeignKeyConstraint baseColumnNames="esercizio_siope,ti_gestione_siope,cd_siope" baseTableName="ass_tipologia_istat_siope" constraintName="fk_ass_tipologia_istat_siope01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_gestione,cd_siope" referencedTableName="codici_siope"/> </changeSet> <changeSet author="sigla" id="1517416281033-2525"> <addForeignKeyConstraint baseColumnNames="pg_inventario_origine,nr_inventario_origine,progressivo_origine" baseTableName="ass_trasferimento_beni_inv" constraintName="fk_ass_trasf_beni_inv00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_inventario,nr_inventario,progressivo" referencedTableName="inventario_beni"/> </changeSet> <changeSet author="sigla" id="1517416281033-2526"> <addForeignKeyConstraint baseColumnNames="pg_inventario_dest,nr_inventario_dest,progressivo_dest" baseTableName="ass_trasferimento_beni_inv" constraintName="fk_ass_trasf_beni_inv01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_inventario,nr_inventario,progressivo" referencedTableName="inventario_beni"/> </changeSet> <changeSet author="sigla" id="1517416281033-2527"> <addForeignKeyConstraint baseColumnNames="cd_unita_operativa" baseTableName="ass_unita_operativa_ord" constraintName="fk_ass_unita_operativa_ord00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_operativa" referencedTableName="unita_operativa_ord"/> </changeSet> <changeSet author="sigla" id="1517416281033-2528"> <addForeignKeyConstraint baseColumnNames="cd_unita_operativa_rif" baseTableName="ass_unita_operativa_ord" constraintName="fk_ass_unita_operativa_ord01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_operativa" referencedTableName="unita_operativa_ord"/> </changeSet> <changeSet author="sigla" id="1517416281033-2529"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="ass_uo_area" constraintName="fk_ass_uo_area_00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2530"> <addForeignKeyConstraint baseColumnNames="cd_area_ricerca" baseTableName="ass_uo_area" constraintName="fk_ass_uo_area_01" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2531"> <addForeignKeyConstraint baseColumnNames="esercizio,pg_variazione" baseTableName="ass_var_stanz_res_cdr" constraintName="fk_ass_var_stanz_res_cdr00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_variazione" referencedTableName="var_stanz_res"/> </changeSet> <changeSet author="sigla" id="1517416281033-2532"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita" baseTableName="ass_var_stanz_res_cdr" constraintName="fk_ass_var_stanz_res_cdr01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-2533"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="ass_voce_catgrp_invent" constraintName="fk_ass_voce_catgrp_invent00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-2534"> <addForeignKeyConstraint baseColumnNames="cd_categoria_gruppo" baseTableName="ass_voce_catgrp_invent" constraintName="fk_ass_voce_catgrp_invent01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_categoria_gruppo" referencedTableName="categoria_gruppo_invent"/> </changeSet> <changeSet author="sigla" id="1517416281033-2535"> <addForeignKeyConstraint baseColumnNames="cd_responsabile_1" baseTableName="attivita_sigla" constraintName="fk_attivita_sigla01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2536"> <addForeignKeyConstraint baseColumnNames="cd_responsabile_2" baseTableName="attivita_sigla" constraintName="fk_attivita_sigla02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2537"> <addForeignKeyConstraint baseColumnNames="cd_responsabile_3" baseTableName="attivita_sigla" constraintName="fk_attivita_sigla03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2538"> <addForeignKeyConstraint baseColumnNames="cd_responsabile_4" baseTableName="attivita_sigla" constraintName="fk_attivita_sigla04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2539"> <addForeignKeyConstraint baseColumnNames="cd_responsabile_5" baseTableName="attivita_sigla" constraintName="fk_attivita_sigla05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2540"> <addForeignKeyConstraint baseColumnNames="cd_responsabile_6" baseTableName="attivita_sigla" constraintName="fk_attivita_sigla06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2541"> <addForeignKeyConstraint baseColumnNames="cd_redattore" baseTableName="attivita_sigla" constraintName="fk_attivita_sigla07" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2542"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="autofattura" constraintName="fk_autofattura00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2543"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="autofattura" constraintName="fk_autofattura01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2544"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="autofattura" constraintName="fk_autofattura02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2545"> <addForeignKeyConstraint baseColumnNames="cd_cds_origine,cd_uo_origine,esercizio,cd_tipo_sezionale,ti_fattura" baseTableName="autofattura" constraintName="fk_autofattura03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,cd_tipo_sezionale,ti_fattura" referencedTableName="sezionale"/> </changeSet> <changeSet author="sigla" id="1517416281033-2546"> <addForeignKeyConstraint baseColumnNames="cd_cds_ft_passiva,cd_uo_ft_passiva,esercizio,pg_fattura_passiva" baseTableName="autofattura" constraintName="fk_autofattura04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_fattura_passiva" referencedTableName="fattura_passiva"/> </changeSet> <changeSet author="sigla" id="1517416281033-2547"> <addForeignKeyConstraint baseColumnNames="abi,cab" baseTableName="banca" constraintName="fk_banca00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="abi,cab" referencedTableName="abicab"/> </changeSet> <changeSet author="sigla" id="1517416281033-2548"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="banca" constraintName="fk_banca01" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2549"> <addForeignKeyConstraint baseColumnNames="pg_esecuzione" baseTableName="batch_log_riga" constraintName="fk_batch_log_riga00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="pg_esecuzione" referencedTableName="batch_log_tsta"/> </changeSet> <changeSet author="sigla" id="1517416281033-2550"> <addForeignKeyConstraint baseColumnNames="cd_log_tipo" baseTableName="batch_log_tsta" constraintName="fk_batch_log_tsta00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_log_tipo" referencedTableName="batch_log_tipo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2551"> <addForeignKeyConstraint baseColumnNames="cd_procedura" baseTableName="batch_procedura_dominio" constraintName="fk_batch_procedura_dominio00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_procedura" referencedTableName="batch_procedura"/> </changeSet> <changeSet author="sigla" id="1517416281033-2552"> <addForeignKeyConstraint baseColumnNames="cd_procedura" baseTableName="batch_procedura_parametro" constraintName="fk_batch_procedura_parametro00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_procedura" referencedTableName="batch_procedura"/> </changeSet> <changeSet author="sigla" id="1517416281033-2553"> <addForeignKeyConstraint baseColumnNames="cd_voce_iva" baseTableName="bene_servizio" constraintName="fk_bene_servizio01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_voce_iva" referencedTableName="voce_iva"/> </changeSet> <changeSet author="sigla" id="1517416281033-2554"> <addForeignKeyConstraint baseColumnNames="cd_gruppo_merceologico" baseTableName="bene_servizio" constraintName="fk_bene_servizio02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_gruppo_merceologico" referencedTableName="gruppo_merceologico"/> </changeSet> <changeSet author="sigla" id="1517416281033-2555"> <addForeignKeyConstraint baseColumnNames="cd_tipo_articolo" baseTableName="bene_servizio" constraintName="fk_bene_servizio03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_articolo" referencedTableName="tipo_articolo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2556"> <addForeignKeyConstraint baseColumnNames="unita_misura" baseTableName="bene_servizio" constraintName="fk_bene_servizio05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_misura" referencedTableName="unita_misura"/> </changeSet> <changeSet author="sigla" id="1517416281033-2557"> <addForeignKeyConstraint baseColumnNames="cd_bene_servizio" baseTableName="bene_servizio_tipo_gest" constraintName="fk_bene_servizio_tipo_gest00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_bene_servizio" referencedTableName="bene_servizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2558"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_magazzino" baseTableName="bene_servizio_tipo_gest" constraintName="fk_bene_servizio_tipo_gest01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_magazzino" referencedTableName="magazzino"/> </changeSet> <changeSet author="sigla" id="1517416281033-2559"> <addForeignKeyConstraint baseColumnNames="cd_tipo" baseTableName="bframe_blob" constraintName="fk_bframe_blob00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo" referencedTableName="bframe_blob_tipo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2560"> <addForeignKeyConstraint baseColumnNames="pg_nazione_str" baseTableName="blt_accordi" constraintName="fk_blt_accordi00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_nazione" referencedTableName="nazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2561"> <addForeignKeyConstraint baseColumnNames="cd_respons_ita" baseTableName="blt_accordi" constraintName="fk_blt_accordi01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2562"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="blt_accordi" constraintName="fk_blt_accordi02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-2563"> <addForeignKeyConstraint baseColumnNames="cd_terzo_ente" baseTableName="blt_accordi" constraintName="fk_blt_accordi04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2564"> <addForeignKeyConstraint baseColumnNames="cd_accordo,cd_progetto" baseTableName="blt_autorizzati" constraintName="fk_blt_autorizzati00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_accordo,cd_progetto" referencedTableName="blt_progetti"/> </changeSet> <changeSet author="sigla" id="1517416281033-2565"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="blt_autorizzati" constraintName="fk_blt_autorizzati01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2566"> <addForeignKeyConstraint baseColumnNames="cd_cdr_terzo" baseTableName="blt_autorizzati" constraintName="fk_blt_autorizzati02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-2567"> <addForeignKeyConstraint baseColumnNames="pg_comune_ente_di_appartenenza" baseTableName="blt_autorizzati" constraintName="fk_blt_autorizzati03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_comune" referencedTableName="comune"/> </changeSet> <changeSet author="sigla" id="1517416281033-2568"> <addForeignKeyConstraint baseColumnNames="cd_accordo,cd_progetto,cd_terzo" baseTableName="blt_autorizzati_dett" constraintName="fk_blt_autorizzati_dett00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_accordo,cd_progetto,cd_terzo" referencedTableName="blt_autorizzati"/> </changeSet> <changeSet author="sigla" id="1517416281033-2569"> <addForeignKeyConstraint baseColumnNames="pg_comune" baseTableName="blt_istituti" constraintName="fk_blt_istituti_00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_comune" referencedTableName="comune"/> </changeSet> <changeSet author="sigla" id="1517416281033-2570"> <addForeignKeyConstraint baseColumnNames="cd_accordo" baseTableName="blt_progetti" constraintName="fk_blt_progetti00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_accordo" referencedTableName="blt_accordi"/> </changeSet> <changeSet author="sigla" id="1517416281033-2571"> <addForeignKeyConstraint baseColumnNames="cd_respons_ita" baseTableName="blt_progetti" constraintName="fk_blt_progetti01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2572"> <addForeignKeyConstraint baseColumnNames="cd_respons_str" baseTableName="blt_progetti" constraintName="fk_blt_progetti02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2573"> <addForeignKeyConstraint baseColumnNames="cd_cdr_respons_ita" baseTableName="blt_progetti" constraintName="fk_blt_progetti03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-2574"> <addForeignKeyConstraint baseColumnNames="cd_accordo,cd_progetto" baseTableName="blt_programma_visite" constraintName="fk_blt_programma_visite00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_accordo,cd_progetto" referencedTableName="blt_progetti"/> </changeSet> <changeSet author="sigla" id="1517416281033-2575"> <addForeignKeyConstraint baseColumnNames="cd_accordo" baseTableName="blt_regole_diaria" constraintName="fk_blt_regole_diaria00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_accordo" referencedTableName="blt_accordi"/> </changeSet> <changeSet author="sigla" id="1517416281033-2576"> <addForeignKeyConstraint baseColumnNames="cd_accordo_prg,cd_progetto_prg,pg_record_prg" baseTableName="blt_visite" constraintName="fk_blt_visite01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_accordo,cd_progetto,pg_record" referencedTableName="blt_programma_visite"/> </changeSet> <changeSet author="sigla" id="1517416281033-2577"> <addForeignKeyConstraint baseColumnNames="cd_cds_obblig,esercizio_obblig,esercizio_ori_obblig,pg_obbligazione,pg_obbligazione_scadenzario" baseTableName="blt_visite" constraintName="fk_blt_visite02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione,pg_obbligazione_scadenzario" referencedTableName="obbligazione_scadenzario"/> </changeSet> <changeSet author="sigla" id="1517416281033-2578"> <addForeignKeyConstraint baseColumnNames="esercizio_repertorio,pg_repertorio" baseTableName="blt_visite" constraintName="fk_blt_visite03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_repertorio" referencedTableName="incarichi_repertorio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2579"> <addForeignKeyConstraint baseColumnNames="cd_terzo_banca,pg_banca" baseTableName="blt_visite" constraintName="fk_blt_visite04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,pg_banca" referencedTableName="banca"/> </changeSet> <changeSet author="sigla" id="1517416281033-2580"> <addForeignKeyConstraint baseColumnNames="cd_modalita_pag" baseTableName="blt_visite" constraintName="fk_blt_visite05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_modalita_pag" referencedTableName="rif_modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2581"> <addForeignKeyConstraint baseColumnNames="cd_terzo_banca_ant,pg_banca_ant" baseTableName="blt_visite" constraintName="fk_blt_visite06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,pg_banca" referencedTableName="banca"/> </changeSet> <changeSet author="sigla" id="1517416281033-2582"> <addForeignKeyConstraint baseColumnNames="cd_modalita_pag_ant" baseTableName="blt_visite" constraintName="fk_blt_visite07" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_modalita_pag" referencedTableName="rif_modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2583"> <addForeignKeyConstraint baseColumnNames="cd_accordo,cd_progetto,cd_terzo,pg_autorizzazione" baseTableName="blt_visite" constraintName="fk_blt_visite08" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_accordo,cd_progetto,cd_terzo,pg_autorizzazione" referencedTableName="blt_autorizzati_dett"/> </changeSet> <changeSet author="sigla" id="1517416281033-2584"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="bonus" constraintName="fk_bonus00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2585"> <addForeignKeyConstraint baseColumnNames="pg_comune_nascita" baseTableName="bonus" constraintName="fk_bonus01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_comune" referencedTableName="comune"/> </changeSet> <changeSet author="sigla" id="1517416281033-2586"> <addForeignKeyConstraint baseColumnNames="cd_tipo_rapporto" baseTableName="bonus" constraintName="fk_bonus02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_rapporto" referencedTableName="tipo_rapporto"/> </changeSet> <changeSet author="sigla" id="1517416281033-2587"> <addForeignKeyConstraint baseColumnNames="esercizio_imposta,cd_condizione" baseTableName="bonus" constraintName="fk_bonus03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_condizione" referencedTableName="bonus_condizioni"/> </changeSet> <changeSet author="sigla" id="1517416281033-2588"> <addForeignKeyConstraint baseColumnNames="esercizio,pg_bonus" baseTableName="bonus_nucleo_fam" constraintName="fk_bonus_nucleo_fam00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_bonus" referencedTableName="bonus"/> </changeSet> <changeSet author="sigla" id="1517416281033-2589"> <addForeignKeyConstraint baseColumnNames="esercizio_bonus,pg_bonus" baseTableName="compenso" constraintName="fk_bonus_nucleo_fam30" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_bonus" referencedTableName="bonus"/> </changeSet> <changeSet author="sigla" id="1517416281033-2590"> <addForeignKeyConstraint baseColumnNames="pg_inventario,ti_documento,esercizio" baseTableName="buono_carico_scarico" constraintName="fk_buono_carico_scarico00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_inventario,ti_carico_scarico,esercizio" referencedTableName="numeratore_buono_c_s"/> </changeSet> <changeSet author="sigla" id="1517416281033-2591"> <addForeignKeyConstraint baseColumnNames="cd_tipo_carico_scarico" baseTableName="buono_carico_scarico" constraintName="fk_buono_carico_scarico01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_carico_scarico" referencedTableName="tipo_carico_scarico"/> </changeSet> <changeSet author="sigla" id="1517416281033-2592"> <addForeignKeyConstraint baseColumnNames="pg_inventario,ti_documento,esercizio,pg_buono_c_s" baseTableName="buono_carico_scarico_dett" constraintName="fk_buono_carico_scarico_dett00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="pg_inventario,ti_documento,esercizio,pg_buono_c_s" referencedTableName="buono_carico_scarico"/> </changeSet> <changeSet author="sigla" id="1517416281033-2593"> <addForeignKeyConstraint baseColumnNames="cd_divisa" baseTableName="cambio" constraintName="fk_cambio00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_divisa" referencedTableName="divisa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2594"> <addForeignKeyConstraint baseColumnNames="pg_comune" baseTableName="cap" constraintName="fk_cap00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="pg_comune" referencedTableName="comune"/> </changeSet> <changeSet author="sigla" id="1517416281033-2595"> <addForeignKeyConstraint baseColumnNames="cd_anag" baseTableName="carico_familiare_anag" constraintName="fk_carico_familiare_anag00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_anag" referencedTableName="anagrafico"/> </changeSet> <changeSet author="sigla" id="1517416281033-2596"> <addForeignKeyConstraint baseColumnNames="cd_categoria_gruppo" baseTableName="categoria_gruppo_voce" constraintName="fk_categoria_gruppo_voce00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_categoria_gruppo" referencedTableName="categoria_gruppo_invent"/> </changeSet> <changeSet author="sigla" id="1517416281033-2597"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="categoria_gruppo_voce" constraintName="fk_categoria_gruppo_voce01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-2598"> <addForeignKeyConstraint baseColumnNames="cd_categoria_gruppo" baseTableName="categoria_gruppo_voce_ep" constraintName="fk_categoria_gruppo_voce_ep00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_categoria_gruppo" referencedTableName="categoria_gruppo_invent"/> </changeSet> <changeSet author="sigla" id="1517416281033-2599"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_voce_ep" baseTableName="categoria_gruppo_voce_ep" constraintName="fk_categoria_gruppo_voce_ep01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_voce_ep" referencedTableName="voce_ep"/> </changeSet> <changeSet author="sigla" id="1517416281033-2600"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_voce_ep_contr" baseTableName="categoria_gruppo_voce_ep" constraintName="fk_categoria_gruppo_voce_ep02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_voce_ep" referencedTableName="voce_ep"/> </changeSet> <changeSet author="sigla" id="1517416281033-2601"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_voce_ep_plus" baseTableName="categoria_gruppo_voce_ep" constraintName="fk_categoria_gruppo_voce_ep03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_voce_ep" referencedTableName="voce_ep"/> </changeSet> <changeSet author="sigla" id="1517416281033-2602"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_voce_ep_minus" baseTableName="categoria_gruppo_voce_ep" constraintName="fk_categoria_gruppo_voce_ep04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_voce_ep" referencedTableName="voce_ep"/> </changeSet> <changeSet author="sigla" id="1517416281033-2603"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="categoria_gruppo_voce_ep" constraintName="fk_categoria_gruppo_voce_ep05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-2604"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_causale_coge" baseTableName="causale_coge_conto" constraintName="fk_causale_coge_conto00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_causale_coge" referencedTableName="causale_coge"/> </changeSet> <changeSet author="sigla" id="1517416281033-2605"> <addForeignKeyConstraint baseColumnNames="cd_voce_iva" baseTableName="causale_spesa_ord" constraintName="fk_causale_spesa_ord00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_voce_iva" referencedTableName="voce_iva"/> </changeSet> <changeSet author="sigla" id="1517416281033-2606"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="causale_spesa_ord" constraintName="fk_causale_spesa_ord01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2607"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="cdr" constraintName="fk_cdr00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2608"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="chiusura_coep" constraintName="fk_chiusura_coep00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2609"> <addForeignKeyConstraint baseColumnNames="cd_terzo_rup" baseTableName="cig" constraintName="fk_cig00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2610"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="cig" constraintName="fk_cig01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2611"> <addForeignKeyConstraint baseColumnNames="id_class_padre" baseTableName="classificazione_voci" constraintName="fk_classificazione_voci00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="id_classificazione" referencedTableName="classificazione_voci"/> </changeSet> <changeSet author="sigla" id="1517416281033-2612"> <addForeignKeyConstraint baseColumnNames="cdr_accentratore" baseTableName="classificazione_voci" constraintName="fk_classificazione_voci01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-2613"> <addForeignKeyConstraint baseColumnNames="id_class_padre" baseTableName="classificazione_voci_ep" constraintName="fk_classificazione_voci_ep00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="id_classificazione" referencedTableName="classificazione_voci_ep"/> </changeSet> <changeSet author="sigla" id="1517416281033-2614"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,cd_unita_organizzativa,pg_liquidazione" baseTableName="cnr_estrazione_cori" constraintName="fk_cnr_estrazione_cori03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,cd_unita_organizzativa,pg_liquidazione" referencedTableName="liquid_cori"/> </changeSet> <changeSet author="sigla" id="1517416281033-2615"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_contributo_ritenuta" baseTableName="cnr_estrazione_cori" constraintName="fk_cnr_estrazione_cori04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_contributo_ritenuta" referencedTableName="tipo_cr_base"/> </changeSet> <changeSet author="sigla" id="1517416281033-2616"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_contributo_ritenuta" baseTableName="cnr_estrazione_cori_agg" constraintName="fk_cnr_estrazione_cori_agg04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_contributo_ritenuta" referencedTableName="tipo_cr_base"/> </changeSet> <changeSet author="sigla" id="1517416281033-2617"> <addForeignKeyConstraint baseColumnNames="pg_caricamento,id_bene_origine" baseTableName="cnr_inventario_beni_mig_dett" constraintName="fk_cnr_invent_beni_mig_dett00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_caricamento,id_bene_origine" referencedTableName="cnr_inventario_beni_mig"/> </changeSet> <changeSet author="sigla" id="1517416281033-2618"> <addForeignKeyConstraint baseColumnNames="cd_tit_sci,cd_ubicazione_sci" baseTableName="cnr_inventario_beni_mig_dett" constraintName="fk_cnr_invent_beni_mig_dett01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tit_sci,cd_ubicazione_sci" referencedTableName="cnr_tit_ubicazione_uo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2619"> <addForeignKeyConstraint baseColumnNames="cd_categoria_gruppo" baseTableName="cnr_inventario_beni_mig_dett" constraintName="fk_cnr_invent_beni_mig_dett02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_categoria_gruppo" referencedTableName="categoria_gruppo_invent"/> </changeSet> <changeSet author="sigla" id="1517416281033-2620"> <addForeignKeyConstraint baseColumnNames="cd_condizione_bene" baseTableName="cnr_inventario_beni_mig_dett" constraintName="fk_cnr_invent_beni_mig_dett03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_condizione_bene" referencedTableName="condizione_bene"/> </changeSet> <changeSet author="sigla" id="1517416281033-2621"> <addForeignKeyConstraint baseColumnNames="cd_tit_sci,cd_ubicazione_sci" baseTableName="cnr_inventario_beni_mig_ori" constraintName="fk_cnr_invent_beni_mig_ori00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tit_sci,cd_ubicazione_sci" referencedTableName="cnr_tit_ubicazione_uo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2622"> <addForeignKeyConstraint baseColumnNames="cd_categoria_gruppo" baseTableName="cnr_inventario_beni_mig_ori" constraintName="fk_cnr_invent_beni_mig_ori01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_categoria_gruppo" referencedTableName="categoria_gruppo_invent"/> </changeSet> <changeSet author="sigla" id="1517416281033-2623"> <addForeignKeyConstraint baseColumnNames="cd_condizione_bene" baseTableName="cnr_inventario_beni_mig_ori" constraintName="fk_cnr_invent_beni_mig_ori02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_condizione_bene" referencedTableName="condizione_bene"/> </changeSet> <changeSet author="sigla" id="1517416281033-2624"> <addForeignKeyConstraint baseColumnNames="cir_cd_cds,cir_cd_uo,cir_cd_ubicazione" baseTableName="cnr_inventario_beni_mig" constraintName="fk_cnr_inventario_beni_mig00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,cd_ubicazione" referencedTableName="ubicazione_bene"/> </changeSet> <changeSet author="sigla" id="1517416281033-2625"> <addForeignKeyConstraint baseColumnNames="cir_cd_condizione_bene" baseTableName="cnr_inventario_beni_mig" constraintName="fk_cnr_inventario_beni_mig01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_condizione_bene" referencedTableName="condizione_bene"/> </changeSet> <changeSet author="sigla" id="1517416281033-2626"> <addForeignKeyConstraint baseColumnNames="cir_cd_categoria_gruppo" baseTableName="cnr_inventario_beni_mig" constraintName="fk_cnr_inventario_beni_mig03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_categoria_gruppo" referencedTableName="categoria_gruppo_invent"/> </changeSet> <changeSet author="sigla" id="1517416281033-2627"> <addForeignKeyConstraint baseColumnNames="cir_esercizio_carico_bene" baseTableName="cnr_inventario_beni_mig" constraintName="fk_cnr_inventario_beni_mig04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio" referencedTableName="esercizio_base"/> </changeSet> <changeSet author="sigla" id="1517416281033-2628"> <addForeignKeyConstraint baseColumnNames="cd_uo_cir" baseTableName="cnr_tit_ubicazione_uo" constraintName="fk_cnr_tit_ubicazione_uo00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2629"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="compenso" constraintName="fk_compenso00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2630"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="compenso" constraintName="fk_compenso01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2631"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="compenso" constraintName="fk_compenso02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2632"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_termini_pag" baseTableName="compenso" constraintName="fk_compenso03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_termini_pag" referencedTableName="termini_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2633"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_modalita_pag" baseTableName="compenso" constraintName="fk_compenso04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_modalita_pag" referencedTableName="modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2634"> <addForeignKeyConstraint baseColumnNames="cd_terzo,pg_banca" baseTableName="compenso" constraintName="fk_compenso05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,pg_banca" referencedTableName="banca"/> </changeSet> <changeSet author="sigla" id="1517416281033-2635"> <addForeignKeyConstraint baseColumnNames="cd_tipo_rapporto" baseTableName="compenso" constraintName="fk_compenso06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_rapporto" referencedTableName="tipo_rapporto"/> </changeSet> <changeSet author="sigla" id="1517416281033-2636"> <addForeignKeyConstraint baseColumnNames="pg_comune_add" baseTableName="compenso" constraintName="fk_compenso07" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_comune" referencedTableName="comune"/> </changeSet> <changeSet author="sigla" id="1517416281033-2637"> <addForeignKeyConstraint baseColumnNames="cd_provincia_add" baseTableName="compenso" constraintName="fk_compenso08" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_provincia" referencedTableName="provincia"/> </changeSet> <changeSet author="sigla" id="1517416281033-2638"> <addForeignKeyConstraint baseColumnNames="cd_regione_add" baseTableName="compenso" constraintName="fk_compenso09" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_regione" referencedTableName="regione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2639"> <addForeignKeyConstraint baseColumnNames="cd_regione_irap" baseTableName="compenso" constraintName="fk_compenso10" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_regione" referencedTableName="regione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2640"> <addForeignKeyConstraint baseColumnNames="cd_voce_iva" baseTableName="compenso" constraintName="fk_compenso11" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_voce_iva" referencedTableName="voce_iva"/> </changeSet> <changeSet author="sigla" id="1517416281033-2641"> <addForeignKeyConstraint baseColumnNames="cd_cds_origine" baseTableName="compenso" constraintName="fk_compenso12" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2642"> <addForeignKeyConstraint baseColumnNames="cd_uo_origine" baseTableName="compenso" constraintName="fk_compenso13" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2643"> <addForeignKeyConstraint baseColumnNames="cd_cds_obbligazione,esercizio_obbligazione,esercizio_ori_obbligazione,pg_obbligazione,pg_obbligazione_scadenzario" baseTableName="compenso" constraintName="fk_compenso14" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione,pg_obbligazione_scadenzario" referencedTableName="obbligazione_scadenzario"/> </changeSet> <changeSet author="sigla" id="1517416281033-2644"> <addForeignKeyConstraint baseColumnNames="cd_cds_accertamento,esercizio_accertamento,esercizio_ori_accertamento,pg_accertamento,pg_accertamento_scadenzario" baseTableName="compenso" constraintName="fk_compenso15" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento,pg_accertamento_scadenzario" referencedTableName="accertamento_scadenzario"/> </changeSet> <changeSet author="sigla" id="1517416281033-2645"> <addForeignKeyConstraint baseColumnNames="cd_terzo_uo_cds" baseTableName="compenso" constraintName="fk_compenso16" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2646"> <addForeignKeyConstraint baseColumnNames="cd_terzo_uo_cds,cd_termini_pag_uo_cds" baseTableName="compenso" constraintName="fk_compenso17" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_termini_pag" referencedTableName="termini_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2647"> <addForeignKeyConstraint baseColumnNames="cd_terzo_uo_cds,cd_modalita_pag_uo_cds" baseTableName="compenso" constraintName="fk_compenso18" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_modalita_pag" referencedTableName="modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2648"> <addForeignKeyConstraint baseColumnNames="cd_terzo_uo_cds,pg_banca_uo_cds" baseTableName="compenso" constraintName="fk_compenso19" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,pg_banca" referencedTableName="banca"/> </changeSet> <changeSet author="sigla" id="1517416281033-2649"> <addForeignKeyConstraint baseColumnNames="cd_cds_missione,cd_uo_missione,esercizio_missione,pg_missione" baseTableName="compenso" constraintName="fk_compenso20" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_missione" referencedTableName="missione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2650"> <addForeignKeyConstraint baseColumnNames="cd_cds_doc_genrc,cd_uo_doc_genrc,esercizio_doc_genrc,cd_tipo_doc_genrc,pg_doc_genrc" baseTableName="compenso" constraintName="fk_compenso21" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,cd_tipo_documento_amm,pg_documento_generico" referencedTableName="documento_generico"/> </changeSet> <changeSet author="sigla" id="1517416281033-2651"> <addForeignKeyConstraint baseColumnNames="cd_cdr_genrc,cd_linea_attivita_genrc" baseTableName="compenso" constraintName="fk_compenso22" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-2652"> <addForeignKeyConstraint baseColumnNames="cd_rapporto_inps" baseTableName="compenso" constraintName="fk_compenso23" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_rapporto_inps" referencedTableName="codici_rapporti_inps"/> </changeSet> <changeSet author="sigla" id="1517416281033-2653"> <addForeignKeyConstraint baseColumnNames="cd_attivita_inps" baseTableName="compenso" constraintName="fk_compenso24" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_attivita_inps" referencedTableName="codici_attivita_inps"/> </changeSet> <changeSet author="sigla" id="1517416281033-2654"> <addForeignKeyConstraint baseColumnNames="cd_altra_ass_inps" baseTableName="compenso" constraintName="fk_compenso25" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="altra_ass_previd_inps" referencedTableName="codici_altra_forma_ass_inps"/> </changeSet> <changeSet author="sigla" id="1517416281033-2655"> <addForeignKeyConstraint baseColumnNames="pg_comune_inps" baseTableName="compenso" constraintName="fk_compenso28" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_comune" referencedTableName="comune"/> </changeSet> <changeSet author="sigla" id="1517416281033-2656"> <addForeignKeyConstraint baseColumnNames="esercizio_rep,pg_repertorio,esercizio_limite_rep" baseTableName="compenso" constraintName="fk_compenso29" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_repertorio,esercizio_limite" referencedTableName="incarichi_repertorio_anno"/> </changeSet> <changeSet author="sigla" id="1517416281033-2657"> <addForeignKeyConstraint baseColumnNames="ti_prestazione" baseTableName="compenso" constraintName="fk_compenso31" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_ti_prestazione" referencedTableName="tipo_prestazione_compenso"/> </changeSet> <changeSet author="sigla" id="1517416281033-2658"> <addForeignKeyConstraint baseColumnNames="cd_terzo_pignorato" baseTableName="compenso" constraintName="fk_compenso32" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2659"> <addForeignKeyConstraint baseColumnNames="esercizio_contratto,stato_contratto,pg_contratto" baseTableName="compenso" constraintName="fk_compenso33" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,stato,pg_contratto" referencedTableName="contratto"/> </changeSet> <changeSet author="sigla" id="1517416281033-2660"> <addForeignKeyConstraint baseColumnNames="cd_provincia" baseTableName="comune" constraintName="fk_comune00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_provincia" referencedTableName="provincia"/> </changeSet> <changeSet author="sigla" id="1517416281033-2661"> <addForeignKeyConstraint baseColumnNames="pg_nazione" baseTableName="comune" constraintName="fk_comune01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_nazione" referencedTableName="nazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2662"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_quadro" baseTableName="configurazione_770" constraintName="fk_configurazione_77000" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_quadro" referencedTableName="quadri_770"/> </changeSet> <changeSet author="sigla" id="1517416281033-2663"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="conguaglio" constraintName="fk_conguaglio00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2664"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="conguaglio" constraintName="fk_conguaglio01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2665"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="conguaglio" constraintName="fk_conguaglio02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2666"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_termini_pag" baseTableName="conguaglio" constraintName="fk_conguaglio03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_termini_pag" referencedTableName="termini_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2667"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_modalita_pag" baseTableName="conguaglio" constraintName="fk_conguaglio04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_modalita_pag" referencedTableName="modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2668"> <addForeignKeyConstraint baseColumnNames="cd_terzo,pg_banca" baseTableName="conguaglio" constraintName="fk_conguaglio05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,pg_banca" referencedTableName="banca"/> </changeSet> <changeSet author="sigla" id="1517416281033-2669"> <addForeignKeyConstraint baseColumnNames="cd_regione" baseTableName="conguaglio" constraintName="fk_conguaglio06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_regione" referencedTableName="regione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2670"> <addForeignKeyConstraint baseColumnNames="cd_provincia" baseTableName="conguaglio" constraintName="fk_conguaglio07" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_provincia" referencedTableName="provincia"/> </changeSet> <changeSet author="sigla" id="1517416281033-2671"> <addForeignKeyConstraint baseColumnNames="pg_comune" baseTableName="conguaglio" constraintName="fk_conguaglio08" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_comune" referencedTableName="comune"/> </changeSet> <changeSet author="sigla" id="1517416281033-2672"> <addForeignKeyConstraint baseColumnNames="cd_cds_compenso,cd_uo_compenso,esercizio_compenso,pg_compenso" baseTableName="conguaglio" constraintName="fk_conguaglio09" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_compenso" referencedTableName="compenso"/> </changeSet> <changeSet author="sigla" id="1517416281033-2673"> <addForeignKeyConstraint baseColumnNames="pg_comune_addcom_esterno" baseTableName="conguaglio" constraintName="fk_conguaglio10" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_comune" referencedTableName="comune"/> </changeSet> <changeSet author="sigla" id="1517416281033-2674"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="contatto" constraintName="fk_contatto00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2675"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="contratto" constraintName="fk_contratto00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2676"> <addForeignKeyConstraint baseColumnNames="fig_giur_int" baseTableName="contratto" constraintName="fk_contratto01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2677"> <addForeignKeyConstraint baseColumnNames="cd_terzo_resp" baseTableName="contratto" constraintName="fk_contratto02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2678"> <addForeignKeyConstraint baseColumnNames="cd_terzo_firmatario" baseTableName="contratto" constraintName="fk_contratto03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2679"> <addForeignKeyConstraint baseColumnNames="cd_tipo_contratto" baseTableName="contratto" constraintName="fk_contratto04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_contratto" referencedTableName="tipo_contratto"/> </changeSet> <changeSet author="sigla" id="1517416281033-2680"> <addForeignKeyConstraint baseColumnNames="cd_proc_amm" baseTableName="contratto" constraintName="fk_contratto05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_proc_amm" referencedTableName="procedure_amministrative"/> </changeSet> <changeSet author="sigla" id="1517416281033-2681"> <addForeignKeyConstraint baseColumnNames="cd_tipo_atto" baseTableName="contratto" constraintName="fk_contratto06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_atto" referencedTableName="tipo_atto_amministrativo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2682"> <addForeignKeyConstraint baseColumnNames="cd_organo" baseTableName="contratto" constraintName="fk_contratto07" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_organo" referencedTableName="organo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2683"> <addForeignKeyConstraint baseColumnNames="cd_tipo_atto_ann" baseTableName="contratto" constraintName="fk_contratto08" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_atto" referencedTableName="tipo_atto_amministrativo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2684"> <addForeignKeyConstraint baseColumnNames="cd_organo_ann" baseTableName="contratto" constraintName="fk_contratto09" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_organo" referencedTableName="organo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2685"> <addForeignKeyConstraint baseColumnNames="esercizio_padre,stato_padre,pg_contratto_padre" baseTableName="contratto" constraintName="fk_contratto10" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,stato,pg_contratto" referencedTableName="contratto"/> </changeSet> <changeSet author="sigla" id="1517416281033-2686"> <addForeignKeyConstraint baseColumnNames="fig_giur_est" baseTableName="contratto" constraintName="fk_contratto11" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2687"> <addForeignKeyConstraint baseColumnNames="cd_tipo_norma_perla" baseTableName="contratto" constraintName="fk_contratto12" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_norma" referencedTableName="tipo_norma_perla"/> </changeSet> <changeSet author="sigla" id="1517416281033-2688"> <addForeignKeyConstraint baseColumnNames="direttore" baseTableName="contratto" constraintName="fk_contratto13" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2689"> <addForeignKeyConstraint baseColumnNames="cd_cig" baseTableName="contratto" constraintName="fk_contratto14" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cig" referencedTableName="cig"/> </changeSet> <changeSet author="sigla" id="1517416281033-2690"> <addForeignKeyConstraint baseColumnNames="cd_cup" baseTableName="contratto" constraintName="fk_contratto15" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cup" referencedTableName="cup"/> </changeSet> <changeSet author="sigla" id="1517416281033-2691"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_compenso" baseTableName="contributo_ritenuta" constraintName="fk_contributo_ritenuta00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_compenso" referencedTableName="compenso"/> </changeSet> <changeSet author="sigla" id="1517416281033-2692"> <addForeignKeyConstraint baseColumnNames="cd_contributo_ritenuta,dt_ini_validita" baseTableName="contributo_ritenuta" constraintName="fk_contributo_ritenuta01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_contributo_ritenuta,dt_ini_validita" referencedTableName="tipo_contributo_ritenuta"/> </changeSet> <changeSet author="sigla" id="1517416281033-2693"> <addForeignKeyConstraint baseColumnNames="cd_cds_obbligazione,esercizio_obbligazione,esercizio_ori_obbligazione,pg_obbligazione,pg_obbligazione_scadenzario" baseTableName="contributo_ritenuta" constraintName="fk_contributo_ritenuta02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione,pg_obbligazione_scadenzario" referencedTableName="obbligazione_scadenzario"/> </changeSet> <changeSet author="sigla" id="1517416281033-2694"> <addForeignKeyConstraint baseColumnNames="cd_cds_accertamento,esercizio_accertamento,esercizio_ori_accertamento,pg_accertamento,pg_accertamento_scadenzario" baseTableName="contributo_ritenuta" constraintName="fk_contributo_ritenuta03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento,pg_accertamento_scadenzario" referencedTableName="accertamento_scadenzario"/> </changeSet> <changeSet author="sigla" id="1517416281033-2695"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_compenso,cd_contributo_ritenuta,ti_ente_percipiente" baseTableName="contributo_ritenuta_det" constraintName="fk_contributo_ritenuta_det00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_compenso,cd_contributo_ritenuta,ti_ente_percipiente" referencedTableName="contributo_ritenuta"/> </changeSet> <changeSet author="sigla" id="1517416281033-2696"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="controllo_accesso" constraintName="fk_controllo_accesso00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2697"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="controllo_accesso" constraintName="fk_controllo_accesso01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2698"> <addForeignKeyConstraint baseColumnNames="esercizio" baseTableName="controllo_accesso" constraintName="fk_controllo_accesso02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio" referencedTableName="esercizio_base"/> </changeSet> <changeSet author="sigla" id="1517416281033-2699"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="controllo_accesso_utente" constraintName="fk_controllo_accesso_utente00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="controllo_accesso"/> </changeSet> <changeSet author="sigla" id="1517416281033-2700"> <addForeignKeyConstraint baseColumnNames="cd_utente" baseTableName="controllo_accesso_utente" constraintName="fk_controllo_accesso_utente01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_utente" referencedTableName="utente"/> </changeSet> <changeSet author="sigla" id="1517416281033-2701"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="costo_del_dipendente" constraintName="fk_costo_del_dipendente00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2702"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="costo_del_dipendente" constraintName="fk_costo_del_dipendente01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-2703"> <addForeignKeyConstraint baseColumnNames="cd_anag" baseTableName="dichiarazione_intento" constraintName="fk_dichiarazione_intento00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_anag" referencedTableName="anagrafico"/> </changeSet> <changeSet author="sigla" id="1517416281033-2704"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="dipartimento" constraintName="fk_dipartimento00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2705"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="distinta_cassiere" constraintName="fk_distinta_cassiere00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2706"> <addForeignKeyConstraint baseColumnNames="cd_cds_origine,esercizio,pg_mandato" baseTableName="distinta_cassiere_det" constraintName="fk_distinta_cassiere_det00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_mandato" referencedTableName="mandato"/> </changeSet> <changeSet author="sigla" id="1517416281033-2707"> <addForeignKeyConstraint baseColumnNames="cd_cds_origine,esercizio,pg_reversale" baseTableName="distinta_cassiere_det" constraintName="fk_distinta_cassiere_det01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_reversale" referencedTableName="reversale"/> </changeSet> <changeSet author="sigla" id="1517416281033-2708"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,cd_unita_organizzativa,pg_distinta" baseTableName="distinta_cassiere_det" constraintName="fk_distinta_cassiere_det02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,cd_unita_organizzativa,pg_distinta" referencedTableName="distinta_cassiere"/> </changeSet> <changeSet author="sigla" id="1517416281033-2709"> <addForeignKeyConstraint baseColumnNames="id_paese,id_codice,identificativo_sdi,progressivo" baseTableName="documento_ele_linea" constraintName="fk_doc_ele_linea00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_paese,id_codice,identificativo_sdi,progressivo" referencedTableName="documento_ele_testata"/> </changeSet> <changeSet author="sigla" id="1517416281033-2710"> <addForeignKeyConstraint baseColumnNames="cd_bene_servizio" baseTableName="documento_ele_linea" constraintName="fk_doc_ele_linea01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_bene_servizio" referencedTableName="bene_servizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2711"> <addForeignKeyConstraint baseColumnNames="id_paese,id_codice,identificativo_sdi" baseTableName="documento_ele_testata" constraintName="fk_doc_ele_testata00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_paese,id_codice,identificativo_sdi" referencedTableName="documento_ele_trasmissione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2712"> <addForeignKeyConstraint baseColumnNames="pagamento_cd_terzo,pagamento_cd_modalita_pag" baseTableName="documento_ele_testata" constraintName="fk_doc_ele_testata01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_modalita_pag" referencedTableName="modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2713"> <addForeignKeyConstraint baseColumnNames="cd_unita_competenza" baseTableName="documento_ele_testata" constraintName="fk_doc_ele_testata02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2714"> <addForeignKeyConstraint baseColumnNames="prestatore_cd_terzo" baseTableName="documento_ele_trasmissione" constraintName="fk_doc_ele_trasmissione00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2715"> <addForeignKeyConstraint baseColumnNames="prestatore_cd_anag" baseTableName="documento_ele_trasmissione" constraintName="fk_doc_ele_trasmissione01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_anag" referencedTableName="anagrafico"/> </changeSet> <changeSet author="sigla" id="1517416281033-2716"> <addForeignKeyConstraint baseColumnNames="rappresentante_cd_terzo" baseTableName="documento_ele_trasmissione" constraintName="fk_doc_ele_trasmissione02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2717"> <addForeignKeyConstraint baseColumnNames="rappresentante_cd_anag" baseTableName="documento_ele_trasmissione" constraintName="fk_doc_ele_trasmissione03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_anag" referencedTableName="anagrafico"/> </changeSet> <changeSet author="sigla" id="1517416281033-2718"> <addForeignKeyConstraint baseColumnNames="committente_cd_terzo" baseTableName="documento_ele_trasmissione" constraintName="fk_doc_ele_trasmissione04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2719"> <addForeignKeyConstraint baseColumnNames="intermediario_cd_terzo" baseTableName="documento_ele_trasmissione" constraintName="fk_doc_ele_trasmissione05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2720"> <addForeignKeyConstraint baseColumnNames="intermediario_cd_anag" baseTableName="documento_ele_trasmissione" constraintName="fk_doc_ele_trasmissione6" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_anag" referencedTableName="anagrafico"/> </changeSet> <changeSet author="sigla" id="1517416281033-2721"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="documento_ele_trasmissione" constraintName="fk_doc_ele_trasmissione7" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2722"> <addForeignKeyConstraint baseColumnNames="id_paese,id_codice,identificativo_sdi,progressivo" baseTableName="documento_ele_acquisto" constraintName="fk_documento_ele_acquisto00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_paese,id_codice,identificativo_sdi,progressivo" referencedTableName="documento_ele_testata"/> </changeSet> <changeSet author="sigla" id="1517416281033-2723"> <addForeignKeyConstraint baseColumnNames="id_paese,id_codice,identificativo_sdi,progressivo" baseTableName="documento_ele_allegati" constraintName="fk_documento_ele_allegati00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_paese,id_codice,identificativo_sdi,progressivo" referencedTableName="documento_ele_testata"/> </changeSet> <changeSet author="sigla" id="1517416281033-2724"> <addForeignKeyConstraint baseColumnNames="id_paese,id_codice,identificativo_sdi,progressivo" baseTableName="documento_ele_ddt" constraintName="fk_documento_ele_ddt00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_paese,id_codice,identificativo_sdi,progressivo" referencedTableName="documento_ele_testata"/> </changeSet> <changeSet author="sigla" id="1517416281033-2725"> <addForeignKeyConstraint baseColumnNames="id_paese,id_codice,identificativo_sdi,progressivo" baseTableName="documento_ele_iva" constraintName="fk_documento_ele_iva00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_paese,id_codice,identificativo_sdi,progressivo" referencedTableName="documento_ele_testata"/> </changeSet> <changeSet author="sigla" id="1517416281033-2726"> <addForeignKeyConstraint baseColumnNames="cd_voce_iva" baseTableName="documento_ele_iva" constraintName="fk_documento_ele_iva01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_voce_iva" referencedTableName="voce_iva"/> </changeSet> <changeSet author="sigla" id="1517416281033-2727"> <addForeignKeyConstraint baseColumnNames="id_paese,id_codice,identificativo_sdi,progressivo" baseTableName="documento_ele_sconto_magg" constraintName="fk_documento_ele_sconto_magg00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_paese,id_codice,identificativo_sdi,progressivo" referencedTableName="documento_ele_testata"/> </changeSet> <changeSet author="sigla" id="1517416281033-2728"> <addForeignKeyConstraint baseColumnNames="id_paese,id_codice,identificativo_sdi,progressivo" baseTableName="documento_ele_tributi" constraintName="fk_documento_ele_tributi00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_paese,id_codice,identificativo_sdi,progressivo" referencedTableName="documento_ele_testata"/> </changeSet> <changeSet author="sigla" id="1517416281033-2729"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_unita_organizzativa,esercizio,cd_tipo_documento_amm" baseTableName="documento_generico" constraintName="fk_documento_generico00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,cd_tipo_documento_amm" referencedTableName="numerazione_doc_amm"/> </changeSet> <changeSet author="sigla" id="1517416281033-2730"> <addForeignKeyConstraint baseColumnNames="cd_cds_origine" baseTableName="documento_generico" constraintName="fk_documento_generico01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2731"> <addForeignKeyConstraint baseColumnNames="cd_uo_origine" baseTableName="documento_generico" constraintName="fk_documento_generico02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2732"> <addForeignKeyConstraint baseColumnNames="cd_divisa" baseTableName="documento_generico" constraintName="fk_documento_generico03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_divisa" referencedTableName="divisa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2733"> <addForeignKeyConstraint baseColumnNames="cd_tipo_documento_amm" baseTableName="documento_generico" constraintName="fk_documento_generico05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_documento_amm" referencedTableName="tipo_documento_amm"/> </changeSet> <changeSet author="sigla" id="1517416281033-2734"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_unita_organizzativa,esercizio,cd_tipo_documento_amm,pg_documento_generico" baseTableName="documento_generico_riga" constraintName="fk_documento_generico_riga00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,cd_tipo_documento_amm,pg_documento_generico" referencedTableName="documento_generico"/> </changeSet> <changeSet author="sigla" id="1517416281033-2735"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="documento_generico_riga" constraintName="fk_documento_generico_riga01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2736"> <addForeignKeyConstraint baseColumnNames="cd_terzo,pg_banca" baseTableName="documento_generico_riga" constraintName="fk_documento_generico_riga02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,pg_banca" referencedTableName="banca"/> </changeSet> <changeSet author="sigla" id="1517416281033-2737"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_modalita_pag" baseTableName="documento_generico_riga" constraintName="fk_documento_generico_riga03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_modalita_pag" referencedTableName="modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2738"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_termini_pag" baseTableName="documento_generico_riga" constraintName="fk_documento_generico_riga04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_termini_pag" referencedTableName="termini_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2739"> <addForeignKeyConstraint baseColumnNames="cd_cds_obbligazione,esercizio_obbligazione,esercizio_ori_obbligazione,pg_obbligazione,pg_obbligazione_scadenzario" baseTableName="documento_generico_riga" constraintName="fk_documento_generico_riga05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione,pg_obbligazione_scadenzario" referencedTableName="obbligazione_scadenzario"/> </changeSet> <changeSet author="sigla" id="1517416281033-2740"> <addForeignKeyConstraint baseColumnNames="cd_cds_accertamento,esercizio_accertamento,esercizio_ori_accertamento,pg_accertamento,pg_accertamento_scadenzario" baseTableName="documento_generico_riga" constraintName="fk_documento_generico_riga06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento,pg_accertamento_scadenzario" referencedTableName="accertamento_scadenzario"/> </changeSet> <changeSet author="sigla" id="1517416281033-2741"> <addForeignKeyConstraint baseColumnNames="cd_terzo_uo_cds,cd_termini_pag_uo_cds" baseTableName="documento_generico_riga" constraintName="fk_documento_generico_riga07" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_termini_pag" referencedTableName="termini_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2742"> <addForeignKeyConstraint baseColumnNames="cd_terzo_uo_cds,pg_banca_uo_cds" baseTableName="documento_generico_riga" constraintName="fk_documento_generico_riga08" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,pg_banca" referencedTableName="banca"/> </changeSet> <changeSet author="sigla" id="1517416281033-2743"> <addForeignKeyConstraint baseColumnNames="cd_terzo_uo_cds,cd_modalita_pag_uo_cds" baseTableName="documento_generico_riga" constraintName="fk_documento_generico_riga09" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_modalita_pag" referencedTableName="modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2744"> <addForeignKeyConstraint baseColumnNames="cd_dominio" baseTableName="dominio_tabella" constraintName="fk_dominio_tabella00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_dominio" referencedTableName="dominio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2745"> <addForeignKeyConstraint baseColumnNames="cd_capoconto_fin" baseTableName="elemento_voce" constraintName="fk_elemento_voce00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_capoconto_fin" referencedTableName="capoconto_fin"/> </changeSet> <changeSet author="sigla" id="1517416281033-2746"> <addForeignKeyConstraint baseColumnNames="esercizio_cla_e,cod_cla_e" baseTableName="elemento_voce" constraintName="fk_elemento_voce_cla_ent" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,codice_cla_e" referencedTableName="classificazione_entrate"/> </changeSet> <changeSet author="sigla" id="1517416281033-2747"> <addForeignKeyConstraint baseColumnNames="esercizio_cla_s,cod_cla_s" baseTableName="elemento_voce" constraintName="fk_elemento_voce_cla_spe" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,codice_cla_s" referencedTableName="classificazione_spese"/> </changeSet> <changeSet author="sigla" id="1517416281033-2748"> <addForeignKeyConstraint baseColumnNames="id_classificazione" baseTableName="elemento_voce" constraintName="fk_elemento_voce_cla_voci" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_classificazione" referencedTableName="classificazione_voci"/> </changeSet> <changeSet author="sigla" id="1517416281033-2749"> <addForeignKeyConstraint baseColumnNames="cd_tipo_spesa_ist" baseTableName="elemento_voce" constraintName="fk_elemento_voce_spesa_ist" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_spesa" referencedTableName="tipo_spesa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2750"> <addForeignKeyConstraint baseColumnNames="cd_tipo_spesa_sac" baseTableName="elemento_voce" constraintName="fk_elemento_voce_spesa_sac" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_spesa" referencedTableName="tipo_spesa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2751"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="esercizio" constraintName="fk_esercizio00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2752"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_magazzino,esercizio,cd_numeratore_mag" baseTableName="evasione_ordine" constraintName="fk_evasione_ordine00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_magazzino,esercizio,cd_numeratore_mag" referencedTableName="numerazione_mag"/> </changeSet> <changeSet author="sigla" id="1517416281033-2753"> <addForeignKeyConstraint baseColumnNames="cd_cds_ordine,cd_unita_operativa,esercizio_ordine,cd_numeratore_ordine,numero_ordine,riga_ordine,consegna" baseTableName="evasione_ordine_riga" constraintName="fk_evasione_ordine_riga00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_operativa,esercizio,cd_numeratore,numero,riga,consegna" referencedTableName="ordine_acq_consegna"/> </changeSet> <changeSet author="sigla" id="1517416281033-2754"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_magazzino,esercizio,cd_numeratore_mag,numero" baseTableName="evasione_ordine_riga" constraintName="fk_evasione_ordine_riga01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_magazzino,esercizio,cd_numeratore_mag,numero" referencedTableName="evasione_ordine"/> </changeSet> <changeSet author="sigla" id="1517416281033-2755"> <addForeignKeyConstraint baseColumnNames="cd_utente" baseTableName="excel_blob" constraintName="fk_excel_blob00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_utente" referencedTableName="utente"/> </changeSet> <changeSet author="sigla" id="1517416281033-2756"> <addForeignKeyConstraint baseColumnNames="pg_estrazione,pg_column" baseTableName="excel_spooler_param_column" constraintName="fk_excel_param_column00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="pg_estrazione,pg_column" referencedTableName="excel_spooler_param"/> </changeSet> <changeSet author="sigla" id="1517416281033-2757"> <addForeignKeyConstraint baseColumnNames="pg_estrazione" baseTableName="excel_spooler_param" constraintName="fk_excel_spooler_param00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="pg_estrazione" referencedTableName="excel_spooler"/> </changeSet> <changeSet author="sigla" id="1517416281033-2758"> <addForeignKeyConstraint baseColumnNames="esercizio" baseTableName="ext_cassiere00" constraintName="fk_ext_cassiere00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio" referencedTableName="esercizio_base"/> </changeSet> <changeSet author="sigla" id="1517416281033-2759"> <addForeignKeyConstraint baseColumnNames="cd_cds_sr,esercizio_sr,ti_entrata_spesa_sr,ti_sospeso_riscontro_sr,cd_sr" baseTableName="ext_cassiere00" constraintName="fk_ext_cassiere0001" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,ti_entrata_spesa,ti_sospeso_riscontro,cd_sospeso" referencedTableName="sospeso"/> </changeSet> <changeSet author="sigla" id="1517416281033-2760"> <addForeignKeyConstraint baseColumnNames="esercizio" baseTableName="ext_cassiere00_scarti" constraintName="fk_ext_cassiere00_scarti" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio" referencedTableName="esercizio_base"/> </changeSet> <changeSet author="sigla" id="1517416281033-2761"> <addForeignKeyConstraint baseColumnNames="cd_cds_sr,esercizio_sr,ti_entrata_spesa_sr,ti_sospeso_riscontro_sr,cd_sr" baseTableName="ext_cassiere00_scarti" constraintName="fk_ext_cassiere00_scarti01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,ti_entrata_spesa,ti_sospeso_riscontro,cd_sospeso" referencedTableName="sospeso"/> </changeSet> <changeSet author="sigla" id="1517416281033-2762"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="ext_cassiere_cds" constraintName="fk_ext_cassiere_cds" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2763"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="fattura_attiva" constraintName="fk_fattura_attiva00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2764"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="fattura_attiva" constraintName="fk_fattura_attiva01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2765"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="fattura_attiva" constraintName="fk_fattura_attiva02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2766"> <addForeignKeyConstraint baseColumnNames="cd_cds_origine,cd_uo_origine,esercizio,cd_tipo_sezionale,ti_fattura" baseTableName="fattura_attiva" constraintName="fk_fattura_attiva03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,cd_tipo_sezionale,ti_fattura" referencedTableName="sezionale"/> </changeSet> <changeSet author="sigla" id="1517416281033-2767"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="fattura_attiva" constraintName="fk_fattura_attiva04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2768"> <addForeignKeyConstraint baseColumnNames="cd_terzo_uo_cds" baseTableName="fattura_attiva" constraintName="fk_fattura_attiva05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2769"> <addForeignKeyConstraint baseColumnNames="cd_terzo_uo_cds,cd_termini_pag_uo_cds" baseTableName="fattura_attiva" constraintName="fk_fattura_attiva06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_termini_pag" referencedTableName="termini_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2770"> <addForeignKeyConstraint baseColumnNames="cd_terzo_uo_cds,pg_banca_uo_cds" baseTableName="fattura_attiva" constraintName="fk_fattura_attiva07" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,pg_banca" referencedTableName="banca"/> </changeSet> <changeSet author="sigla" id="1517416281033-2771"> <addForeignKeyConstraint baseColumnNames="cd_terzo_uo_cds,cd_modalita_pag_uo_cds" baseTableName="fattura_attiva" constraintName="fk_fattura_attiva08" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_modalita_pag" referencedTableName="modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2772"> <addForeignKeyConstraint baseColumnNames="cd_divisa" baseTableName="fattura_attiva" constraintName="fk_fattura_attiva09" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_divisa" referencedTableName="divisa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2773"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_termini_pag" baseTableName="fattura_attiva" constraintName="fk_fattura_attiva10" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_termini_pag" referencedTableName="termini_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2774"> <addForeignKeyConstraint baseColumnNames="cd_terzo,pg_banca" baseTableName="fattura_attiva" constraintName="fk_fattura_attiva11" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,pg_banca" referencedTableName="banca"/> </changeSet> <changeSet author="sigla" id="1517416281033-2775"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_modalita_pag" baseTableName="fattura_attiva" constraintName="fk_fattura_attiva12" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_modalita_pag" referencedTableName="modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2776"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_fattura_attiva" baseTableName="fattura_attiva_intra" constraintName="fk_fattura_attiva_intra00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_fattura_attiva" referencedTableName="fattura_attiva"/> </changeSet> <changeSet author="sigla" id="1517416281033-2777"> <addForeignKeyConstraint baseColumnNames="id_natura_transazione" baseTableName="fattura_attiva_intra" constraintName="fk_fattura_attiva_intra01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_natura_transazione" referencedTableName="natura_transazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2778"> <addForeignKeyConstraint baseColumnNames="id_nomenclatura_combinata" baseTableName="fattura_attiva_intra" constraintName="fk_fattura_attiva_intra02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_nomenclatura_combinata" referencedTableName="nomenclatura_combinata"/> </changeSet> <changeSet author="sigla" id="1517416281033-2779"> <addForeignKeyConstraint baseColumnNames="esercizio_cond_consegna,cd_incoterm" baseTableName="fattura_attiva_intra" constraintName="fk_fattura_attiva_intra03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_incoterm" referencedTableName="condizione_consegna"/> </changeSet> <changeSet author="sigla" id="1517416281033-2780"> <addForeignKeyConstraint baseColumnNames="esercizio_mod_trasporto,cd_modalita_trasporto" baseTableName="fattura_attiva_intra" constraintName="fk_fattura_attiva_intra04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_modalita_trasporto" referencedTableName="modalita_trasporto"/> </changeSet> <changeSet author="sigla" id="1517416281033-2781"> <addForeignKeyConstraint baseColumnNames="pg_nazione_destinazione" baseTableName="fattura_attiva_intra" constraintName="fk_fattura_attiva_intra05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_nazione" referencedTableName="nazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2782"> <addForeignKeyConstraint baseColumnNames="cd_provincia_origine" baseTableName="fattura_attiva_intra" constraintName="fk_fattura_attiva_intra06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_provincia" referencedTableName="provincia"/> </changeSet> <changeSet author="sigla" id="1517416281033-2783"> <addForeignKeyConstraint baseColumnNames="id_cpa" baseTableName="fattura_attiva_intra" constraintName="fk_fattura_attiva_intra07" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_cpa" referencedTableName="codici_cpa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2784"> <addForeignKeyConstraint baseColumnNames="esercizio_mod_incasso,cd_modalita_incasso" baseTableName="fattura_attiva_intra" constraintName="fk_fattura_attiva_intra08" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_modalita_incasso" referencedTableName="modalita_incasso"/> </changeSet> <changeSet author="sigla" id="1517416281033-2785"> <addForeignKeyConstraint baseColumnNames="esercizio_mod_erogazione,cd_modalita_erogazione" baseTableName="fattura_attiva_intra" constraintName="fk_fattura_attiva_intra09" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_modalita_erogazione" referencedTableName="modalita_erogazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2786"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_fattura_attiva" baseTableName="fattura_attiva_riga" constraintName="fk_fattura_attiva_riga00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_fattura_attiva" referencedTableName="fattura_attiva"/> </changeSet> <changeSet author="sigla" id="1517416281033-2787"> <addForeignKeyConstraint baseColumnNames="cd_bene_servizio" baseTableName="fattura_attiva_riga" constraintName="fk_fattura_attiva_riga01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_bene_servizio" referencedTableName="bene_servizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2788"> <addForeignKeyConstraint baseColumnNames="cd_voce_iva" baseTableName="fattura_attiva_riga" constraintName="fk_fattura_attiva_riga02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_voce_iva" referencedTableName="voce_iva"/> </changeSet> <changeSet author="sigla" id="1517416281033-2789"> <addForeignKeyConstraint baseColumnNames="cd_cds_accertamento,esercizio_accertamento,esercizio_ori_accertamento,pg_accertamento,pg_accertamento_scadenzario" baseTableName="fattura_attiva_riga" constraintName="fk_fattura_attiva_riga03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento,pg_accertamento_scadenzario" referencedTableName="accertamento_scadenzario"/> </changeSet> <changeSet author="sigla" id="1517416281033-2790"> <addForeignKeyConstraint baseColumnNames="cd_cds_obbligazione,esercizio_obbligazione,esercizio_ori_obbligazione,pg_obbligazione,pg_obbligazione_scadenzario" baseTableName="fattura_attiva_riga" constraintName="fk_fattura_attiva_riga04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione,pg_obbligazione_scadenzario" referencedTableName="obbligazione_scadenzario"/> </changeSet> <changeSet author="sigla" id="1517416281033-2791"> <addForeignKeyConstraint baseColumnNames="cd_cds_ordine,cd_unita_operativa,esercizio_ordine,cd_numeratore,numero,riga,consegna" baseTableName="fattura_ordine" constraintName="fk_fattura_ordine00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_operativa,esercizio,cd_numeratore,numero,riga,consegna" referencedTableName="ordine_acq_consegna"/> </changeSet> <changeSet author="sigla" id="1517416281033-2792"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_fattura_passiva,progressivo_riga" baseTableName="fattura_ordine" constraintName="fk_fattura_ordine01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_fattura_passiva,progressivo_riga" referencedTableName="fattura_passiva_riga"/> </changeSet> <changeSet author="sigla" id="1517416281033-2793"> <addForeignKeyConstraint baseColumnNames="cd_voce_iva_rett" baseTableName="fattura_ordine" constraintName="fk_fattura_ordine02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_voce_iva" referencedTableName="voce_iva"/> </changeSet> <changeSet author="sigla" id="1517416281033-2794"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="fattura_passiva" constraintName="fk_fattura_passiva00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2795"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="fattura_passiva" constraintName="fk_fattura_passiva01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2796"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="fattura_passiva" constraintName="fk_fattura_passiva02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2797"> <addForeignKeyConstraint baseColumnNames="cd_cds_origine,cd_uo_origine,esercizio,cd_tipo_sezionale,ti_fattura" baseTableName="fattura_passiva" constraintName="fk_fattura_passiva03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,cd_tipo_sezionale,ti_fattura" referencedTableName="sezionale"/> </changeSet> <changeSet author="sigla" id="1517416281033-2798"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="fattura_passiva" constraintName="fk_fattura_passiva04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2799"> <addForeignKeyConstraint baseColumnNames="cd_divisa" baseTableName="fattura_passiva" constraintName="fk_fattura_passiva05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_divisa" referencedTableName="divisa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2800"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_termini_pag" baseTableName="fattura_passiva" constraintName="fk_fattura_passiva06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_termini_pag" referencedTableName="termini_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2801"> <addForeignKeyConstraint baseColumnNames="cd_terzo,pg_banca" baseTableName="fattura_passiva" constraintName="fk_fattura_passiva07" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,pg_banca" referencedTableName="banca"/> </changeSet> <changeSet author="sigla" id="1517416281033-2802"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_modalita_pag" baseTableName="fattura_passiva" constraintName="fk_fattura_passiva08" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_modalita_pag" referencedTableName="modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2803"> <addForeignKeyConstraint baseColumnNames="cd_terzo_uo_cds,cd_termini_pag_uo_cds" baseTableName="fattura_passiva" constraintName="fk_fattura_passiva10" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_termini_pag" referencedTableName="termini_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2804"> <addForeignKeyConstraint baseColumnNames="cd_terzo_uo_cds,pg_banca_uo_cds" baseTableName="fattura_passiva" constraintName="fk_fattura_passiva11" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,pg_banca" referencedTableName="banca"/> </changeSet> <changeSet author="sigla" id="1517416281033-2805"> <addForeignKeyConstraint baseColumnNames="cd_terzo_uo_cds,cd_modalita_pag_uo_cds" baseTableName="fattura_passiva" constraintName="fk_fattura_passiva12" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_modalita_pag" referencedTableName="modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2806"> <addForeignKeyConstraint baseColumnNames="cds_compenso,uo_compenso,esercizio_compenso,pg_compenso" baseTableName="fattura_passiva" constraintName="fk_fattura_passiva13" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_compenso" referencedTableName="compenso"/> </changeSet> <changeSet author="sigla" id="1517416281033-2807"> <addForeignKeyConstraint baseColumnNames="id_paese,id_codice,identificativo_sdi,progressivo" baseTableName="fattura_passiva" constraintName="fk_fattura_passiva99" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_paese,id_codice,identificativo_sdi,progressivo" referencedTableName="documento_ele_testata"/> </changeSet> <changeSet author="sigla" id="1517416281033-2808"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_fattura_passiva" baseTableName="fattura_passiva_intra" constraintName="fk_fattura_passiva_intra00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_fattura_passiva" referencedTableName="fattura_passiva"/> </changeSet> <changeSet author="sigla" id="1517416281033-2809"> <addForeignKeyConstraint baseColumnNames="id_natura_transazione" baseTableName="fattura_passiva_intra" constraintName="fk_fattura_passiva_intra01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_natura_transazione" referencedTableName="natura_transazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2810"> <addForeignKeyConstraint baseColumnNames="id_nomenclatura_combinata" baseTableName="fattura_passiva_intra" constraintName="fk_fattura_passiva_intra02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_nomenclatura_combinata" referencedTableName="nomenclatura_combinata"/> </changeSet> <changeSet author="sigla" id="1517416281033-2811"> <addForeignKeyConstraint baseColumnNames="esercizio_cond_consegna,cd_incoterm" baseTableName="fattura_passiva_intra" constraintName="fk_fattura_passiva_intra03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_incoterm" referencedTableName="condizione_consegna"/> </changeSet> <changeSet author="sigla" id="1517416281033-2812"> <addForeignKeyConstraint baseColumnNames="esercizio_mod_trasporto,cd_modalita_trasporto" baseTableName="fattura_passiva_intra" constraintName="fk_fattura_passiva_intra04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_modalita_trasporto" referencedTableName="modalita_trasporto"/> </changeSet> <changeSet author="sigla" id="1517416281033-2813"> <addForeignKeyConstraint baseColumnNames="pg_nazione_origine" baseTableName="fattura_passiva_intra" constraintName="fk_fattura_passiva_intra06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_nazione" referencedTableName="nazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2814"> <addForeignKeyConstraint baseColumnNames="cd_provincia_destinazione" baseTableName="fattura_passiva_intra" constraintName="fk_fattura_passiva_intra07" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_provincia" referencedTableName="provincia"/> </changeSet> <changeSet author="sigla" id="1517416281033-2815"> <addForeignKeyConstraint baseColumnNames="id_cpa" baseTableName="fattura_passiva_intra" constraintName="fk_fattura_passiva_intra08" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_cpa" referencedTableName="codici_cpa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2816"> <addForeignKeyConstraint baseColumnNames="esercizio_mod_incasso,cd_modalita_incasso" baseTableName="fattura_passiva_intra" constraintName="fk_fattura_passiva_intra09" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_modalita_incasso" referencedTableName="modalita_incasso"/> </changeSet> <changeSet author="sigla" id="1517416281033-2817"> <addForeignKeyConstraint baseColumnNames="esercizio_mod_erogazione,cd_modalita_erogazione" baseTableName="fattura_passiva_intra" constraintName="fk_fattura_passiva_intra10" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_modalita_erogazione" referencedTableName="modalita_erogazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2818"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_fattura_passiva" baseTableName="fattura_passiva_riga" constraintName="fk_fattura_passiva_riga00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_fattura_passiva" referencedTableName="fattura_passiva"/> </changeSet> <changeSet author="sigla" id="1517416281033-2819"> <addForeignKeyConstraint baseColumnNames="cd_bene_servizio" baseTableName="fattura_passiva_riga" constraintName="fk_fattura_passiva_riga01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_bene_servizio" referencedTableName="bene_servizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2820"> <addForeignKeyConstraint baseColumnNames="cd_voce_iva" baseTableName="fattura_passiva_riga" constraintName="fk_fattura_passiva_riga02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_voce_iva" referencedTableName="voce_iva"/> </changeSet> <changeSet author="sigla" id="1517416281033-2821"> <addForeignKeyConstraint baseColumnNames="cd_cds_obbligazione,esercizio_obbligazione,esercizio_ori_obbligazione,pg_obbligazione,pg_obbligazione_scadenzario" baseTableName="fattura_passiva_riga" constraintName="fk_fattura_passiva_riga03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione,pg_obbligazione_scadenzario" referencedTableName="obbligazione_scadenzario"/> </changeSet> <changeSet author="sigla" id="1517416281033-2822"> <addForeignKeyConstraint baseColumnNames="cd_cds_accertamento,esercizio_accertamento,esercizio_ori_accertamento,pg_accertamento,pg_accertamento_scadenzario" baseTableName="fattura_passiva_riga" constraintName="fk_fattura_passiva_riga04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento,pg_accertamento_scadenzario" referencedTableName="accertamento_scadenzario"/> </changeSet> <changeSet author="sigla" id="1517416281033-2823"> <addForeignKeyConstraint baseColumnNames="pg_nazione_provenienza" baseTableName="fattura_passiva_intra" constraintName="fk_fattura_passiva_riga05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_nazione" referencedTableName="nazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2824"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="fattura_passiva_riga" constraintName="fk_fattura_passiva_riga07" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2825"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_termini_pag" baseTableName="fattura_passiva_riga" constraintName="fk_fattura_passiva_riga08" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_termini_pag" referencedTableName="termini_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2826"> <addForeignKeyConstraint baseColumnNames="cd_terzo,pg_banca" baseTableName="fattura_passiva_riga" constraintName="fk_fattura_passiva_riga09" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,pg_banca" referencedTableName="banca"/> </changeSet> <changeSet author="sigla" id="1517416281033-2827"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_modalita_pag" baseTableName="fattura_passiva_riga" constraintName="fk_fattura_passiva_riga10" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_modalita_pag" referencedTableName="modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2828"> <addForeignKeyConstraint baseColumnNames="cd_fondo" baseTableName="fondo_assegnatario" constraintName="fk_fondo_assegnatario00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_fondo" referencedTableName="fondo_attivita_vincolata"/> </changeSet> <changeSet author="sigla" id="1517416281033-2829"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="fondo_assegnatario" constraintName="fk_fondo_assegnatario01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2830"> <addForeignKeyConstraint baseColumnNames="cd_responsabile_terzo" baseTableName="fondo_assegnatario" constraintName="fk_fondo_assegnatario02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2831"> <addForeignKeyConstraint baseColumnNames="cd_responsabile_terzo" baseTableName="fondo_attivita_vincolata" constraintName="fk_fondo_attivita_vincolata00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2832"> <addForeignKeyConstraint baseColumnNames="cd_tipo_fondo" baseTableName="fondo_attivita_vincolata" constraintName="fk_fondo_attivita_vincolata01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_fondo" referencedTableName="tipo_fondo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2833"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="fondo_attivita_vincolata" constraintName="fk_fondo_attivita_vincolata02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2834"> <addForeignKeyConstraint baseColumnNames="cd_divisa" baseTableName="fondo_attivita_vincolata" constraintName="fk_fondo_attivita_vincolata03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_divisa" referencedTableName="divisa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2835"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="fondo_economale" constraintName="fk_fondo_economale00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2836"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="fondo_economale" constraintName="fk_fondo_economale01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2837"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,pg_mandato" baseTableName="fondo_economale" constraintName="fk_fondo_economale02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_mandato" referencedTableName="mandato"/> </changeSet> <changeSet author="sigla" id="1517416281033-2838"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio_reversale,pg_reversale" baseTableName="fondo_economale" constraintName="fk_fondo_economale03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_reversale" referencedTableName="reversale"/> </changeSet> <changeSet author="sigla" id="1517416281033-2839"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="fondo_economale" constraintName="fk_fondo_economale04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2840"> <addForeignKeyConstraint baseColumnNames="cd_cds_sospeso,esercizio_reversale,ti_es_sospeso,ti_sr_sospeso,cd_sospeso" baseTableName="fondo_economale" constraintName="fk_fondo_economale05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,ti_entrata_spesa,ti_sospeso_riscontro,cd_sospeso" referencedTableName="sospeso"/> </changeSet> <changeSet author="sigla" id="1517416281033-2841"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,cd_unita_organizzativa,cd_codice_fondo" baseTableName="fondo_spesa" constraintName="fk_fondo_spesa00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,cd_unita_organizzativa,cd_codice_fondo" referencedTableName="fondo_economale"/> </changeSet> <changeSet author="sigla" id="1517416281033-2842"> <addForeignKeyConstraint baseColumnNames="pg_comune" baseTableName="fondo_spesa" constraintName="fk_fondo_spesa01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_comune" referencedTableName="comune"/> </changeSet> <changeSet author="sigla" id="1517416281033-2843"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="fondo_spesa" constraintName="fk_fondo_spesa02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2844"> <addForeignKeyConstraint baseColumnNames="cd_cds_obbligazione,esercizio_obbligazione,esercizio_ori_obbligazione,pg_obbligazione,pg_obbligazione_scadenzario" baseTableName="fondo_spesa" constraintName="fk_fondo_spesa03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione,pg_obbligazione_scadenzario" referencedTableName="obbligazione_scadenzario"/> </changeSet> <changeSet author="sigla" id="1517416281033-2845"> <addForeignKeyConstraint baseColumnNames="cd_cds_mandato,esercizio_mandato,pg_mandato" baseTableName="fondo_spesa" constraintName="fk_fondo_spesa04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_mandato" referencedTableName="mandato"/> </changeSet> <changeSet author="sigla" id="1517416281033-2846"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_gruppo_cr" baseTableName="gruppo_cr_det" constraintName="fk_gruppo_cr_det00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_gruppo_cr" referencedTableName="gruppo_cr"/> </changeSet> <changeSet author="sigla" id="1517416281033-2847"> <addForeignKeyConstraint baseColumnNames="cd_terzo_versamento,cd_modalita_pagamento" baseTableName="gruppo_cr_det" constraintName="fk_gruppo_cr_det01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_modalita_pag" referencedTableName="modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2848"> <addForeignKeyConstraint baseColumnNames="cd_regione" baseTableName="gruppo_cr_det" constraintName="fk_gruppo_cr_det02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_regione" referencedTableName="regione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2849"> <addForeignKeyConstraint baseColumnNames="pg_comune" baseTableName="gruppo_cr_det" constraintName="fk_gruppo_cr_det03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_comune" referencedTableName="comune"/> </changeSet> <changeSet author="sigla" id="1517416281033-2850"> <addForeignKeyConstraint baseColumnNames="cd_terzo_versamento,pg_banca" baseTableName="gruppo_cr_det" constraintName="fk_gruppo_cr_det04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,pg_banca" referencedTableName="banca"/> </changeSet> <changeSet author="sigla" id="1517416281033-2851"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_gruppo_cr" baseTableName="gruppo_cr_uo" constraintName="fk_gruppo_cr_uo00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_gruppo_cr" referencedTableName="gruppo_cr"/> </changeSet> <changeSet author="sigla" id="1517416281033-2852"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="gruppo_cr_uo" constraintName="fk_gruppo_cr_uo01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2853"> <addForeignKeyConstraint baseColumnNames="cd_piano_gruppi" baseTableName="gruppo_ep" constraintName="fk_gruppo_ep00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_piano_gruppi" referencedTableName="piano_gruppi_ep"/> </changeSet> <changeSet author="sigla" id="1517416281033-2854"> <addForeignKeyConstraint baseColumnNames="esercizio_repertorio,pg_repertorio,tipo_record,pg_record" baseTableName="incarichi_comunicati_fp_det" constraintName="fk_incarichi_comunicatifpdet01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio_repertorio,pg_repertorio,tipo_record,pg_record" referencedTableName="incarichi_comunicati_fp"/> </changeSet> <changeSet author="sigla" id="1517416281033-2855"> <addForeignKeyConstraint baseColumnNames="cd_gruppo_file" baseTableName="incarichi_parametri" constraintName="fk_incarichi_parametri01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_gruppo_file" referencedTableName="gruppo_file"/> </changeSet> <changeSet author="sigla" id="1517416281033-2856"> <addForeignKeyConstraint baseColumnNames="cd_proc_amm" baseTableName="incarichi_parametri_config" constraintName="fk_incarichi_parametri_conf01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_proc_amm" referencedTableName="procedure_amministrative"/> </changeSet> <changeSet author="sigla" id="1517416281033-2857"> <addForeignKeyConstraint baseColumnNames="cd_tipo_incarico" baseTableName="incarichi_parametri_config" constraintName="fk_incarichi_parametri_conf02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_incarico" referencedTableName="tipo_incarico"/> </changeSet> <changeSet author="sigla" id="1517416281033-2858"> <addForeignKeyConstraint baseColumnNames="cd_tipo_attivita" baseTableName="incarichi_parametri_config" constraintName="fk_incarichi_parametri_conf03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_attivita" referencedTableName="tipo_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-2859"> <addForeignKeyConstraint baseColumnNames="cd_parametri" baseTableName="incarichi_parametri_config" constraintName="fk_incarichi_parametri_conf04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_parametri" referencedTableName="incarichi_parametri"/> </changeSet> <changeSet author="sigla" id="1517416281033-2860"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="incarichi_procedura" constraintName="fk_incarichi_procedura00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2861"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="incarichi_procedura" constraintName="fk_incarichi_procedura01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2862"> <addForeignKeyConstraint baseColumnNames="esercizio_richiesta,pg_richiesta" baseTableName="incarichi_procedura" constraintName="fk_incarichi_procedura02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_richiesta" referencedTableName="incarichi_richiesta"/> </changeSet> <changeSet author="sigla" id="1517416281033-2863"> <addForeignKeyConstraint baseColumnNames="cd_terzo_resp" baseTableName="incarichi_procedura" constraintName="fk_incarichi_procedura04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2864"> <addForeignKeyConstraint baseColumnNames="cd_firmatario" baseTableName="incarichi_procedura" constraintName="fk_incarichi_procedura05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2865"> <addForeignKeyConstraint baseColumnNames="cd_proc_amm" baseTableName="incarichi_procedura" constraintName="fk_incarichi_procedura06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_proc_amm" referencedTableName="procedure_amministrative"/> </changeSet> <changeSet author="sigla" id="1517416281033-2866"> <addForeignKeyConstraint baseColumnNames="cd_tipo_atto" baseTableName="incarichi_procedura" constraintName="fk_incarichi_procedura07" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_atto" referencedTableName="tipo_atto_amministrativo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2867"> <addForeignKeyConstraint baseColumnNames="pg_comune" baseTableName="incarichi_procedura" constraintName="fk_incarichi_procedura09" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_comune" referencedTableName="comune"/> </changeSet> <changeSet author="sigla" id="1517416281033-2868"> <addForeignKeyConstraint baseColumnNames="cd_tipo_incarico" baseTableName="incarichi_procedura" constraintName="fk_incarichi_procedura10" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_incarico" referencedTableName="tipo_incarico"/> </changeSet> <changeSet author="sigla" id="1517416281033-2869"> <addForeignKeyConstraint baseColumnNames="cd_tipo_attivita" baseTableName="incarichi_procedura" constraintName="fk_incarichi_procedura11" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_attivita" referencedTableName="tipo_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-2870"> <addForeignKeyConstraint baseColumnNames="esercizio_padre,pg_procedura_padre" baseTableName="incarichi_procedura" constraintName="fk_incarichi_procedura12" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_procedura" referencedTableName="incarichi_procedura"/> </changeSet> <changeSet author="sigla" id="1517416281033-2871"> <addForeignKeyConstraint baseColumnNames="cd_tipo_prestazione" baseTableName="incarichi_procedura" constraintName="fk_incarichi_procedura13" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_prestazione" referencedTableName="tipo_prestazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2872"> <addForeignKeyConstraint baseColumnNames="cd_tipo_norma_perla" baseTableName="incarichi_procedura" constraintName="fk_incarichi_procedura14" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_norma" referencedTableName="tipo_norma_perla"/> </changeSet> <changeSet author="sigla" id="1517416281033-2873"> <addForeignKeyConstraint baseColumnNames="cd_proc_amm_benef" baseTableName="incarichi_procedura" constraintName="fk_incarichi_procedura15" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_proc_amm" referencedTableName="procedure_amministrative"/> </changeSet> <changeSet author="sigla" id="1517416281033-2874"> <addForeignKeyConstraint baseColumnNames="esercizio,pg_procedura" baseTableName="incarichi_procedura_anno" constraintName="fk_incarichi_procedura_anno00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_procedura" referencedTableName="incarichi_procedura"/> </changeSet> <changeSet author="sigla" id="1517416281033-2875"> <addForeignKeyConstraint baseColumnNames="esercizio,pg_procedura" baseTableName="incarichi_procedura_archivio" constraintName="fk_incarichi_procedura_arch00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_procedura" referencedTableName="incarichi_procedura"/> </changeSet> <changeSet author="sigla" id="1517416281033-2876"> <addForeignKeyConstraint baseColumnNames="esercizio,pg_procedura" baseTableName="incarichi_procedura_note" constraintName="fk_incarichi_procedura_note00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_procedura" referencedTableName="incarichi_procedura"/> </changeSet> <changeSet author="sigla" id="1517416281033-2877"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="incarichi_repertorio" constraintName="fk_incarichi_repertorio00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2878"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="incarichi_repertorio" constraintName="fk_incarichi_repertorio01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2879"> <addForeignKeyConstraint baseColumnNames="esercizio_procedura,pg_procedura" baseTableName="incarichi_repertorio" constraintName="fk_incarichi_repertorio02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_procedura" referencedTableName="incarichi_procedura"/> </changeSet> <changeSet author="sigla" id="1517416281033-2880"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="incarichi_repertorio" constraintName="fk_incarichi_repertorio03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2881"> <addForeignKeyConstraint baseColumnNames="cd_tipo_rapporto" baseTableName="incarichi_repertorio" constraintName="fk_incarichi_repertorio04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_rapporto" referencedTableName="tipo_rapporto"/> </changeSet> <changeSet author="sigla" id="1517416281033-2882"> <addForeignKeyConstraint baseColumnNames="esercizio,pg_repertorio" baseTableName="incarichi_repertorio_anno" constraintName="fk_incarichi_repertorio_anno00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_repertorio" referencedTableName="incarichi_repertorio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2883"> <addForeignKeyConstraint baseColumnNames="esercizio,pg_repertorio" baseTableName="incarichi_repertorio_archivio" constraintName="fk_incarichi_repertorio_arch00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_repertorio" referencedTableName="incarichi_repertorio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2884"> <addForeignKeyConstraint baseColumnNames="esercizio,pg_repertorio" baseTableName="incarichi_repertorio_rapp" constraintName="fk_incarichi_repertorio_rapp00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_repertorio" referencedTableName="incarichi_repertorio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2885"> <addForeignKeyConstraint baseColumnNames="esercizio,pg_repertorio" baseTableName="incarichi_repertorio_rapp_det" constraintName="fk_incarichi_repertorio_rd00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_repertorio" referencedTableName="incarichi_repertorio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2886"> <addForeignKeyConstraint baseColumnNames="esercizio,pg_repertorio" baseTableName="incarichi_repertorio_var" constraintName="fk_incarichi_repertorio_var02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_repertorio" referencedTableName="incarichi_repertorio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2887"> <addForeignKeyConstraint baseColumnNames="cd_tematica_attivita" baseTableName="incarichi_richiesta" constraintName="fk_incarichi_richiesta00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tematica_attivita" referencedTableName="tematica_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-2888"> <addForeignKeyConstraint baseColumnNames="cd_tipo_rapporto,cd_anag,dt_ini_validita_rapporto" baseTableName="inquadramento" constraintName="fk_inquadramento00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_rapporto,cd_anag,dt_ini_validita" referencedTableName="rapporto"/> </changeSet> <changeSet author="sigla" id="1517416281033-2889"> <addForeignKeyConstraint baseColumnNames="pg_rif_inquadramento" baseTableName="inquadramento" constraintName="fk_inquadramento01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_rif_inquadramento" referencedTableName="rif_inquadramento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2890"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita" baseTableName="insieme_la" constraintName="fk_insieme_la00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-2891"> <addForeignKeyConstraint baseColumnNames="pg_inventario" baseTableName="inventario_ap_ch" constraintName="fk_inventario_ap_ch00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_inventario" referencedTableName="id_inventario"/> </changeSet> <changeSet author="sigla" id="1517416281033-2892"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_unita_organizzativa,cd_ubicazione" baseTableName="inventario_beni" constraintName="fk_inventario_beni00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,cd_ubicazione" referencedTableName="ubicazione_bene"/> </changeSet> <changeSet author="sigla" id="1517416281033-2893"> <addForeignKeyConstraint baseColumnNames="cd_condizione_bene" baseTableName="inventario_beni" constraintName="fk_inventario_beni01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_condizione_bene" referencedTableName="condizione_bene"/> </changeSet> <changeSet author="sigla" id="1517416281033-2894"> <addForeignKeyConstraint baseColumnNames="cd_assegnatario" baseTableName="inventario_beni" constraintName="fk_inventario_beni02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2895"> <addForeignKeyConstraint baseColumnNames="cd_categoria_gruppo" baseTableName="inventario_beni" constraintName="fk_inventario_beni03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_categoria_gruppo" referencedTableName="categoria_gruppo_invent"/> </changeSet> <changeSet author="sigla" id="1517416281033-2896"> <addForeignKeyConstraint baseColumnNames="esercizio_carico_bene" baseTableName="inventario_beni" constraintName="fk_inventario_beni04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio" referencedTableName="esercizio_base"/> </changeSet> <changeSet author="sigla" id="1517416281033-2897"> <addForeignKeyConstraint baseColumnNames="pg_inventario,nr_inventario,progressivo" baseTableName="inventario_beni_apg" constraintName="fk_inventario_beni_apg00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_inventario,nr_inventario,progressivo" referencedTableName="inventario_beni"/> </changeSet> <changeSet author="sigla" id="1517416281033-2898"> <addForeignKeyConstraint baseColumnNames="pg_inventario" baseTableName="inventario_consegnatario" constraintName="fk_inventario_consegnatario00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_inventario" referencedTableName="id_inventario"/> </changeSet> <changeSet author="sigla" id="1517416281033-2899"> <addForeignKeyConstraint baseColumnNames="cd_consegnatario" baseTableName="inventario_consegnatario" constraintName="fk_inventario_consegnatario01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2900"> <addForeignKeyConstraint baseColumnNames="cd_delegato" baseTableName="inventario_consegnatario" constraintName="fk_inventario_consegnatario02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2901"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="lettera_pagam_estero" constraintName="fk_lettera_pagam_estero00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2902"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="lettera_pagam_estero" constraintName="fk_lettera_pagam_estero01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2903"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="lettera_pagam_estero" constraintName="fk_lettera_pagam_estero02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2904"> <addForeignKeyConstraint baseColumnNames="cd_cds_sospeso,esercizio,ti_entrata_spesa,ti_sospeso_riscontro,cd_sospeso" baseTableName="lettera_pagam_estero" constraintName="fk_lettera_pagam_estero03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,ti_entrata_spesa,ti_sospeso_riscontro,cd_sospeso" referencedTableName="sospeso"/> </changeSet> <changeSet author="sigla" id="1517416281033-2905"> <addForeignKeyConstraint baseColumnNames="esercizio_distinta,pg_distinta" baseTableName="lettera_pagam_estero" constraintName="fk_lettera_pagam_estero04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_distinta" referencedTableName="distinta_cassiere_1210"/> </changeSet> <changeSet author="sigla" id="1517416281033-2906"> <addForeignKeyConstraint baseColumnNames="esercizio_voce,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="limite_spesa" constraintName="fk_limite_spesa00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-2907"> <addForeignKeyConstraint baseColumnNames="esercizio,esercizio_voce,ti_appartenenza,ti_gestione,cd_elemento_voce,fonte" baseTableName="limite_spesa_det" constraintName="fk_limite_spesa_det00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,esercizio_voce,ti_appartenenza,ti_gestione,cd_elemento_voce,fonte" referencedTableName="limite_spesa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2908"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="limite_spesa_det" constraintName="fk_limite_spesa_det01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2909"> <addForeignKeyConstraint baseColumnNames="cd_natura" baseTableName="linea_attivita" constraintName="fk_linea_attivita00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_natura" referencedTableName="natura"/> </changeSet> <changeSet author="sigla" id="1517416281033-2910"> <addForeignKeyConstraint baseColumnNames="cd_funzione" baseTableName="linea_attivita" constraintName="fk_linea_attivita01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_funzione" referencedTableName="funzione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2911"> <addForeignKeyConstraint baseColumnNames="cd_tipo_linea_attivita,cd_centro_responsabilita" baseTableName="linea_attivita" constraintName="fk_linea_attivita02" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_linea_attivita,cd_centro_responsabilita" referencedTableName="ass_tipo_la_cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-2912"> <addForeignKeyConstraint baseColumnNames="cd_gruppo_linea_attivita" baseTableName="linea_attivita" constraintName="fk_linea_attivita04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_gruppo_linea_attivita" referencedTableName="gruppo_linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-2913"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita,cd_insieme_la" baseTableName="linea_attivita" constraintName="fk_linea_attivita05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_insieme_la" referencedTableName="insieme_la"/> </changeSet> <changeSet author="sigla" id="1517416281033-2914"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita" baseTableName="linea_attivita" constraintName="fk_linea_attivita06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-2915"> <addForeignKeyConstraint baseColumnNames="cd_programma" baseTableName="linea_attivita" constraintName="fk_linea_attivita09" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_programma" referencedTableName="pdg_programma"/> </changeSet> <changeSet author="sigla" id="1517416281033-2916"> <addForeignKeyConstraint baseColumnNames="cd_missione" baseTableName="linea_attivita" constraintName="fk_linea_attivita10" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_missione" referencedTableName="pdg_missione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2917"> <addForeignKeyConstraint baseColumnNames="cd_cofog" baseTableName="linea_attivita" constraintName="fk_linea_attivita_08" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cofog" referencedTableName="cofog"/> </changeSet> <changeSet author="sigla" id="1517416281033-2918"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita,cd_linea_attivita" baseTableName="postit" constraintName="fk_linea_attivita_postit" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-2919"> <addForeignKeyConstraint baseColumnNames="cd_responsabile_terzo" baseTableName="linea_attivita" constraintName="fk_linea_attivita_terzo" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2920"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="liquid_cori" constraintName="fk_liquid_cori00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2921"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="liquid_cori" constraintName="fk_liquid_cori01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2922"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="liquid_cori_interf" constraintName="fk_liquid_cori_interf00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="liquid_cori_interf_cds"/> </changeSet> <changeSet author="sigla" id="1517416281033-2923"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_gruppo_cr,cd_regione,pg_comune" baseTableName="liquid_cori_interf" constraintName="fk_liquid_cori_interf01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_gruppo_cr,cd_regione,pg_comune" referencedTableName="gruppo_cr_det"/> </changeSet> <changeSet author="sigla" id="1517416281033-2924"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="liquid_cori_interf" constraintName="fk_liquid_cori_interf02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2925"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="liquid_cori_interf_cds" constraintName="fk_liquid_cori_interf_cds00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2926"> <addForeignKeyConstraint baseColumnNames="esercizio" baseTableName="liquid_cori_interf_cds" constraintName="fk_liquid_cori_interf_cds01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio" referencedTableName="esercizio_base"/> </changeSet> <changeSet author="sigla" id="1517416281033-2927"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="liquid_cori_interf_dett" constraintName="fk_liquid_cori_interf_dett00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="liquid_cori_interf_cds"/> </changeSet> <changeSet author="sigla" id="1517416281033-2928"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_gruppo_cr,cd_regione,pg_comune" baseTableName="liquid_cori_interf_dett" constraintName="fk_liquid_cori_interf_dett01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_gruppo_cr,cd_regione,pg_comune" referencedTableName="gruppo_cr_det"/> </changeSet> <changeSet author="sigla" id="1517416281033-2929"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="liquid_cori_interf_dett" constraintName="fk_liquid_cori_interf_dett02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2930"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,cd_unita_organizzativa,pg_liquidazione" baseTableName="liquid_cori_interf_dett" constraintName="fk_liquid_cori_interf_dett03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,cd_unita_organizzativa,pg_liquidazione" referencedTableName="liquid_cori"/> </changeSet> <changeSet author="sigla" id="1517416281033-2931"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_contributo_ritenuta" baseTableName="liquid_cori_interf_dett" constraintName="fk_liquid_cori_interf_dett04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_contributo_ritenuta" referencedTableName="tipo_cr_base"/> </changeSet> <changeSet author="sigla" id="1517416281033-2932"> <addForeignKeyConstraint baseColumnNames="cd_cds_lc,esercizio,cd_uo_lc,pg_lc" baseTableName="liquid_gruppo_centro" constraintName="fk_liquid_gruppo_centro00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,cd_unita_organizzativa,pg_liquidazione" referencedTableName="liquid_cori"/> </changeSet> <changeSet author="sigla" id="1517416281033-2933"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_gruppo_cr,cd_regione,pg_comune" baseTableName="liquid_gruppo_centro" constraintName="fk_liquid_gruppo_centro01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_gruppo_cr,cd_regione,pg_comune" referencedTableName="gruppo_cr_det"/> </changeSet> <changeSet author="sigla" id="1517416281033-2934"> <addForeignKeyConstraint baseColumnNames="cd_cds_obb_accentr,esercizio_obb_accentr,esercizio_ori_obb_accentr,pg_obb_accentr" baseTableName="liquid_gruppo_centro" constraintName="fk_liquid_gruppo_centro03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione" referencedTableName="obbligazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2935"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_gruppo_cr,cd_regione,pg_comune,pg_gruppo_centro" baseTableName="liquid_gruppo_centro_comp" constraintName="fk_liquid_gruppo_centro_comp00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_gruppo_cr,cd_regione,pg_comune,pg_gruppo_centro" referencedTableName="liquid_gruppo_centro"/> </changeSet> <changeSet author="sigla" id="1517416281033-2936"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="liquid_gruppo_centro_comp" constraintName="fk_liquid_gruppo_centro_comp01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2937"> <addForeignKeyConstraint baseColumnNames="cd_cds_acc_accentr,esercizio_acc_accentr,esercizio_ori_acc_accentr,pg_acc_accentr" baseTableName="liquid_gruppo_centro_comp" constraintName="fk_liquid_gruppo_centro_comp02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento" referencedTableName="accertamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2938"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,cd_unita_organizzativa,pg_liquidazione" baseTableName="liquid_gruppo_cori" constraintName="fk_liquid_gruppo_cori00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,cd_unita_organizzativa,pg_liquidazione" referencedTableName="liquid_cori"/> </changeSet> <changeSet author="sigla" id="1517416281033-2939"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_gruppo_cr,cd_regione,pg_comune" baseTableName="liquid_gruppo_cori" constraintName="fk_liquid_gruppo_cori01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_gruppo_cr,cd_regione,pg_comune" referencedTableName="gruppo_cr_det"/> </changeSet> <changeSet author="sigla" id="1517416281033-2940"> <addForeignKeyConstraint baseColumnNames="cd_cds_obb_accentr,esercizio_obb_accentr,esercizio_ori_obb_accentr,pg_obb_accentr" baseTableName="liquid_gruppo_cori" constraintName="fk_liquid_gruppo_cori03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione" referencedTableName="obbligazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2941"> <addForeignKeyConstraint baseColumnNames="cd_cds_acc_compens,esercizio_acc_compens,esercizio_ori_acc_compens,pg_acc_compens" baseTableName="liquid_gruppo_cori" constraintName="fk_liquid_gruppo_cori04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento" referencedTableName="accertamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2942"> <addForeignKeyConstraint baseColumnNames="cd_cds_rev,esercizio_rev,pg_rev" baseTableName="liquid_gruppo_cori" constraintName="fk_liquid_gruppo_cori05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_reversale" referencedTableName="reversale"/> </changeSet> <changeSet author="sigla" id="1517416281033-2943"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,cd_unita_organizzativa,pg_liquidazione,cd_cds_origine,cd_uo_origine,pg_liquidazione_origine,cd_gruppo_cr,cd_regione,pg_comune" baseTableName="liquid_gruppo_cori_det" constraintName="fk_liquid_gruppo_cori_det00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,cd_unita_organizzativa,pg_liquidazione,cd_cds_origine,cd_uo_origine,pg_liquidazione_origine,cd_gruppo_cr,cd_regione,pg_comune" referencedTableName="liquid_gruppo_cori"/> </changeSet> <changeSet author="sigla" id="1517416281033-2944"> <addForeignKeyConstraint baseColumnNames="cd_cds_origine,cd_uo_origine,esercizio_contributo_ritenuta,pg_compenso,cd_contributo_ritenuta,ti_ente_percipiente" baseTableName="liquid_gruppo_cori_det" constraintName="fk_liquid_gruppo_cori_det01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_compenso,cd_contributo_ritenuta,ti_ente_percipiente" referencedTableName="contributo_ritenuta"/> </changeSet> <changeSet author="sigla" id="1517416281033-2945"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="liquid_iva_esterna" constraintName="fk_liquid_iva_esterna00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2946"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="liquid_iva_interf" constraintName="fk_liquid_iva_interf00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="liquid_iva_interf_cds"/> </changeSet> <changeSet author="sigla" id="1517416281033-2947"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="liquid_iva_interf" constraintName="fk_liquid_iva_interf02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2948"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="liquid_iva_interf_cds" constraintName="fk_liquid_iva_interf_cds00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2949"> <addForeignKeyConstraint baseColumnNames="cd_cdr,cd_linea_attivita" baseTableName="liquidazione_iva_ripart_fin" constraintName="fk_liquid_iva_ripart_fin01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-2950"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,cd_unita_organizzativa,tipo_liquidazione,dt_inizio,dt_fine,report_id" baseTableName="liquidazione_iva_variazioni" constraintName="fk_liquid_iva_variazioni01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,cd_unita_organizzativa,tipo_liquidazione,dt_inizio,dt_fine,report_id" referencedTableName="liquidazione_iva"/> </changeSet> <changeSet author="sigla" id="1517416281033-2951"> <addForeignKeyConstraint baseColumnNames="cd_cds_li,esercizio,cd_uo_li,tipo_liquidazione,dt_inizio,dt_fine,report_id_li" baseTableName="liquidazione_iva_centro" constraintName="fk_liquidazione_iva_centro00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,cd_unita_organizzativa,tipo_liquidazione,dt_inizio,dt_fine,report_id" referencedTableName="liquidazione_iva"/> </changeSet> <changeSet author="sigla" id="1517416281033-2952"> <addForeignKeyConstraint baseColumnNames="cd_cds_obb_accentr,esercizio_obb_accentr,esercizio_ori_obb_accentr,pg_obb_accentr" baseTableName="liquidazione_iva_centro" constraintName="fk_liquidazione_iva_centro01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione" referencedTableName="obbligazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2953"> <addForeignKeyConstraint baseColumnNames="pg_comune" baseTableName="luogo_consegna_mag" constraintName="fk_luogo_consegna_mag00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_comune" referencedTableName="comune"/> </changeSet> <changeSet author="sigla" id="1517416281033-2954"> <addForeignKeyConstraint baseColumnNames="pg_nazione" baseTableName="luogo_consegna_mag" constraintName="fk_luogo_consegna_mag01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_nazione" referencedTableName="nazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-2955"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="luogo_consegna_mag" constraintName="fk_luogo_consegna_mag02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2956"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="magazzino" constraintName="fk_magazzino00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2957"> <addForeignKeyConstraint baseColumnNames="cd_unita_operativa" baseTableName="magazzino" constraintName="fk_magazzino01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_operativa" referencedTableName="unita_operativa_ord"/> </changeSet> <changeSet author="sigla" id="1517416281033-2958"> <addForeignKeyConstraint baseColumnNames="cd_cds_luogo,cd_luogo_consegna" baseTableName="magazzino" constraintName="fk_magazzino02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_luogo_consegna" referencedTableName="luogo_consegna_mag"/> </changeSet> <changeSet author="sigla" id="1517416281033-2959"> <addForeignKeyConstraint baseColumnNames="cd_cds_car_mag,cd_tipo_movimento_car_mag" baseTableName="magazzino" constraintName="fk_magazzino03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_tipo_movimento" referencedTableName="tipo_movimento_mag"/> </changeSet> <changeSet author="sigla" id="1517416281033-2960"> <addForeignKeyConstraint baseColumnNames="cd_cds_car_tra,cd_tipo_movimento_car_tra" baseTableName="magazzino" constraintName="fk_magazzino04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_tipo_movimento" referencedTableName="tipo_movimento_mag"/> </changeSet> <changeSet author="sigla" id="1517416281033-2961"> <addForeignKeyConstraint baseColumnNames="cd_cds_car_fma,cd_tipo_movimento_car_fma" baseTableName="magazzino" constraintName="fk_magazzino05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_tipo_movimento" referencedTableName="tipo_movimento_mag"/> </changeSet> <changeSet author="sigla" id="1517416281033-2962"> <addForeignKeyConstraint baseColumnNames="cd_cds_sca_uo,cd_tipo_movimento_sca_uo" baseTableName="magazzino" constraintName="fk_magazzino06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_tipo_movimento" referencedTableName="tipo_movimento_mag"/> </changeSet> <changeSet author="sigla" id="1517416281033-2963"> <addForeignKeyConstraint baseColumnNames="cd_cds_tra_sca,cd_tipo_movimento_tra_sca" baseTableName="magazzino" constraintName="fk_magazzino07" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_tipo_movimento" referencedTableName="tipo_movimento_mag"/> </changeSet> <changeSet author="sigla" id="1517416281033-2964"> <addForeignKeyConstraint baseColumnNames="cd_cds_tra_car,cd_tipo_movimento_tra_car" baseTableName="magazzino" constraintName="fk_magazzino08" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_tipo_movimento" referencedTableName="tipo_movimento_mag"/> </changeSet> <changeSet author="sigla" id="1517416281033-2965"> <addForeignKeyConstraint baseColumnNames="cd_cds_rv_pos,cd_tipo_movimento_rv_pos" baseTableName="magazzino" constraintName="fk_magazzino09" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_tipo_movimento" referencedTableName="tipo_movimento_mag"/> </changeSet> <changeSet author="sigla" id="1517416281033-2966"> <addForeignKeyConstraint baseColumnNames="cd_cds_rv_neg,cd_tipo_movimento_rv_neg" baseTableName="magazzino" constraintName="fk_magazzino10" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_tipo_movimento" referencedTableName="tipo_movimento_mag"/> </changeSet> <changeSet author="sigla" id="1517416281033-2967"> <addForeignKeyConstraint baseColumnNames="cd_cds_chi,cd_tipo_movimento_chi" baseTableName="magazzino" constraintName="fk_magazzino11" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_tipo_movimento" referencedTableName="tipo_movimento_mag"/> </changeSet> <changeSet author="sigla" id="1517416281033-2968"> <addForeignKeyConstraint baseColumnNames="cd_cds_raggr_sca,cd_raggr_magazzino_sca" baseTableName="magazzino" constraintName="fk_magazzino12" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_raggr_magazzino" referencedTableName="raggr_magazzino"/> </changeSet> <changeSet author="sigla" id="1517416281033-2969"> <addForeignKeyConstraint baseColumnNames="cd_cds_raggr_rim,cd_raggr_magazzino_rim" baseTableName="magazzino" constraintName="fk_magazzino13" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_raggr_magazzino" referencedTableName="raggr_magazzino"/> </changeSet> <changeSet author="sigla" id="1517416281033-2970"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="mandato" constraintName="fk_mandato00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2971"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="mandato" constraintName="fk_mandato01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2972"> <addForeignKeyConstraint baseColumnNames="cd_cds_origine" baseTableName="mandato" constraintName="fk_mandato02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2973"> <addForeignKeyConstraint baseColumnNames="cd_uo_origine" baseTableName="mandato" constraintName="fk_mandato03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-2974"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,pg_mandato,esercizio_obbligazione,esercizio_ori_obbligazione,pg_obbligazione,pg_obbligazione_scadenzario,cd_cds_doc_amm,cd_uo_doc_amm,esercizio_doc_amm,cd_tipo_documento_amm,pg_doc_amm" baseTableName="mandato_cup" constraintName="fk_mandato_cup00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_mandato,esercizio_obbligazione,esercizio_ori_obbligazione,pg_obbligazione,pg_obbligazione_scadenzario,cd_cds_doc_amm,cd_uo_doc_amm,esercizio_doc_amm,cd_tipo_documento_amm,pg_doc_amm" referencedTableName="mandato_riga"/> </changeSet> <changeSet author="sigla" id="1517416281033-2975"> <addForeignKeyConstraint baseColumnNames="cd_cup" baseTableName="mandato_cup" constraintName="fk_mandato_cup01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cup" referencedTableName="cup"/> </changeSet> <changeSet author="sigla" id="1517416281033-2976"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,pg_mandato" baseTableName="mandato_riga" constraintName="fk_mandato_riga00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_mandato" referencedTableName="mandato"/> </changeSet> <changeSet author="sigla" id="1517416281033-2977"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio_obbligazione,esercizio_ori_obbligazione,pg_obbligazione,pg_obbligazione_scadenzario" baseTableName="mandato_riga" constraintName="fk_mandato_riga01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione,pg_obbligazione_scadenzario" referencedTableName="obbligazione_scadenzario"/> </changeSet> <changeSet author="sigla" id="1517416281033-2978"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="mandato_riga" constraintName="fk_mandato_riga02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2979"> <addForeignKeyConstraint baseColumnNames="cd_terzo,pg_banca" baseTableName="mandato_riga" constraintName="fk_mandato_riga03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,pg_banca" referencedTableName="banca"/> </changeSet> <changeSet author="sigla" id="1517416281033-2980"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_modalita_pag" baseTableName="mandato_riga" constraintName="fk_mandato_riga04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_modalita_pag" referencedTableName="modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-2981"> <addForeignKeyConstraint baseColumnNames="cd_cds_doc_amm,cd_uo_doc_amm,esercizio_doc_amm,cd_tipo_documento_amm" baseTableName="mandato_riga" constraintName="fk_mandato_riga05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,cd_tipo_documento_amm" referencedTableName="numerazione_doc_amm"/> </changeSet> <changeSet author="sigla" id="1517416281033-2982"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,pg_mandato,esercizio_obbligazione,esercizio_ori_obbligazione,pg_obbligazione,pg_obbligazione_scadenzario,cd_cds_doc_amm,cd_uo_doc_amm,esercizio_doc_amm,cd_tipo_documento_amm,pg_doc_amm" baseTableName="mandato_siope" constraintName="fk_mandato_siope00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_mandato,esercizio_obbligazione,esercizio_ori_obbligazione,pg_obbligazione,pg_obbligazione_scadenzario,cd_cds_doc_amm,cd_uo_doc_amm,esercizio_doc_amm,cd_tipo_documento_amm,pg_doc_amm" referencedTableName="mandato_riga"/> </changeSet> <changeSet author="sigla" id="1517416281033-2983"> <addForeignKeyConstraint baseColumnNames="esercizio_siope,ti_gestione,cd_siope" baseTableName="mandato_siope" constraintName="fk_mandato_siope01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_gestione,cd_siope" referencedTableName="codici_siope"/> </changeSet> <changeSet author="sigla" id="1517416281033-2984"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,pg_mandato,esercizio_obbligazione,esercizio_ori_obbligazione,pg_obbligazione,pg_obbligazione_scadenzario,cd_cds_doc_amm,cd_uo_doc_amm,esercizio_doc_amm,cd_tipo_documento_amm,pg_doc_amm,esercizio_siope,ti_gestione,cd_siope" baseTableName="mandato_siope_cup" constraintName="fk_mandato_siope_cup00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_mandato,esercizio_obbligazione,esercizio_ori_obbligazione,pg_obbligazione,pg_obbligazione_scadenzario,cd_cds_doc_amm,cd_uo_doc_amm,esercizio_doc_amm,cd_tipo_documento_amm,pg_doc_amm,esercizio_siope,ti_gestione,cd_siope" referencedTableName="mandato_siope"/> </changeSet> <changeSet author="sigla" id="1517416281033-2985"> <addForeignKeyConstraint baseColumnNames="cd_cup" baseTableName="mandato_siope_cup" constraintName="fk_mandato_siope_cup01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cup" referencedTableName="cup"/> </changeSet> <changeSet author="sigla" id="1517416281033-2986"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,pg_mandato" baseTableName="mandato_terzo" constraintName="fk_mandato_terzo00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_mandato" referencedTableName="mandato"/> </changeSet> <changeSet author="sigla" id="1517416281033-2987"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="mandato_terzo" constraintName="fk_mandato_terzo01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2988"> <addForeignKeyConstraint baseColumnNames="cd_tipo_bollo" baseTableName="mandato_terzo" constraintName="fk_mandato_terzo02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_bollo" referencedTableName="tipo_bollo"/> </changeSet> <changeSet author="sigla" id="1517416281033-2989"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita_ori,cd_linea_attivita_ori" baseTableName="mappatura_la" constraintName="fk_mappatura_la00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-2990"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita,cd_linea_attivita" baseTableName="mappatura_la" constraintName="fk_mappatura_la01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-2991"> <addForeignKeyConstraint baseColumnNames="esercizio_ori" baseTableName="mappatura_la" constraintName="fk_mappatura_la02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio" referencedTableName="esercizio_base"/> </changeSet> <changeSet author="sigla" id="1517416281033-2992"> <addForeignKeyConstraint baseColumnNames="esercizio" baseTableName="mappatura_la" constraintName="fk_mappatura_la03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio" referencedTableName="esercizio_base"/> </changeSet> <changeSet author="sigla" id="1517416281033-2993"> <addForeignKeyConstraint baseColumnNames="pg_messaggio" baseTableName="messaggio_letto" constraintName="fk_messaggio_letto01" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="pg_messaggio" referencedTableName="messaggio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2994"> <addForeignKeyConstraint baseColumnNames="cd_utente" baseTableName="messaggio_letto" constraintName="fk_messaggio_letto02" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_utente" referencedTableName="utente"/> </changeSet> <changeSet author="sigla" id="1517416281033-2995"> <addForeignKeyConstraint baseColumnNames="cd_utente" baseTableName="messaggio_notificato" constraintName="fk_messaggio_notificato02" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_utente" referencedTableName="utente"/> </changeSet> <changeSet author="sigla" id="1517416281033-2996"> <addForeignKeyConstraint baseColumnNames="pg_messaggio" baseTableName="messaggio_visionato" constraintName="fk_messaggio_visionato01" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="pg_messaggio" referencedTableName="messaggio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2997"> <addForeignKeyConstraint baseColumnNames="cd_utente" baseTableName="messaggio_visionato" constraintName="fk_messaggio_visionato02" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_utente" referencedTableName="utente"/> </changeSet> <changeSet author="sigla" id="1517416281033-2998"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="minicarriera" constraintName="fk_minicarriera00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-2999"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="minicarriera" constraintName="fk_minicarriera01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3000"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="minicarriera" constraintName="fk_minicarriera02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3001"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_termini_pag" baseTableName="minicarriera" constraintName="fk_minicarriera03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_termini_pag" referencedTableName="termini_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3002"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_modalita_pag" baseTableName="minicarriera" constraintName="fk_minicarriera04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_modalita_pag" referencedTableName="modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3003"> <addForeignKeyConstraint baseColumnNames="cd_terzo,pg_banca" baseTableName="minicarriera" constraintName="fk_minicarriera05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,pg_banca" referencedTableName="banca"/> </changeSet> <changeSet author="sigla" id="1517416281033-3004"> <addForeignKeyConstraint baseColumnNames="esercizio_rep,pg_repertorio" baseTableName="minicarriera" constraintName="fk_minicarriera06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_repertorio" referencedTableName="incarichi_repertorio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3005"> <addForeignKeyConstraint baseColumnNames="ti_prestazione" baseTableName="minicarriera" constraintName="fk_minicarriera07" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_ti_prestazione" referencedTableName="tipo_prestazione_compenso"/> </changeSet> <changeSet author="sigla" id="1517416281033-3006"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_minicarriera" baseTableName="minicarriera_rata" constraintName="fk_minicarriera_rata00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_minicarriera" referencedTableName="minicarriera"/> </changeSet> <changeSet author="sigla" id="1517416281033-3007"> <addForeignKeyConstraint baseColumnNames="cd_cds_compenso,cd_uo_compenso,esercizio_compenso,pg_compenso" baseTableName="minicarriera_rata" constraintName="fk_minicarriera_rata01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_compenso" referencedTableName="compenso"/> </changeSet> <changeSet author="sigla" id="1517416281033-3008"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="missione" constraintName="fk_missione00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3009"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="missione" constraintName="fk_missione01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3010"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="missione" constraintName="fk_missione02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3011"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_termini_pag" baseTableName="missione" constraintName="fk_missione03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_termini_pag" referencedTableName="termini_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3012"> <addForeignKeyConstraint baseColumnNames="cd_terzo,pg_banca" baseTableName="missione" constraintName="fk_missione04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,pg_banca" referencedTableName="banca"/> </changeSet> <changeSet author="sigla" id="1517416281033-3013"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_modalita_pag" baseTableName="missione" constraintName="fk_missione05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_modalita_pag" referencedTableName="modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3014"> <addForeignKeyConstraint baseColumnNames="cd_cds_obbligazione,esercizio_obbligazione,esercizio_ori_obbligazione,pg_obbligazione,pg_obbligazione_scadenzario" baseTableName="missione" constraintName="fk_missione06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione,pg_obbligazione_scadenzario" referencedTableName="obbligazione_scadenzario"/> </changeSet> <changeSet author="sigla" id="1517416281033-3015"> <addForeignKeyConstraint baseColumnNames="cd_tipo_missione" baseTableName="missione" constraintName="fk_missione07" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_missione" referencedTableName="tipo_missione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3016"> <addForeignKeyConstraint baseColumnNames="cd_cds_anticipo,cd_uo_anticipo,esercizio_anticipo,pg_anticipo" baseTableName="missione" constraintName="fk_missione08" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_anticipo" referencedTableName="anticipo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3017"> <addForeignKeyConstraint baseColumnNames="pg_nazione" baseTableName="missione_abbattimenti" constraintName="fk_missione_abbattimenti00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_nazione" referencedTableName="nazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3018"> <addForeignKeyConstraint baseColumnNames="pg_rif_inquadramento" baseTableName="missione_abbattimenti" constraintName="fk_missione_abbattimenti01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_rif_inquadramento" referencedTableName="rif_inquadramento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3019"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_missione,dt_inizio_tappa" baseTableName="missione_dettaglio" constraintName="fk_missione_dettaglio00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_missione,dt_inizio_tappa" referencedTableName="missione_tappa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3020"> <addForeignKeyConstraint baseColumnNames="cd_divisa_spesa" baseTableName="missione_dettaglio" constraintName="fk_missione_dettaglio01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_divisa" referencedTableName="divisa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3021"> <addForeignKeyConstraint baseColumnNames="pg_nazione" baseTableName="missione_diaria" constraintName="fk_missione_diaria00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_nazione" referencedTableName="nazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3022"> <addForeignKeyConstraint baseColumnNames="cd_divisa" baseTableName="missione_diaria" constraintName="fk_missione_diaria01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_divisa" referencedTableName="divisa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3023"> <addForeignKeyConstraint baseColumnNames="cd_gruppo_inquadramento" baseTableName="missione_diaria" constraintName="fk_missione_diaria02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_gruppo_inquadramento" referencedTableName="gruppo_inquadramento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3024"> <addForeignKeyConstraint baseColumnNames="cd_area_estera" baseTableName="missione_quota_rimborso" constraintName="fk_missione_quota_rimborso00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_area_estera" referencedTableName="rif_aree_paesi_esteri"/> </changeSet> <changeSet author="sigla" id="1517416281033-3025"> <addForeignKeyConstraint baseColumnNames="cd_gruppo_inquadramento" baseTableName="missione_quota_rimborso" constraintName="fk_missione_quota_rimborso01" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_gruppo_inquadramento" referencedTableName="gruppo_inquadramento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3026"> <addForeignKeyConstraint baseColumnNames="pg_nazione" baseTableName="missione_rimborso_km" constraintName="fk_missione_rimborso_km00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_nazione" referencedTableName="nazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3027"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_missione" baseTableName="missione_tappa" constraintName="fk_missione_tappa00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_missione" referencedTableName="missione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3028"> <addForeignKeyConstraint baseColumnNames="pg_nazione" baseTableName="missione_tappa" constraintName="fk_missione_tappa01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_nazione" referencedTableName="nazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3029"> <addForeignKeyConstraint baseColumnNames="cd_divisa_tappa" baseTableName="missione_tappa" constraintName="fk_missione_tappa02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_divisa" referencedTableName="divisa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3030"> <addForeignKeyConstraint baseColumnNames="pg_nazione" baseTableName="missione_tipo_pasto" constraintName="fk_missione_tipo_pasto00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_nazione" referencedTableName="nazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3031"> <addForeignKeyConstraint baseColumnNames="pg_rif_inquadramento" baseTableName="missione_tipo_pasto" constraintName="fk_missione_tipo_pasto01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_rif_inquadramento" referencedTableName="rif_inquadramento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3032"> <addForeignKeyConstraint baseColumnNames="cd_divisa" baseTableName="missione_tipo_pasto" constraintName="fk_missione_tipo_pasto02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_divisa" referencedTableName="divisa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3033"> <addForeignKeyConstraint baseColumnNames="cd_area_estera" baseTableName="missione_tipo_pasto" constraintName="fk_missione_tipo_pasto03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_area_estera" referencedTableName="rif_aree_paesi_esteri"/> </changeSet> <changeSet author="sigla" id="1517416281033-3034"> <addForeignKeyConstraint baseColumnNames="pg_nazione" baseTableName="missione_tipo_spesa" constraintName="fk_missione_tipo_spesa00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_nazione" referencedTableName="nazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3035"> <addForeignKeyConstraint baseColumnNames="pg_rif_inquadramento" baseTableName="missione_tipo_spesa" constraintName="fk_missione_tipo_spesa01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_rif_inquadramento" referencedTableName="rif_inquadramento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3036"> <addForeignKeyConstraint baseColumnNames="cd_divisa" baseTableName="missione_tipo_spesa" constraintName="fk_missione_tipo_spesa02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_divisa" referencedTableName="divisa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3037"> <addForeignKeyConstraint baseColumnNames="cd_modalita_pag" baseTableName="modalita_pagamento" constraintName="fk_modalita_pagamento00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_modalita_pag" referencedTableName="rif_modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3038"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="modalita_pagamento" constraintName="fk_modalita_pagamento01" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3039"> <addForeignKeyConstraint baseColumnNames="cd_anag" baseTableName="montanti" constraintName="fk_montanti00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_anag" referencedTableName="anagrafico"/> </changeSet> <changeSet author="sigla" id="1517416281033-3040"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,cd_unita_organizzativa,pg_scrittura" baseTableName="movimento_coan" constraintName="fk_movimento_coan00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,cd_unita_organizzativa,pg_scrittura" referencedTableName="scrittura_analitica"/> </changeSet> <changeSet author="sigla" id="1517416281033-3041"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_voce_ep" baseTableName="movimento_coan" constraintName="fk_movimento_coan02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_voce_ep" referencedTableName="voce_ep"/> </changeSet> <changeSet author="sigla" id="1517416281033-3042"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="movimento_coan" constraintName="fk_movimento_coan03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3043"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,cd_unita_organizzativa,pg_scrittura" baseTableName="movimento_coge" constraintName="fk_movimento_coge00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,cd_unita_organizzativa,pg_scrittura" referencedTableName="scrittura_partita_doppia"/> </changeSet> <changeSet author="sigla" id="1517416281033-3044"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_voce_ep" baseTableName="movimento_coge" constraintName="fk_movimento_coge02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_voce_ep" referencedTableName="voce_ep"/> </changeSet> <changeSet author="sigla" id="1517416281033-3045"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="movimento_coge" constraintName="fk_movimento_coge03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3046"> <addForeignKeyConstraint baseColumnNames="cd_divisa" baseTableName="nazione" constraintName="fk_nazione00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_divisa" referencedTableName="divisa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3047"> <addForeignKeyConstraint baseColumnNames="cd_divisa_per_missione" baseTableName="nazione" constraintName="fk_nazione01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_divisa" referencedTableName="divisa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3048"> <addForeignKeyConstraint baseColumnNames="cd_area_estera" baseTableName="nazione" constraintName="fk_nazione02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_area_estera" referencedTableName="rif_aree_paesi_esteri"/> </changeSet> <changeSet author="sigla" id="1517416281033-3049"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="nota_precodificata" constraintName="fk_nota_precodificata00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3050"> <addForeignKeyConstraint baseColumnNames="pg_inventario" baseTableName="numeratore_buono_c_s" constraintName="fk_numeratore_buono_c_s00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_inventario" referencedTableName="id_inventario"/> </changeSet> <changeSet author="sigla" id="1517416281033-3051"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="numerazione_coge_coan" constraintName="fk_numerazione_coge_coan00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3052"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="numerazione_coge_coan" constraintName="fk_numerazione_coge_coan01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3053"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="numerazione_doc_amm" constraintName="fk_numerazione_doc_amm00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3054"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="numerazione_doc_amm" constraintName="fk_numerazione_doc_amm01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3055"> <addForeignKeyConstraint baseColumnNames="cd_tipo_documento_amm" baseTableName="numerazione_doc_amm" constraintName="fk_numerazione_doc_amm02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_documento_amm" referencedTableName="tipo_documento_amm"/> </changeSet> <changeSet author="sigla" id="1517416281033-3056"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="numerazione_doc_cont" constraintName="fk_numerazione_doc_cont00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3057"> <addForeignKeyConstraint baseColumnNames="cd_tipo_documento_cont" baseTableName="numerazione_doc_cont" constraintName="fk_numerazione_doc_cont01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_documento_cont" referencedTableName="tipo_documento_cont"/> </changeSet> <changeSet author="sigla" id="1517416281033-3058"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_magazzino" baseTableName="numerazione_mag" constraintName="fk_numerazione_mag00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_magazzino" referencedTableName="magazzino"/> </changeSet> <changeSet author="sigla" id="1517416281033-3059"> <addForeignKeyConstraint baseColumnNames="cd_unita_operativa" baseTableName="numerazione_ord" constraintName="fk_numerazione_ord00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_operativa" referencedTableName="unita_operativa_ord"/> </changeSet> <changeSet author="sigla" id="1517416281033-3060"> <addForeignKeyConstraint baseColumnNames="cd_tipo_operazione" baseTableName="numerazione_ord" constraintName="fk_numerazione_ord01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_operazione" referencedTableName="tipo_operazione_ord"/> </changeSet> <changeSet author="sigla" id="1517416281033-3061"> <addForeignKeyConstraint baseColumnNames="cd_tipo_sezionale" baseTableName="numerazione_ord" constraintName="fk_numerazione_ord02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_sezionale" referencedTableName="tipo_sezionale"/> </changeSet> <changeSet author="sigla" id="1517416281033-3062"> <addForeignKeyConstraint baseColumnNames="esercizio_contratto,stato_contratto,pg_contratto" baseTableName="obbligazione" constraintName="fk_obb_contratto01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,stato,pg_contratto" referencedTableName="contratto"/> </changeSet> <changeSet author="sigla" id="1517416281033-3063"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,cd_tipo_documento_cont" baseTableName="obbligazione" constraintName="fk_obbligazione00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,cd_tipo_documento_cont" referencedTableName="numerazione_doc_cont"/> </changeSet> <changeSet author="sigla" id="1517416281033-3064"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="obbligazione" constraintName="fk_obbligazione01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3065"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="obbligazione" constraintName="fk_obbligazione02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3066"> <addForeignKeyConstraint baseColumnNames="cd_cds_origine" baseTableName="obbligazione" constraintName="fk_obbligazione03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3067"> <addForeignKeyConstraint baseColumnNames="cd_uo_origine" baseTableName="obbligazione" constraintName="fk_obbligazione04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3068"> <addForeignKeyConstraint baseColumnNames="cd_tipo_obbligazione" baseTableName="obbligazione" constraintName="fk_obbligazione05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_obbligazione" referencedTableName="tipo_obbligazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3069"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="obbligazione" constraintName="fk_obbligazione06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-3070"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="obbligazione" constraintName="fk_obbligazione07" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3071"> <addForeignKeyConstraint baseColumnNames="esercizio_rep,pg_repertorio" baseTableName="obbligazione" constraintName="fk_obbligazione10" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_repertorio" referencedTableName="incarichi_repertorio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3072"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita,cd_linea_attivita" baseTableName="obbligazione_mod_voce" constraintName="fk_obbligazione_mod_voce01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-3073"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione" baseTableName="obbligazione_modifica" constraintName="fk_obbligazione_modifica00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione" referencedTableName="obbligazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3074"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione" baseTableName="obbligazione_pgiro_modifica" constraintName="fk_obbligazione_pgiro_modif00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione" referencedTableName="obbligazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3075"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione,pg_obbligazione_scadenzario" baseTableName="obbligazione_scad_voce" constraintName="fk_obbligazione_scad_voce00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione,pg_obbligazione_scadenzario" referencedTableName="obbligazione_scadenzario"/> </changeSet> <changeSet author="sigla" id="1517416281033-3076"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita,cd_linea_attivita" baseTableName="obbligazione_scad_voce" constraintName="fk_obbligazione_scad_voce02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-3077"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione" baseTableName="obbligazione_scadenzario" constraintName="fk_obbligazione_scadenzario00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione" referencedTableName="obbligazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3078"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="ordine" constraintName="fk_ordine00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3079"> <addForeignKeyConstraint baseColumnNames="cd_tipo_consegna" baseTableName="ordine" constraintName="fk_ordine01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_consegna" referencedTableName="tipo_consegna"/> </changeSet> <changeSet author="sigla" id="1517416281033-3080"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="ordine" constraintName="fk_ordine02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-3081"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,esercizio_ori_obbligazione,pg_obbligazione" baseTableName="ordine" constraintName="fk_ordine03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione" referencedTableName="obbligazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3082"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_modalita_pag" baseTableName="ordine" constraintName="fk_ordine04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_modalita_pag" referencedTableName="modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3083"> <addForeignKeyConstraint baseColumnNames="cd_terzo,pg_banca" baseTableName="ordine" constraintName="fk_ordine05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,pg_banca" referencedTableName="banca"/> </changeSet> <changeSet author="sigla" id="1517416281033-3084"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_termini_pag" baseTableName="ordine" constraintName="fk_ordine06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_termini_pag" referencedTableName="termini_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3085"> <addForeignKeyConstraint baseColumnNames="cd_uop_ordine" baseTableName="ordine_acq" constraintName="fk_ordine_acq00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_operativa" referencedTableName="unita_operativa_ord"/> </changeSet> <changeSet author="sigla" id="1517416281033-3086"> <addForeignKeyConstraint baseColumnNames="cd_unita_operativa,esercizio,cd_numeratore" baseTableName="ordine_acq" constraintName="fk_ordine_acq01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_operativa,esercizio,cd_numeratore" referencedTableName="numerazione_ord"/> </changeSet> <changeSet author="sigla" id="1517416281033-3087"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="ordine_acq" constraintName="fk_ordine_acq02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3088"> <addForeignKeyConstraint baseColumnNames="esercizio_contratto,stato_contratto,pg_contratto" baseTableName="ordine_acq" constraintName="fk_ordine_acq03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,stato,pg_contratto" referencedTableName="contratto"/> </changeSet> <changeSet author="sigla" id="1517416281033-3089"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="ordine_acq" constraintName="fk_ordine_acq04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3090"> <addForeignKeyConstraint baseColumnNames="cd_divisa" baseTableName="ordine_acq" constraintName="fk_ordine_acq05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_divisa" referencedTableName="divisa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3091"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_termini_pag" baseTableName="ordine_acq" constraintName="fk_ordine_acq06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_termini_pag" referencedTableName="termini_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3092"> <addForeignKeyConstraint baseColumnNames="cd_terzo,pg_banca" baseTableName="ordine_acq" constraintName="fk_ordine_acq07" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,pg_banca" referencedTableName="banca"/> </changeSet> <changeSet author="sigla" id="1517416281033-3093"> <addForeignKeyConstraint baseColumnNames="cd_terzo,cd_modalita_pag" baseTableName="ordine_acq" constraintName="fk_ordine_acq08" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_modalita_pag" referencedTableName="modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3094"> <addForeignKeyConstraint baseColumnNames="cd_cds_nota_prec,cd_nota_precodificata" baseTableName="ordine_acq" constraintName="fk_ordine_acq09" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_nota_precodificata" referencedTableName="nota_precodificata"/> </changeSet> <changeSet author="sigla" id="1517416281033-3095"> <addForeignKeyConstraint baseColumnNames="responsabile_proc" baseTableName="ordine_acq" constraintName="fk_ordine_acq10" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3096"> <addForeignKeyConstraint baseColumnNames="firmatario" baseTableName="ordine_acq" constraintName="fk_ordine_acq11" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3097"> <addForeignKeyConstraint baseColumnNames="direttore" baseTableName="ordine_acq" constraintName="fk_ordine_acq12" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3098"> <addForeignKeyConstraint baseColumnNames="cdr" baseTableName="ordine_acq" constraintName="fk_ordine_acq13" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3099"> <addForeignKeyConstraint baseColumnNames="cd_proc_amm" baseTableName="ordine_acq" constraintName="fk_ordine_acq14" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_proc_amm" referencedTableName="procedure_amministrative"/> </changeSet> <changeSet author="sigla" id="1517416281033-3100"> <addForeignKeyConstraint baseColumnNames="cd_tipo_ordine" baseTableName="ordine_acq" constraintName="fk_ordine_acq15" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_ordine" referencedTableName="tipo_ordine"/> </changeSet> <changeSet author="sigla" id="1517416281033-3101"> <addForeignKeyConstraint baseColumnNames="cd_cig" baseTableName="ordine_acq" constraintName="fk_ordine_acq16" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cig" referencedTableName="cig"/> </changeSet> <changeSet author="sigla" id="1517416281033-3102"> <addForeignKeyConstraint baseColumnNames="cd_cup" baseTableName="ordine_acq" constraintName="fk_ordine_acq17" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cup" referencedTableName="cup"/> </changeSet> <changeSet author="sigla" id="1517416281033-3103"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_unita_operativa,esercizio,cd_numeratore,numero,riga" baseTableName="ordine_acq_consegna" constraintName="fk_ordine_acq_consegna00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_operativa,esercizio,cd_numeratore,numero,riga" referencedTableName="ordine_acq_riga"/> </changeSet> <changeSet author="sigla" id="1517416281033-3104"> <addForeignKeyConstraint baseColumnNames="cd_cds_mag,cd_magazzino" baseTableName="ordine_acq_consegna" constraintName="fk_ordine_acq_consegna01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_magazzino" referencedTableName="magazzino"/> </changeSet> <changeSet author="sigla" id="1517416281033-3105"> <addForeignKeyConstraint baseColumnNames="cd_uop_dest" baseTableName="ordine_acq_consegna" constraintName="fk_ordine_acq_consegna02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_operativa" referencedTableName="unita_operativa_ord"/> </changeSet> <changeSet author="sigla" id="1517416281033-3106"> <addForeignKeyConstraint baseColumnNames="cd_cds_obbl,esercizio_obbl,esercizio_orig_obbl,pg_obbligazione,pg_obbligazione_scad" baseTableName="ordine_acq_consegna" constraintName="fk_ordine_acq_consegna03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione,pg_obbligazione_scadenzario" referencedTableName="obbligazione_scadenzario"/> </changeSet> <changeSet author="sigla" id="1517416281033-3107"> <addForeignKeyConstraint baseColumnNames="cd_cds_luogo,cd_luogo_consegna" baseTableName="ordine_acq_consegna" constraintName="fk_ordine_acq_consegna04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_luogo_consegna" referencedTableName="luogo_consegna_mag"/> </changeSet> <changeSet author="sigla" id="1517416281033-3108"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_unita_operativa,esercizio,cd_numeratore,numero" baseTableName="ordine_acq_riga" constraintName="fk_ordine_acq_riga00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_operativa,esercizio,cd_numeratore,numero" referencedTableName="ordine_acq"/> </changeSet> <changeSet author="sigla" id="1517416281033-3109"> <addForeignKeyConstraint baseColumnNames="cd_unita_misura" baseTableName="ordine_acq_riga" constraintName="fk_ordine_acq_riga01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_misura" referencedTableName="unita_misura"/> </changeSet> <changeSet author="sigla" id="1517416281033-3110"> <addForeignKeyConstraint baseColumnNames="cd_voce_iva" baseTableName="ordine_acq_riga" constraintName="fk_ordine_acq_riga02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_voce_iva" referencedTableName="voce_iva"/> </changeSet> <changeSet author="sigla" id="1517416281033-3111"> <addForeignKeyConstraint baseColumnNames="cd_bene_servizio" baseTableName="ordine_acq_riga" constraintName="fk_ordine_acq_riga03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_bene_servizio" referencedTableName="bene_servizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3112"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,pg_ordine" baseTableName="ordine_dett" constraintName="fk_ordine_dett00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_ordine" referencedTableName="ordine"/> </changeSet> <changeSet author="sigla" id="1517416281033-3113"> <addForeignKeyConstraint baseColumnNames="cd_anag" baseTableName="pagamento_esterno" constraintName="fk_pagamento_esterno00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_anag" referencedTableName="anagrafico"/> </changeSet> <changeSet author="sigla" id="1517416281033-3114"> <addForeignKeyConstraint baseColumnNames="cd_tipo_rapporto" baseTableName="pagamento_esterno" constraintName="fk_pagamento_esterno01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_rapporto" referencedTableName="tipo_rapporto"/> </changeSet> <changeSet author="sigla" id="1517416281033-3115"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="parametri_cds" constraintName="fk_parametri_cds00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3116"> <addForeignKeyConstraint baseColumnNames="cd_tipo_rapporto" baseTableName="parametri_cnr" constraintName="fk_parametri_cnr00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_rapporto" referencedTableName="tipo_rapporto"/> </changeSet> <changeSet author="sigla" id="1517416281033-3117"> <addForeignKeyConstraint baseColumnNames="cd_tipo_rapporto_prof" baseTableName="parametri_cnr" constraintName="fk_parametri_cnr01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_rapporto" referencedTableName="tipo_rapporto"/> </changeSet> <changeSet author="sigla" id="1517416281033-3118"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="parametri_uo" constraintName="fk_parametri_uo00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3119"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita" baseTableName="pdg_aggregato" constraintName="fk_pdg_aggregato00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-3120"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita" baseTableName="pdg_aggregato_etr_det" constraintName="fk_pdg_aggregato_etr_det00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita" referencedTableName="pdg_aggregato"/> </changeSet> <changeSet author="sigla" id="1517416281033-3121"> <addForeignKeyConstraint baseColumnNames="cd_natura" baseTableName="pdg_aggregato_etr_det" constraintName="fk_pdg_aggregato_etr_det01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_natura" referencedTableName="natura"/> </changeSet> <changeSet author="sigla" id="1517416281033-3122"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="pdg_aggregato_etr_det" constraintName="fk_pdg_aggregato_etr_det02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-3123"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita" baseTableName="pdg_aggregato_etr_var" constraintName="fk_pdg_aggregato_etr_var00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita" referencedTableName="pdg_aggregato"/> </changeSet> <changeSet author="sigla" id="1517416281033-3124"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita,pg_variazione_pdg" baseTableName="pdg_aggregato_etr_var" constraintName="fk_pdg_aggregato_etr_var01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita,pg_variazione_pdg" referencedTableName="pdg_preventivo_var"/> </changeSet> <changeSet author="sigla" id="1517416281033-3125"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita" baseTableName="pdg_aggregato_spe_det" constraintName="fk_pdg_aggregato_spe_det00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita" referencedTableName="pdg_aggregato"/> </changeSet> <changeSet author="sigla" id="1517416281033-3126"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="pdg_aggregato_spe_det" constraintName="fk_pdg_aggregato_spe_det01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-3127"> <addForeignKeyConstraint baseColumnNames="cd_funzione" baseTableName="pdg_aggregato_spe_det" constraintName="fk_pdg_aggregato_spe_det02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_funzione" referencedTableName="funzione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3128"> <addForeignKeyConstraint baseColumnNames="cd_natura" baseTableName="pdg_aggregato_spe_det" constraintName="fk_pdg_aggregato_spe_det03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_natura" referencedTableName="natura"/> </changeSet> <changeSet author="sigla" id="1517416281033-3129"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="pdg_aggregato_spe_det" constraintName="fk_pdg_aggregato_spe_det04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3130"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita" baseTableName="pdg_aggregato_spe_var" constraintName="fk_pdg_aggregato_spe_var00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita" referencedTableName="pdg_aggregato"/> </changeSet> <changeSet author="sigla" id="1517416281033-3131"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita,pg_variazione_pdg" baseTableName="pdg_aggregato_spe_var" constraintName="fk_pdg_aggregato_spe_var01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita,pg_variazione_pdg" referencedTableName="pdg_preventivo_var"/> </changeSet> <changeSet author="sigla" id="1517416281033-3132"> <addForeignKeyConstraint baseColumnNames="cd_dipartimento" baseTableName="pdg_approvato_dip_area" constraintName="fk_pdg_approvato_dip_area01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_dipartimento" referencedTableName="dipartimento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3133"> <addForeignKeyConstraint baseColumnNames="cd_cds_area" baseTableName="pdg_approvato_dip_area" constraintName="fk_pdg_approvato_dip_area02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3134"> <addForeignKeyConstraint baseColumnNames="esercizio_dip,cd_dipartimento,pg_dettaglio_dip" baseTableName="pdg_contrattazione_spese" constraintName="fk_pdg_contrattazione_s03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_dipartimento,pg_dettaglio" referencedTableName="pdg_approvato_dip_area"/> </changeSet> <changeSet author="sigla" id="1517416281033-3135"> <addForeignKeyConstraint baseColumnNames="id_classificazione" baseTableName="pdg_contrattazione_spese" constraintName="fk_pdg_contrattazione_spese01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_classificazione" referencedTableName="classificazione_voci"/> </changeSet> <changeSet author="sigla" id="1517416281033-3136"> <addForeignKeyConstraint baseColumnNames="cd_cds_area" baseTableName="pdg_contrattazione_spese" constraintName="fk_pdg_contrattazione_spese02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3137"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita" baseTableName="pdg_esercizio" constraintName="fk_pdg_gestione00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-3138"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita" baseTableName="pdg_modulo" constraintName="fk_pdg_modulo00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-3139"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita" baseTableName="pdg_modulo_costi" constraintName="fk_pdg_modulo_costi00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-3140"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita,pg_progetto" baseTableName="pdg_modulo_costi" constraintName="fk_pdg_modulo_costi02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita,pg_progetto" referencedTableName="pdg_modulo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3141"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita,pg_progetto" baseTableName="pdg_modulo_entrate" constraintName="fk_pdg_modulo_entrante00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita,pg_progetto" referencedTableName="pdg_modulo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3142"> <addForeignKeyConstraint baseColumnNames="cdr_linea,cd_linea_attivita" baseTableName="pdg_modulo_entrate" constraintName="fk_pdg_modulo_entrante01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-3143"> <addForeignKeyConstraint baseColumnNames="cd_natura" baseTableName="pdg_modulo_entrate" constraintName="fk_pdg_modulo_entrante02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_natura" referencedTableName="natura"/> </changeSet> <changeSet author="sigla" id="1517416281033-3144"> <addForeignKeyConstraint baseColumnNames="id_classificazione" baseTableName="pdg_modulo_entrate" constraintName="fk_pdg_modulo_entrante03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_classificazione" referencedTableName="classificazione_voci"/> </changeSet> <changeSet author="sigla" id="1517416281033-3145"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="pdg_modulo_entrate" constraintName="fk_pdg_modulo_entrante04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3146"> <addForeignKeyConstraint baseColumnNames="cd_cds_area" baseTableName="pdg_modulo_entrate" constraintName="fk_pdg_modulo_entrante05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3147"> <addForeignKeyConstraint baseColumnNames="cd_unita_piano,cd_voce_piano" baseTableName="pdg_modulo_entrate" constraintName="fk_pdg_modulo_entrante06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa,cd_voce_piano" referencedTableName="voce_piano_economico_prg"/> </changeSet> <changeSet author="sigla" id="1517416281033-3148"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita,pg_progetto,cd_natura,id_classificazione,pg_dettaglio,cd_cds_area" baseTableName="pdg_modulo_entrate_gest" constraintName="fk_pdg_modulo_entrate_gest00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita,pg_progetto,cd_natura,id_classificazione,pg_dettaglio,cd_cds_area" referencedTableName="pdg_modulo_entrate"/> </changeSet> <changeSet author="sigla" id="1517416281033-3149"> <addForeignKeyConstraint baseColumnNames="cd_cdr_assegnatario,cd_linea_attivita" baseTableName="pdg_modulo_entrate_gest" constraintName="fk_pdg_modulo_entrate_gest01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-3150"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="pdg_modulo_entrate_gest" constraintName="fk_pdg_modulo_entrate_gest02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-3151"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita,pg_progetto" baseTableName="pdg_modulo_spese" constraintName="fk_pdg_modulo_spese00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita,pg_progetto" referencedTableName="pdg_modulo_costi"/> </changeSet> <changeSet author="sigla" id="1517416281033-3152"> <addForeignKeyConstraint baseColumnNames="id_classificazione" baseTableName="pdg_modulo_spese" constraintName="fk_pdg_modulo_spese01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_classificazione" referencedTableName="classificazione_voci"/> </changeSet> <changeSet author="sigla" id="1517416281033-3153"> <addForeignKeyConstraint baseColumnNames="cd_cds_area" baseTableName="pdg_modulo_spese" constraintName="fk_pdg_modulo_spese02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3154"> <addForeignKeyConstraint baseColumnNames="cd_unita_piano,cd_voce_piano" baseTableName="pdg_modulo_spese" constraintName="fk_pdg_modulo_spese05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa,cd_voce_piano" referencedTableName="voce_piano_economico_prg"/> </changeSet> <changeSet author="sigla" id="1517416281033-3155"> <addForeignKeyConstraint baseColumnNames="cd_cofog" baseTableName="pdg_modulo_spese" constraintName="fk_pdg_modulo_spese_03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cofog" referencedTableName="cofog"/> </changeSet> <changeSet author="sigla" id="1517416281033-3156"> <addForeignKeyConstraint baseColumnNames="cd_missione" baseTableName="pdg_modulo_spese" constraintName="fk_pdg_modulo_spese_04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_missione" referencedTableName="pdg_missione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3157"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita,pg_progetto,id_classificazione,cd_cds_area,pg_dettaglio" baseTableName="pdg_modulo_spese_gest" constraintName="fk_pdg_modulo_spese_gest00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita,pg_progetto,id_classificazione,cd_cds_area,pg_dettaglio" referencedTableName="pdg_modulo_spese"/> </changeSet> <changeSet author="sigla" id="1517416281033-3158"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita,pg_progetto" baseTableName="pdg_modulo_spese_gest" constraintName="fk_pdg_modulo_spese_gest01" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita,pg_progetto" referencedTableName="pdg_modulo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3159"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="pdg_modulo_spese_gest" constraintName="fk_pdg_modulo_spese_gest02" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-3160"> <addForeignKeyConstraint baseColumnNames="cd_cdr_assegnatario,cd_linea_attivita" baseTableName="pdg_modulo_spese_gest" constraintName="fk_pdg_modulo_spese_gest03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-3161"> <addForeignKeyConstraint baseColumnNames="id_classificazione" baseTableName="pdg_modulo_spese_gest" constraintName="fk_pdg_modulo_spese_gest04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_classificazione" referencedTableName="classificazione_voci"/> </changeSet> <changeSet author="sigla" id="1517416281033-3162"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita" baseTableName="pdg_piano_riparto" constraintName="fk_pdg_piano_riparto_00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-3163"> <addForeignKeyConstraint baseColumnNames="id_classificazione" baseTableName="pdg_piano_riparto" constraintName="fk_pdg_piano_riparto_01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_classificazione" referencedTableName="classificazione_voci"/> </changeSet> <changeSet author="sigla" id="1517416281033-3164"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita" baseTableName="pdg_preventivo" constraintName="fk_pdg_preventivo00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-3165"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita" baseTableName="pdg_preventivo_etr_det" constraintName="fk_pdg_preventivo_etr_det00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita" referencedTableName="pdg_preventivo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3166"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita_clgs,cd_linea_attivita_clgs,ti_appartenenza_clgs,ti_gestione_clgs,cd_elemento_voce_clgs,pg_spesa_clgs" baseTableName="pdg_preventivo_etr_det" constraintName="fk_pdg_preventivo_etr_det01" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita,cd_linea_attivita,ti_appartenenza,ti_gestione,cd_elemento_voce,pg_spesa" referencedTableName="pdg_preventivo_spe_det"/> </changeSet> <changeSet author="sigla" id="1517416281033-3167"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="pdg_preventivo_etr_det" constraintName="fk_pdg_preventivo_etr_det02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-3168"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita,cd_linea_attivita" baseTableName="pdg_preventivo_etr_det" constraintName="fk_pdg_preventivo_etr_det03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-3169"> <addForeignKeyConstraint baseColumnNames="cd_funzione" baseTableName="pdg_preventivo_etr_det" constraintName="fk_pdg_preventivo_etr_det10" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_funzione" referencedTableName="funzione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3170"> <addForeignKeyConstraint baseColumnNames="cd_natura" baseTableName="pdg_preventivo_etr_det" constraintName="fk_pdg_preventivo_etr_det11" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_natura" referencedTableName="natura"/> </changeSet> <changeSet author="sigla" id="1517416281033-3171"> <addForeignKeyConstraint baseColumnNames="esercizio_pdg_variazione,pg_variazione_pdg" baseTableName="pdg_preventivo_etr_det" constraintName="fk_pdg_preventivo_etr_det20" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_variazione_pdg" referencedTableName="pdg_variazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3172"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita,cd_linea_attivita,ti_appartenenza,ti_gestione,cd_elemento_voce,pg_entrata" baseTableName="pdg_preventivo_etr_var" constraintName="fk_pdg_preventivo_etr_var00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita,cd_linea_attivita,ti_appartenenza,ti_gestione,cd_elemento_voce,pg_entrata" referencedTableName="pdg_preventivo_etr_det"/> </changeSet> <changeSet author="sigla" id="1517416281033-3173"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_cdr_responsabile,pg_variazione_pdg" baseTableName="pdg_preventivo_etr_var" constraintName="fk_pdg_preventivo_etr_var01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita,pg_variazione_pdg" referencedTableName="pdg_preventivo_var"/> </changeSet> <changeSet author="sigla" id="1517416281033-3174"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita" baseTableName="pdg_preventivo_spe_det" constraintName="fk_pdg_preventivo_spe_det00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita" referencedTableName="pdg_preventivo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3175"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita,cd_linea_attivita" baseTableName="pdg_preventivo_spe_det" constraintName="fk_pdg_preventivo_spe_det01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-3176"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="pdg_preventivo_spe_det" constraintName="fk_pdg_preventivo_spe_det02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-3177"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita_clge,cd_linea_attivita_clge,ti_appartenenza_clge,ti_gestione_clge,cd_elemento_voce_clge,pg_entrata_clge" baseTableName="pdg_preventivo_spe_det" constraintName="fk_pdg_preventivo_spe_det04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita,cd_linea_attivita,ti_appartenenza,ti_gestione,cd_elemento_voce,pg_entrata" referencedTableName="pdg_preventivo_etr_det"/> </changeSet> <changeSet author="sigla" id="1517416281033-3178"> <addForeignKeyConstraint baseColumnNames="cd_funzione" baseTableName="pdg_preventivo_spe_det" constraintName="fk_pdg_preventivo_spe_det10" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_funzione" referencedTableName="funzione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3179"> <addForeignKeyConstraint baseColumnNames="cd_natura" baseTableName="pdg_preventivo_spe_det" constraintName="fk_pdg_preventivo_spe_det11" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_natura" referencedTableName="natura"/> </changeSet> <changeSet author="sigla" id="1517416281033-3180"> <addForeignKeyConstraint baseColumnNames="esercizio_pdg_variazione,pg_variazione_pdg" baseTableName="pdg_preventivo_spe_det" constraintName="fk_pdg_preventivo_spe_det20" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_variazione_pdg" referencedTableName="pdg_variazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3181"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita,cd_linea_attivita,ti_appartenenza,ti_gestione,cd_elemento_voce,pg_spesa" baseTableName="pdg_preventivo_spe_var" constraintName="fk_pdg_preventivo_spe_var00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita,cd_linea_attivita,ti_appartenenza,ti_gestione,cd_elemento_voce,pg_spesa" referencedTableName="pdg_preventivo_spe_det"/> </changeSet> <changeSet author="sigla" id="1517416281033-3182"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_cdr_responsabile,pg_variazione_pdg" baseTableName="pdg_preventivo_spe_var" constraintName="fk_pdg_preventivo_spe_var01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita,pg_variazione_pdg" referencedTableName="pdg_preventivo_var"/> </changeSet> <changeSet author="sigla" id="1517416281033-3183"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita" baseTableName="pdg_preventivo_var" constraintName="fk_pdg_preventivo_var00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita" referencedTableName="pdg_preventivo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3184"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita" baseTableName="pdg_residuo" constraintName="fk_pdg_residuo00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-3185"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita" baseTableName="pdg_residuo_det" constraintName="fk_pdg_residuo_det00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita" referencedTableName="pdg_residuo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3186"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="pdg_residuo_det" constraintName="fk_pdg_residuo_det01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-3187"> <addForeignKeyConstraint baseColumnNames="cd_funzione" baseTableName="pdg_residuo_det" constraintName="fk_pdg_residuo_det02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_funzione" referencedTableName="funzione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3188"> <addForeignKeyConstraint baseColumnNames="cd_natura" baseTableName="pdg_residuo_det" constraintName="fk_pdg_residuo_det03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_natura" referencedTableName="natura"/> </changeSet> <changeSet author="sigla" id="1517416281033-3189"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita" baseTableName="pdg_variazione" constraintName="fk_pdg_variazione00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-3190"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="pdg_variazione" constraintName="fk_pdg_variazione01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-3191"> <addForeignKeyConstraint baseColumnNames="esercizio,tipologia" baseTableName="pdg_variazione" constraintName="fk_pdg_variazione02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_tipo_variazione" referencedTableName="tipo_variazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3192"> <addForeignKeyConstraint baseColumnNames="esercizio,pg_variazione_pdg" baseTableName="pdg_variazione_archivio" constraintName="fk_pdg_variazione_archivio00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_variazione_pdg" referencedTableName="pdg_variazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3193"> <addForeignKeyConstraint baseColumnNames="esercizio,pg_variazione_pdg" baseTableName="pdg_variazione_riga_gest" constraintName="fk_pdg_variazione_riga_gest00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_variazione_pdg" referencedTableName="pdg_variazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3194"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="pdg_variazione_riga_gest" constraintName="fk_pdg_variazione_riga_gest01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-3195"> <addForeignKeyConstraint baseColumnNames="cd_cdr_assegnatario,cd_linea_attivita" baseTableName="pdg_variazione_riga_gest" constraintName="fk_pdg_variazione_riga_gest02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-3196"> <addForeignKeyConstraint baseColumnNames="pg_stampa" baseTableName="print_spooler_param" constraintName="fk_print_spooler_param00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="pg_stampa" referencedTableName="print_spooler"/> </changeSet> <changeSet author="sigla" id="1517416281033-3197"> <addForeignKeyConstraint baseColumnNames="cd_gruppo_file" baseTableName="procedure_amministrative" constraintName="fk_procedure_amministrative01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_gruppo_file" referencedTableName="gruppo_file"/> </changeSet> <changeSet author="sigla" id="1517416281033-3198"> <addForeignKeyConstraint baseColumnNames="cd_finanziatore_terzo" baseTableName="progetto_finanziatore" constraintName="fk_progetto_finanziatore01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3199"> <addForeignKeyConstraint baseColumnNames="cd_partner_esterno" baseTableName="progetto_partner_esterno" constraintName="fk_progetto_partner_esterno01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3200"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa,cd_voce_piano" baseTableName="progetto_piano_economico" constraintName="fk_progetto_piano_economico00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa,cd_voce_piano" referencedTableName="voce_piano_economico_prg"/> </changeSet> <changeSet author="sigla" id="1517416281033-3201"> <addForeignKeyConstraint baseColumnNames="cd_responsabile_terzo" baseTableName="progetto_sic" constraintName="fk_progetto_sic00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3202"> <addForeignKeyConstraint baseColumnNames="cd_tipo_progetto" baseTableName="progetto_sic" constraintName="fk_progetto_sic01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_progetto" referencedTableName="tipo_progetto"/> </changeSet> <changeSet author="sigla" id="1517416281033-3203"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="progetto_sic" constraintName="fk_progetto_sic02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3204"> <addForeignKeyConstraint baseColumnNames="cd_divisa" baseTableName="progetto_sic" constraintName="fk_progetto_sic03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_divisa" referencedTableName="divisa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3205"> <addForeignKeyConstraint baseColumnNames="cd_dipartimento" baseTableName="progetto_sic" constraintName="fk_progetto_sic04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_dipartimento" referencedTableName="dipartimento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3206"> <addForeignKeyConstraint baseColumnNames="cd_programma" baseTableName="progetto_sic" constraintName="fk_progetto_sic05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_programma" referencedTableName="pdg_programma"/> </changeSet> <changeSet author="sigla" id="1517416281033-3207"> <addForeignKeyConstraint baseColumnNames="cd_missione" baseTableName="progetto_sic" constraintName="fk_progetto_sic06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_missione" referencedTableName="pdg_missione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3208"> <addForeignKeyConstraint baseColumnNames="cd_dipartimento" baseTableName="progetto_sip" constraintName="fk_progetto_sip04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_dipartimento" referencedTableName="dipartimento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3209"> <addForeignKeyConstraint baseColumnNames="cd_programma" baseTableName="progetto_sip" constraintName="fk_progetto_sip05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_programma" referencedTableName="pdg_programma"/> </changeSet> <changeSet author="sigla" id="1517416281033-3210"> <addForeignKeyConstraint baseColumnNames="cd_missione" baseTableName="progetto_sip" constraintName="fk_progetto_sip06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_missione" referencedTableName="pdg_missione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3211"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="progetto_uo" constraintName="fk_progetto_uo01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3212"> <addForeignKeyConstraint baseColumnNames="cd_regione" baseTableName="provincia" constraintName="fk_provincia00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_regione" referencedTableName="regione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3213"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="raggr_magazzino" constraintName="fk_raggr_magazzino00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3214"> <addForeignKeyConstraint baseColumnNames="cd_anag" baseTableName="rapporto" constraintName="fk_rapporto00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_anag" referencedTableName="anagrafico"/> </changeSet> <changeSet author="sigla" id="1517416281033-3215"> <addForeignKeyConstraint baseColumnNames="cd_tipo_rapporto" baseTableName="rapporto" constraintName="fk_rapporto01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_rapporto" referencedTableName="tipo_rapporto"/> </changeSet> <changeSet author="sigla" id="1517416281033-3216"> <addForeignKeyConstraint baseColumnNames="cd_rapp_impiego_sti" baseTableName="rapporto" constraintName="fk_rapporto02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_rapp_impiego_sti" referencedTableName="ass_rapp_impiego"/> </changeSet> <changeSet author="sigla" id="1517416281033-3217"> <addForeignKeyConstraint baseColumnNames="esercizio" baseTableName="rateizza_classific_cori" constraintName="fk_rateizza_classific_cori00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio" referencedTableName="esercizio_base"/> </changeSet> <changeSet author="sigla" id="1517416281033-3218"> <addForeignKeyConstraint baseColumnNames="cd_classificazione_cori" baseTableName="rateizza_classific_cori" constraintName="fk_rateizza_classific_cori01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_classificazione_cori" referencedTableName="classificazione_cori"/> </changeSet> <changeSet author="sigla" id="1517416281033-3219"> <addForeignKeyConstraint baseColumnNames="cd_anag" baseTableName="rateizza_classific_cori" constraintName="fk_rateizza_classific_cori02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_anag" referencedTableName="anagrafico"/> </changeSet> <changeSet author="sigla" id="1517416281033-3220"> <addForeignKeyConstraint baseColumnNames="cd_cds_conguaglio,cd_uo_conguaglio,esercizio,pg_conguaglio" baseTableName="rateizza_classific_cori" constraintName="fk_rateizza_classific_cori03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_conguaglio" referencedTableName="conguaglio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3221"> <addForeignKeyConstraint baseColumnNames="esercizio" baseTableName="rateizza_classific_cori_s" constraintName="fk_rateizza_classific_cori_s00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio" referencedTableName="esercizio_base"/> </changeSet> <changeSet author="sigla" id="1517416281033-3222"> <addForeignKeyConstraint baseColumnNames="cd_classificazione_cori" baseTableName="rateizza_classific_cori_s" constraintName="fk_rateizza_classific_cori_s01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_classificazione_cori" referencedTableName="classificazione_cori"/> </changeSet> <changeSet author="sigla" id="1517416281033-3223"> <addForeignKeyConstraint baseColumnNames="cd_anag" baseTableName="rateizza_classific_cori_s" constraintName="fk_rateizza_classific_cori_s02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_anag" referencedTableName="anagrafico"/> </changeSet> <changeSet author="sigla" id="1517416281033-3224"> <addForeignKeyConstraint baseColumnNames="cd_cds_conguaglio,cd_uo_conguaglio,esercizio,pg_conguaglio" baseTableName="rateizza_classific_cori_s" constraintName="fk_rateizza_classific_cori_s03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_conguaglio" referencedTableName="conguaglio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3225"> <addForeignKeyConstraint baseColumnNames="cd_tipo_limite" baseTableName="repertorio_limiti" constraintName="fk_repertorio_limiti00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_limite" referencedTableName="tipo_limite"/> </changeSet> <changeSet author="sigla" id="1517416281033-3226"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="report_stato" constraintName="fk_report_stato00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3227"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="report_stato" constraintName="fk_report_stato01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3228"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="report_stato" constraintName="fk_report_stato02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3229"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="reversale" constraintName="fk_reversale00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3230"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="reversale" constraintName="fk_reversale01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3231"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="reversale" constraintName="fk_reversale02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3232"> <addForeignKeyConstraint baseColumnNames="cd_cds_origine" baseTableName="reversale" constraintName="fk_reversale03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3233"> <addForeignKeyConstraint baseColumnNames="cd_uo_origine" baseTableName="reversale" constraintName="fk_reversale04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3234"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,pg_reversale,esercizio_accertamento,esercizio_ori_accertamento,pg_accertamento,pg_accertamento_scadenzario,cd_cds_doc_amm,cd_uo_doc_amm,esercizio_doc_amm,cd_tipo_documento_amm,pg_doc_amm" baseTableName="reversale_cup" constraintName="fk_reversale_cup00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_reversale,esercizio_accertamento,esercizio_ori_accertamento,pg_accertamento,pg_accertamento_scadenzario,cd_cds_doc_amm,cd_uo_doc_amm,esercizio_doc_amm,cd_tipo_documento_amm,pg_doc_amm" referencedTableName="reversale_riga"/> </changeSet> <changeSet author="sigla" id="1517416281033-3235"> <addForeignKeyConstraint baseColumnNames="cd_cup" baseTableName="reversale_cup" constraintName="fk_reversale_cup01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cup" referencedTableName="cup"/> </changeSet> <changeSet author="sigla" id="1517416281033-3236"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,pg_reversale" baseTableName="reversale_riga" constraintName="fk_reversale_riga00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_reversale" referencedTableName="reversale"/> </changeSet> <changeSet author="sigla" id="1517416281033-3237"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio_accertamento,esercizio_ori_accertamento,pg_accertamento,pg_accertamento_scadenzario" baseTableName="reversale_riga" constraintName="fk_reversale_riga01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento,pg_accertamento_scadenzario" referencedTableName="accertamento_scadenzario"/> </changeSet> <changeSet author="sigla" id="1517416281033-3238"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="reversale_riga" constraintName="fk_reversale_riga02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3239"> <addForeignKeyConstraint baseColumnNames="cd_terzo_uo" baseTableName="reversale_riga" constraintName="fk_reversale_riga03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3240"> <addForeignKeyConstraint baseColumnNames="cd_terzo_uo,pg_banca" baseTableName="reversale_riga" constraintName="fk_reversale_riga04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,pg_banca" referencedTableName="banca"/> </changeSet> <changeSet author="sigla" id="1517416281033-3241"> <addForeignKeyConstraint baseColumnNames="cd_terzo_uo,cd_modalita_pag" baseTableName="reversale_riga" constraintName="fk_reversale_riga05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_modalita_pag" referencedTableName="modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3242"> <addForeignKeyConstraint baseColumnNames="cd_cds_doc_amm,cd_uo_doc_amm,esercizio_doc_amm,cd_tipo_documento_amm" baseTableName="reversale_riga" constraintName="fk_reversale_riga06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,cd_tipo_documento_amm" referencedTableName="numerazione_doc_amm"/> </changeSet> <changeSet author="sigla" id="1517416281033-3243"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,pg_reversale,esercizio_accertamento,esercizio_ori_accertamento,pg_accertamento,pg_accertamento_scadenzario,cd_cds_doc_amm,cd_uo_doc_amm,esercizio_doc_amm,cd_tipo_documento_amm,pg_doc_amm" baseTableName="reversale_siope" constraintName="fk_reversale_siope00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_reversale,esercizio_accertamento,esercizio_ori_accertamento,pg_accertamento,pg_accertamento_scadenzario,cd_cds_doc_amm,cd_uo_doc_amm,esercizio_doc_amm,cd_tipo_documento_amm,pg_doc_amm" referencedTableName="reversale_riga"/> </changeSet> <changeSet author="sigla" id="1517416281033-3244"> <addForeignKeyConstraint baseColumnNames="esercizio_siope,ti_gestione,cd_siope" baseTableName="reversale_siope" constraintName="fk_reversale_siope01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_gestione,cd_siope" referencedTableName="codici_siope"/> </changeSet> <changeSet author="sigla" id="1517416281033-3245"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,pg_reversale,esercizio_accertamento,esercizio_ori_accertamento,pg_accertamento,pg_accertamento_scadenzario,cd_cds_doc_amm,cd_uo_doc_amm,esercizio_doc_amm,cd_tipo_documento_amm,pg_doc_amm,esercizio_siope,ti_gestione,cd_siope" baseTableName="reversale_siope_cup" constraintName="fk_reversale_siope_cup00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_reversale,esercizio_accertamento,esercizio_ori_accertamento,pg_accertamento,pg_accertamento_scadenzario,cd_cds_doc_amm,cd_uo_doc_amm,esercizio_doc_amm,cd_tipo_documento_amm,pg_doc_amm,esercizio_siope,ti_gestione,cd_siope" referencedTableName="reversale_siope"/> </changeSet> <changeSet author="sigla" id="1517416281033-3246"> <addForeignKeyConstraint baseColumnNames="cd_cup" baseTableName="reversale_siope_cup" constraintName="fk_reversale_siope_cup01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cup" referencedTableName="cup"/> </changeSet> <changeSet author="sigla" id="1517416281033-3247"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,pg_reversale" baseTableName="reversale_terzo" constraintName="fk_reversale_terzo00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_reversale" referencedTableName="reversale"/> </changeSet> <changeSet author="sigla" id="1517416281033-3248"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="reversale_terzo" constraintName="fk_reversale_terzo01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3249"> <addForeignKeyConstraint baseColumnNames="cd_tipo_bollo" baseTableName="reversale_terzo" constraintName="fk_reversale_terzo02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_bollo" referencedTableName="tipo_bollo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3250"> <addForeignKeyConstraint baseColumnNames="pg_esecuzione" baseTableName="ribaltamento_log" constraintName="fk_ribaltamento_log01" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="pg_esecuzione" referencedTableName="batch_log_tsta"/> </changeSet> <changeSet author="sigla" id="1517416281033-3251"> <addForeignKeyConstraint baseColumnNames="cd_unita_operativa" baseTableName="richiesta_uop" constraintName="fk_richiesta_uop00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_operativa" referencedTableName="unita_operativa_ord"/> </changeSet> <changeSet author="sigla" id="1517416281033-3252"> <addForeignKeyConstraint baseColumnNames="cd_unita_operativa,esercizio,cd_numeratore" baseTableName="richiesta_uop" constraintName="fk_richiesta_uop01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_operativa,esercizio,cd_numeratore" referencedTableName="numerazione_ord"/> </changeSet> <changeSet author="sigla" id="1517416281033-3253"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="richiesta_uop" constraintName="fk_richiesta_uop02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3254"> <addForeignKeyConstraint baseColumnNames="cd_unita_operativa_dest" baseTableName="richiesta_uop" constraintName="fk_richiesta_uop03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_operativa" referencedTableName="unita_operativa_ord"/> </changeSet> <changeSet author="sigla" id="1517416281033-3255"> <addForeignKeyConstraint baseColumnNames="cd_uop_richiesta" baseTableName="richiesta_uop" constraintName="fk_richiesta_uop04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_operativa" referencedTableName="unita_operativa_ord"/> </changeSet> <changeSet author="sigla" id="1517416281033-3256"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_unita_operativa,esercizio,cd_numeratore,numero" baseTableName="richiesta_uop_riga" constraintName="fk_richiesta_uop_riga00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_operativa,esercizio,cd_numeratore,numero" referencedTableName="richiesta_uop"/> </changeSet> <changeSet author="sigla" id="1517416281033-3257"> <addForeignKeyConstraint baseColumnNames="esercizio_voce,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="richiesta_uop_riga" constraintName="fk_richiesta_uop_riga04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-3258"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita,cd_linea_attivita" baseTableName="richiesta_uop_riga" constraintName="fk_richiesta_uop_riga05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-3259"> <addForeignKeyConstraint baseColumnNames="cd_cds_obbl,esercizio_obbl,esercizio_orig_obbl,pg_obbligazione" baseTableName="richiesta_uop_riga" constraintName="fk_richiesta_uop_riga06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione" referencedTableName="obbligazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3260"> <addForeignKeyConstraint baseColumnNames="cd_bene_servizio" baseTableName="richiesta_uop_riga" constraintName="fk_richiesta_uop_riga08" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_bene_servizio" referencedTableName="bene_servizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3261"> <addForeignKeyConstraint baseColumnNames="cd_bene_servizio_def" baseTableName="richiesta_uop_riga" constraintName="fk_richiesta_uop_riga09" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_bene_servizio" referencedTableName="bene_servizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3262"> <addForeignKeyConstraint baseColumnNames="cd_categoria_gruppo" baseTableName="richiesta_uop_riga" constraintName="fk_richiesta_uop_riga10" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_categoria_gruppo" referencedTableName="categoria_gruppo_invent"/> </changeSet> <changeSet author="sigla" id="1517416281033-3263"> <addForeignKeyConstraint baseColumnNames="cd_unita_misura" baseTableName="richiesta_uop_riga" constraintName="fk_richiesta_uop_riga11" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_misura" referencedTableName="unita_misura"/> </changeSet> <changeSet author="sigla" id="1517416281033-3264"> <addForeignKeyConstraint baseColumnNames="cd_gruppo_inquadramento" baseTableName="rif_inquadramento" constraintName="fk_rif_inquadramento00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_gruppo_inquadramento" referencedTableName="gruppo_inquadramento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3265"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_fattura" baseTableName="rif_protocollo_iva" constraintName="fk_rif_protocollo_iva00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_fattura_attiva" referencedTableName="fattura_attiva"/> </changeSet> <changeSet author="sigla" id="1517416281033-3266"> <addForeignKeyConstraint baseColumnNames="tipo_documento_amm" baseTableName="rif_protocollo_iva" constraintName="fk_rif_protocollo_iva01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_documento_amm" referencedTableName="tipo_documento_amm"/> </changeSet> <changeSet author="sigla" id="1517416281033-3267"> <addForeignKeyConstraint baseColumnNames="cd_cds_rich,cd_unita_operativa_rich,esercizio_rich,cd_numeratore_rich,numero_rich,riga_rich" baseTableName="riga_richiesta_consegna" constraintName="fk_riga_richiesta_consegna00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_operativa,esercizio,cd_numeratore,numero,riga" referencedTableName="richiesta_uop_riga"/> </changeSet> <changeSet author="sigla" id="1517416281033-3268"> <addForeignKeyConstraint baseColumnNames="cd_cds_ord,cd_unita_operativa_ord,esercizio_ord,cd_numeratore_ord,numero_ord,riga_ord,consegna_ord" baseTableName="riga_richiesta_consegna" constraintName="fk_riga_richiesta_consegna01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_operativa,esercizio,cd_numeratore,numero,riga,consegna" referencedTableName="ordine_acq_consegna"/> </changeSet> <changeSet author="sigla" id="1517416281033-3269"> <addForeignKeyConstraint baseColumnNames="cd_cds_eva,cd_magazzino_eva,esercizio_eva,cd_numeratore_eva,numero_eva,riga_eva" baseTableName="riga_richiesta_consegna" constraintName="fk_riga_richiesta_consegna02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_magazzino,esercizio,cd_numeratore_mag,numero,riga" referencedTableName="evasione_ordine_riga"/> </changeSet> <changeSet author="sigla" id="1517416281033-3270"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="rimborso" constraintName="fk_rimborso00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3271"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="rimborso" constraintName="fk_rimborso01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3272"> <addForeignKeyConstraint baseColumnNames="cd_cds_origine" baseTableName="rimborso" constraintName="fk_rimborso02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3273"> <addForeignKeyConstraint baseColumnNames="cd_uo_origine" baseTableName="rimborso" constraintName="fk_rimborso03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3274"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="rimborso" constraintName="fk_rimborso04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3275"> <addForeignKeyConstraint baseColumnNames="cd_terzo_uo_cds" baseTableName="rimborso" constraintName="fk_rimborso05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3276"> <addForeignKeyConstraint baseColumnNames="cd_terzo_uo_cds,cd_modalita_pag_uo_cds" baseTableName="rimborso" constraintName="fk_rimborso06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,cd_modalita_pag" referencedTableName="modalita_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3277"> <addForeignKeyConstraint baseColumnNames="cd_terzo_uo_cds,pg_banca_uo_cds" baseTableName="rimborso" constraintName="fk_rimborso07" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,pg_banca" referencedTableName="banca"/> </changeSet> <changeSet author="sigla" id="1517416281033-3278"> <addForeignKeyConstraint baseColumnNames="cd_cds_anticipo,cd_uo_anticipo,esercizio_anticipo,pg_anticipo" baseTableName="rimborso" constraintName="fk_rimborso09" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_anticipo" referencedTableName="anticipo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3279"> <addForeignKeyConstraint baseColumnNames="cd_cds_accertamento,esercizio_accertamento,esercizio_ori_accertamento,pg_accertamento,pg_accertamento_scadenzario" baseTableName="rimborso" constraintName="fk_rimborso10" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento,pg_accertamento_scadenzario" referencedTableName="accertamento_scadenzario"/> </changeSet> <changeSet author="sigla" id="1517416281033-3280"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita,cd_linea_attivita" baseTableName="risultato" constraintName="fk_risultato00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-3281"> <addForeignKeyConstraint baseColumnNames="cd_tipo_risultato" baseTableName="risultato" constraintName="fk_risultato01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_risultato" referencedTableName="tipo_risultato"/> </changeSet> <changeSet author="sigla" id="1517416281033-3282"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="ruolo" constraintName="fk_ruolo00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3283"> <addForeignKeyConstraint baseColumnNames="tipo" baseTableName="ruolo" constraintName="fk_ruolo01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="tipo" referencedTableName="tipo_ruolo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3284"> <addForeignKeyConstraint baseColumnNames="cd_ruolo" baseTableName="ruolo_accesso" constraintName="fk_ruolo_accesso00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_ruolo" referencedTableName="ruolo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3285"> <addForeignKeyConstraint baseColumnNames="cd_accesso" baseTableName="ruolo_accesso" constraintName="fk_ruolo_accesso01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_accesso" referencedTableName="accesso"/> </changeSet> <changeSet author="sigla" id="1517416281033-3286"> <addForeignKeyConstraint baseColumnNames="cd_ruolo" baseTableName="ruolo_blocco" constraintName="fk_ruolo_blocco00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_ruolo" referencedTableName="ruolo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3287"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita" baseTableName="saldi_imp_acc" constraintName="fk_saldi_imp_acc00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-3288"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita" baseTableName="saldi_pag_inc" constraintName="fk_saldi_pag_inc00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-3289"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita" baseTableName="saldi_stanziamenti" constraintName="fk_saldi_stanziamenti00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-3290"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="saldo_coan" constraintName="fk_saldo_coan00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3291"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita,cd_linea_attivita" baseTableName="saldo_coan" constraintName="fk_saldo_coan01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-3292"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_voce_ep" baseTableName="saldo_coan" constraintName="fk_saldo_coan02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_voce_ep" referencedTableName="voce_ep"/> </changeSet> <changeSet author="sigla" id="1517416281033-3293"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="saldo_coan" constraintName="fk_saldo_coan03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3294"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="saldo_coge" constraintName="fk_saldo_coge00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3295"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_voce_ep" baseTableName="saldo_coge" constraintName="fk_saldo_coge02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_voce_ep" referencedTableName="voce_ep"/> </changeSet> <changeSet author="sigla" id="1517416281033-3296"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="saldo_coge" constraintName="fk_saldo_coge03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3297"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="scrittura_analitica" constraintName="fk_scrittura_analitica00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3298"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="scrittura_analitica" constraintName="fk_scrittura_analitica02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3299"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="scrittura_partita_doppia" constraintName="fk_scrittura_partita_doppia00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3300"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="scrittura_partita_doppia" constraintName="fk_scrittura_partita_doppia02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3301"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_causale_coge" baseTableName="scrittura_partita_doppia" constraintName="fk_scrittura_partita_doppia03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_causale_coge" referencedTableName="causale_coge"/> </changeSet> <changeSet author="sigla" id="1517416281033-3302"> <addForeignKeyConstraint baseColumnNames="cd_tipo_semaforo" baseTableName="semaforo_base" constraintName="fk_semaforo_base00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_semaforo" referencedTableName="semaforo_tipo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3303"> <addForeignKeyConstraint baseColumnNames="cd_tipo_semaforo" baseTableName="semaforo_statico" constraintName="fk_semaforo_statico00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_semaforo" referencedTableName="semaforo_tipo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3304"> <addForeignKeyConstraint baseColumnNames="cd_servizio_pec" baseTableName="print_spooler" constraintName="fk_servizio_pec001" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_servizio" referencedTableName="servizio_pec"/> </changeSet> <changeSet author="sigla" id="1517416281033-3305"> <addForeignKeyConstraint baseColumnNames="cd_utente" baseTableName="session_trace" constraintName="fk_session_trace01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_utente" referencedTableName="utente"/> </changeSet> <changeSet author="sigla" id="1517416281033-3306"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="sezionale" constraintName="fk_sezionale00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3307"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="sezionale" constraintName="fk_sezionale01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3308"> <addForeignKeyConstraint baseColumnNames="cd_tipo_sezionale" baseTableName="sezionale" constraintName="fk_sezionale02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_sezionale" referencedTableName="tipo_sezionale"/> </changeSet> <changeSet author="sigla" id="1517416281033-3309"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="sospeso" constraintName="fk_sospeso00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3310"> <addForeignKeyConstraint baseColumnNames="cd_cds_origine" baseTableName="sospeso" constraintName="fk_sospeso01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3311"> <addForeignKeyConstraint baseColumnNames="cd_uo_origine" baseTableName="sospeso" constraintName="fk_sospeso02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3312"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,ti_entrata_spesa,ti_sospeso_riscontro,cd_sospeso_padre" baseTableName="sospeso" constraintName="fk_sospeso03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,ti_entrata_spesa,ti_sospeso_riscontro,cd_sospeso" referencedTableName="sospeso"/> </changeSet> <changeSet author="sigla" id="1517416281033-3313"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,ti_entrata_spesa,ti_sospeso_riscontro,cd_sospeso" baseTableName="sospeso_det_etr" constraintName="fk_sospeso_det_etr00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,ti_entrata_spesa,ti_sospeso_riscontro,cd_sospeso" referencedTableName="sospeso"/> </changeSet> <changeSet author="sigla" id="1517416281033-3314"> <addForeignKeyConstraint baseColumnNames="cd_cds_reversale,esercizio,pg_reversale" baseTableName="sospeso_det_etr" constraintName="fk_sospeso_det_etr01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_reversale" referencedTableName="reversale"/> </changeSet> <changeSet author="sigla" id="1517416281033-3315"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,ti_entrata_spesa,ti_sospeso_riscontro,cd_sospeso" baseTableName="sospeso_det_usc" constraintName="fk_sospeso_det_usc00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,ti_entrata_spesa,ti_sospeso_riscontro,cd_sospeso" referencedTableName="sospeso"/> </changeSet> <changeSet author="sigla" id="1517416281033-3316"> <addForeignKeyConstraint baseColumnNames="cd_cds_mandato,esercizio,pg_mandato" baseTableName="sospeso_det_usc" constraintName="fk_sospeso_det_usc01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_mandato" referencedTableName="mandato"/> </changeSet> <changeSet author="sigla" id="1517416281033-3317"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,cd_uo,pg_scrittura_an" baseTableName="stipendi_coan" constraintName="fk_stipendi_coan00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,cd_unita_organizzativa,pg_scrittura" referencedTableName="scrittura_analitica"/> </changeSet> <changeSet author="sigla" id="1517416281033-3318"> <addForeignKeyConstraint baseColumnNames="cd_cds_doc_gen,cd_uo_doc_gen,esercizio_doc_gen,cd_tipo_doc_gen,pg_doc_gen" baseTableName="stipendi_cofi" constraintName="fk_stipendi_cofi01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,cd_tipo_documento_amm,pg_documento_generico" referencedTableName="documento_generico"/> </changeSet> <changeSet author="sigla" id="1517416281033-3319"> <addForeignKeyConstraint baseColumnNames="cd_cds_comp,cd_uo_comp,esercizio_comp,pg_comp" baseTableName="stipendi_cofi" constraintName="fk_stipendi_cofi02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_compenso" referencedTableName="compenso"/> </changeSet> <changeSet author="sigla" id="1517416281033-3320"> <addForeignKeyConstraint baseColumnNames="cd_cds_mandato,esercizio_mandato,pg_mandato" baseTableName="stipendi_cofi" constraintName="fk_stipendi_cofi03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_mandato" referencedTableName="mandato"/> </changeSet> <changeSet author="sigla" id="1517416281033-3321"> <addForeignKeyConstraint baseColumnNames="esercizio,mese" baseTableName="stipendi_cofi_check" constraintName="fk_stipendi_cofi_check00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,mese" referencedTableName="stipendi_cofi"/> </changeSet> <changeSet author="sigla" id="1517416281033-3322"> <addForeignKeyConstraint baseColumnNames="esercizio,mese" baseTableName="stipendi_cofi_cori" constraintName="fk_stipendi_cofi_cori00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="esercizio,mese" referencedTableName="stipendi_cofi"/> </changeSet> <changeSet author="sigla" id="1517416281033-3323"> <addForeignKeyConstraint baseColumnNames="cd_regione" baseTableName="stipendi_cofi_cori_reg" constraintName="fk_stipendi_cofi_cori_reg00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_regione" referencedTableName="regione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3324"> <addForeignKeyConstraint baseColumnNames="cd_cds_obbligazione,esercizio_obbligazione,esercizio_ori_obbligazione,pg_obbligazione" baseTableName="stipendi_cofi_obb" constraintName="fk_stipendi_cofi_obb01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione" referencedTableName="obbligazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3325"> <addForeignKeyConstraint baseColumnNames="esercizio,mese" baseTableName="stipendi_cofi_obb_scad" constraintName="fk_stipendi_cofi_obb_scad00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="esercizio,mese" referencedTableName="stipendi_cofi"/> </changeSet> <changeSet author="sigla" id="1517416281033-3326"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_cds_obbligazione,esercizio_obbligazione,esercizio_ori_obbligazione,pg_obbligazione" baseTableName="stipendi_cofi_obb_scad" constraintName="fk_stipendi_cofi_obb_scad01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_cds_obbligazione,esercizio_obbligazione,esercizio_ori_obbligazione,pg_obbligazione" referencedTableName="stipendi_cofi_obb"/> </changeSet> <changeSet author="sigla" id="1517416281033-3327"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_cds_obbligazione,esercizio_obbligazione,esercizio_ori_obbligazione,pg_obbligazione" baseTableName="stipendi_cofi_obb_scad_dett" constraintName="fk_stipendi_cofi_obb_scad_d" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_cds_obbligazione,esercizio_obbligazione,esercizio_ori_obbligazione,pg_obbligazione" referencedTableName="stipendi_cofi_obb"/> </changeSet> <changeSet author="sigla" id="1517416281033-3328"> <addForeignKeyConstraint baseColumnNames="cd_voce_iva" baseTableName="tariffario" constraintName="fk_tariffario01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_voce_iva" referencedTableName="voce_iva"/> </changeSet> <changeSet author="sigla" id="1517416281033-3329"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="telefono" constraintName="fk_telefono00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3330"> <addForeignKeyConstraint baseColumnNames="cd_termini_pag" baseTableName="termini_pagamento" constraintName="fk_termini_pagamento00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_termini_pag" referencedTableName="rif_termini_pagamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3331"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="termini_pagamento" constraintName="fk_termini_pagamento01" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3332"> <addForeignKeyConstraint baseColumnNames="cd_anag" baseTableName="terzo" constraintName="fk_terzo00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_anag" referencedTableName="anagrafico"/> </changeSet> <changeSet author="sigla" id="1517416281033-3333"> <addForeignKeyConstraint baseColumnNames="pg_rapp_legale" baseTableName="terzo" constraintName="fk_terzo01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_rapp_legale" referencedTableName="rappresentante_legale"/> </changeSet> <changeSet author="sigla" id="1517416281033-3334"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="terzo" constraintName="fk_terzo02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3335"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="terzo_uo" constraintName="fk_terzo_uo00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3336"> <addForeignKeyConstraint baseColumnNames="cd_tipo_attivita" baseTableName="tipo_attivita_fp" constraintName="fk_tipo_attivita_fp01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_attivita" referencedTableName="tipo_attivita_fp"/> </changeSet> <changeSet author="sigla" id="1517416281033-3337"> <addForeignKeyConstraint baseColumnNames="pg_classificazione_montanti" baseTableName="tipo_contributo_ritenuta" constraintName="fk_tipo_contributo_ritenuta00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_classificazione_montanti" referencedTableName="classificazione_montanti"/> </changeSet> <changeSet author="sigla" id="1517416281033-3338"> <addForeignKeyConstraint baseColumnNames="cd_classificazione_cori" baseTableName="tipo_contributo_ritenuta" constraintName="fk_tipo_contributo_ritenuta01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_classificazione_cori" referencedTableName="classificazione_cori"/> </changeSet> <changeSet author="sigla" id="1517416281033-3339"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_gruppo_cr" baseTableName="tipo_cr_base" constraintName="fk_tipo_cr_base00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_gruppo_cr" referencedTableName="gruppo_cr"/> </changeSet> <changeSet author="sigla" id="1517416281033-3340"> <addForeignKeyConstraint baseColumnNames="cd_tipo_rapporto" baseTableName="tipo_incarico" constraintName="fk_tipo_incarico00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_rapporto" referencedTableName="tipo_rapporto"/> </changeSet> <changeSet author="sigla" id="1517416281033-3341"> <addForeignKeyConstraint baseColumnNames="cd_natura" baseTableName="tipo_linea_attivita" constraintName="fk_tipo_linea_attivita00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_natura" referencedTableName="natura"/> </changeSet> <changeSet author="sigla" id="1517416281033-3342"> <addForeignKeyConstraint baseColumnNames="cd_funzione" baseTableName="tipo_linea_attivita" constraintName="fk_tipo_linea_attivita01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_funzione" referencedTableName="funzione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3343"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="tipo_movimento_mag" constraintName="fk_tipo_movimento_mag02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3344"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="tipo_movimento_mag_az" constraintName="fk_tipo_movimento_mag_az01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3345"> <addForeignKeyConstraint baseColumnNames="cd_attivita_commerciale" baseTableName="tipo_sezionale" constraintName="fk_tipo_sezionale00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_attivita_commerciale" referencedTableName="attivita_commerciale"/> </changeSet> <changeSet author="sigla" id="1517416281033-3346" dbms="oracle,postgresql"> <addForeignKeyConstraint baseColumnNames="sid" baseTableName="translock" constraintName="fk_translock" deferrable="true" initiallyDeferred="true" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="sid" referencedTableName="translock_master"/> </changeSet> <changeSet author="sigla" id="1517416281033-3346-h2" dbms="h2"> <addForeignKeyConstraint baseColumnNames="sid" baseTableName="translock" constraintName="fk_translock" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="sid" referencedTableName="translock_master"/> </changeSet> <changeSet author="sigla" id="1517416281033-3347"> <addForeignKeyConstraint baseColumnNames="cd_bene_servizio" baseTableName="unita_misura_coeff_mag" constraintName="fk_unita_misura_coeff_mag00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_bene_servizio" referencedTableName="bene_servizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3348"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_magazzino" baseTableName="unita_misura_coeff_mag" constraintName="fk_unita_misura_coeff_mag01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_magazzino" referencedTableName="magazzino"/> </changeSet> <changeSet author="sigla" id="1517416281033-3349"> <addForeignKeyConstraint baseColumnNames="cd_unita_misura_car" baseTableName="unita_misura_coeff_mag" constraintName="fk_unita_misura_coeff_mag02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_misura" referencedTableName="unita_misura"/> </changeSet> <changeSet author="sigla" id="1517416281033-3350"> <addForeignKeyConstraint baseColumnNames="cd_unita_misura_sca" baseTableName="unita_misura_coeff_mag" constraintName="fk_unita_misura_coeff_mag03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_misura" referencedTableName="unita_misura"/> </changeSet> <changeSet author="sigla" id="1517416281033-3351"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="unita_operativa_ord" constraintName="fk_unita_operativa_ord00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3352"> <addForeignKeyConstraint baseColumnNames="cd_tipo_unita" baseTableName="unita_organizzativa" constraintName="fk_unita_organizzativa00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_unita" referencedTableName="tipo_unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3353"> <addForeignKeyConstraint baseColumnNames="cd_responsabile" baseTableName="unita_organizzativa" constraintName="fk_unita_organizzativa01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3354"> <addForeignKeyConstraint baseColumnNames="cd_responsabile_amm" baseTableName="unita_organizzativa" constraintName="fk_unita_organizzativa02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3355"> <addForeignKeyConstraint baseColumnNames="cd_area_scientifica" baseTableName="unita_organizzativa" constraintName="fk_unita_organizzativa03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_area_scientifica" referencedTableName="area_scientifica"/> </changeSet> <changeSet author="sigla" id="1517416281033-3356"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="unita_organizzativa_pec" constraintName="fk_unita_organizzativa_pec00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3357"> <addForeignKeyConstraint baseColumnNames="cd_utente" baseTableName="utente_firma_dettaglio" constraintName="fk_utente_firma_dettaglio01" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_utente" referencedTableName="utente"/> </changeSet> <changeSet author="sigla" id="1517416281033-3358"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="utente_firma_dettaglio" constraintName="fk_utente_firma_dettaglio02" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3359"> <addForeignKeyConstraint baseColumnNames="delegato_da" baseTableName="utente_firma_dettaglio" constraintName="fk_utente_firma_dettaglio03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_utente" referencedTableName="utente"/> </changeSet> <changeSet author="sigla" id="1517416281033-3360"> <addForeignKeyConstraint baseColumnNames="cd_utente" baseTableName="utente_gestore" constraintName="fk_utente_gestore00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_utente" referencedTableName="utente"/> </changeSet> <changeSet author="sigla" id="1517416281033-3361"> <addForeignKeyConstraint baseColumnNames="cd_gestore" baseTableName="utente_gestore" constraintName="fk_utente_gestore01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_utente" referencedTableName="utente"/> </changeSet> <changeSet author="sigla" id="1517416281033-3362"> <addForeignKeyConstraint baseColumnNames="cd_utente" baseTableName="utente_indirizzi_mail" constraintName="fk_utente_indirizzi_mail01" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_utente" referencedTableName="utente"/> </changeSet> <changeSet author="sigla" id="1517416281033-3363"> <addForeignKeyConstraint baseColumnNames="cd_utente" baseTableName="utente_unita_accesso" constraintName="fk_utente_unita_accesso00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_utente" referencedTableName="utente"/> </changeSet> <changeSet author="sigla" id="1517416281033-3364"> <addForeignKeyConstraint baseColumnNames="cd_accesso" baseTableName="utente_unita_accesso" constraintName="fk_utente_unita_accesso01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_accesso" referencedTableName="accesso"/> </changeSet> <changeSet author="sigla" id="1517416281033-3365"> <addForeignKeyConstraint baseColumnNames="cd_ruolo" baseTableName="utente_unita_ruolo" constraintName="fk_utente_unita_ruolo00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_ruolo" referencedTableName="ruolo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3366"> <addForeignKeyConstraint baseColumnNames="cd_utente" baseTableName="utente_unita_ruolo" constraintName="fk_utente_unita_ruolo01" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_utente" referencedTableName="utente"/> </changeSet> <changeSet author="sigla" id="1517416281033-3367"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,ti_appartenenza" baseTableName="var_bilancio" constraintName="fk_var_bilancio00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,ti_appartenenza" referencedTableName="bilancio_preventivo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3368"> <addForeignKeyConstraint baseColumnNames="cd_causale_var_bilancio" baseTableName="var_bilancio" constraintName="fk_var_bilancio01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_causale_var_bilancio" referencedTableName="causale_var_bilancio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3369"> <addForeignKeyConstraint baseColumnNames="esercizio_pdg_variazione,pg_variazione_pdg" baseTableName="var_bilancio" constraintName="fk_var_bilancio02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_variazione_pdg" referencedTableName="pdg_variazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3370"> <addForeignKeyConstraint baseColumnNames="esercizio_var_stanz_res,pg_var_stanz_res" baseTableName="var_bilancio" constraintName="fk_var_bilancio03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_variazione" referencedTableName="var_stanz_res"/> </changeSet> <changeSet author="sigla" id="1517416281033-3371"> <addForeignKeyConstraint baseColumnNames="cd_cds_mandato,esercizio_mandato,pg_mandato" baseTableName="var_bilancio" constraintName="fk_var_bilancio04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,pg_mandato" referencedTableName="mandato"/> </changeSet> <changeSet author="sigla" id="1517416281033-3372"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,ti_appartenenza,pg_variazione" baseTableName="var_bilancio_det" constraintName="fk_var_bilancio_det00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,ti_appartenenza,pg_variazione" referencedTableName="var_bilancio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3373"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="var_stanz_res" constraintName="fk_var_stanz_res00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3374"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita" baseTableName="var_stanz_res" constraintName="fk_var_stanz_res01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-3375"> <addForeignKeyConstraint baseColumnNames="cd_cdr,cd_linea_attivita" baseTableName="var_stanz_res_riga" constraintName="fk_var_stanz_res_riga01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-3376"> <addForeignKeyConstraint baseColumnNames="esercizio,pg_variazione" baseTableName="var_stanz_res_riga" constraintName="fk_var_stanz_res_riga02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_variazione" referencedTableName="var_stanz_res"/> </changeSet> <changeSet author="sigla" id="1517416281033-3377"> <addForeignKeyConstraint baseColumnNames="esercizio_voce,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="var_stanz_res_riga" constraintName="fk_var_stanz_res_riga03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-3378"> <addForeignKeyConstraint baseColumnNames="esercizio,pg_variazione,cd_cdr" baseTableName="var_stanz_res_riga" constraintName="fk_var_stanz_res_riga04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_variazione,cd_centro_responsabilita" referencedTableName="ass_var_stanz_res_cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-3379"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento" baseTableName="variazione_formale_acc" constraintName="fk_variazione_formale_acc00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento" referencedTableName="accertamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3380"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione" baseTableName="variazione_formale_imp" constraintName="fk_variazione_formale_imp00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione" referencedTableName="obbligazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3381"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_voce" baseTableName="variazione_formale_imp" constraintName="fk_variazione_formale_imp01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_voce" referencedTableName="voce_f"/> </changeSet> <changeSet author="sigla" id="1517416281033-3382"> <addForeignKeyConstraint baseColumnNames="id_classificazione" baseTableName="voce_ep" constraintName="fk_voce_ep_cla_voci" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id_classificazione" referencedTableName="classificazione_voci_ep"/> </changeSet> <changeSet author="sigla" id="1517416281033-3383"> <addForeignKeyConstraint baseColumnNames="cd_unita_organizzativa" baseTableName="voce_f" constraintName="fk_voce_f00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3384"> <addForeignKeyConstraint baseColumnNames="cd_natura" baseTableName="voce_f" constraintName="fk_voce_f01" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_natura" referencedTableName="natura"/> </changeSet> <changeSet author="sigla" id="1517416281033-3385"> <addForeignKeyConstraint baseColumnNames="cd_funzione" baseTableName="voce_f" constraintName="fk_voce_f02" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_funzione" referencedTableName="funzione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3386"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita" baseTableName="voce_f" constraintName="fk_voce_f03" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-3387"> <addForeignKeyConstraint baseColumnNames="cd_cds" baseTableName="voce_f" constraintName="fk_voce_f04" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3388"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_voce" baseTableName="voce_f_res_pres" constraintName="fk_voce_f_res_pres00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_voce" referencedTableName="voce_f"/> </changeSet> <changeSet author="sigla" id="1517416281033-3389"> <addForeignKeyConstraint baseColumnNames="cd_cds,esercizio" baseTableName="voce_f_saldi_cmp" constraintName="fk_voce_f_saldi_cmp00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio" referencedTableName="esercizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3390"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_voce" baseTableName="voce_f_saldi_cmp" constraintName="fk_voce_f_saldi_cmp01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_voce" referencedTableName="voce_f"/> </changeSet> <changeSet author="sigla" id="1517416281033-3391"> <addForeignKeyConstraint baseColumnNames="cd_gruppo_iva" baseTableName="voce_iva" constraintName="fk_voce_iva00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_gruppo_iva" referencedTableName="gruppo_iva"/> </changeSet> <changeSet author="sigla" id="1517416281033-3392"> <addForeignKeyConstraint baseColumnNames="esercizio,pg_variazione" baseTableName="accertamento_vincolo_perente" constraintName="fx_accert_vincolo_perente01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,pg_variazione" referencedTableName="var_stanz_res"/> </changeSet> <changeSet author="sigla" id="1517416281033-3393"> <addForeignKeyConstraint baseColumnNames="cd_cds_accertamento,esercizio_accertamento,esercizio_ori_accertamento,pg_accertamento" baseTableName="accertamento_vincolo_perente" constraintName="fx_accert_vincolo_perente02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento" referencedTableName="accertamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3394"> <addForeignKeyConstraint baseColumnNames="esercizio_ev_next,ti_appartenenza_ev_next,ti_gestione_ev_next,cd_elemento_voce_next" baseTableName="accertamento" constraintName="fx_accertamento09" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-3395"> <addForeignKeyConstraint baseColumnNames="cd_divisa_ita" baseTableName="blt_accordi" constraintName="fx_blt_accordi03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_divisa" referencedTableName="divisa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3396"> <addForeignKeyConstraint baseColumnNames="pg_comune_ente_respons_ita" baseTableName="blt_progetti" constraintName="fx_blt_progetti04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_comune" referencedTableName="comune"/> </changeSet> <changeSet author="sigla" id="1517416281033-3397"> <addForeignKeyConstraint baseColumnNames="cd_utente" baseTableName="doc_firma_digitale" constraintName="fx_doc_firma_digitale01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_utente" referencedTableName="utente"/> </changeSet> <changeSet author="sigla" id="1517416281033-3398"> <addForeignKeyConstraint baseColumnNames="esercizio_ev_next,ti_appartenenza_ev_next,ti_gestione_ev_next,cd_elemento_voce_next" baseTableName="obbligazione" constraintName="fx_obbligazione11" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-3399"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" baseTableName="pdg_vincolo" constraintName="fx_pdg_vincolo01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-3400"> <addForeignKeyConstraint baseColumnNames="cd_centro_responsabilita,cd_linea_attivita" baseTableName="pdg_vincolo" constraintName="fx_pdg_vincolo02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-3401"> <addForeignKeyConstraint baseColumnNames="cd_cds_accertamento,esercizio_accertamento,esercizio_ori_accertamento,pg_accertamento" baseTableName="pdg_vincolo" constraintName="fx_pdg_vincolo03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento" referencedTableName="accertamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3402"> <addForeignKeyConstraint baseColumnNames="pg_inventario,nr_inventario,progressivo" baseTableName="inventario_utilizzatori_la" constraintName="inventario_utilizzatori_la01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="pg_inventario,nr_inventario,progressivo" referencedTableName="inventario_beni"/> </changeSet> <changeSet author="sigla" id="1517416281033-3403"> <addForeignKeyConstraint baseColumnNames="cd_utilizzatore_cdr,cd_linea_attivita" baseTableName="inventario_utilizzatori_la" constraintName="inventario_utilizzatori_la02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-3404"> <addForeignKeyConstraint baseColumnNames="cd_cds_ordine,cd_unita_operativa,esercizio_ordine,cd_numeratore_ordine,numero_ordine,riga_ordine,consegna" baseTableName="lotto_mag" constraintName="lotto_mag_fk00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_operativa,esercizio,cd_numeratore,numero,riga,consegna" referencedTableName="ordine_acq_consegna"/> </changeSet> <changeSet author="sigla" id="1517416281033-3405"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="lotto_mag" constraintName="lotto_mag_fk01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3406"> <addForeignKeyConstraint baseColumnNames="cd_bene_servizio" baseTableName="lotto_mag" constraintName="lotto_mag_fk02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_bene_servizio" referencedTableName="bene_servizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3407"> <addForeignKeyConstraint baseColumnNames="cd_cds_mag,cd_magazzino_mag" baseTableName="lotto_mag" constraintName="lotto_mag_fk03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_magazzino" referencedTableName="magazzino"/> </changeSet> <changeSet author="sigla" id="1517416281033-3408"> <addForeignKeyConstraint baseColumnNames="cd_divisa" baseTableName="lotto_mag" constraintName="lotto_mag_fk04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_divisa" referencedTableName="divisa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3409"> <addForeignKeyConstraint baseColumnNames="cd_cds,cd_magazzino,esercizio,cd_numeratore_mag" baseTableName="lotto_mag" constraintName="lotto_mag_fk05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_magazzino,esercizio,cd_numeratore_mag" referencedTableName="numerazione_mag"/> </changeSet> <changeSet author="sigla" id="1517416281033-3410"> <addForeignKeyConstraint baseColumnNames="cd_cds_tipo_movimento,cd_tipo_movimento" baseTableName="movimenti_mag" constraintName="movimenti_mag_fk00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_tipo_movimento" referencedTableName="tipo_movimento_mag"/> </changeSet> <changeSet author="sigla" id="1517416281033-3411"> <addForeignKeyConstraint baseColumnNames="cd_cds_ordine,cd_unita_operativa_ordine,esercizio_ordine,cd_numeratore_ordine,numero_ordine,riga_ordine,consegna" baseTableName="movimenti_mag" constraintName="movimenti_mag_fk01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_operativa,esercizio,cd_numeratore,numero,riga,consegna" referencedTableName="ordine_acq_consegna"/> </changeSet> <changeSet author="sigla" id="1517416281033-3412"> <addForeignKeyConstraint baseColumnNames="cd_terzo" baseTableName="movimenti_mag" constraintName="movimenti_mag_fk02" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo" referencedTableName="terzo"/> </changeSet> <changeSet author="sigla" id="1517416281033-3413"> <addForeignKeyConstraint baseColumnNames="cd_unita_misura" baseTableName="movimenti_mag" constraintName="movimenti_mag_fk03" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_misura" referencedTableName="unita_misura"/> </changeSet> <changeSet author="sigla" id="1517416281033-3414"> <addForeignKeyConstraint baseColumnNames="cd_voce_iva" baseTableName="movimenti_mag" constraintName="movimenti_mag_fk04" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_voce_iva" referencedTableName="voce_iva"/> </changeSet> <changeSet author="sigla" id="1517416281033-3415"> <addForeignKeyConstraint baseColumnNames="cd_bene_servizio" baseTableName="movimenti_mag" constraintName="movimenti_mag_fk05" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_bene_servizio" referencedTableName="bene_servizio"/> </changeSet> <changeSet author="sigla" id="1517416281033-3416"> <addForeignKeyConstraint baseColumnNames="cd_uop" baseTableName="movimenti_mag" constraintName="movimenti_mag_fk06" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_operativa" referencedTableName="unita_operativa_ord"/> </changeSet> <changeSet author="sigla" id="1517416281033-3417"> <addForeignKeyConstraint baseColumnNames="cd_cds_mag,cd_magazzino" baseTableName="movimenti_mag" constraintName="movimenti_mag_fk07" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_magazzino" referencedTableName="magazzino"/> </changeSet> <changeSet author="sigla" id="1517416281033-3418"> <addForeignKeyConstraint baseColumnNames="cd_divisa" baseTableName="movimenti_mag" constraintName="movimenti_mag_fk09" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_divisa" referencedTableName="divisa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3419"> <addForeignKeyConstraint baseColumnNames="cd_cds_lotto,cd_magazzino_lotto,esercizio_lotto,cd_numeratore_lotto,pg_lotto" baseTableName="movimenti_mag" constraintName="movimenti_mag_fk10" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_magazzino,esercizio,cd_numeratore_mag,pg_lotto" referencedTableName="lotto_mag"/> </changeSet> <changeSet author="sigla" id="1517416281033-3420"> <addForeignKeyConstraint baseColumnNames="cd_cds_bolla_sca,cd_magazzino_bolla_sca,esercizio_bolla_sca,cd_numeratore_bolla_sca,pg_bolla_sca" baseTableName="movimenti_mag" constraintName="movimenti_mag_fk11" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_magazzino,esercizio,cd_numeratore_mag,pg_bolla_sca" referencedTableName="bolla_scarico_mag"/> </changeSet> <changeSet author="sigla" id="1517416281033-3421"> <addForeignKeyConstraint baseColumnNames="cd_ente_appartenenza" baseTableName="anagrafico" constraintName="rk_anagrafico00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_anag" referencedTableName="anagrafico"/> </changeSet> <changeSet author="sigla" id="1517416281033-3422"> <addForeignKeyConstraint baseColumnNames="cd_terzo_delegato,pg_banca_delegato" baseTableName="banca" constraintName="rk_banca00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_terzo,pg_banca" referencedTableName="banca"/> </changeSet> <changeSet author="sigla" id="1517416281033-3423"> <addForeignKeyConstraint baseColumnNames="cd_categoria_padre" baseTableName="categoria_gruppo_invent" constraintName="rk_categoria_gruppo_invent00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_categoria_gruppo" referencedTableName="categoria_gruppo_invent"/> </changeSet> <changeSet author="sigla" id="1517416281033-3424"> <addForeignKeyConstraint baseColumnNames="cd_cds_fat_clgs,cd_uo_fat_clgs,esercizio_fat_clgs,pg_fattura_passiva_fat_clgs" baseTableName="fattura_passiva" constraintName="rk_fattura_passiva00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_fattura_passiva" referencedTableName="fattura_passiva"/> </changeSet> <changeSet author="sigla" id="1517416281033-3425"> <addForeignKeyConstraint baseColumnNames="cd_cds_assncna_eco,cd_uo_assncna_eco,esercizio_assncna_eco,pg_fattura_assncna_eco,pg_riga_assncna_eco" baseTableName="fattura_passiva_riga" constraintName="rk_fattura_passiva_riga00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_fattura_passiva,progressivo_riga" referencedTableName="fattura_passiva_riga"/> </changeSet> <changeSet author="sigla" id="1517416281033-3426"> <addForeignKeyConstraint baseColumnNames="cd_cds_assncna_fin,cd_uo_assncna_fin,esercizio_assncna_fin,pg_fattura_assncna_fin,pg_riga_assncna_fin" baseTableName="fattura_passiva_riga" constraintName="rk_fattura_passiva_riga01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_fattura_passiva,progressivo_riga" referencedTableName="fattura_passiva_riga"/> </changeSet> <changeSet author="sigla" id="1517416281033-3427"> <addForeignKeyConstraint baseColumnNames="cd_cdr_collegato,cd_la_collegato" baseTableName="linea_attivita" constraintName="rk_linea_attivita00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita,cd_linea_attivita" referencedTableName="linea_attivita"/> </changeSet> <changeSet author="sigla" id="1517416281033-3428"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_centro_responsabilita_clgs,cd_linea_attivita_clgs,ti_appartenenza_clgs,ti_gestione_clgs,cd_elemento_voce_clgs,pg_spesa_clgs" baseTableName="pdg_preventivo_spe_det" constraintName="rk_pdg_preventivo_spe_det00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_centro_responsabilita,cd_linea_attivita,ti_appartenenza,ti_gestione,cd_elemento_voce,pg_spesa" referencedTableName="pdg_preventivo_spe_det"/> </changeSet> <changeSet author="sigla" id="1517416281033-3429"> <addForeignKeyConstraint baseColumnNames="sezionale_ven_liquidazione" baseTableName="tipo_sezionale" constraintName="rk_tipo_sezionale00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_tipo_sezionale" referencedTableName="tipo_sezionale"/> </changeSet> <changeSet author="sigla" id="1517416281033-3430"> <addForeignKeyConstraint baseColumnNames="esercizio,codice_padre" baseTableName="voce_eco" constraintName="rk_voce_eco00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,codice" referencedTableName="voce_eco"/> </changeSet> <changeSet author="sigla" id="1517416281033-3431"> <addForeignKeyConstraint baseColumnNames="esercizio,cd_voce_ep_padre" baseTableName="voce_ep" constraintName="rk_voce_ep00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,cd_voce_ep" referencedTableName="voce_ep"/> </changeSet> <changeSet author="sigla" id="1517416281033-3432"> <addForeignKeyConstraint baseColumnNames="cd_cds_ori_riporto,esercizio_ori_riporto,esercizio_ori_ori_riporto,pg_accertamento_ori_riporto" baseTableName="accertamento" constraintName="rx_accertamento00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_accertamento" referencedTableName="accertamento"/> </changeSet> <changeSet author="sigla" id="1517416281033-3433"> <addForeignKeyConstraint baseColumnNames="cd_nodo_padre" baseTableName="albero_main" constraintName="rx_albero_main00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_nodo" referencedTableName="albero_main"/> </changeSet> <changeSet author="sigla" id="1517416281033-3434"> <addForeignKeyConstraint baseColumnNames="cd_cdr_afferenza" baseTableName="cdr" constraintName="rx_cdr00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_centro_responsabilita" referencedTableName="cdr"/> </changeSet> <changeSet author="sigla" id="1517416281033-3435"> <addForeignKeyConstraint baseColumnNames="esercizio_elemento_padre,ti_appartenenza_elemento_padre,ti_gestione_elemento_padre,cd_elemento_padre" baseTableName="elemento_voce" constraintName="rx_elemento_voce00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_elemento_voce" referencedTableName="elemento_voce"/> </changeSet> <changeSet author="sigla" id="1517416281033-3436"> <addForeignKeyConstraint baseColumnNames="cd_cds_assncna_fin,cd_uo_assncna_fin,esercizio_assncna_fin,pg_fattura_assncna_fin,pg_riga_assncna_fin" baseTableName="fattura_attiva_riga" constraintName="rx_fattura_attiva_riga00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_fattura_attiva,progressivo_riga" referencedTableName="fattura_attiva_riga"/> </changeSet> <changeSet author="sigla" id="1517416281033-3437"> <addForeignKeyConstraint baseColumnNames="cd_cds_minicarriera_ori,cd_uo_minicarriera_ori,esercizio_minicarriera_ori,pg_minicarriera_ori" baseTableName="minicarriera" constraintName="rx_minicarriera00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,esercizio,pg_minicarriera" referencedTableName="minicarriera"/> </changeSet> <changeSet author="sigla" id="1517416281033-3438"> <addForeignKeyConstraint baseColumnNames="cd_cds_ori_riporto,esercizio_ori_riporto,esercizio_ori_ori_riporto,pg_obbligazione_ori_riporto" baseTableName="obbligazione" constraintName="rx_obbligazione00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,esercizio,esercizio_originale,pg_obbligazione" referencedTableName="obbligazione"/> </changeSet> <changeSet author="sigla" id="1517416281033-3439"> <addForeignKeyConstraint baseColumnNames="cd_unita_padre" baseTableName="unita_organizzativa" constraintName="rx_unita_organizzativa00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3440"> <addForeignKeyConstraint baseColumnNames="cd_area_ricerca" baseTableName="unita_organizzativa" constraintName="rx_unita_organizzativa01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_unita_organizzativa" referencedTableName="unita_organizzativa"/> </changeSet> <changeSet author="sigla" id="1517416281033-3441"> <addForeignKeyConstraint baseColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_voce_padre" baseTableName="voce_f" constraintName="rx_voce_f00" deferrable="false" initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION" referencedColumnNames="esercizio,ti_appartenenza,ti_gestione,cd_voce" referencedTableName="voce_f"/> </changeSet> <changeSet author="sigla" id="1517416281033-3442"> <addForeignKeyConstraint baseColumnNames="esercizio_padre,codice_cla_e_padre" baseTableName="classificazione_entrate" constraintName="sk_classificazione_entrate" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,codice_cla_e" referencedTableName="classificazione_entrate"/> </changeSet> <changeSet author="sigla" id="1517416281033-3443"> <addForeignKeyConstraint baseColumnNames="esercizio_padre,codice_cla_s_padre" baseTableName="classificazione_spese" constraintName="sk_classificazione_spese" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="esercizio,codice_cla_s" referencedTableName="classificazione_spese"/> </changeSet> <changeSet author="sigla" id="1517416281033-3444"> <addForeignKeyConstraint baseColumnNames="cd_cds_padre,cd_uo_padre,cd_ubicazione_padre" baseTableName="ubicazione_bene" constraintName="sk_ubicazione_ubi_padre01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_unita_organizzativa,cd_ubicazione" referencedTableName="ubicazione_bene"/> </changeSet> <changeSet author="sigla" id="1517416281033-3445"> <addForeignKeyConstraint baseColumnNames="cd_cds_rif,cd_tipo_movimento_rif" baseTableName="tipo_movimento_mag_az" constraintName="tipo_movimento_mag_az_fk00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_tipo_movimento" referencedTableName="tipo_movimento_mag"/> </changeSet> <changeSet author="sigla" id="1517416281033-3446"> <addForeignKeyConstraint baseColumnNames="cd_cds_storno,cd_tipo_movimento_storno" baseTableName="tipo_movimento_mag" constraintName="tipo_movimento_mag_fk00" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_tipo_movimento" referencedTableName="tipo_movimento_mag"/> </changeSet> <changeSet author="sigla" id="1517416281033-3447"> <addForeignKeyConstraint baseColumnNames="cd_cds_alt,cd_tipo_movimento_alt" baseTableName="tipo_movimento_mag" constraintName="tipo_movimento_mag_fk01" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cds,cd_tipo_movimento" referencedTableName="tipo_movimento_mag"/> </changeSet> </databaseChangeLog>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy