SuperX-Kernmodul
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

87 lines
3.0 KiB

<?xml version="1.0" encoding="UTF-8"?>
<patch patch_id="2026-01-09">
<systeme>
<system name="his1" codierung="utf8"/>
<system name="superx" codierung="utf8"/>
<system name="superx" codierung="iso"/>
</systeme>
<module name="kenn" systeminfo_id="xxx" inst_from="xx">
<patch-description>Anpassung an Fächergruppensystematik STBA 2025
</patch-description>
<patch-test>
<!-- Bisher nur sql erlaubt. Ergebnis muss 0 sein, um zu erlauben, dass der Patch eingespielt wird! -->
<nativeaction sql="select 0 from xdummy where (select count(*) from db_version where his_system='kenn') > 0 " scriptfile="" database=""/>
</patch-test>
<patch-data>
<files>
<file path="WEB-INF/conf/edustore/db/module/kenn/schluesseltabellen/kenn_dim_fgr.unl"><patch-description>Neue Fächergruppen im Bereich Studierende/Personal</patch-description></file>
<file path="WEB-INF/conf/edustore/db/module/kenn/schluesseltabellen/kenn_lfb_fg.unl"><patch-description>Neue Fächergruppen im Bereich Personal</patch-description></file>
<file path="WEB-INF/conf/edustore/db/module/kenn/schluesseltabellen/kenn_stg_astat.unl"><patch-description>Neue Fächergruppen im Bereich Studierende</patch-description></file>
<file path="WEB-INF/conf/edustore/db/module/kenn/schluesseltabellen/trans_kenn_lfb_fg.sql"><patch-description>Neue Fächergruppen im Bereich Personal</patch-description></file>
</files>
<database name="superx">
<!-- TODO: hier können beliebige Elemente der normalen Modul-XML stehen-->
<masken>
</masken>
</database>
<upgrade>
<upgrade-step>
<action error="cont">
<nativeaction sql="CREATE TABLE tmp_stg_astat (
tid serial NOT NULL,
astat character(10) NOT NULL,
parent character(10),
ktxt character(10),
dtxt character(150),
ltxt character(250),
sicht character(200) NOT NULL,
ebene smallint,
sort1 integer,
sortc1 character(10),
gueltig_von date,
gueltig_bis date,
struktur_c char(50)
);" scriptfile="" database="" />
</action>
<action>
<loadtable refresh="true" delimiter="^" header="false" tabname="tmp_stg_astat">
<file path="$KENN_PFAD/schluesseltabellen/kenn_stg_astat.unl" />
</loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="tmp_abschl_astat">
<file path="$KENN_PFAD/schluesseltabellen/kenn_abschl_astat.unl" />
</loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="kenn_dim_fgr">
<file path="$KENN_PFAD/schluesseltabellen/kenn_dim_fgr.unl" />
</loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="kenn_lfb_fg">
<file path="$KENN_PFAD/schluesseltabellen/kenn_lfb_fg.unl" />
</loadtable>
</action>
<action error="cont">
<nativeaction sql="" scriptfile="$KENN_PFAD/schluesseltabellen/kenn_cifx_init.sql" database="" />
<nativeaction sql="" scriptfile="$KENN_PFAD/schluesseltabellen/drop_k.sql" database="" />
</action>
</upgrade-step>
</upgrade>
</patch-data>
</module>
</patch>