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.
156 lines
6.8 KiB
156 lines
6.8 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<patch patch_id="2024-05-31"> |
|
<systeme> |
|
<system name="his1" codierung="utf8"/> |
|
<system name="superx" codierung="utf8"/> |
|
<system name="superx" codierung="iso"/> |
|
</systeme> |
|
|
|
|
|
<module name="kern" systeminfo_id="xxx" inst_from="xx"> |
|
<patch-description feature_id="252453">Patch: landesspezifische Fächerschlüssel. Es wird eine Vorab-Version der Tabelle k_astat_studienfach_land sowie weiterer Tabellen eingespielt, die in SuperX Kern 5.1 und HISinOne-BI 2024.06 bereits enthalten ist. Die Tabelle ist die Grundlage für die Ermittlung landesspez. Fächerschlüssel in BaWue, NRW und Sachsen.<br /> |
|
Hinweis für HISinOne-BI bis Version 2023.12: Da Patches nicht automatisch installiert werden können müssen sie die Schritte <a href="http://www.superx-projekt.de/doku/kenn_modul/stala_bw/f_InstallationdesPatchesunterHISinOne-BI.htm">manuell</a> ausführen.<br /> |
|
Weitere Hinweise siehe <a href="https://superx-rocks.de/git/Memtext/KENN_BW_STALA_2022">Laderegel</a></patch-description> |
|
|
|
<patch-test> |
|
<!-- Bisher nur sql erlaubt. Ergebniss 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='kern') > 0 " scriptfile="" database=""/> |
|
</patch-test> |
|
|
|
<patch-data> |
|
|
|
<files> |
|
<file path="WEB-INF/conf/edustore/db/install/schluesseltabellen/release_unloads/k_astat_studienfach_land.unl"><patch-description feature_id="252453">Datei Fach (Land) zu Land (Bund)</patch-description></file> |
|
<file path="WEB-INF/conf/edustore/db/install/schluesseltabellen/release_unloads/k_astat_staat.unl"><patch-description feature_id="315457">Datei Staat (Bund)</patch-description></file> |
|
<file path="WEB-INF/conf/edustore/db/install/schluesseltabellen/release_unloads/k_astat_kontinent.unl"><patch-description feature_id="315457">Datei Kontinent (Bund)</patch-description></file> |
|
<file path="WEB-INF/conf/edustore/db/install/schluesseltabellen/release_unloads/k_astat_faechergruppe.unl"><patch-description feature_id="252453">Datei Fächergruppen (Bund)</patch-description></file> |
|
<file path="WEB-INF/conf/edustore/db/install/schluesseltabellen/release_unloads/k_astat_abschluss3steller_land.unl"><patch-description feature_id="252453">Datei Abschluss (Land) zu Abschluss (Bund)</patch-description></file> |
|
<file path="WEB-INF/conf/edustore/db/install/schluesseltabellen/release_unloads/k_astat_abschluss2steller.unl"><patch-description feature_id="252453">Datei Abschluss (Bund)</patch-description></file> |
|
<file path="WEB-INF/conf/edustore/db/install/schluesseltabellen/release_unloads/k_astat_studienbereich.unl"><patch-description feature_id="252453">Datei Studienbereich (Bund)</patch-description></file> |
|
<file path="WEB-INF/conf/edustore/db/install/schluesseltabellen/release_unloads/k_astat_studienfach.unl"><patch-description feature_id="252453">Datei Fach (Bund)</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 IF NOT EXISTS k_astat_studienfach_land( |
|
schluessel VARCHAR(255) , |
|
gueltig_ab INTEGER , |
|
land INTEGER , |
|
version INTEGER , |
|
sortkey INTEGER , |
|
gueltig_bis INTEGER , |
|
name VARCHAR(255) , |
|
isced VARCHAR(255) , |
|
keybund VARCHAR(255) |
|
) |
|
; " scriptfile="" database="POSTGRES"/> |
|
|
|
<nativeaction sql="CREATE TABLE IF NOT EXISTS k_astat_abschluss3steller_land( |
|
schluessel VARCHAR(255) not null, |
|
gueltig_ab INTEGER , |
|
land INTEGER , |
|
version INTEGER , |
|
sortkey INTEGER , |
|
gueltig_bis INTEGER , |
|
name VARCHAR(255) , |
|
sig2steller VARCHAR(255) , |
|
keybund VARCHAR(255) |
|
) |
|
; " scriptfile="" database="POSTGRES"/> |
|
<nativeaction sql="CREATE TABLE IF NOT EXISTS k_astat_abschluss2steller( |
|
schluessel VARCHAR(255) not null, |
|
name VARCHAR(255) |
|
) |
|
; " scriptfile="" database="POSTGRES"/> |
|
|
|
<nativeaction sql="CREATE TABLE IF NOT EXISTS k_astat_studienbereich( |
|
schluessel VARCHAR(255) not null, |
|
name VARCHAR(255) , |
|
fgr VARCHAR(255) |
|
) |
|
; " scriptfile="" database="POSTGRES"/> |
|
|
|
<nativeaction sql="CREATE TABLE IF NOT EXISTS k_astat_studienfach( |
|
schluessel VARCHAR(255) not null, |
|
name VARCHAR(255) , |
|
sb VARCHAR(255) |
|
) |
|
;" scriptfile="" database="POSTGRES"/> |
|
<nativeaction sql="CREATE TABLE IF NOT EXISTS k_astat_staat( |
|
schluessel INTEGER not null, |
|
nummer VARCHAR(255) , |
|
name VARCHAR(255) , |
|
kennz VARCHAR(255) , |
|
kontinent INTEGER , |
|
constraint c_k_astat_staat primary key (schluessel) |
|
|
|
) |
|
; " scriptfile="" database="POSTGRES"/> |
|
<nativeaction sql="CREATE TABLE IF NOT EXISTS k_astat_kontinent( |
|
schluessel INTEGER not null, |
|
nummer VARCHAR(255) , |
|
name VARCHAR(255) , |
|
constraint c_k_astat_kontinent primary key (schluessel) |
|
|
|
) |
|
; |
|
" scriptfile="" database="POSTGRES"/> |
|
<nativeaction sql="CREATE TABLE IF NOT EXISTS k_astat_faechergruppe( |
|
schluessel VARCHAR(255) not null, |
|
name VARCHAR(255) |
|
) |
|
; " scriptfile="" database="POSTGRES"/> |
|
|
|
</action> |
|
|
|
|
|
<action error="cont"> |
|
<loadtable refresh="true" delimiter="^" header="false" tabname="k_astat_studienfach_land"> |
|
<file path="$SUPERX_DIR/db/install/schluesseltabellen/release_unloads/k_astat_studienfach_land.unl" /> |
|
</loadtable> |
|
<loadtable refresh="true" delimiter="^" header="false" tabname="k_astat_abschluss3steller_land"> |
|
<file path="$SUPERX_DIR/db/install/schluesseltabellen/release_unloads/k_astat_abschluss3steller_land.unl" /> |
|
</loadtable> |
|
<loadtable refresh="true" delimiter="^" header="false" tabname="k_astat_abschluss2steller"> |
|
<file path="$SUPERX_DIR/db/install/schluesseltabellen/release_unloads/k_astat_abschluss2steller.unl" /> |
|
</loadtable> |
|
<loadtable refresh="true" delimiter="^" header="false" tabname="k_astat_studienbereich"> |
|
<file path="$SUPERX_DIR/db/install/schluesseltabellen/release_unloads/k_astat_studienbereich.unl" /> |
|
</loadtable> |
|
<loadtable refresh="true" delimiter="^" header="false" tabname="k_astat_studienfach"> |
|
<file path="$SUPERX_DIR/db/install/schluesseltabellen/release_unloads/k_astat_studienfach.unl" /> |
|
</loadtable> |
|
<loadtable refresh="true" delimiter="^" header="false" tabname="k_astat_staat"> |
|
<file path="$SUPERX_DIR/db/install/schluesseltabellen/release_unloads/k_astat_staat.unl" /> |
|
</loadtable> |
|
<loadtable refresh="true" delimiter="^" header="false" tabname="k_astat_kontinent"> |
|
<file path="$SUPERX_DIR/db/install/schluesseltabellen/release_unloads/k_astat_kontinent.unl" /> |
|
</loadtable> |
|
<loadtable refresh="true" delimiter="^" header="false" tabname="k_astat_faechergruppe"> |
|
<file path="$SUPERX_DIR/db/install/schluesseltabellen/release_unloads/k_astat_faechergruppe.unl" /> |
|
</loadtable> |
|
</action> |
|
|
|
|
|
|
|
</upgrade-step> |
|
</upgrade> |
|
|
|
</patch-data> |
|
|
|
</module> |
|
|
|
|
|
|
|
</patch>
|
|
|