From c5cb6a78443ffcc6942fea9c94b459e5608050a8 Mon Sep 17 00:00:00 2001 From: Daniel Quathamer Date: Sat, 1 Jul 2023 10:56:02 +0200 Subject: [PATCH] Backport Organigrammbearbeitung (287360) und Ladejobvorschau (303663) --- src/de/superx/bin/KettleExecutor.java | 390 +- .../WEB-INF/conf/edustore/db/conf/build.xml | 14 +- .../his1/dbconv/sch.eduetl/organigramm.tab | 6 +- .../dbconv/sch.eduetl/organigramm_bak.tab | 4 +- .../edustore_kern_drop_ids.xml | 115 +- .../edustore_kern_install_ids.xml | 117 +- .../edustore_kern_integrate_ids.sql | 267 +- .../edustore_kern_upgrade2_ids.xml | 83 +- .../edustore_kern_load_ids.xml | 330 +- .../edustore_kern_system_ids.xml | 6 + .../edustore_kern_trans_ids.xml | 13 +- .../edustore_kern_unload_cob_ids.xml | 128 + .../edustore_kern_unload_eduetl_ids.xml | 2630 +-------- .../edustore_kern_unload_hisinone_ids.xml | 412 ++ .../edustore_kern_unload_mbs_ids.xml | 95 + .../conf/edustore/db/install/conf/kern.html | 10 +- .../conf/edustore/db/install/conf/kern.xml | 30 +- .../edustore/db/install/conf/kern_cubes.xml | 2 +- .../edustore/db/install/conf/module_grant.x | 6 + .../edustore/db/install/conf/module_revoke.x | 6 + .../db/install/conf/sx_fields_fuellen.sql | 18 +- .../edustore/db/install/kern_drop_ids.sql | 262 +- .../edustore/db/install/kern_indexes_ids.sql | 202 +- .../edustore/db/install/kern_install_ids.sql | 2424 +++++--- .../edustore/db/install/kern_install_pg.sql | 10 +- .../edustore/db/install/kern_load_ids.sql | 440 +- .../db/install/kern_masken_einspielen_ids.x | 41 +- .../db/install/kern_masken_entladen_ids.x | 33 +- .../db/install/kern_masken_loeschen_ids.x | 36 +- .../edustore/db/install/kern_purge_ids.sql | 4 + .../edustore/db/install/kern_system_ids.sql | 18 +- .../edustore/db/install/kern_trans_ids.sql | 27 + .../db/install/masken/71540_felderinfo.unl | 9 +- .../alter_columntype_with_view_deps_pg.sql | 6 +- .../upgrade/kern_upgrade_fields_ids.sql | 4862 +++++++++++------ .../upgrade/kern_upgrade_fields_pg.sql | 10 +- .../upgrade/kern_upgrade_functions_ids.sql | 283 +- .../db/install/upgrade/kern_upgrade_ids.sql | 383 +- .../upgrade/kern_upgrade_indexes_ids.sql | 482 +- .../upgrade/kern_upgrade_tables_ids.sql | 1994 ++++--- .../upgrade/kern_upgrade_tables_pg.sql | 10 +- .../upgrade/kern_upgrade_views_ids.sql | 262 +- .../install/upgrade/kernmodul_upgrade_man.sql | 30 +- superx/WEB-INF/kern_dbforms-config_ids.xml | 2952 ++++++++++ superx/WEB-INF/kern_dbforms-config_pg.xml | 29 +- superx/WEB-INF/lib/superx5.0.jar | Bin 1796312 -> 1797711 bytes superx/edit/kern/organigramm_edit.jsp | 26 +- superx/edit/kern/organigramm_edit_parent.inc | 34 + .../edit/kern/organigramm_parent_dialog.jsp | 146 + superx/xml/js/memtext/sx_functions.js | 4 +- 50 files changed, 11988 insertions(+), 7713 deletions(-) create mode 100644 superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_unload_cob_ids.xml create mode 100644 superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_unload_hisinone_ids.xml create mode 100644 superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_unload_mbs_ids.xml create mode 100644 superx/WEB-INF/kern_dbforms-config_ids.xml create mode 100644 superx/edit/kern/organigramm_edit_parent.inc create mode 100644 superx/edit/kern/organigramm_parent_dialog.jsp diff --git a/src/de/superx/bin/KettleExecutor.java b/src/de/superx/bin/KettleExecutor.java index 7e0d8be..c49fbca 100644 --- a/src/de/superx/bin/KettleExecutor.java +++ b/src/de/superx/bin/KettleExecutor.java @@ -7,11 +7,13 @@ import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; +import java.util.StringTokenizer; import org.pentaho.di.core.KettleEnvironment; import org.pentaho.di.core.exception.KettleException; import de.memtext.util.GetOpts; +import de.memtext.util.StringUtils; import de.superx.bin.fm.EtlStarter; import de.superx.common.DBServletException; import de.superx.common.SuperX_el; @@ -22,178 +24,220 @@ import de.superx.servlet.SuperXManager; import de.superx.servlet.SxPools; public class KettleExecutor { - private String mandantenID; - private SxJob sxJob; - private boolean isPostgres = true; - private StringBuffer resultMessages=new StringBuffer(""); - private Map jobParams = new HashMap(); - - public KettleExecutor(String mandantenID) { - this.mandantenID = mandantenID; - isPostgres = SxPools.get(mandantenID).getDatabaseAbbr().equals(("PG")); - } - - public void setParams(Map jobParams) { - this.jobParams = jobParams; - } - - public StringBuffer perform() throws IOException, SQLException, DBServletException { - try { - initSxJob(); - EtlStarter es = new EtlStarter(); - check_sql("vor"); - resultMessages.append(es.kettleCallEmbedded(mandantenID, sxJob.getFilepath(), jobParams, isPostgres)); - check_sql("nach"); - - } catch (Exception e) { - throw new IOException(e); - } - return resultMessages; - } - - private void check_sql(String pos) throws SQLException, DBServletException { - if (sxJob.check_sql != null) { - SuperX_el el=ServletUtils.execute_el("check_sql "+pos+" Durchführung von Ladejob "+sxJob.getCaption(), sxJob.check_sql, false,mandantenID); - SxResultSet rs=el.getResultSet(); - for (Iterator it = rs.iterator(); it.hasNext();) { - SxResultRow row = (SxResultRow) it.next(); - Object erg = row.get(0); - if (erg!=null) { - resultMessages.append("Prüfselektion "+pos+" Durchführung von Ladejob "+sxJob.getCaption()); - resultMessages.append("\n"+erg.toString()+"\n"); - } - } - } - - } - - - private void initSxJob() throws SQLException, DBServletException { - SxResultSet rs = ServletUtils.execute("Einlesen von SxJob)", - "select caption,filepath,params,check_sql from sx_jobs where tid=" + jobParams.get("Job"), mandantenID); - sxJob = new SxJob(); - for (Iterator it = rs.iterator(); it.hasNext();) { - SxResultRow row = (SxResultRow) it.next(); - sxJob.setCaption(row.get(0).toString()); - sxJob.setFilepath("file://" + SuperXManager.getModuleDir() + File.separator + row.get(1).toString()); - sxJob.setParams((String) row.get(2)); - sxJob.setCheck_sql((String) row.get(3)); - } - } - - public static void main(String args[]) { - String usage="usage: -mandantenID:default -MODULE_PFAD:/home/superx/db/module -WEB_INF_PFAD:/home/superx/webserver/tomcat/webapps/superx/WEB-INF -job_uniquename:abc -path_to_uploadfile:/home/superx (optional)" ; - GetOpts.setOpts(args); - String isdrin = GetOpts.isAllRequiredOptionsPresent("-mandantenID,-WEB_INF_PFAD,-MODULE_PFAD,-job_uniquename"); - if (isdrin != null) { - - System.err.println(usage); - System.exit(1); - } - - String mandantenID = GetOpts.getValue("-mandantenID"); - String job_uniquename=GetOpts.getValue("-job_uniquename"); - SuperXManager.setWEB_INFPfad(GetOpts.getValue("-WEB_INF_PFAD")); - SuperXManager.setModuleDir(GetOpts.getValue("-MODULE_PFAD")); - String path_to_uploadfile=""; - if (GetOpts.isPresent("-path_to_uploadfile")) - { - path_to_uploadfile=GetOpts.getValue("-path_to_uploadfile"); - if (!new File(path_to_uploadfile).exists()) - { - System.out.println("Fehler: Datei "+path_to_uploadfile+" nicht gefunden"); - System.exit(-1); - } - } - try { - //muss vor SxPools init ausgeführt werden, sonst kann kein kettleDatabaseMeta-Objekt erzeugt werden java.lang.RuntimeException: Database type not found! - KettleEnvironment.init(); - - SxPools.init(); - SxPools.get(mandantenID).init(); - //SxPools.get(mandantenID).initLogging(true); - SxPools.resetAllPools(); - } catch (Exception e) { - System.out.println("Fehler beim Datenbankverbindungsaufbau " + e); - e.printStackTrace();; - - System.exit(-1); - } - try { - String jobtid=getJobTid(job_uniquename,mandantenID); - KettleExecutor ke = new KettleExecutor(mandantenID); - Map jobParams = new HashMap(); - jobParams.put("Job", jobtid); - jobParams.put("PATH_TO_UPLOADFILE", path_to_uploadfile); - ke.setParams(jobParams); - - ke.perform(); - System.out.println("Keine Fehler aufgefallen"); - } catch (Exception e) { - - System.out.println("Fehler bei Verarbeitung " + e); - e.printStackTrace(); - System.exit(-1); - - } - } - - private static String getJobTid(String job_uniquename,String mandantenID) throws SQLException, DBServletException { - String tid=""; - String sql="select tid from sx_jobs where uniquename='"+job_uniquename+"'"; - SxResultSet rs=ServletUtils.execute("Suche tid für sx_job mit uniquename "+job_uniquename, sql, mandantenID); - if (rs.size()==0) - throw new RuntimeException("Kein sx_job mit uniquename "+job_uniquename+" gefunden"); - if (rs.size()>1) - throw new RuntimeException("Mehrere sx_jobs mit uniquename "+job_uniquename+" gefunden"); - - for (Iterator it = rs.iterator(); it.hasNext();) { - SxResultRow row = (SxResultRow) it.next(); - Object erg = row.get(0); - if (erg!=null) tid=erg.toString(); - } - return tid; - } - - private class SxJob { - private String filepath; - private String params; - private String check_sql; - private String caption; - public String getCaption() { - return caption; - } - - public void setCaption(String caption) { - this.caption = caption; - } - - public String getFilepath() { - return filepath; - } - - public void setFilepath(String filepath) { - this.filepath = filepath; - } - - public String getParams() { - return params; - } - - public void setParams(String params) { - this.params = params; - } - - public String getCheck_sql() { - return check_sql; - } - - public void setCheck_sql(String check_sql) { - this.check_sql = check_sql; - } - - - - } + private String mandantenID; + + private SxJob sxJob; + + private boolean isPostgres = true; + + private StringBuffer resultMessages = new StringBuffer(""); + + private Map jobParams = new HashMap(); + + public KettleExecutor(String mandantenID) { + this.mandantenID = mandantenID; + isPostgres = SxPools.get(mandantenID).getDatabaseAbbr().equals(("PG")); + } + + public void setParams(Map jobParams) { + this.jobParams = jobParams; + } + + public StringBuffer perform() throws IOException, SQLException, DBServletException { + try { + initSxJob(); + EtlStarter es = new EtlStarter(); + if (!isModusVorschau()) { + check_sql("vor"); + } + resultMessages.append(es.kettleCallEmbedded(mandantenID, sxJob.getFilepath(), jobParams, isPostgres)); + if (isModusVorschau()) { + //Vor Ergebnis Vorschau einfügen + resultMessages.insert(0, getPreviewInfo()); + } else { + check_sql("nach"); + } + + + } catch (Exception e) { + throw new IOException(e); + } + return resultMessages; + } + + private boolean isModusVorschau() { + return jobParams.containsKey("Modus") && jobParams.get("Modus") != null && jobParams.get("Modus").equals("3"); + } + + private StringBuilder getPreviewInfo() throws IOException { + StringBuilder result = new StringBuilder(); + File loadjoblog = new File(new File(sxJob.getFilepath().replaceAll("file:", "")).getParentFile().getPath() + File.separator + "ladejob.log"); + if (loadjoblog.exists()) { + String rawpreview = StringUtils.readFile(loadjoblog); + StringTokenizer st = new StringTokenizer(rawpreview, "\n"); + result.append("Vorschau\n"); + String currentHeader = ""; + while (st.hasMoreTokens()) { + String line = st.nextToken(); + if (line.indexOf("|") > -1) { + String firstpart = line.substring(0, line.indexOf("|")); + if (!firstpart.equals(currentHeader)) { + result.append(firstpart + "\n"); + currentHeader = firstpart; + result.append("-->" + line.substring(line.indexOf("|") + 1) + "\n"); + } else { + result.append("-->" + StringUtils.replace(line, firstpart + "|", "") + "\n"); + } + } + } + + } + return result; + } + + private void check_sql(String pos) throws SQLException, DBServletException { + if (sxJob.check_sql != null) { + SuperX_el el = ServletUtils.execute_el("check_sql " + pos + " Durchführung von Ladejob " + sxJob.getCaption(), sxJob.check_sql, false, mandantenID); + SxResultSet rs = el.getResultSet(); + for (Iterator it = rs.iterator(); it.hasNext();) { + SxResultRow row = (SxResultRow) it.next(); + Object erg = row.get(0); + if (erg != null) { + resultMessages.append("Prüfselektion " + pos + " Durchführung von Ladejob " + sxJob.getCaption()); + resultMessages.append("\n" + erg.toString() + "\n"); + } + } + } + + } + + + private void initSxJob() throws SQLException, DBServletException { + SxResultSet rs = ServletUtils.execute("Einlesen von SxJob)", "select caption,filepath,params,check_sql from sx_jobs where tid=" + jobParams.get("Job"), mandantenID); + sxJob = new SxJob(); + for (Iterator it = rs.iterator(); it.hasNext();) { + SxResultRow row = (SxResultRow) it.next(); + sxJob.setCaption(row.get(0).toString()); + sxJob.setFilepath("file://" + SuperXManager.getModuleDir() + File.separator + row.get(1).toString()); + sxJob.setParams((String) row.get(2)); + sxJob.setCheck_sql((String) row.get(3)); + } + } + + public static void main(String args[]) { + String usage = "usage: -mandantenID:default -MODULE_PFAD:/home/superx/db/module -WEB_INF_PFAD:/home/superx/webserver/tomcat/webapps/superx/WEB-INF -job_uniquename:abc -path_to_uploadfile:/home/superx (optional)"; + GetOpts.setOpts(args); + String isdrin = GetOpts.isAllRequiredOptionsPresent("-mandantenID,-WEB_INF_PFAD,-MODULE_PFAD,-job_uniquename"); + if (isdrin != null) { + + System.err.println(usage); + System.exit(1); + } + + String mandantenID = GetOpts.getValue("-mandantenID"); + String job_uniquename = GetOpts.getValue("-job_uniquename"); + SuperXManager.setWEB_INFPfad(GetOpts.getValue("-WEB_INF_PFAD")); + SuperXManager.setModuleDir(GetOpts.getValue("-MODULE_PFAD")); + String path_to_uploadfile = ""; + if (GetOpts.isPresent("-path_to_uploadfile")) { + path_to_uploadfile = GetOpts.getValue("-path_to_uploadfile"); + if (!new File(path_to_uploadfile).exists()) { + System.out.println("Fehler: Datei " + path_to_uploadfile + " nicht gefunden"); + System.exit(-1); + } + } + try { + //muss vor SxPools init ausgeführt werden, sonst kann kein kettleDatabaseMeta-Objekt erzeugt werden java.lang.RuntimeException: Database type not found! + KettleEnvironment.init(); + + SxPools.init(); + SxPools.get(mandantenID).init(); + //SxPools.get(mandantenID).initLogging(true); + SxPools.resetAllPools(); + } catch (Exception e) { + System.out.println("Fehler beim Datenbankverbindungsaufbau " + e); + e.printStackTrace(); + ; + + System.exit(-1); + } + try { + String jobtid = getJobTid(job_uniquename, mandantenID); + KettleExecutor ke = new KettleExecutor(mandantenID); + Map jobParams = new HashMap(); + jobParams.put("Job", jobtid); + jobParams.put("PATH_TO_UPLOADFILE", path_to_uploadfile); + ke.setParams(jobParams); + + ke.perform(); + System.out.println("Keine Fehler aufgefallen"); + } catch (Exception e) { + + System.out.println("Fehler bei Verarbeitung " + e); + e.printStackTrace(); + System.exit(-1); + + } + } + + private static String getJobTid(String job_uniquename, String mandantenID) throws SQLException, DBServletException { + String tid = ""; + String sql = "select tid from sx_jobs where uniquename='" + job_uniquename + "'"; + SxResultSet rs = ServletUtils.execute("Suche tid für sx_job mit uniquename " + job_uniquename, sql, mandantenID); + if (rs.size() == 0) throw new RuntimeException("Kein sx_job mit uniquename " + job_uniquename + " gefunden"); + if (rs.size() > 1) throw new RuntimeException("Mehrere sx_jobs mit uniquename " + job_uniquename + " gefunden"); + + for (Iterator it = rs.iterator(); it.hasNext();) { + SxResultRow row = (SxResultRow) it.next(); + Object erg = row.get(0); + if (erg != null) tid = erg.toString(); + } + return tid; + } + + private class SxJob { + private String filepath; + + private String params; + + private String check_sql; + + private String caption; + + public String getCaption() { + return caption; + } + + public void setCaption(String caption) { + this.caption = caption; + } + + public String getFilepath() { + return filepath; + } + + public void setFilepath(String filepath) { + this.filepath = filepath; + } + + public String getParams() { + return params; + } + + public void setParams(String params) { + this.params = params; + } + + public String getCheck_sql() { + return check_sql; + } + + public void setCheck_sql(String check_sql) { + this.check_sql = check_sql; + } + + + + } } diff --git a/superx/WEB-INF/conf/edustore/db/conf/build.xml b/superx/WEB-INF/conf/edustore/db/conf/build.xml index 0b4af69..6a10b85 100644 --- a/superx/WEB-INF/conf/edustore/db/conf/build.xml +++ b/superx/WEB-INF/conf/edustore/db/conf/build.xml @@ -312,7 +312,9 @@ - + + + @@ -1286,13 +1288,21 @@ failonerror="false"> - + + + + + + + + diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/dbconv/sch.eduetl/organigramm.tab b/superx/WEB-INF/conf/edustore/db/install/conf/his1/dbconv/sch.eduetl/organigramm.tab index ce7a5ca..be5c670 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/his1/dbconv/sch.eduetl/organigramm.tab +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/dbconv/sch.eduetl/organigramm.tab @@ -1,10 +1,10 @@ {### organigramm - automatisch generiert #########} create table organigramm( - tid INTEGER not null, + tid SERIAL not null, key_apnr CHAR(10) , parent CHAR(10) , -drucktext CHAR(50) , -name NCHAR(150) , +drucktext NVARCHAR(255) , +name NVARCHAR(255) , ebene INTEGER , lehre SMALLINT not null, gueltig_seit DATE not null, diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/dbconv/sch.eduetl/organigramm_bak.tab b/superx/WEB-INF/conf/edustore/db/install/conf/his1/dbconv/sch.eduetl/organigramm_bak.tab index da290cd..9ea1167 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/his1/dbconv/sch.eduetl/organigramm_bak.tab +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/dbconv/sch.eduetl/organigramm_bak.tab @@ -3,8 +3,8 @@ create table organigramm_bak( tid INTEGER not null, key_apnr CHAR(10) , parent CHAR(10) , -drucktext CHAR(50) , -name NCHAR(150) , +drucktext NVARCHAR(255) , +name NVARCHAR(255) , ebene INTEGER , lehre SMALLINT not null, gueltig_seit DATE not null, diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_drop_ids.xml b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_drop_ids.xml index d098742..9045909 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_drop_ids.xml +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_drop_ids.xml @@ -1,45 +1,6 @@ -eduetl:drop view user_groups; - - -eduetl:drop view menu_element_fieldmode; - - -eduetl:drop view menu_element_mandatory; - - -eduetl:drop view menu_element_nature; - - -eduetl:drop view menu_element_orgstructure; - - -eduetl:drop view user_inst_org; - - -eduetl:drop view hochschulen; - - -eduetl:drop view dimension_view; - - -eduetl:drop view fact_table; - - -eduetl:drop view dim_staat; - - -eduetl:drop view dim_stg; - - -eduetl:drop view dim_abschluss; - - -eduetl:drop view dim_kost; - - -eduetl:drop view dim_kotr; - + + eduetl:drop procedure sp_user_themen(integer, date, smallint); @@ -112,6 +73,9 @@ eduetl:drop procedure sp_set_organigramm_lehr(); + +eduetl:drop function trim_all_whitespace(varchar); + eduetl:drop table sichtart_rechttabelle; @@ -196,6 +160,9 @@ eduetl:drop table trans_cif; + +eduetl:drop table cifx_customize; + eduetl:drop table felderinfo; @@ -271,6 +238,9 @@ eduetl:drop table sx_mask_style; + +eduetl:drop table sx_stylesheet_param; + eduetl:drop table sx_captions; @@ -403,6 +373,9 @@ eduetl:drop table group_portlet_bez; + +eduetl:drop table kern_cifx_neu; + eduetl:drop table sieve; @@ -418,6 +391,63 @@ eduetl:drop table sx_jobs; + +eduetl:drop table orgunit_mapping; + + +eduetl:drop table implicit_orgunit_rights; + + +eduetl:drop table kern_pruefrout; + + +eduetl:drop table masken_statistik; + + +eduetl:drop table dim_datum; + + +eduetl:drop table hisinone_deleted_entity; + + +eduetl:drop table etl_step; + + +eduetl:drop table etl_step_type; + + +eduetl:drop table etl_step_type_param; + + +eduetl:drop table etl_step_property; + + +eduetl:drop table etl_step_relation; + + +eduetl:drop table etl_job; + + +eduetl:drop table etl_job_param; + + +eduetl:drop table k_astat_studienfach_land; + + +eduetl:drop table k_astat_abschluss3steller_land; + + +eduetl:drop table k_astat_abschluss2steller; + + +eduetl:drop table k_astat_studienbereich; + + +eduetl:drop table k_astat_studienfach; + + +eduetl:drop table colorscheme; + eduetl:drop table sx_mail; @@ -431,4 +461,7 @@ + + + diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_install_ids.xml b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_install_ids.xml index 06e9660..71fd9d5 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_install_ids.xml +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_install_ids.xml @@ -77,199 +77,234 @@ eduetl:delete from sx_repository; +eduetl:delete from k_astat_studienfach_land; + +eduetl:delete from k_astat_abschluss3steller_land; + +eduetl:delete from k_astat_abschluss2steller; + +eduetl:delete from k_astat_studienfach; + +eduetl:delete from k_astat_studienbereich; + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -279,10 +314,10 @@ - + - + diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_integrate_ids.sql b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_integrate_ids.sql index 20f1817..966647d 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_integrate_ids.sql +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_integrate_ids.sql @@ -4,14 +4,18 @@ --Integrieren: --- Fülle db_version +select now(),'Fülle db_version' +from xdummy; + delete from db_version where his_system='kern'; -insert into db_version (his_system,version) values('kern','4.9'); +insert into db_version (his_system,version,systeminfo_id) values('kern','5.0',9); + +select now(),'Fülle db_tabellen' +from xdummy; --- Fülle db_tabellen delete from db_tabellen where name='sichtart_rechttabelle'; insert into db_tabellen (name,protokollierung) values('sichtart_rechttabelle',0); delete from db_tabellen where name='group_field_pref'; @@ -68,6 +72,8 @@ delete from db_tabellen where name='trans_cifx'; insert into db_tabellen (name,protokollierung) values('trans_cifx',0); delete from db_tabellen where name='trans_cif'; insert into db_tabellen (name,protokollierung) values('trans_cif',0); +delete from db_tabellen where name='cifx_customize'; +insert into db_tabellen (name,protokollierung) values('cifx_customize',0); delete from db_tabellen where name='felderinfo'; insert into db_tabellen (name,protokollierung) values('felderinfo',0); delete from db_tabellen where name='hochschulinfo'; @@ -118,6 +124,8 @@ delete from db_tabellen where name='sx_stylesheets'; insert into db_tabellen (name,protokollierung) values('sx_stylesheets',0); delete from db_tabellen where name='sx_mask_style'; insert into db_tabellen (name,protokollierung) values('sx_mask_style',0); +delete from db_tabellen where name='sx_stylesheet_param'; +insert into db_tabellen (name,protokollierung) values('sx_stylesheet_param',0); delete from db_tabellen where name='sx_captions'; insert into db_tabellen (name,protokollierung) values('sx_captions',0); delete from db_tabellen where name='fm_templates'; @@ -206,6 +214,8 @@ delete from db_tabellen where name='user_portlet_bez'; insert into db_tabellen (name,protokollierung) values('user_portlet_bez',0); delete from db_tabellen where name='group_portlet_bez'; insert into db_tabellen (name,protokollierung) values('group_portlet_bez',0); +delete from db_tabellen where name='kern_cifx_neu'; +insert into db_tabellen (name,protokollierung) values('kern_cifx_neu',0); delete from db_tabellen where name='sieve'; insert into db_tabellen (name,protokollierung) values('sieve',0); delete from db_tabellen where name='sieve_column_def'; @@ -216,21 +226,63 @@ delete from db_tabellen where name='sieve_field'; insert into db_tabellen (name,protokollierung) values('sieve_field',0); delete from db_tabellen where name='sx_jobs'; insert into db_tabellen (name,protokollierung) values('sx_jobs',0); +delete from db_tabellen where name='orgunit_mapping'; +insert into db_tabellen (name,protokollierung) values('orgunit_mapping',0); +delete from db_tabellen where name='implicit_orgunit_rights'; +insert into db_tabellen (name,protokollierung) values('implicit_orgunit_rights',0); +delete from db_tabellen where name='kern_pruefrout'; +insert into db_tabellen (name,protokollierung) values('kern_pruefrout',0); +delete from db_tabellen where name='masken_statistik'; +insert into db_tabellen (name,protokollierung) values('masken_statistik',0); +delete from db_tabellen where name='dim_datum'; +insert into db_tabellen (name,protokollierung) values('dim_datum',0); +delete from db_tabellen where name='hisinone_deleted_entity'; +insert into db_tabellen (name,protokollierung) values('hisinone_deleted_entity',0); +delete from db_tabellen where name='etl_step'; +insert into db_tabellen (name,protokollierung) values('etl_step',0); +delete from db_tabellen where name='etl_step_type'; +insert into db_tabellen (name,protokollierung) values('etl_step_type',0); +delete from db_tabellen where name='etl_step_type_param'; +insert into db_tabellen (name,protokollierung) values('etl_step_type_param',0); +delete from db_tabellen where name='etl_step_property'; +insert into db_tabellen (name,protokollierung) values('etl_step_property',0); +delete from db_tabellen where name='etl_step_relation'; +insert into db_tabellen (name,protokollierung) values('etl_step_relation',0); +delete from db_tabellen where name='etl_job'; +insert into db_tabellen (name,protokollierung) values('etl_job',0); +delete from db_tabellen where name='etl_job_param'; +insert into db_tabellen (name,protokollierung) values('etl_job_param',0); +delete from db_tabellen where name='k_astat_studienfach_land'; +insert into db_tabellen (name,protokollierung) values('k_astat_studienfach_land',0); +delete from db_tabellen where name='k_astat_abschluss3steller_land'; +insert into db_tabellen (name,protokollierung) values('k_astat_abschluss3steller_land',0); +delete from db_tabellen where name='k_astat_abschluss2steller'; +insert into db_tabellen (name,protokollierung) values('k_astat_abschluss2steller',0); +delete from db_tabellen where name='k_astat_studienbereich'; +insert into db_tabellen (name,protokollierung) values('k_astat_studienbereich',0); +delete from db_tabellen where name='k_astat_studienfach'; +insert into db_tabellen (name,protokollierung) values('k_astat_studienfach',0); +delete from db_tabellen where name='colorscheme'; +insert into db_tabellen (name,protokollierung) values('colorscheme',0); delete from db_tabellen where name='sx_mail'; insert into db_tabellen (name,protokollierung) values('sx_mail',0); --- Fülle sachgebiete, systeminfo und themenbaum +select now(),'Fülle sachgebiete, systeminfo und themenbaum' +from xdummy; + --Das Sachgebiet wird erzeugt, ggf. vorherige Sachgebiete sichern. -delete from sachgebiete where tid=0; -insert into sachgebiete(tid,name) values (0,'Administration'); --- den admins die Rechte geben -delete from group_sachgeb_bez where sachgebiete_id=0; + +insert into sachgebiete(tid,name) select 0,'Administration' +from xdummy +where 0=(select count(*) from sachgebiete S where S.tid=0); insert into group_sachgeb_bez -select G.tid,0 from groupinfo G where G.name='Administratoren' or G.name='superx' ; +select G.tid,0 from groupinfo G +where (G.name='Administratoren' or G.name='superx') +and 0=(select count(*) from group_sachgeb_bez G where G.sachgebiete_id=0); -- his1 rightname fuer Sachgebiete nachtragen @@ -242,12 +294,17 @@ update sachgebiete set rightname='CS_BIA_ADMINISTRATE_TOPIC_AREA[CORE_OU]' where update sachgebiete set rightname='CS_BIA_ADMINISTRATE_TOPIC_AREA[CORE_USERINFO]' where tid=53; update sachgebiete set rightname='CS_BIA_ADMINISTRATE_TOPIC_AREA[CORE_LOAD]' where tid=54; - -- wird auch noch mal als template aufgerufen in sx_tables_fuellen.sql vergl. http://ics/ilias3/goto.php?target=wiki_40_SingleSignOn-Rechteuebernahme&client_id=memtext --Das system wird erzeugt, ggf. vorherige systeme sichern. -delete from systeminfo where tid=9; -insert into systeminfo(tid,name,datum) values (9,'Administration',date('1.1.1900')); + -- wird auch noch mal als template aufgerufen in sx_tables_fuellen.sql --Das system wird erzeugt, ggf. vorherige systeme sichern. + +insert into systeminfo(tid,name,datum) select 9,'Administration',date('1.1.1900') +from xdummy +where 0=(select count(*) from systeminfo S where S.tid=9); + + +select now(),'Das Thema und die Masken in den Themenbaum einfügen' +from xdummy; --- Das Thema und die Masken in den Themenbaum einfügen --Das Thema und die Masken in den Themenbaum einfügen --zunaechst werden die Eintraege in den themenbaum_bak eingefuegt, default ist parent=themenbaum_root @@ -278,7 +335,9 @@ create temp table tmp_themenbaum --- root für das Modul einfügen und in den Themenbaum einhängen: +select now(),'root für das Modul einfügen und in den Themenbaum einhängen:' +from xdummy; + insert into tmp_themenbaum ( tid,name, gueltig_seit,gueltig_bis ) @@ -333,6 +392,18 @@ insert into tmp_themenbaum(name, parentname, gueltig_seit,gueltig_bis,erlaeuteru --gibt es das Thema schon? delete from tmp_themenbaum where name in (select T.name from themenbaum T where T.name='Benutzer' or T.name='Administration'); +insert into tmp_themenbaum(name, parentname, gueltig_seit,gueltig_bis,erlaeuterung) + values('Entwicklung','Administration','01.01.1900','01.01.3000','Spezielle Funktionen für die Entwicklung'); + +--gibt es das Thema schon? +delete from tmp_themenbaum where name in (select T.name from themenbaum T where T.name='Entwicklung' +or T.name='Administration'); +insert into tmp_themenbaum(name, parentname, gueltig_seit,gueltig_bis,erlaeuterung) + values('Stammdaten verwalten','Administration','01.01.1900','01.01.3000','Abfragen zur Stammdatenverwaltung'); + +--gibt es das Thema schon? +delete from tmp_themenbaum where name in (select T.name from themenbaum T where T.name='Stammdaten verwalten' +or T.name='Administration'); --root für das Modul einfügen und in den Themenbaum einhängen --update themenbaum_bak set parent=(select tid from themenbaum where parent is null) @@ -346,7 +417,9 @@ or T.name='Administration'); --Nun die einzelnen Masken --- Nun die einzelnen Masken: +select now(),'Nun die einzelnen Masken:' +from xdummy; + insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, @@ -390,12 +463,6 @@ insert into tmp_themenbaum gueltig_bis) values('Feld suchen','70570','Felder','01.01.1900','01.01.3000'); -insert into tmp_themenbaum -( name ,maskeninfo_id, parentname, - gueltig_seit , - gueltig_bis) -values('User einrichten','70970','Benutzer verwalten','01.01.1900','01.01.3000'); - insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, gueltig_seit , @@ -448,7 +515,7 @@ insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, gueltig_seit , gueltig_bis) -values('Institution suchen','71080','Administration','01.01.1900','01.01.3000'); +values('Organisationseinheiten suchen','71080','Administration','01.01.1900','01.01.3000'); insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, @@ -508,7 +575,7 @@ insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, gueltig_seit , gueltig_bis) -values('Entladeparameter suchen','71260','Administration','01.01.1900','01.01.3000'); +values('Entladeparameter bearbeiten','71260','Administration','01.01.1900','01.01.3000'); insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, @@ -570,12 +637,24 @@ insert into tmp_themenbaum gueltig_bis) values('Bericht Gruppenrahmen','71440','Benutzerinfo verwalten','01.01.1900','01.01.3000'); +insert into tmp_themenbaum +( name ,maskeninfo_id, parentname, + gueltig_seit , + gueltig_bis) +values('Organigrammquelle bearbeiten','71480','Administration','01.01.1900','01.01.3000'); + insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, gueltig_seit , gueltig_bis) values('Konstanten bearbeiten','71500','Administration','01.01.1900','01.01.3000'); +insert into tmp_themenbaum +( name ,maskeninfo_id, parentname, + gueltig_seit , + gueltig_bis) +values('Datensieb erstellen','71520','Administration','01.01.1900','01.01.3000'); + insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, gueltig_seit , @@ -592,19 +671,39 @@ insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, gueltig_seit , gueltig_bis) -values('Datenanalyse Würfel entwerfen','71580','Masken verwalten','01.01.1900','01.01.3000'); +values('Stammdatenverwaltung','71620','Administration','01.01.1900','01.01.3000'); insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, gueltig_seit , gueltig_bis) -values('Stammdatenverwaltung','71620','Administration','01.01.1900','01.01.3000'); +values('OrgUnitTests','71640','Entwicklung','01.01.1900','01.01.3000'); + +insert into tmp_themenbaum +( name ,maskeninfo_id, parentname, + gueltig_seit , + gueltig_bis) +values('Prüfprotokoll Administration','71660','Administration','01.01.1900','01.01.3000'); + +insert into tmp_themenbaum +( name ,maskeninfo_id, parentname, + gueltig_seit , + gueltig_bis) +values('Nutzungsstatistik - Berichte','71680','Administration','01.01.1900','01.01.3000'); + +insert into tmp_themenbaum +( name ,maskeninfo_id, parentname, + gueltig_seit , + gueltig_bis) +values('Gastzugang einrichten','71770','Administration','01.01.1900','01.01.3000'); --gibt es die Maske schon? delete from tmp_themenbaum where maskeninfo_id in (select T.maskeninfo_id from themenbaum T); --- Die einzelnen Masken sind eingefügt. +select now(),'Die einzelnen Masken sind eingefügt.' +from xdummy; + insert into tmp_themenbaum2 select * from tmp_themenbaum; @@ -629,9 +728,13 @@ update themenbaum set erlaeuterung='Abfragen zur Maskenverwaltung' where name='M update themenbaum set erlaeuterung='Uploads/Downloads verwalten' where name='Uploads/Downloads verwalten'; update themenbaum set erlaeuterung='Abfragen zur Feld-Verwaltung' where name='Felder'; update themenbaum set erlaeuterung='Benutzereinstellungen (Passwort ändern etc.)' where name='Benutzer'; +update themenbaum set erlaeuterung='Spezielle Funktionen für die Entwicklung' where name='Entwicklung'; +update themenbaum set erlaeuterung='Abfragen zur Stammdatenverwaltung' where name='Stammdaten verwalten'; + +select now(),'db_forms einfügen' +from xdummy; --- db_forms einfügen CREATE temp TABLE tmp_db_forms ( tid serial NOT NULL, @@ -642,109 +745,115 @@ CREATE temp TABLE tmp_db_forms ( description character(255) ); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sachgebiete','sachgebiete','/edit/kern/sachgebiete_edit.jsp','Sachgebiete verwalten','In diesem Formular können Sie Sachgebiete verwalten.'); +values ('sachgebiete','sachgebiete','/edit/kern/sachgebiete_edit.jsp','Sachgebiete verwalten'::varchar(200),'In diesem Formular können Sie Sachgebiete verwalten.'::varchar(255)); +insert into tmp_db_forms (name, tablename,form_path,caption,description) +values ('sx_stylesheets','sx_stylesheets','/edit/kern/sx_stylesheets_edit.jsp','Stylesheets verwalten'::varchar(200),'In diesem Formular können Sie XSL-Stylesheets verwalten.'::varchar(255)); +insert into tmp_db_forms (name, tablename,form_path,caption,description) +values ('organigramm','organigramm','/edit/kern/organigramm_edit.jsp','Organigramm verwalten'::varchar(200),'In diesem Formular können Sie Organisationseinheiten verwalten.'::varchar(255)); +insert into tmp_db_forms (name, tablename,form_path,caption,description) +values ('organigramm_nodeattrib','organigramm','/edit/kern/organigramm_editnodeattrib.jsp','Organigramm Sichtbarkeit verwalten'::varchar(200),'In diesem Formular können Sie die Sichtbarkeit von Organisationseinheiten verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_stylesheets','sx_stylesheets','/edit/kern/sx_stylesheets_edit.jsp','Stylesheets verwalten','In diesem Formular können Sie XSL-Stylesheets verwalten.'); +values ('maskeninfo','maskeninfo','/edit/kern/maskeninfo_edit.jsp','Maskeninfo verwalten'::varchar(200),'In diesem Formular können Sie Maskendefinitionen verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('organigramm','organigramm','/edit/kern/organigramm_edit.jsp','Organigramm verwalten','In diesem Formular können Sie Institutionen verwalten.'); +values ('macro_feld_wert_list','macro_feld_wert','/edit/kern/macro_feld_wert_list.jsp','Feld-Vorbelegung von Makro-Masken'::varchar(200),'In diesem Formular können Sie Feld-Vorbelegung von Makro-Masken verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('organigramm_nodeattrib','organigramm','/edit/kern/organigramm_editnodeattrib.jsp','Organigramm Sichtbarkeit verwalten','In diesem Formular können Sie die Sichtbarkeit von Organisationseinheiten verwalten.'); +values ('felderinfo','felderinfo','/edit/kern/felderinfo_edit.jsp','Felderinfo verwalten'::varchar(200),'In diesem Formular können Sie Felder verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('maskeninfo','maskeninfo','/edit/kern/maskeninfo_edit.jsp','Maskeninfo verwalten','In diesem Formular können Sie Masken verwalten.'); +values ('systeminfo','systeminfo','/edit/kern/systeminfo_edit.jsp','Systeminfo verwalten'::varchar(200),'In diesem Formular können Sie Quellsysteme verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('felderinfo','felderinfo','/edit/kern/felderinfo_edit.jsp','Felderinfo verwalten','In diesem Formular können Sie Felder verwalten.'); +values ('user_sachgeb_bez','user_sachgeb_bez','/edit/kern/user_sachgeb_bez_edit.jsp','Benutzer und Sachgebiete verwalten'::varchar(200),'In diesem Formular können Sie Benutzern Sachgebietsrechte geben. Achtung: Einträge von externem System (HisInOne) werden bei Neuanmeldung überschrieben'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('systeminfo','systeminfo','/edit/kern/systeminfo_edit.jsp','Systeminfo verwalten','In diesem Formular können Sie Quellsysteme verwalten.'); +values ('user_group_bez','user_group_bez','/edit/kern/user_group_bez_edit.jsp','Benutzer und Gruppen verwalten'::varchar(200),'In diesem Formular können Sie Benutzer zu Gruppen zuordnen. Achtung: Zuordnung zur Gruppe Administratoren für admins von externem System (HisInOne) werden bei Neuanmeldung überschrieben'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('user_sachgeb_bez','user_sachgeb_bez','/edit/kern/user_sachgeb_bez_edit.jsp','Benutzer und Sachgebiete verwalten','In diesem Formular können Sie Benutzern Sachgebietsrechte geben. Achtung: Einträge von externem System (HisInOne) werden bei Neuanmeldung überschrieben'); +values ('user_masken_bez','user_masken_bez','/edit/kern/user_masken_bez_edit.jsp','Maskenrechte von Benutzern'::varchar(200),'In diesem Formular können Sie Benutzern Rechte auf einzelne Masken geben.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('user_group_bez','user_group_bez','/edit/kern/user_group_bez_edit.jsp','Benutzer und Gruppen verwalten','In diesem Formular können Sie Benutzer zu Gruppen zuordnen. Achtung: Zuordnung zur Gruppe Administratoren für admins von externem System (HisInOne) werden bei Neuanmeldung überschrieben'); +values ('user_institution','user_institution','/edit/kern/user_institution_edit.jsp','Institutionsrechte von Benutzern'::varchar(200),'In diesem Formular können Sie Benutzern Rechte auf einzelne Insitutionen geben. Achtung: Einträge von externem System (HisInOne) werden bei Neuanmeldung überschrieben'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('user_masken_bez','user_masken_bez','/edit/kern/user_masken_bez_edit.jsp','Maskenrechte von Benutzern','In diesem Formular können Sie Benutzern Rechte auf einzelne Masken geben.'); +values ('themenbaum_edit','themenbaum','/edit/kern/themenbaum_edit.jsp','Themenbaum'::varchar(200),'In diesem Formular können Sie den Themenbaum bearbeiten. Bitte beachten Sie: bei Änderungen muss der Themenbaum neu geladen werden (SuperXManager)'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('user_institution','user_institution','/edit/kern/user_institution_edit.jsp','Institutionsrechte von Benutzern','In diesem Formular können Sie Benutzern Rechte auf einzelne Insitutionen geben. Achtung: Einträge von externem System (HisInOne) werden bei Neuanmeldung überschrieben'); +values ('sichten','sichten','/edit/kern/sichten_edit.jsp','Sichten'::varchar(200),'In diesem Formular können Sie Sichten auf das Organigramm verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('themenbaum_edit','themenbaum','/edit/kern/themenbaum_edit.jsp','Themenbaum','In diesem Formular können Sie den Themenbaum bearbeiten. Bitte beachten Sie: bei Änderungen muss der Themenbaum neu geladen werden (SuperXManager)'); +values ('sachgeb_maske_bez','sachgeb_maske_bez','/edit/kern/sachgeb_maske_bez_edit.jsp','Masken und Sachgebiete'::varchar(200),'In diesem Formular können Sie Masken zu Sachgebieten zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sichten','sichten','/edit/kern/sichten_edit.jsp','Sichten','In diesem Formular können Sie Sichten auf das Organigramm verwalten.'); +values ('masken_felder_bez','masken_felder_bez','/edit/kern/masken_felder_bez_edit.jsp','Masken und Felder'::varchar(200),'In diesem Formular können Sie Felder zu Masken zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sachgeb_maske_bez','sachgeb_maske_bez','/edit/kern/sachgeb_maske_bez_edit.jsp','Masken und Sachgebiete','In diesem Formular können Sie Masken zu Sachgebieten zuordnen.'); +values ('maske_system_bez','maske_system_bez','/edit/kern/maske_system_bez_edit.jsp','Masken und Systeme'::varchar(200),'In diesem Formular können Sie Masken zu Quellsystemen zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('masken_felder_bez','masken_felder_bez','/edit/kern/masken_felder_bez_edit.jsp','Masken und Felder','In diesem Formular können Sie Felder zu Masken zuordnen.'); +values ('macro_masken_bez','macro_masken_bez','/edit/kern/macro_masken_bez_edit.jsp','Masken und Makros'::varchar(200),'In diesem Formular können Sie Masken zu Makros zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('maske_system_bez','maske_system_bez','/edit/kern/maske_system_bez_edit.jsp','Masken und Systeme','In diesem Formular können Sie Masken zu Quellsystemen zuordnen.'); +values ('macro_masken_bez_list','macro_masken_bez','/edit/kern/macro_masken_bez_list.jsp','Masken und Makros'::varchar(200),'In diesem Formular können Sie Masken zu Makros zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('macro_masken_bez','macro_masken_bez','/edit/kern/macro_masken_bez_edit.jsp','Masken und Makros (Einzelbearbeitung)','In diesem Formular können Sie Masken zu Makros zuordnen.'); +values ('konstanten','konstanten','/edit/kern/konstanten_edit.jsp','Konstanten'::varchar(200),'In diesem Formular können Sie Konstanten verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('macro_masken_bez_list','macro_masken_bez','/edit/kern/macro_masken_bez_list.jsp','Masken und Makros (Liste)','In diesem Formular können Sie Masken zu Makros zuordnen.'); +values ('konstante','konstanten','/edit/kern/konstante_edit.jsp','Konstante verwalten'::varchar(200),''::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('konstanten','konstanten','/edit/kern/konstanten_edit.jsp','Konstanten','In diesem Formular können Sie Konstanten verwalten.'); +values ('hochschulinfo','hochschulinfo','/edit/kern/hochschulinfo_edit.jsp','Hochschulinfo'::varchar(200),'In diesem Formular können Infos zu Ihrer Hochschule speichern. Bitte ordnen Sie Ihre Hochschule im Feld Hochschulnummer (HIS) zu.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('konstante','konstanten','/edit/kern/konstante_edit.jsp','Konstante verwalten',''); +values ('group_sachgeb_bez','group_sachgeb_bez','/edit/kern/group_sachgeb_bez_edit.jsp','Gruppen und Sachgebiete'::varchar(200),'In diesem Formular können Sie Gruppen zu Sachgebieten zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('hochschulinfo','hochschulinfo','/edit/kern/hochschulinfo_edit.jsp','Hochschulinfo','In diesem Formular können Infos zu Ihrer Hochschule speichern. Bitte ordnen Sie Ihre Hochschule im Feld Hochschulnummer (HIS) zu.'); +values ('group_masken_bez','group_masken_bez','/edit/kern/group_masken_bez_edit.jsp','Gruppen und Masken'::varchar(200),'In diesem Formular können Sie Gruppen zu einzelnen Masken zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('group_sachgeb_bez','group_sachgeb_bez','/edit/kern/group_sachgeb_bez_edit.jsp','Gruppen und Sachgebiete','In diesem Formular können Sie Gruppen zu Sachgebieten zuordnen.'); +values ('group_masken_bez','group_masken_bez','/edit/kern/group_masken_bez_edit.jsp','Gruppen und Masken'::varchar(200),'In diesem Formular können Sie Gruppen zu einzelnen Masken zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('group_masken_bez','group_masken_bez','/edit/kern/group_masken_bez_edit.jsp','Gruppen und Masken','In diesem Formular können Sie Gruppen zu einzelnen Masken zuordnen.'); +values ('user_sichten','user_sichten','/edit/kern/user_sichten_edit.jsp','Benutzer und Sichten'::varchar(200),'In diesem Formular können Sie User-Rechte für Sichten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('group_masken_bez','group_masken_bez','/edit/kern/group_masken_bez_edit.jsp','Gruppen und Masken','In diesem Formular können Sie Gruppen zu einzelnen Masken zuordnen.'); +values ('group_sichten','group_sichten','/edit/kern/group_sichten_edit.jsp','Gruppen und Sichten'::varchar(200),'In diesem Formular können Sie Gruppen-Rechte für Sichten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('user_sichten','user_sichten','/edit/kern/user_sichten_edit.jsp','Benutzer und Sichten','In diesem Formular können Sie User-Rechte für Sichten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'); +values ('sx_captions','sx_captions','/edit/kern/sx_captions_edit.jsp','Beschriftungen'::varchar(200),'In diesem Formular können Sie Beschriftungen bearbeiten. Für Masken- und Spalten- und Felderläuterungen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('group_sichten','group_sichten','/edit/kern/group_sichten_edit.jsp','Gruppen und Sichten','In diesem Formular können Sie Gruppen-Rechte für Sichten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'); +values ('user_sichtarten','user_sichtarten','/edit/kern/user_sichtarten_edit.jsp','Benutzer und Sichtarten'::varchar(200),'In diesem Formular können Sie User-Rechte für Sichtarten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_captions','sx_captions','/edit/kern/sx_captions_edit.jsp','Beschriftungen','In diesem Formular können Sie Beschriftungen bearbeiten. Für Masken- und Spalten- und Felderläuterungen.'); +values ('group_sichtarten','group_sichtarten','/edit/kern/group_sichtarten_edit.jsp','Gruppen und Sichtarten'::varchar(200),'In diesem Formular können Sie Gruppen-Rechte für Sichtarten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('user_sichtarten','user_sichtarten','/edit/kern/user_sichtarten_edit.jsp','Benutzer und Sichtarten','In diesem Formular können Sie User-Rechte für Sichtarten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'); +values ('sx_repository_edit','sx_repository','/edit/kern/sx_repository_edit.jsp','Hochschul-Repository'::varchar(200),'In diesem Formular können Sie hochschulspezifische Konstanten oder SQL-Ausdrücke bearbeiten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('group_sichtarten','group_sichtarten','/edit/kern/group_sichtarten_edit.jsp','Gruppen und Sichtarten','In diesem Formular können Sie Gruppen-Rechte für Sichtarten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'); +values ('sx_repository_list','sx_repository','/edit/kern/sx_repository_list.jsp','Hochschul-Repository'::varchar(200),'In diesem Formular können Sie hochschulspezifische Konstanten oder SQL-Ausdrücke bearbeiten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_repository_edit','sx_repository','/edit/kern/sx_repository_edit.jsp','Hochschul-Repository','In diesem Formular können Sie hochschulspezifische Konstanten oder SQL-Ausdrücke bearbeiten.'); +values ('sx_downloads','sx_downloads','/edit/kern/sx_downloads_edit.jsp','Downloads'::varchar(200),'In diesem Formular können Sie Downloads bearbeiten. '::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_repository_list','sx_repository','/edit/kern/sx_repository_list.jsp','Hochschul-Repository','In diesem Formular können Sie hochschulspezifische Konstanten oder SQL-Ausdrücke bearbeiten.'); +values ('sx_keywords','sx_keywords','/edit/kern/sx_keywords_edit.jsp','Stichworte'::varchar(200),'In diesem Formular können Sie Stichworte bearbeiten. '::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_downloads','sx_downloads','/edit/kern/sx_downloads_edit.jsp','Downloads','In diesem Formular können Sie Downloads bearbeiten. '); +values ('sachgeb_sichten','sachgeb_sichten','/edit/kern/sachgeb_sichten_edit.jsp','Zuordnung Sichten zu Sachgebieten'::varchar(200),'In diesem Formular können Sie Sichten zu Sachgebieten zuordnen. '::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_keywords','sx_keywords','/edit/kern/sx_keywords_edit.jsp','Stichworte','In diesem Formular können Sie Stichworte bearbeiten. '); +values ('sachgeb_sichtarten','sachgeb_sichtarten','/edit/kern/sachgeb_sichtarten_edit.jsp','Zuordnung Sichtarten zu Sachgebieten'::varchar(200),'In diesem Formular können Sie Sichtarten zu Sachgebieten zuordnen. '::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sachgeb_sichten','sachgeb_sichten','/edit/kern/sachgeb_sichten_edit.jsp','Zuordnung Sichten zu Sachgebieten','In diesem Formular können Sie Sichten zu Sachgebieten zuordnen. '); +values ('unload_params','unload_params','/edit/kern/unload_params_edit.jsp','Entladeparameter verwalten'::varchar(200),''::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sachgeb_sichtarten','sachgeb_sichtarten','/edit/kern/sachgeb_sichtarten_edit.jsp','Zuordnung Sichtarten zu Sachgebieten','In diesem Formular können Sie Sichtarten zu Sachgebieten zuordnen. '); +values ('trans_inst_list','trans_inst','/edit/kern/trans_inst_list.jsp','Kostenstellen transformieren (Liste)'::varchar(200),'In diesem Formular können Sie Kostenstellen umschlüsseln.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('unload_params','unload_params','/edit/kern/unload_params_edit.jsp','Entladeparameter verwalten',''); +values ('trans_inst_edit','trans_inst','/edit/kern/trans_inst_edit.jsp','Kostenstellen transformieren (Details)'::varchar(200),'In diesem Formular können Sie Kostenstellen umschlüsseln.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('trans_inst_list','trans_inst','/edit/kern/trans_inst_list.jsp','Kostenstellen transformieren (Liste)','In diesem Formular können Sie Kostenstellen umschlüsseln.'); +values ('data_upload_edit','data_upload','/edit/kern/data_upload_edit.jsp','Verzeichnis der Datei-Uploads'::varchar(200),'In diesem Formular können Sie Uploads bearbeiten. '::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('trans_inst_edit','trans_inst','/edit/kern/trans_inst_edit.jsp','Kostenstellen transformieren (Details)','In diesem Formular können Sie Kostenstellen umschlüsseln.'); +values ('stylesheet_field_edit','stylesheet_field','/edit/kern/stylesheet_field_edit.jsp','Stylesheets und zugehörige Felder'::varchar(200),'In diesem Formular können Sie von Stylesheets benötigte Felder entsprechend zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('data_upload_edit','data_upload','/edit/kern/data_upload_edit.jsp','Verzeichnis der Datei-Uploads','In diesem Formular können Sie Uploads bearbeiten. '); +values ('stylesheet_field_list','stylesheet_field','/edit/kern/stylesheet_field_list.jsp','Stylesheets und zugehörige Felder'::varchar(200),'In diesem Formular können Sie von Stylesheets benötigte Felder entsprechend zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('stylesheet_field_edit','stylesheet_field','/edit/kern/stylesheet_field_edit.jsp','Stylesheets und zugehörige Felder','In diesem Formular können Sie von Stylesheets benötigte Felder entsprechend zuordnen.'); +values ('group_field_pref_edit','group_field_pref','/edit/kern/group_field_pref_edit.jsp','Gruppen Feldattribute zuweisen'::varchar(200),'In diesem Formular können Sie Feldern in Masken für bestimmte Gruppen Attribute wie Verstecken zuweisen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('stylesheet_field_list','stylesheet_field','/edit/kern/stylesheet_field_list.jsp','Stylesheets und zugehörige Felder','In diesem Formular können Sie von Stylesheets benötigte Felder entsprechend zuordnen.'); +values ('group_field_pref_list','group_field_pref','/edit/kern/group_field_pref_list.jsp','Gruppen Felderattribute zuweisen'::varchar(200),'In diesem Formular können Sie Feldern in Masken für bestimmte Gruppen Attribute wie Verstecken zuweisen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('group_field_pref_edit','group_field_pref','/edit/kern/group_field_pref_edit.jsp','Gruppen Feldattribute zuweisen','In diesem Formular können Sie Feldern in Masken für bestimmte Gruppen Attribute wie Verstecken zuweisen.'); +values ('fm_templates_list','fm_templates','/edit/kern/fm_templates_list.jsp','Freemarker-Templates bearbeiten'::varchar(200),'In diesem Formular können Sie Freemarker-Templates verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('group_field_pref_list','group_field_pref','/edit/kern/group_field_pref_list.jsp','Gruppen Felderattribute zuweisen','In diesem Formular können Sie Feldern in Masken für bestimmte Gruppen Attribute wie Verstecken zuweisen.'); +values ('fm_templates_edit','fm_templates','/edit/kern/fm_templates_edit.jsp','Freemarker-Templates bearbeiten'::varchar(200),'In diesem Formular können Sie Freemarker-Templates verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('fm_templates_list','fm_templates','/edit/kern/fm_templates_list.jsp','Freemarker-Templates bearbeiten','In diesem Formular können Sie Freemarker-Templates verwalten.'); +values ('dbconnections_list','dbconnections','/edit/kern/dbconnections_list.jsp','DB-Connections'::varchar(200),'In diesem Formular können Sie DB Connections bearbeiten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('fm_templates_edit','fm_templates','/edit/kern/fm_templates_edit.jsp','Freemarker-Templates bearbeiten','In diesem Formular können Sie Freemarker-Templates verwalten.'); +values ('portlets_list','sx_portlet','/edit/kern/portlets_list.jsp','Portlets'::varchar(200),'In diesem Formular können Sie Portlets bearbeiten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('dbconnections_list','dbconnections','/edit/kern/dbconnections_list.jsp','DB-Connections','In diesem Formular können Sie DB Connections bearbeiten.'); +values ('sichtart_rechttabelle_list','sichtart_rechttabelle','/edit/kern/sichtart_rechttabelle_list.jsp','Spezielle Sichtart-Rechte'::varchar(200),'In diesem Formular können Sie Rechtetabellen für Sichtarten bearbeiten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('portlets_list','sx_portlet','/edit/kern/portlets_list.jsp','Portlets','In diesem Formular können Sie Portlets bearbeiten.'); +values ('sichtart_rechttabelle_edit','sichtart_rechttabelle','/edit/kern/sichtart_rechttabelle_edit.jsp','Spezielle Sichtart-Rechte Einzelbarbeitung'::varchar(200),'In diesem Formular können Sie Rechtetabellen für Sichtarten bearbeiten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sichtart_rechttabelle_list','sichtart_rechttabelle','/edit/kern/sichtart_rechttabelle_list.jsp','Spezielle Sichtart-Rechte','In diesem Formular können Sie Rechtetabellen für Sichtarten bearbeiten.'); +values ('sx_jobs_edit','sx_jobs','/edit/kern/sx_jobs_edit.jsp','Ladejobs verwalten'::varchar(200),'In diesem Formular können Sie Ladejobs verwalten'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sichtart_rechttabelle_edit','sichtart_rechttabelle','/edit/kern/sichtart_rechttabelle_edit.jsp','Spezielle Sichtart-Rechte Einzelbarbeitung','In diesem Formular können Sie Rechtetabellen für Sichtarten bearbeiten.'); +values ('sx_jobs_list','sx_jobs','/edit/kern/sx_jobs_list.jsp','Ladejobs verwalten'::varchar(200),'In diesem Formular können Sie Ladejobs verwalten'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_jobs_edit','sx_jobs','/edit/kern/sx_jobs_edit.jsp','Ladejobs verwalten','In diesem Formular können Sie Ladejobs verwalten'); +values ('organigramm_list','organigramm','/edit/kern/organigramm_list.jsp','Organigramm'::varchar(200),'In diesem Formular können Sie das Organigramm aufrufen'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_jobs_list','sx_jobs','/edit/kern/sx_jobs_list.jsp','Ladejobs verwalten','In diesem Formular können Sie Ladejobs verwalten'); +values ('sx_stylesheet_param_edit','sx_stylesheet_param','/edit/kern/sx_stylesheet_param_edit.jsp','Stylesheet-Parameter'::varchar(200),'In diesem Formular können Sie Stylesheet-Parameter bearbeiten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('organigramm_list','organigramm','/edit/kern/organigramm_list.jsp','Organigramm','In diesem Formular können Sie das Organigramm aufrufen'); +values ('sx_stylesheet_param_list','sx_stylesheet_param','/edit/kern/sx_stylesheet_param_list.jsp','Stylesheet-Parameter'::varchar(200),'In diesem Formular können Sie Stylesheet-Parameter bearbeiten.'::varchar(255)); create temp table tmp_hilf(tid integer); insert into tmp_hilf select max(tid) from db_forms; diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_upgrade2_ids.xml b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_upgrade2_ids.xml index 06b207a..79e744e 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_upgrade2_ids.xml +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_upgrade2_ids.xml @@ -3,6 +3,9 @@ + + + @@ -11,31 +14,66 @@ -eduetl:create table tmp_templates(tid integer, id char(200) not null, content text not null, description char(200) , comment char(200) , version integer ) ; +eduetl:create table tmp_templates(tid integer, id char(200) not null, content text not null, description char(200) , comment char(200) , version integer ) ; eduetl:CREATE TABLE tmp_menu_element ( id integer NOT NULL, element character(255), element_value character(255), description character(255), nature character(255), annotation character(255) ); -eduetl:create table tmp_captions ( tid INTEGER, id CHAR(200) , table_name CHAR(200) , field_name CHAR(200) , record_no INTEGER , locale CHAR(10) , contents_short CHAR(255) , contents_long text , equalitystatus SMALLINT , sachgebiete_id INTEGER, doku_link VARCHAR, export_to_glossar INTEGER ); +eduetl:create table tmp_captions ( tid INTEGER, id CHAR(200) , table_name CHAR(200) , field_name CHAR(200) , record_no INTEGER , locale CHAR(10) , contents_short CHAR(255) , contents_long text , equalitystatus SMALLINT , sachgebiete_id INTEGER, doku_link VARCHAR, export_to_glossar INTEGER ); -eduetl:create table tmp_repository( tid SERIAL not null, id CHAR(200) not null, content TEXT , caption CHAR(200) , comment TEXT , version SMALLINT , art CHAR(200) , art2 CHAR(200) , art3 CHAR(200) , sachgebiete_id INTEGER , sort1 INTEGER , sort2 INTEGER , sort3 INTEGER , geaendert_am DATE , aktiv smallint , gueltig_seit DATE , gueltig_bis DATE ); +eduetl:create table tmp_repository( tid SERIAL not null, id CHAR(200) not null, content TEXT , caption CHAR(200) , comment TEXT , version SMALLINT , art CHAR(200) , art2 CHAR(200) , art3 CHAR(200) , sachgebiete_id INTEGER , sort1 INTEGER , sort2 INTEGER , sort3 INTEGER , geaendert_am DATE , aktiv smallint , gueltig_seit DATE , gueltig_bis DATE ); eduetl:delete from tmp_templates; - + eduetl:delete from tmp_captions; +eduetl:delete from k_astat_studienfach_land; + +eduetl:delete from k_astat_abschluss3steller_land; + +eduetl:delete from k_astat_abschluss2steller; + +eduetl:delete from k_astat_studienfach; + +eduetl:delete from k_astat_studienbereich; + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -85,11 +123,11 @@ eduetl:alter table sx_fields modify (is_primarykey integer default 0); -eduetl:create table tmp_cifx_load ( tid INTEGER not null, hs INTEGER not null, key SMALLINT not null, apnr CHAR(10) not null, d_akt_von DATE , d_akt_bis DATE , kurz CHAR(10) , druck CHAR(100) , lang_1 CHAR(100) , lang_2 CHAR(150) , lang_3 CHAR(250) , parent CHAR(10) , parent_int integer, filter CHAR(10) , refapnr CHAR(10) , astat CHAR(10) , bund_apnr CHAR(10) , land_apnr CHAR(10) , hiskey_id VARCHAR(255) , uniquename VARCHAR(255) , sort1 INTEGER , sort2 INTEGER , sort3 INTEGER , sortc1 CHAR(10) , sortc2 CHAR(10) , sourcesystem integer , sourcesystem_id VARCHAR(255) , intern_int INTEGER , intern_c CHAR(10) , sprache CHAR(3) , struktur_int INTEGER , struktur_c CHAR(50) , ebene INTEGER, lid VARCHAR(255), parent_lid VARCHAR(255) ); +eduetl:create table tmp_cifx_load ( tid INTEGER not null, hs INTEGER not null, key SMALLINT not null, apnr CHAR(10) not null, d_akt_von DATE , d_akt_bis DATE , kurz CHAR(10) , druck CHAR(100) , lang_1 CHAR(100) , lang_2 CHAR(150) , lang_3 CHAR(250) , parent CHAR(10) , parent_int integer, filter CHAR(10) , refapnr CHAR(10) , astat CHAR(10) , bund_apnr CHAR(10) , land_apnr CHAR(10) , hiskey_id VARCHAR(255) , uniquename VARCHAR(255) , sort1 INTEGER , sort2 INTEGER , sort3 INTEGER , sortc1 CHAR(10) , sortc2 CHAR(10) , sourcesystem integer , sourcesystem_id VARCHAR(255) , intern_int INTEGER , intern_c CHAR(10) , sprache CHAR(3) , struktur_int INTEGER , struktur_c CHAR(50) , ebene INTEGER, lid VARCHAR(255), parent_lid VARCHAR(255) ); -eduetl:create table tmp_cif_load ( tid INTEGER not null, hs INTEGER not null, key SMALLINT not null, apnr INTEGER not null, d_akt_von DATE , d_akt_bis DATE , kurz CHAR(10) , druck CHAR(100) , lang_1 CHAR(100) , lang_2 CHAR(150) , lang_3 CHAR(250), sort1 INTEGER ) ; +eduetl:create table tmp_cif_load ( tid INTEGER not null, hs INTEGER not null, key SMALLINT not null, apnr INTEGER not null, d_akt_von DATE , d_akt_bis DATE , kurz CHAR(10) , druck CHAR(100) , lang_1 CHAR(100) , lang_2 CHAR(150) , lang_3 CHAR(250), sort1 INTEGER ) ; -eduetl:create table tmp_portlet( tid SERIAL not null, name VARCHAR(255) , type VARCHAR(255) , class VARCHAR(255) , icon VARCHAR(255) , content TEXT , sortnr_initial INTEGER , visible VARCHAR(255) , gueltig_von DATE, gueltig_bis DATE ) ; +eduetl:create table tmp_portlet( tid SERIAL not null, name VARCHAR(255) , type VARCHAR(255) , class VARCHAR(255) , icon VARCHAR(255) , content TEXT , sortnr_initial INTEGER , visible VARCHAR(255) , gueltig_von DATE, gueltig_bis DATE ) ; eduetl:delete from tmp_cifx_load; @@ -101,22 +139,22 @@ - + - + - + - + @@ -160,16 +198,27 @@ -eduetl:UPDATE db_version SET version = '4.9' +eduetl:delete from dim_datum; + + + + + + +eduetl:delete from aggre_bland; + + + + + + +eduetl:UPDATE db_version SET version = '5.0' WHERE his_system = 'kern'; - - - diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_load_ids.xml b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_load_ids.xml index 3ded7e7..f6213ca 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_load_ids.xml +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_load_ids.xml @@ -1,333 +1,15 @@ -eduetl:CREATE TABLE tmp_userinfo (tid integer, benutzer char(30), kennwort char(16), name char(50), max_versuch smallint, akt_versuch smallint, email char(255), administration smallint, archiv_recht smallint, passwd_sha char(40), info char(255), extern_account_id varchar(255), extern_person_id varchar(255),sieht_projekte SMALLINT); + + -eduetl:CREATE TABLE tmp_user_group_bez (userinfo_id integer, groupinfo_id integer, external_entry smallint); - -eduetl:CREATE TABLE tmp_user_institution (userid integer, name char(50), ch110_institut char(10), hierarchie smallint, gueltig_seit date, gueltig_bis date, lehre smallint, external_entry smallint, externalid varchar(200)); - -eduetl:CREATE TABLE tmp_user_masken_bez (userinfo_id integer, maskeninfo_id integer, external_entry smallint); - -eduetl:CREATE TABLE tmp_user_pw (userinfo_id integer, pw_gueltig_bis date, last_login datetime year to second, old_sha1 char(40), zeitpunkt1 datetime year to second, old_sha2 char(40), zeitpunkt2 datetime year to second, old_sha3 char(40), zeitpunkt3 datetime year to second, old_sha4 char(40), zeitpunkt4 datetime year to second, old_sha5 char(40), zeitpunkt5 datetime year to second, old_sha6 char(40), zeitpunkt6 datetime year to second, old_sha7 char(40), zeitpunkt7 datetime year to second); - -eduetl:CREATE TABLE tmp_user_sachgeb_bez (userinfo_id integer, sachgebiete_id integer, external_entry smallint); - -eduetl:CREATE TABLE tmp_user_sichtarten (userinfo_id integer, sichtart char(255), external_entry smallint); - -eduetl:CREATE TABLE tmp_user_sichten (userinfo_id integer, sicht_name_intern char(200), external_entry smallint); - -eduetl:CREATE TABLE tmp_group_field_pref (tid integer, groupinfo_id integer, field_id integer, pref varchar(255)); - -eduetl:CREATE TABLE tmp_group_masken_bez (groupinfo_id integer, maskeninfo_id integer); - -eduetl:CREATE TABLE tmp_group_sachgeb_bez (groupinfo_id integer, sachgebiete_id integer); - -eduetl:CREATE TABLE tmp_group_sichtarten (groupinfo_id integer, sichtart char(255)); - -eduetl:CREATE TABLE tmp_group_sichten (groupinfo_id integer, sicht_name_intern char(200)); - -eduetl:CREATE TABLE tmp_groupinfo (tid integer, name char(255)); - -eduetl:CREATE TABLE tmp_fin_user_kam (tid integer, userid integer, buchungsab_fb char(10), projnr_ins char(255), kapitel char(5), dr char(5), titel char(255), untertitel char(5), kostenstellen char(255), ins2 char(10), ins3 char(10), gueltig_von date, gueltig_bis date); - -eduetl:create table tmp_hochschulinfo (name char(100), adresse char(200), hs_nr integer, kapitel char(5), superx_server char(100), kennung char(8), passwd char(16) ); - -eduetl:CREATE TABLE tmp_konstanten (tid integer, apnr integer, beschreibung char(25)); - -eduetl:CREATE TABLE tmp_unload_params (tid integer, param_id varchar(255), param_val varchar(255), default_val varchar(255), description varchar(255), systeminfo_id integer); - -eduetl:CREATE TABLE tmp_sx_repository (tid integer, id char(200), content text, caption char(200), comment text, version smallint, art char(200), art2 char(200), art3 char(200), sachgebiete_id integer, sort1 integer, sort2 integer, sort3 integer, geaendert_am date, aktiv smallint, gueltig_seit date, gueltig_bis date); - -eduetl:CREATE TABLE tmp_themenbaum (tid integer, name varchar(255), maskeninfo_id integer, parent integer, gueltig_seit date, gueltig_bis date, erlaeuterung char(240), sort integer, css_class character varying(255)); - -eduetl:CREATE TABLE tmp_maskeninfo (tid integer, name char(255), select_stmt text, xil_proplist text, chart_xtitel char(50), chart_ytitel char(50), erlaeuterung char(255), cleanup_stmt char(240), default_file char(200), macro smallint, breite integer, hoehe integer, ampel smallint, hilfe smallint, hinweis text); - -eduetl:CREATE TABLE tmp_felderinfo (tid integer, name char(50), nummer integer, x integer, y integer, buttonbreite integer, feldbreite integer, zeilenanzahl integer, typ char(15), laenge integer, obligatorisch integer, art integer, relation text, attribut char(100), defaultwert char(255)); - -eduetl:CREATE TABLE tmp_masken_felder_bez (maskeninfo_id integer, felderinfo_id integer); - -eduetl:CREATE TABLE tmp_maske_system_bez (maskeninfo_id integer, systeminfo_id integer); - -eduetl:CREATE TABLE tmp_sachgeb_maske_bez (sachgebiete_id integer, maskeninfo_id integer); - -eduetl:CREATE TABLE tmp_sx_stylesheets (tid integer, filename char(255), caption char(255), description char(255), relation char(10), useragent char(255), contenttype char(200)); - -eduetl:CREATE TABLE tmp_sx_mask_style (tid integer, maskeninfo_id integer, stylesheet_id integer, ord smallint); - -eduetl:CREATE TABLE tmp_stylesheet_field (tid integer, stylesheet_id integer, tablename varchar(255), fieldname varchar(255)); - -eduetl:CREATE TABLE tmp_macro_masken_bez (maskeninfo_id1 integer, maskeninfo_id2 integer, active integer, sortnr smallint, schleifenrelation char(255), schleifenfeldname char(255), alias char(255), schleifenfstand char(255), schleifenfsicht char(255), aktion char(255)); - -eduetl:CREATE TABLE tmp_macro_feld_wert (macro integer, sortnr integer, feldname char(255), alias char(255), value char(255), value_caption char(255), feldstand char(255), feldsicht char(255), active integer); - -eduetl:CREATE TABLE tmp_sx_captions (tid integer, id char(200), table_name char(200), field_name char(200), record_no integer, locale char(10), contents_short char(255), contents_long text, equalitystatus smallint, sachgebiete_id integer, doku_link varchar(255), export_to_glossar integer); - -eduetl:CREATE TABLE tmp_sichten (tid integer, parent char(255), systeminfoid integer, art char(40), type integer, name_intern char(200), name char(200), beschreibung char(255), sortnr integer, quelle char(255), alt_hier_id char(150), treecfgtable char(255), treecfgid char(150), label smallint, user_rechte smallint, rechtequelle char(255), sesamkey char(100), standbutton smallint, attribut1 char(255), attribut2 char(255), attribut3 integer, attribut4 integer, xmlmaxentries integer, gueltig_seit date, gueltig_bis date, cacheapplet char(255), cachexml char(255), aktiv smallint); - -eduetl:CREATE TABLE tmp_man_catalogue (tid integer NOT NULL, id character varying(100) NOT NULL, shortname character varying(255), name character varying(255), description text, timeunit character varying(3), decimalplaces smallint, sqlchunk text, linksub text, linktimeline text, restrictedgroupids character(255), ismanual smallint, requiredfields character varying(255), calcratio smallint, gueltig_von date, gueltig_bis date, cleanup text, preparation text, techdetails text, moreinfo text, attrib1 integer DEFAULT 0 NOT NULL, fld_semester character varying(255), fld_jahr character varying(255), fld_studiengang character varying(255), fld_institut character varying(255), fld_geschlecht character varying(255), fromclause character varying(255), whereclause text, aggrfunction character varying(255), cacheing integer DEFAULT 0 NOT NULL, linktable character varying(255), linkmask character varying(255)); - -eduetl:CREATE TABLE tmp_man_catalogue_rpt (tid integer, report_id varchar(40), catalogue_id varchar(100), description text, sortnr integer, sortnr2 integer, grouping1 char(40), grouping2 char(40), valid_from date, valid_till date, active smallint); - -eduetl:CREATE TABLE tmp_man_zahl_wert (tid integer, hs_nr integer, kenn_zahl char(40), jahr smallint, sem smallint, ch110_institut char(10), stugkey char(20), stg char(10), bund_fachgebiet char(10), wert numeric(14,2), geschlecht smallint, abschluss char(10), kz_fach char(10) ); - -eduetl:CREATE TABLE tmp_kenn_zahl_wert (tid integer, hs_nr integer, kenn_zahl char(40), jahr smallint, sem smallint, ch110_institut char(10), stugkey char(20), bund_fachgebiet char(10), wert numeric(14,2), titel char(10), wert_str varchar(255), geschlecht SMALLINT , ca12_staat SMALLINT); - - -eduetl:delete from tmp_hochschulinfo; - -eduetl:delete from tmp_userinfo; - -eduetl:delete from tmp_user_group_bez; - -eduetl:delete from tmp_user_institution; - -eduetl:delete from tmp_user_masken_bez; - -eduetl:delete from tmp_user_pw; - -eduetl:delete from tmp_user_sachgeb_bez; - -eduetl:delete from tmp_user_sichtarten; - -eduetl:delete from tmp_user_sichten; - -eduetl:delete from tmp_group_field_pref; - -eduetl:delete from tmp_group_masken_bez; - -eduetl:delete from tmp_group_sachgeb_bez; - -eduetl:delete from tmp_group_sichtarten; - -eduetl:delete from tmp_group_sichten; - -eduetl:delete from tmp_groupinfo; - -eduetl:delete from tmp_fin_user_kam; - -eduetl:delete from tmp_konstanten; - -eduetl:delete from tmp_unload_params; - -eduetl:delete from tmp_sx_repository; - -eduetl:delete from tmp_themenbaum; - -eduetl:delete from tmp_maskeninfo; - -eduetl:delete from tmp_felderinfo; - -eduetl:delete from tmp_masken_felder_bez; - -eduetl:delete from tmp_maske_system_bez; - -eduetl:delete from tmp_sachgeb_maske_bez; - -eduetl:delete from tmp_sx_stylesheets; - -eduetl:delete from tmp_sx_mask_style; - -eduetl:delete from tmp_stylesheet_field; - -eduetl:delete from tmp_macro_masken_bez; - -eduetl:delete from tmp_macro_feld_wert; - -eduetl:delete from tmp_sx_captions; - -eduetl:delete from tmp_sichten; - -eduetl:delete from tmp_man_catalogue; - -eduetl:delete from tmp_man_catalogue_rpt; - -eduetl:delete from tmp_man_zahl_wert; - -eduetl:delete from tmp_kenn_zahl_wert; - - - - - - - - - - - - - - - - - - - - + +eduetl:delete from kern_cifx_neu; - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_system_ids.xml b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_system_ids.xml index a752578..4ff1a87 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_system_ids.xml +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_system_ids.xml @@ -17,6 +17,12 @@ update systeminfo set datum=today() where 2007 > (select distinct year(datum) from tmp_datum) and name='Administration'; + +eduetl:insert into kern_pruefrout(datum,problem,aktion) select today(),'Datei superx.datum steht auf veraltetem Datum. Stellen Sie sicher, dass superx.datum auf den SuperX-Server kopiert wurde','Warnung' + from tmp_datum where year(datum) < 2007 + or datum is null; + + eduetl:drop table tmp_datum; diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_trans_ids.xml b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_trans_ids.xml index 6ca838c..5fd9c71 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_trans_ids.xml +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_trans_ids.xml @@ -1,5 +1,16 @@ - +eduetl:truncate table kern_pruefrout; + + + + + + + + + + + diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_unload_cob_ids.xml b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_unload_cob_ids.xml new file mode 100644 index 0000000..06aaec6 --- /dev/null +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_unload_cob_ids.xml @@ -0,0 +1,128 @@ + + + +--freemarker template +<sqlvars> +<sqlvar name="VERSION"> + +select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> +<sqlvar name="UNLOAD_USERRIGHTS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> +<sqlvar name="UNLOAD_FIN_USER_KAM"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> +<sqlvar name="UNLOAD_KONSTANTEN"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> +<sqlvar name="UNLOAD_UNLOAD_PARAMS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> +<sqlvar name="UNLOAD_REPOSITORY"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> +<sqlvar name="UNLOAD_HOCHSCHULINFO"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> +<sqlvar name="UNLOAD_THEMENBAUM"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> +<sqlvar name="UNLOAD_MASKEN"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> +<sqlvar name="UNLOAD_STYLESHEETS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> +<sqlvar name="UNLOAD_MAKROS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> +<sqlvar name="UNLOAD_CAPTIONS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> +<sqlvar name="UNLOAD_SICHTEN"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> +<sqlvar name="UNLOAD_MAN_CATALOGUE"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> +<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> +<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> +<sqlvar name="COB_VONBIS_INST"> + +select param_val from unload_params where systeminfo_id=9 and param_id='COB_VONBIS_INST';</sqlvar> +<sqlvar name="COB_REL_INST"> + +select param_val from unload_params where systeminfo_id=9 and param_id='COB_REL_INST';</sqlvar> +<sqlvar name="JDBC_PARAM"> + +select param_val from unload_params where systeminfo_id=9 and param_id='JDBC_PARAM';</sqlvar> +<sqlvar name="SOURCESYSTEM"> +select param_val from unload_params where systeminfo_id=9 and param_id='SOURCESYSTEM';</sqlvar> +</sqlvars> + +<#if JDBC_PARAM?exists> +${JDBC_PARAM} +</#if> + +--Institut ohne Zeitbezug: +select 110,--key +0, --hs +inst_nr, +kname, +dname, +substring(lname1 from 1 for 100), +land_institut, --astat +uebinst_nr ,--parent +inst_nr,--uniquename +bund_fachgebiet,--bund_apnr +null::date, --key_von, +null::date, --key_bis, +inst_nr ,--sourcesystem_id +null::char(1),--hiskey_id +orgstruktur::char(10), --struktur_c +null::char(1), --lid, +null::char(1) , --parent_lid +null::integer as sortorder +FROM inst +where ( +('${COB_REL_INST}'='1' and cobrel='1') +or ('${COB_REL_INST}'='2' and migrel='1') +or '${COB_REL_INST}'='0') +and '${COB_VONBIS_INST}'='0' +union +--Institut mit Zeitbezug +select 110,--key +0, --hs +inst_nr, +kname, +dname, +substring(lname1 from 1 for 100), +land_institut, --astat +uebinst_nr ,--parent +inst_nr,--uniquename +bund_fachgebiet,--bund_apnr +key_von, +key_bis, +inst_nr ,--sourcesystem_id +null::char(1),--hiskey_id +orgstruktur::char(10), --struktur_c +null::char(1), --lid, +null::char(1) , --parent_lid +null::integer as sortorder +FROM inst +where( +('${COB_REL_INST}'='1' and cobrel='1') +or ('${COB_REL_INST}'='2' and migrel='1') +or '${COB_REL_INST}'='0') +and '${COB_VONBIS_INST}'='1' + + + + + + + diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_unload_eduetl_ids.xml b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_unload_eduetl_ids.xml index 98b320e..e8a7c09 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_unload_eduetl_ids.xml +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_unload_eduetl_ids.xml @@ -1,2630 +1,2 @@ - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select substring(trim(version) from 1 for 1) from db_version where his_system='kern'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -SELECT - name, - adresse, - hs_nr, - kapitel, - superx_server, - kennung, - passwd - FROM hochschulinfo where '${UNLOAD_HOCHSCHULINFO}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -SELECT - tid, - benutzer, - kennwort, - name, - max_versuch, - akt_versuch, - email, - administration, - archiv_recht, - passwd_sha, - info, - extern_account_id, - extern_person_id, - sieht_projekte - FROM userinfo where '${UNLOAD_USERRIGHTS}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - userinfo_id, - groupinfo_id, - external_entry - from user_group_bez where '${UNLOAD_USERRIGHTS}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - userid, - name, - ch110_institut, - hierarchie, - gueltig_seit, - gueltig_bis, - lehre, - external_entry, - externalid - from user_institution where '${UNLOAD_USERRIGHTS}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - userinfo_id, - maskeninfo_id, - external_entry - from user_masken_bez where '${UNLOAD_USERRIGHTS}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - userinfo_id, - pw_gueltig_bis, - last_login, - old_sha1, - zeitpunkt1, - old_sha2, - zeitpunkt2, - old_sha3, - zeitpunkt3, - old_sha4, - zeitpunkt4, - old_sha5, - zeitpunkt5, - old_sha6, - zeitpunkt6, - old_sha7, - zeitpunkt7 - from user_pw where '${UNLOAD_USERRIGHTS}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - userinfo_id, - sachgebiete_id, - external_entry - from user_sachgeb_bez where '${UNLOAD_USERRIGHTS}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - userinfo_id, - sichtart, - external_entry - from user_sichtarten where '${UNLOAD_USERRIGHTS}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - userinfo_id, - sicht_name_intern, - external_entry - from user_sichten where '${UNLOAD_USERRIGHTS}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - tid, - groupinfo_id, - field_id, - pref - from group_field_pref where '${UNLOAD_USERRIGHTS}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - groupinfo_id, - maskeninfo_id - from group_masken_bez where '${UNLOAD_USERRIGHTS}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - groupinfo_id, - sachgebiete_id - from group_sachgeb_bez where '${UNLOAD_USERRIGHTS}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - groupinfo_id, - sichtart - from group_sichtarten where '${UNLOAD_USERRIGHTS}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - groupinfo_id, - sicht_name_intern - from group_sichten where '${UNLOAD_USERRIGHTS}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - tid, - name - from groupinfo where '${UNLOAD_USERRIGHTS}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - tid, - userid, - buchungsab_fb, - projnr_ins, - kapitel, - dr, - titel, - untertitel, - kostenstellen, - ins2, - ins3, - gueltig_von, - gueltig_bis - from fin_user_kam where '${UNLOAD_FIN_USER_KAM}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - tid, - apnr, - beschreibung - from konstanten where '${UNLOAD_KONSTANTEN}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - tid, - param_id, - param_val, - default_val, - description, - systeminfo_id - from unload_params where '${UNLOAD_UNLOAD_PARAMS}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - tid, - id, - content, - caption, - COMMENT, - version, - art, - art2, - art3, - sachgebiete_id, - sort1, - sort2, - sort3, - geaendert_am, - aktiv, - gueltig_seit, - gueltig_bis - from sx_repository where '${UNLOAD_REPOSITORY}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - tid, - name, - maskeninfo_id, - parent, - gueltig_seit, - gueltig_bis, - erlaeuterung, - sort, - css_class - from themenbaum where '${UNLOAD_THEMENBAUM}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - tid, - name, - select_stmt, - xil_proplist, - chart_xtitel, - chart_ytitel, - erlaeuterung, - cleanup_stmt, - default_file, - macro, - breite, - hoehe, - ampel, - hilfe, - hinweis - from maskeninfo where '${UNLOAD_MASKEN}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - tid, - name, - nummer, - x, - y, - buttonbreite, - feldbreite, - zeilenanzahl, - typ, - laenge, - obligatorisch, - art, - relation, - attribut, - defaultwert - from felderinfo where '${UNLOAD_MASKEN}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - maskeninfo_id, - felderinfo_id - from masken_felder_bez where '${UNLOAD_MASKEN}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - maskeninfo_id, - systeminfo_id - from maske_system_bez where '${UNLOAD_MASKEN}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - sachgebiete_id, - maskeninfo_id - from sachgeb_maske_bez where '${UNLOAD_MASKEN}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - tid, - filename, - caption, - description, - relation, - useragent, - contenttype - from sx_stylesheets where '${UNLOAD_STYLESHEETS}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - tid, - maskeninfo_id, - stylesheet_id, - ord - from sx_mask_style where '${UNLOAD_STYLESHEETS}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - tid, - stylesheet_id, - tablename, - fieldname - from stylesheet_field where '${UNLOAD_STYLESHEETS}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - maskeninfo_id1, - maskeninfo_id2, - active, - sortnr, - schleifenrelation, - schleifenfeldname, - alias, - schleifenfstand, - schleifenfsicht, - aktion - from macro_masken_bez where '${UNLOAD_MAKROS}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - macro, - sortnr, - feldname, - ALIAS, - value, - value_caption, - feldstand, - feldsicht, - active - from macro_feld_wert where '${UNLOAD_MAKROS}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - tid, - id, - table_name, - field_name, - record_no, - locale, - contents_short, - contents_long, - equalitystatus, - sachgebiete_id, - doku_link, - export_to_glossar - from sx_captions where '${UNLOAD_CAPTIONS}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - tid, - parent, - systeminfoid, - art, - type, - name_intern, - name, - beschreibung, - sortnr, - quelle, - alt_hier_id, - treecfgtable, - treecfgid, - label, - user_rechte, - rechtequelle, - sesamkey, - standbutton, - attribut1, - attribut2, - attribut3, - attribut4, - xmlmaxentries, - gueltig_seit, - gueltig_bis, - cacheapplet, - cachexml, - aktiv - from sichten where '${UNLOAD_SICHTEN}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - tid, - id, - shortname, - name, - description, - timeunit, - decimalplaces, - sqlchunk, - linksub, - linktimeline, - restrictedgroupids, - ismanual, - requiredfields, - calcratio, - gueltig_von, - gueltig_bis, - cleanup, - preparation, - techdetails, - moreinfo, - attrib1, - fld_semester, - fld_jahr, - fld_studiengang, - fld_institut, - fld_geschlecht, - fromclause, - whereclause, - aggrfunction, - cacheing, - linktable, - linkmask - from man_catalogue where '${UNLOAD_MAN_CATALOGUE}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - tid, - report_id, - catalogue_id, - description, - sortnr, - sortnr2, - grouping1, - grouping2, - valid_from, - valid_till, - active - from man_catalogue_rpt where '${UNLOAD_MAN_CATALOGUE}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - tid, - hs_nr, - kenn_zahl, - jahr, - sem, - ch110_institut, - stugkey, - stg, - bund_fachgebiet, - wert, - geschlecht - from man_zahl_wert where '${UNLOAD_MAN_ZAHL_WERT}'='true'; - - - - - - - - ---freemarker template -<sqlvars> -<sqlvar name="VERSION"> - -select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> -<sqlvar name="UNLOAD_USERRIGHTS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> -<sqlvar name="UNLOAD_FIN_USER_KAM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> -<sqlvar name="UNLOAD_KONSTANTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> -<sqlvar name="UNLOAD_UNLOAD_PARAMS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> -<sqlvar name="UNLOAD_REPOSITORY"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> -<sqlvar name="UNLOAD_HOCHSCHULINFO"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> -<sqlvar name="UNLOAD_THEMENBAUM"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> -<sqlvar name="UNLOAD_MASKEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> -<sqlvar name="UNLOAD_STYLESHEETS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> -<sqlvar name="UNLOAD_MAKROS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> -<sqlvar name="UNLOAD_CAPTIONS"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> -<sqlvar name="UNLOAD_SICHTEN"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> -<sqlvar name="UNLOAD_MAN_CATALOGUE"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> -<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> -<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> - -select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> -</sqlvars> - - -select - tid, - hs_nr, - kenn_zahl, - jahr, - sem, - ch110_institut, - stugkey, - bund_fachgebiet, - wert, - titel, - wert_str - from kenn_zahl_wert where '${UNLOAD_KENN_ZAHL_WERT}'='true'; - - - - - - + diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_unload_hisinone_ids.xml b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_unload_hisinone_ids.xml new file mode 100644 index 0000000..a85685a --- /dev/null +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_unload_hisinone_ids.xml @@ -0,0 +1,412 @@ + + + +--freemarker template +<sqlvars> +<sqlvar name="VERSION"> + +select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> +<sqlvar name="UNLOAD_USERRIGHTS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> +<sqlvar name="UNLOAD_FIN_USER_KAM"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> +<sqlvar name="UNLOAD_KONSTANTEN"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> +<sqlvar name="UNLOAD_UNLOAD_PARAMS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> +<sqlvar name="UNLOAD_REPOSITORY"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> +<sqlvar name="UNLOAD_HOCHSCHULINFO"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> +<sqlvar name="UNLOAD_THEMENBAUM"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> +<sqlvar name="UNLOAD_MASKEN"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> +<sqlvar name="UNLOAD_STYLESHEETS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> +<sqlvar name="UNLOAD_MAKROS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> +<sqlvar name="UNLOAD_CAPTIONS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> +<sqlvar name="UNLOAD_SICHTEN"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> +<sqlvar name="UNLOAD_MAN_CATALOGUE"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> +<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> +<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> +<sqlvar name="COB_VONBIS_INST"> + +select param_val from unload_params where systeminfo_id=9 and param_id='COB_VONBIS_INST';</sqlvar> +<sqlvar name="COB_REL_INST"> + +select param_val from unload_params where systeminfo_id=9 and param_id='COB_REL_INST';</sqlvar> +<sqlvar name="JDBC_PARAM"> + +select param_val from unload_params where systeminfo_id=9 and param_id='JDBC_PARAM';</sqlvar> +<sqlvar name="SOURCESYSTEM"> +select param_val from unload_params where systeminfo_id=9 and param_id='SOURCESYSTEM';</sqlvar> +</sqlvars> + +<#if JDBC_PARAM?exists> +${JDBC_PARAM} +</#if> + + + + DROP TABLE IF EXISTS tmp_orgunit; + + CREATE TABLE tmp_orgunit ( + id integer NOT NULL, + lid integer NOT NULL, + k_orgunittype_id integer, + valid_from date, + valid_to date, + astat character varying, + companynumber character varying, + description text, + shorttext character varying, + defaulttext character varying NOT NULL, + longtext character varying, + sortorder integer, + k_language_id integer NOT NULL, + parent_lid integer, + uniquename character varying, + obj_guid character varying, + lock_version integer, + parent_id integer, + cost_center_id integer, + subject_area_k_subject_area_id integer, + k_astat_orgunit_category_id integer +); +insert into tmp_orgunit(id, + lid, + k_orgunittype_id, + valid_from, + valid_to, + astat, + companynumber, + description, + shorttext, + defaulttext, + longtext, + sortorder, + k_language_id, + parent_lid, + uniquename, + subject_area_k_subject_area_id , + k_astat_orgunit_category_id , + obj_guid, + lock_version + ) + select + o.id, + o.lid, + o.k_orgunittype_id, + o.valid_from, + o.valid_to, + o.astat, + o.companynumber, + o.description, + o.shorttext, + o.defaulttext, + o.longtext, + o.sortorder, + o.k_language_id, + o.parent_lid, + o.uniquename, + osa.k_subject_area_id , + o.k_astat_orgunit_category_id , + o.obj_guid, + o.lock_version + from orgunit o left join orgunit_subject_area osa + on o.lid = osa.orgunit_lid; + +update tmp_orgunit set parent_id=(select min(O.id) from orgunit O +where tmp_orgunit.parent_lid=O.lid + and (tmp_orgunit.valid_from >=O.valid_from + or (tmp_orgunit.valid_from is null and O.valid_from is null)) + and (tmp_orgunit.valid_to <=O.valid_to + or (tmp_orgunit.valid_to is null and O.valid_to is null)) + ); +update tmp_orgunit set cost_center_id=(select min(C.id) from cost_center C +where tmp_orgunit.lid=C.orgunit_lid); + + + + + + + + + + + + +--freemarker template +<sqlvars> +<sqlvar name="VERSION"> + +select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> +<sqlvar name="UNLOAD_USERRIGHTS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> +<sqlvar name="UNLOAD_FIN_USER_KAM"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> +<sqlvar name="UNLOAD_KONSTANTEN"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> +<sqlvar name="UNLOAD_UNLOAD_PARAMS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> +<sqlvar name="UNLOAD_REPOSITORY"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> +<sqlvar name="UNLOAD_HOCHSCHULINFO"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> +<sqlvar name="UNLOAD_THEMENBAUM"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> +<sqlvar name="UNLOAD_MASKEN"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> +<sqlvar name="UNLOAD_STYLESHEETS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> +<sqlvar name="UNLOAD_MAKROS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> +<sqlvar name="UNLOAD_CAPTIONS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> +<sqlvar name="UNLOAD_SICHTEN"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> +<sqlvar name="UNLOAD_MAN_CATALOGUE"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> +<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> +<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> +<sqlvar name="COB_VONBIS_INST"> + +select param_val from unload_params where systeminfo_id=9 and param_id='COB_VONBIS_INST';</sqlvar> +<sqlvar name="COB_REL_INST"> + +select param_val from unload_params where systeminfo_id=9 and param_id='COB_REL_INST';</sqlvar> +<sqlvar name="JDBC_PARAM"> + +select param_val from unload_params where systeminfo_id=9 and param_id='JDBC_PARAM';</sqlvar> +<sqlvar name="SOURCESYSTEM"> +select param_val from unload_params where systeminfo_id=9 and param_id='SOURCESYSTEM';</sqlvar> +</sqlvars> + +<#if JDBC_PARAM?exists> +${JDBC_PARAM} +</#if> + +--Merkmal Institution: zuerst FBs, dann LE, dann Institut,dann alle anderen +--Fachbereiche +SELECT + 110 , + 0,--hs + '' || O.id, + substring(O.shorttext from 1 for 10), + substring(O.defaulttext from 1 for 100), + substring(O.longtext from 1 for 150), +substring(O.astat from 1 for 10), +O.parent_id, +replace(O.uniquename,',',''), --uniquename +'' || O.subject_area_k_subject_area_id,--bund_apnr +valid_from, +valid_to, +O.id, --sourcesystem_id +'' || O.k_astat_orgunit_category_id,--hiskey_id +20::char(5), --orgstruktur , struktur_c +lid::char(255), +parent_lid::char(255), +null::integer as sortorder +FROM k_orgunittype T,tmp_orgunit O + where + O.k_orgunittype_id=T.id + and T.hiskey_id=4 --Fachbereich + union + --Lehreinheiten +SELECT + 110 , + 0,--hs + '' || O.id, + substring(O.shorttext from 1 for 10), + substring(O.defaulttext from 1 for 100), + substring(O.longtext from 1 for 150), +substring(O.astat from 1 for 10), +O.parent_id, +replace(O.uniquename,',',''), --uniquename +'' || O.subject_area_k_subject_area_id,--bund_apnr +valid_from, +valid_to, +O.id, --sourcesystem_id +'' || O.k_astat_orgunit_category_id,--hiskey_id +30::char(5), --orgstruktur , struktur_c +lid::char(255), +parent_lid::char(255), +null::integer as sortorder + FROM k_orgunittype T,tmp_orgunit O + where + O.k_orgunittype_id=T.id + + and T.hiskey_id=7 --Lehreinheit + union + --Institut +SELECT + 110 , + 0,--hs + '' || O.id, + substring(O.shorttext from 1 for 10), + substring(O.defaulttext from 1 for 100), + substring(O.longtext from 1 for 150), +substring(O.astat from 1 for 10), +O.parent_id, +replace(O.uniquename,',',''), --uniquename +'' || O.subject_area_k_subject_area_id,--bund_apnr +valid_from, +valid_to, +O.id, --sourcesystem_id +'' || O.k_astat_orgunit_category_id,--hiskey_id +40::char(5), --orgstruktur , struktur_c +lid::char(255), +parent_lid::char(255), +null::integer as sortorder + FROM k_orgunittype T,tmp_orgunit O + where + O.k_orgunittype_id=T.id + and T.hiskey_id=5 --Institut + union + --alle anderen Inst.-Typen +SELECT + + 110 , + 0,--hs + '' || O.id, + substring(O.shorttext from 1 for 10), + substring(O.defaulttext from 1 for 100), + substring(O.longtext from 1 for 150), +substring(O.astat from 1 for 10), +O.parent_id, +replace(O.uniquename,',','') , --uniquename +'' || O.subject_area_k_subject_area_id,--bund_apnr +valid_from, +valid_to, +O.id, --sourcesystem_id +'' || O.k_astat_orgunit_category_id,--hiskey_id +null::char(50), --orgstruktur , struktur_c +lid::char(255), +parent_lid::char(255), +null::integer as sortorder + FROM tmp_orgunit O left outer join k_orgunittype T + on(O.k_orgunittype_id=T.id) + where (T.hiskey_id is null or T.hiskey_id not in (4,7,5)) --Fachbereich, LE, Inst. + + + + + + + + +--freemarker template +<sqlvars> +<sqlvar name="VERSION"> + +select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> +<sqlvar name="UNLOAD_USERRIGHTS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> +<sqlvar name="UNLOAD_FIN_USER_KAM"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> +<sqlvar name="UNLOAD_KONSTANTEN"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> +<sqlvar name="UNLOAD_UNLOAD_PARAMS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> +<sqlvar name="UNLOAD_REPOSITORY"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> +<sqlvar name="UNLOAD_HOCHSCHULINFO"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> +<sqlvar name="UNLOAD_THEMENBAUM"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> +<sqlvar name="UNLOAD_MASKEN"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> +<sqlvar name="UNLOAD_STYLESHEETS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> +<sqlvar name="UNLOAD_MAKROS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> +<sqlvar name="UNLOAD_CAPTIONS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> +<sqlvar name="UNLOAD_SICHTEN"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> +<sqlvar name="UNLOAD_MAN_CATALOGUE"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> +<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> +<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> +<sqlvar name="COB_VONBIS_INST"> + +select param_val from unload_params where systeminfo_id=9 and param_id='COB_VONBIS_INST';</sqlvar> +<sqlvar name="COB_REL_INST"> + +select param_val from unload_params where systeminfo_id=9 and param_id='COB_REL_INST';</sqlvar> +<sqlvar name="JDBC_PARAM"> + +select param_val from unload_params where systeminfo_id=9 and param_id='JDBC_PARAM';</sqlvar> +<sqlvar name="SOURCESYSTEM"> +select param_val from unload_params where systeminfo_id=9 and param_id='SOURCESYSTEM';</sqlvar> +</sqlvars> + +<#if JDBC_PARAM?exists> +${JDBC_PARAM} +</#if> + + +drop table tmp_orgunit; + + + + + + diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_unload_mbs_ids.xml b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_unload_mbs_ids.xml new file mode 100644 index 0000000..0dffbcf --- /dev/null +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_unload_mbs_ids.xml @@ -0,0 +1,95 @@ + + + +--freemarker template +<sqlvars> +<sqlvar name="VERSION"> + +select param_val from unload_params where systeminfo_id=9 and param_id='VERSION';</sqlvar> +<sqlvar name="UNLOAD_USERRIGHTS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_USERRIGHTS';</sqlvar> +<sqlvar name="UNLOAD_FIN_USER_KAM"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_FIN_USER_KAM';</sqlvar> +<sqlvar name="UNLOAD_KONSTANTEN"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KONSTANTEN';</sqlvar> +<sqlvar name="UNLOAD_UNLOAD_PARAMS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_UNLOAD_PARAMS';</sqlvar> +<sqlvar name="UNLOAD_REPOSITORY"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_REPOSITORY';</sqlvar> +<sqlvar name="UNLOAD_HOCHSCHULINFO"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_HOCHSCHULINFO';</sqlvar> +<sqlvar name="UNLOAD_THEMENBAUM"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_THEMENBAUM';</sqlvar> +<sqlvar name="UNLOAD_MASKEN"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MASKEN';</sqlvar> +<sqlvar name="UNLOAD_STYLESHEETS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_STYLESHEETS';</sqlvar> +<sqlvar name="UNLOAD_MAKROS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAKROS';</sqlvar> +<sqlvar name="UNLOAD_CAPTIONS"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_CAPTIONS';</sqlvar> +<sqlvar name="UNLOAD_SICHTEN"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_SICHTEN';</sqlvar> +<sqlvar name="UNLOAD_MAN_CATALOGUE"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_CATALOGUE';</sqlvar> +<sqlvar name="UNLOAD_MAN_ZAHL_WERT"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_MAN_ZAHL_WERT';</sqlvar> +<sqlvar name="UNLOAD_KENN_ZAHL_WERT"> + +select param_val from unload_params where systeminfo_id=9 and param_id='UNLOAD_KENN_ZAHL_WERT';</sqlvar> +<sqlvar name="COB_VONBIS_INST"> + +select param_val from unload_params where systeminfo_id=9 and param_id='COB_VONBIS_INST';</sqlvar> +<sqlvar name="COB_REL_INST"> + +select param_val from unload_params where systeminfo_id=9 and param_id='COB_REL_INST';</sqlvar> +<sqlvar name="JDBC_PARAM"> + +select param_val from unload_params where systeminfo_id=9 and param_id='JDBC_PARAM';</sqlvar> +<sqlvar name="SOURCESYSTEM"> +select param_val from unload_params where systeminfo_id=9 and param_id='SOURCESYSTEM';</sqlvar> +</sqlvars> + +<#if JDBC_PARAM?exists> +${JDBC_PARAM} +</#if> + + SELECT 110 ,0, + inst_nr, +kname, + dname, +substring(lname1 from 1 for 100), +null::char(1), --land_institut, --astat +uebinst_nr, +inst_nr,--uniquename +bund_fachgebiet, + key_von, + key_bis, +inst_nr, --sourcesystem_id +null::char(1),--hiskey_id +orgstruktur::char(10), --struktur_c +null::char(1), --lid, +null::char(1) , --parent_lid +null::integer as sortorder +FROM inst +where mbsrel='1' + + + + + + diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/kern.html b/superx/WEB-INF/conf/edustore/db/install/conf/kern.html index 7188903..e405bad 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/kern.html +++ b/superx/WEB-INF/conf/edustore/db/install/conf/kern.html @@ -4338,7 +4338,7 @@ frontend
FeldnameFeldtypGrößeDefaultNot NullBeschreibungKommentarFremdschlüssel -tidINTEGER4trueTupelidentifier +tidSERIAL4trueTupelidentifier key_apnrCHAR10falseSchlüssel @@ -4349,10 +4349,10 @@ frontend
-drucktextCHAR50falseDrucktext +drucktextVARCHAR255falseDrucktext -nameCHAR150falseName +nameVARCHAR255falseName ebeneINTEGER4falseEbene im Baum @@ -4422,10 +4422,10 @@ gueltig_bis ); parentCHAR10falseÜbergeordneter Knoten im Baum -drucktextCHAR50falseDrucktext +drucktextVARCHAR255falseDrucktext -nameCHAR150falseName +nameVARCHAR255falseName ebeneINTEGER4falseEbene im Baum diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/kern.xml b/superx/WEB-INF/conf/edustore/db/install/conf/kern.xml index 21d2980..c2b8656 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/kern.xml +++ b/superx/WEB-INF/conf/edustore/db/install/conf/kern.xml @@ -1946,15 +1946,15 @@ - - - @@ -2023,9 +2023,9 @@ notnull="false" description="Schlüssel" /> - - @@ -10657,23 +10657,25 @@ mode="full"> gotoHt="" helpfile="" maxRows="1" -mode="full"> +mode="full" +javascriptFieldsArray="true"> In diesem Formular können Sie Organisationseinheiten verwalten. name tid - + - - - - - - + + + + + + + - + diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/kern_cubes.xml b/superx/WEB-INF/conf/edustore/db/install/conf/kern_cubes.xml index 7a3b9ea..5ae11c8 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/kern_cubes.xml +++ b/superx/WEB-INF/conf/edustore/db/install/conf/kern_cubes.xml @@ -1,5 +1,5 @@ - diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/module_grant.x b/superx/WEB-INF/conf/edustore/db/install/conf/module_grant.x index 980eb66..ac058d8 100755 --- a/superx/WEB-INF/conf/edustore/db/install/conf/module_grant.x +++ b/superx/WEB-INF/conf/edustore/db/install/conf/module_grant.x @@ -101,6 +101,12 @@ DOQUERY "grant $RIGHT on nachricht to $GRANTEE;" DOQUERY "grant $RIGHT on menu_element to $GRANTEE;" DOQUERY "grant $RIGHT on dbconnections to $GRANTEE;" DOQUERY "grant $RIGHT on organigramm to $GRANTEE;" + +if [ "$DATABASE" == "POSTGRES" -a "$RIGHT" != "select" ] + then +DOQUERY "grant update on organigramm_tid_seq to $GRANTEE;" +fi + DOQUERY "grant $RIGHT on organigramm_bak to $GRANTEE;" DOQUERY "grant $RIGHT on user_institution to $GRANTEE;" DOQUERY "grant $RIGHT on kostentraeger to $GRANTEE;" diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/module_revoke.x b/superx/WEB-INF/conf/edustore/db/install/conf/module_revoke.x index 123325b..7c4a8ae 100755 --- a/superx/WEB-INF/conf/edustore/db/install/conf/module_revoke.x +++ b/superx/WEB-INF/conf/edustore/db/install/conf/module_revoke.x @@ -101,6 +101,12 @@ DOQUERY "revoke $RIGHT on nachricht from $GRANTEE;" DOQUERY "revoke $RIGHT on menu_element from $GRANTEE;" DOQUERY "revoke $RIGHT on dbconnections from $GRANTEE;" DOQUERY "revoke $RIGHT on organigramm from $GRANTEE;" + +if [ "$DATABASE" == "POSTGRES" -a "$RIGHT" != "select" ] + then +DOQUERY "revoke update on organigramm_tid_seq from $GRANTEE;" +fi + DOQUERY "revoke $RIGHT on organigramm_bak from $GRANTEE;" DOQUERY "revoke $RIGHT on user_institution from $GRANTEE;" DOQUERY "revoke $RIGHT on kostentraeger from $GRANTEE;" diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/sx_fields_fuellen.sql b/superx/WEB-INF/conf/edustore/db/install/conf/sx_fields_fuellen.sql index acd079f..37c977b 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/sx_fields_fuellen.sql +++ b/superx/WEB-INF/conf/edustore/db/install/conf/sx_fields_fuellen.sql @@ -10550,7 +10550,7 @@ values('organigramm', 'tid', 'Tupelidentifier', '', -'INTEGER', +'SERIAL', '4', 1, 1, @@ -10622,8 +10622,8 @@ values('organigramm', 'drucktext', 'Drucktext', '', -'CHAR', -'50', +'VARCHAR', +'255', 0, 1, 0, @@ -10644,8 +10644,8 @@ values('organigramm', 'name', 'Name', '', -'CHAR', -'150', +'VARCHAR', +'255', 0, 1, 0, @@ -11002,8 +11002,8 @@ values('organigramm_bak', 'drucktext', 'Drucktext', '', -'CHAR', -'50', +'VARCHAR', +'255', 0, 1, 0, @@ -11024,8 +11024,8 @@ values('organigramm_bak', 'name', 'Name', '', -'CHAR', -'150', +'VARCHAR', +'255', 0, 1, 0, diff --git a/superx/WEB-INF/conf/edustore/db/install/kern_drop_ids.sql b/superx/WEB-INF/conf/edustore/db/install/kern_drop_ids.sql index 40cd681..ab4c7f9 100644 --- a/superx/WEB-INF/conf/edustore/db/install/kern_drop_ids.sql +++ b/superx/WEB-INF/conf/edustore/db/install/kern_drop_ids.sql @@ -1,27 +1,14 @@ -- XML-generiertes SQL-Script fuer dbaccess-- von module_drop.xsl -! echo "Dropping views" -! echo `date` +select now(),'Dropping views' +from xdummy; -drop view user_groups; - drop view menu_element_fieldmode; - drop view menu_element_mandatory; - drop view menu_element_nature; - drop view menu_element_orgstructure; - drop view user_inst_org; - drop view hochschulen; - drop view dimension_view; - drop view fact_table; - drop view dim_staat; - drop view dim_stg; - drop view dim_abschluss; - drop view dim_kost; - drop view dim_kotr; - +! DOSQL $SUPERX_DIR/db/install/conf/module_drop_views.sql -! echo "Dropping functions" -! echo `date` + +select now(),'Dropping functions' +from xdummy; drop procedure sp_user_themen(integer, date, smallint); drop procedure sp_user_orga(integer, date, smallint); @@ -47,118 +34,141 @@ drop procedure sp_user_themen(integer, date, smallint); drop function sp_get_dbform_right(char, integer); drop procedure sp_set_organigramm_eb(); drop procedure sp_set_organigramm_lehr(); + drop function trim_all_whitespace(varchar); -! echo "Dropping tables" -! echo `date` +select now(),'Dropping tables' +from xdummy; -drop table sichtart_rechttabelle; -drop table group_field_pref; -drop table stylesheet_field; -drop table db_tabellen; -drop table db_forms; -drop table db_version; -drop table aggregierung; -drop table sichten; -drop table lehr_orga_bez; -drop table masken_felder_bez; -drop table sachgebiete; -drop table sachgeb_maske_bez; -drop table sachgeb_dbform_bez; -drop table user_masken_bez; -drop table user_sachgeb_bez; -drop table xdummy; -drop table macro_masken_bez; -drop table graphicformat; -drop table macro_feld_wert; -drop table groupinfo; -drop table user_group_bez; -drop table group_sachgeb_bez; -drop table group_masken_bez; -drop table aggre_bland; -drop table cif; -drop table cifx; -drop table trans_cifx; -drop table trans_cif; -drop table felderinfo; -drop table hochschulinfo; -drop table maske_system_bez; -drop table maskeninfo; -drop table proto_funktion; -drop table systeminfo; -drop table user_einstellungen; -drop table userinfo; -drop table themenbaum; -drop table themenbaum_bak; -drop table nachricht; -drop table menu_element; -drop table dbconnections; -drop table organigramm; -drop table organigramm_bak; -drop table user_institution; -drop table kostentraeger; -drop table user_kostentraeger; -drop table kotr_to_inst; -drop table protokoll; -drop table trans_inst; -drop table konstanten; -drop table lehreinheit_inst; -drop table sx_stylesheets; -drop table sx_mask_style; -drop table sx_captions; -drop table fm_templates; -drop table user_sichten; -drop table user_sichtarten; -drop table group_sichten; -drop table group_sichtarten; -drop table sachgeb_sichten; -drop table sachgeb_sichtarten; -drop table sx_repository; -drop table user_pw; -drop table sx_downloads; -drop table download_group_bez; -drop table download_user_bez; -drop table download_keyw_bez; -drop table sx_keywords; -drop table user_startpage; -drop table user_startfields; -drop table user_dialog; -drop table user_dialog_accept; -drop table user_hinweis; -drop table group_hinweis; -drop table unload_params; -drop table sx_tables; -drop table sx_fields; -drop table dimension_bp; -drop table dimension; -drop table dim_bp_apnr; -drop table dim_bp_altsicht_apnr; -drop table dim_closure; -drop table mondrian_schema; -drop table trans_dim_bp_apnr; -drop table masken_protokoll; -drop table masken_prot_feld; -drop table data_upload; -drop table update_prot; -drop table update_prot_neu; -drop table personattribute_neu; -drop table personattribute; -drop table personattributetype; -drop table personattribute_value_list; -drop table user_preset_values; -drop table sx_portlet; -drop table user_portlet_bez; -drop table group_portlet_bez; -drop table sieve; -drop table sieve_column_def; -drop table sieve_column; -drop table sieve_field; -drop table sx_jobs; -drop table sx_mail; +drop table sichtart_rechttabelle cascade; +drop table group_field_pref cascade; +drop table stylesheet_field cascade; +drop table db_tabellen cascade; +drop table db_forms cascade; +drop table db_version cascade; +drop table aggregierung cascade; +drop table sichten cascade; +drop table lehr_orga_bez cascade; +drop table masken_felder_bez cascade; +drop table sachgebiete cascade; +drop table sachgeb_maske_bez cascade; +drop table sachgeb_dbform_bez cascade; +drop table user_masken_bez cascade; +drop table user_sachgeb_bez cascade; +drop table xdummy cascade; +drop table macro_masken_bez cascade; +drop table graphicformat cascade; +drop table macro_feld_wert cascade; +drop table groupinfo cascade; +drop table user_group_bez cascade; +drop table group_sachgeb_bez cascade; +drop table group_masken_bez cascade; +drop table aggre_bland cascade; +drop table cif cascade; +drop table cifx cascade; +drop table trans_cifx cascade; +drop table trans_cif cascade; +drop table cifx_customize cascade; +drop table felderinfo cascade; +drop table hochschulinfo cascade; +drop table maske_system_bez cascade; +drop table maskeninfo cascade; +drop table proto_funktion cascade; +drop table systeminfo cascade; +drop table user_einstellungen cascade; +drop table userinfo cascade; +drop table themenbaum cascade; +drop table themenbaum_bak cascade; +drop table nachricht cascade; +drop table menu_element cascade; +drop table dbconnections cascade; +drop table organigramm cascade; +drop table organigramm_bak cascade; +drop table user_institution cascade; +drop table kostentraeger cascade; +drop table user_kostentraeger cascade; +drop table kotr_to_inst cascade; +drop table protokoll cascade; +drop table trans_inst cascade; +drop table konstanten cascade; +drop table lehreinheit_inst cascade; +drop table sx_stylesheets cascade; +drop table sx_mask_style cascade; +drop table sx_stylesheet_param cascade; +drop table sx_captions cascade; +drop table fm_templates cascade; +drop table user_sichten cascade; +drop table user_sichtarten cascade; +drop table group_sichten cascade; +drop table group_sichtarten cascade; +drop table sachgeb_sichten cascade; +drop table sachgeb_sichtarten cascade; +drop table sx_repository cascade; +drop table user_pw cascade; +drop table sx_downloads cascade; +drop table download_group_bez cascade; +drop table download_user_bez cascade; +drop table download_keyw_bez cascade; +drop table sx_keywords cascade; +drop table user_startpage cascade; +drop table user_startfields cascade; +drop table user_dialog cascade; +drop table user_dialog_accept cascade; +drop table user_hinweis cascade; +drop table group_hinweis cascade; +drop table unload_params cascade; +drop table sx_tables cascade; +drop table sx_fields cascade; +drop table dimension_bp cascade; +drop table dimension cascade; +drop table dim_bp_apnr cascade; +drop table dim_bp_altsicht_apnr cascade; +drop table dim_closure cascade; +drop table mondrian_schema cascade; +drop table trans_dim_bp_apnr cascade; +drop table masken_protokoll cascade; +drop table masken_prot_feld cascade; +drop table data_upload cascade; +drop table update_prot cascade; +drop table update_prot_neu cascade; +drop table personattribute_neu cascade; +drop table personattribute cascade; +drop table personattributetype cascade; +drop table personattribute_value_list cascade; +drop table user_preset_values cascade; +drop table sx_portlet cascade; +drop table user_portlet_bez cascade; +drop table group_portlet_bez cascade; +drop table kern_cifx_neu cascade; +drop table sieve cascade; +drop table sieve_column_def cascade; +drop table sieve_column cascade; +drop table sieve_field cascade; +drop table sx_jobs cascade; +drop table orgunit_mapping cascade; +drop table implicit_orgunit_rights cascade; +drop table kern_pruefrout cascade; +drop table masken_statistik cascade; +drop table dim_datum cascade; +drop table hisinone_deleted_entity cascade; +drop table etl_step cascade; +drop table etl_step_type cascade; +drop table etl_step_type_param cascade; +drop table etl_step_property cascade; +drop table etl_step_relation cascade; +drop table etl_job cascade; +drop table etl_job_param cascade; +drop table k_astat_studienfach_land cascade; +drop table k_astat_abschluss3steller_land cascade; +drop table k_astat_abschluss2steller cascade; +drop table k_astat_studienbereich cascade; +drop table k_astat_studienfach cascade; +drop table colorscheme cascade; +drop table sx_mail cascade; -! echo "Uninstall-Actions" -! echo `date` +select now(),'Uninstall-Actions' +from xdummy; --Aktionen: \ No newline at end of file diff --git a/superx/WEB-INF/conf/edustore/db/install/kern_indexes_ids.sql b/superx/WEB-INF/conf/edustore/db/install/kern_indexes_ids.sql index 407f48f..ebfbacd 100644 --- a/superx/WEB-INF/conf/edustore/db/install/kern_indexes_ids.sql +++ b/superx/WEB-INF/conf/edustore/db/install/kern_indexes_ids.sql @@ -1,278 +1,308 @@ -- XML-generiertes SQL-Script fuer dbaccess-- -! echo "Creating indexes for tables" -! echo `date` +select now(),'Creating indexes for tables' +from xdummy; -! echo "Erzeuge Index ix_group_felder2" -! echo `date` +select now(),'Erzeuge Index ix_group_felder2' +from xdummy; create index ix_group_felder2 on group_field_pref (groupinfo_id ); -! echo "Erzeuge Index ix_style_feld2" -! echo `date` +select now(),'Erzeuge Index ix_style_feld2' +from xdummy; create index ix_style_feld2 on stylesheet_field (stylesheet_id ); -! echo "Erzeuge Index uxdb_tabellen_name" -! echo `date` +select now(),'Erzeuge Index uxdb_tabellen_name' +from xdummy; create unique index uxdb_tabellen_name on db_tabellen (name ); -! echo "Erzeuge Index xdb_tabellen_efm" -! echo `date` +select now(),'Erzeuge Index xdb_tabellen_efm' +from xdummy; create index xdb_tabellen_efm on db_tabellen (db_einfuegemarke ); -! echo "Erzeuge Index xdb_version_efm" -! echo `date` +select now(),'Erzeuge Index uxdb_version' +from xdummy; + +create unique index uxdb_version on db_version (his_system ); + + +select now(),'Erzeuge Index xdb_version_efm' +from xdummy; create index xdb_version_efm on db_version (db_einfuegemarke ); -! echo "Erzeuge Index ix_name_intern" -! echo `date` +select now(),'Erzeuge Index ix_name_intern' +from xdummy; create unique index ix_name_intern on sichten (name_intern ); -! echo "Erzeuge Index cif_ind" -! echo `date` +select now(),'Erzeuge Index cif_ind' +from xdummy; create unique index cif_ind on cif (hs, key, apnr ); -! echo "Erzeuge Index cifx_ind" -! echo `date` +select now(),'Erzeuge Index cifx_ind' +from xdummy; create unique index cifx_ind on cifx (hs, key, apnr ); -! echo "Erzeuge Index cifx_ind2" -! echo `date` +select now(),'Erzeuge Index cifx_ind2' +from xdummy; create index cifx_ind2 on cifx (uniquename ); -! echo "Erzeuge Index trans_cifx_ind" -! echo `date` +select now(),'Erzeuge Index trans_cifx_ind' +from xdummy; create index trans_cifx_ind on trans_cifx (sourcesystem_id ); -! echo "Erzeuge Index trans_cif_ind" -! echo `date` +select now(),'Erzeuge Index trans_cif_ind' +from xdummy; create index trans_cif_ind on trans_cif (sourcesystem_id ); -! echo "Erzeuge Index i_userinfo" -! echo `date` +select now(),'Erzeuge Index i_userinfo' +from xdummy; create unique index i_userinfo on userinfo (benutzer ); -! echo "Erzeuge Index i_orga" -! echo `date` +select now(),'Erzeuge Index i_orga' +from xdummy; create unique index i_orga on organigramm (key_apnr, gueltig_seit, gueltig_bis ); -! echo "Erzeuge Index ix130_3" -! echo `date` +select now(),'Erzeuge Index ix130_3' +from xdummy; create index ix130_3 on organigramm (parent ); -! echo "Erzeuge Index i_orga_bak" -! echo `date` +select now(),'Erzeuge Index i_orga_bak' +from xdummy; create unique index i_orga_bak on organigramm_bak (key_apnr, gueltig_seit, gueltig_bis ); -! echo "Erzeuge Index ix_user_inst1" -! echo `date` +select now(),'Erzeuge Index ix_user_inst1' +from xdummy; create index ix_user_inst1 on user_institution (ch110_institut ); -! echo "Erzeuge Index ix_user_inst2" -! echo `date` +select now(),'Erzeuge Index ix_user_inst2' +from xdummy; create index ix_user_inst2 on user_institution (userid ); -! echo "Erzeuge Index ix_user_inst3" -! echo `date` +select now(),'Erzeuge Index ix_user_inst3' +from xdummy; create index ix_user_inst3 on user_institution (gueltig_seit, gueltig_bis ); -! echo "Erzeuge Index kostentr_ixktr" -! echo `date` +select now(),'Erzeuge Index kostentr_ixktr' +from xdummy; create index kostentr_ixktr on kostentraeger (key_apnr ); -! echo "Erzeuge Index ix_user_ktr" -! echo `date` +select now(),'Erzeuge Index ix_user_ktr' +from xdummy; create index ix_user_ktr on user_kostentraeger (key_apnr ); -! echo "Erzeuge Index ix_user_ktr2" -! echo `date` +select now(),'Erzeuge Index ix_user_ktr2' +from xdummy; create index ix_user_ktr2 on user_kostentraeger (userid ); -! echo "Erzeuge Index ix_kotr_to_inst1" -! echo `date` +select now(),'Erzeuge Index ix_kotr_to_inst1' +from xdummy; create index ix_kotr_to_inst1 on kotr_to_inst (projnr ); -! echo "Erzeuge Index ix_sx_captions" -! echo `date` +select now(),'Erzeuge Index ix_sx_captions' +from xdummy; create index ix_sx_captions on sx_captions (field_name ); -! echo "Erzeuge Index ix_sx_captions2" -! echo `date` +select now(),'Erzeuge Index ix_sx_captions2' +from xdummy; create index ix_sx_captions2 on sx_captions (table_name ); -! echo "Erzeuge Index ix_sx_captions3" -! echo `date` +select now(),'Erzeuge Index ix_sx_captions3' +from xdummy; create index ix_sx_captions3 on sx_captions (record_no ); -! echo "Erzeuge Index ix_sx_captions4" -! echo `date` +select now(),'Erzeuge Index ix_sx_captions4' +from xdummy; create index ix_sx_captions4 on sx_captions (locale ); -! echo "Erzeuge Index ix_fm_templates_tid" -! echo `date` +select now(),'Erzeuge Index ix_fm_templates_tid' +from xdummy; create unique index ix_fm_templates_tid on fm_templates (id ); -! echo "Erzeuge Index ix_sx_down_inst" -! echo `date` +select now(),'Erzeuge Index ix_sx_down_inst' +from xdummy; create index ix_sx_down_inst on sx_downloads (ch110_institut ); -! echo "Erzeuge Index ix_sx_down_dbat" -! echo `date` +select now(),'Erzeuge Index ix_sx_down_dbat' +from xdummy; create index ix_sx_down_dbat on sx_downloads (bezugsdatum, gueltig_seit, gueltig_bis ); -! echo "Erzeuge Index ix_ussp" -! echo `date` +select now(),'Erzeuge Index ix_ussp' +from xdummy; create index ix_ussp on user_startpage (userid ); -! echo "Erzeuge Index ix_ussf" -! echo `date` +select now(),'Erzeuge Index ix_ussf' +from xdummy; create index ix_ussf on user_startfields (userid ); -! echo "Erzeuge Index ix_sx_tables" -! echo `date` +select now(),'Erzeuge Index ix_sx_tables' +from xdummy; create unique index ix_sx_tables on sx_tables (name ); -! echo "Erzeuge Index ix_dim_bp_apnr" -! echo `date` +select now(),'Erzeuge Index ix_dim_bp_apnr' +from xdummy; create unique index ix_dim_bp_apnr on dim_bp_apnr (dimension_bp_id, apnr ); -! echo "Erzeuge Index ix_dim_bp_apnr2" -! echo `date` +select now(),'Erzeuge Index ix_dim_bp_apnr2' +from xdummy; create index ix_dim_bp_apnr2 on dim_bp_apnr (systeminfo_id ); -! echo "Erzeuge Index ix_level1_int1" -! echo `date` +select now(),'Erzeuge Index ix_level1_int1' +from xdummy; create index ix_level1_int1 on dim_bp_apnr (level1_int, level1_char ); -! echo "Erzeuge Index ix_level1_int2" -! echo `date` +select now(),'Erzeuge Index ix_level1_int2' +from xdummy; create index ix_level1_int2 on dim_bp_apnr (level2_int, level2_char ); -! echo "Erzeuge Index ix_level3_int1" -! echo `date` +select now(),'Erzeuge Index ix_level3_int1' +from xdummy; create index ix_level3_int1 on dim_bp_apnr (level3_int, level3_char ); -! echo "Erzeuge Index ix_dim_bp_alts1" -! echo `date` +select now(),'Erzeuge Index ix_dim_bp_alts1' +from xdummy; create index ix_dim_bp_alts1 on dim_bp_altsicht_apnr (hierarchie_id ); -! echo "Erzeuge Index ix_dim_c1" -! echo `date` +select now(),'Erzeuge Index ix_dim_c1' +from xdummy; create index ix_dim_c1 on dim_closure (hierarchie_id, key ); -! echo "Erzeuge Index ix_dim_c2" -! echo `date` +select now(),'Erzeuge Index ix_dim_c2' +from xdummy; create index ix_dim_c2 on dim_closure (hierarchie_id, parent, key ); -! echo "Erzeuge Index ix_tr_dim_bp_apnr" -! echo `date` +select now(),'Erzeuge Index ix_tr_dim_bp_apnr' +from xdummy; create index ix_tr_dim_bp_apnr on trans_dim_bp_apnr (dimension_bp_id, sourcesystem_id, systeminfo_id ); -! echo "Erzeuge Index ix_sx_jobs_un" -! echo `date` +select now(),'Erzeuge Index ix_sieve_column_defm' +from xdummy; + +create unique index ix_sieve_column_defm on sieve_column_def (m_id ); + + +select now(),'Erzeuge Index ix_sx_jobs_un' +from xdummy; create unique index ix_sx_jobs_un on sx_jobs (uniquename ); + + +select now(),'Erzeuge Index ix_implicit_orgrights1' +from xdummy; + +create index ix_implicit_orgrights1 on implicit_orgunit_rights (userinfo_id ); + + +select now(),'Erzeuge Index ix_dim_datum_day_date' +from xdummy; + +create index ix_dim_datum_day_date on dim_datum (day_date ); + + +select now(),'Erzeuge Index ix_etl_job1' +from xdummy; + +create unique index ix_etl_job1 on etl_job (uniquename ); diff --git a/superx/WEB-INF/conf/edustore/db/install/kern_install_ids.sql b/superx/WEB-INF/conf/edustore/db/install/kern_install_ids.sql index dc4eb66..328f27b 100644 --- a/superx/WEB-INF/conf/edustore/db/install/kern_install_ids.sql +++ b/superx/WEB-INF/conf/edustore/db/install/kern_install_ids.sql @@ -1,13 +1,13 @@ -- XML-generiertes SQL-Script für dbaccess-- -! echo "Creating tables" -! echo `date` +select now(),'Creating tables' +from xdummy; -! echo "Erzeuge Tabelle sichtart_rechttabelle" -! echo `date` +select now(),'Erzeuge Tabelle sichtart_rechttabelle' +from xdummy; create table sichtart_rechttabelle( tid serial , @@ -24,13 +24,13 @@ fallback_user_inst char(1) default '0' , -! echo "Tabelle sichtart_rechttabelle erzeugt" -! echo `date` +select now(),'Tabelle sichtart_rechttabelle erzeugt' +from xdummy; -! echo "Erzeuge Tabelle group_field_pref" -! echo `date` +select now(),'Erzeuge Tabelle group_field_pref' +from xdummy; create table group_field_pref( tid serial , @@ -45,19 +45,19 @@ pref NVARCHAR(255) , -! echo "Erzeuge Index ix_group_felder2" -! echo `date` +select now(),'Erzeuge Index ix_group_felder2' +from xdummy; create index ix_group_felder2 on group_field_pref (groupinfo_id ); -! echo "Tabelle group_field_pref erzeugt" -! echo `date` +select now(),'Tabelle group_field_pref erzeugt' +from xdummy; -! echo "Erzeuge Tabelle stylesheet_field" -! echo `date` +select now(),'Erzeuge Tabelle stylesheet_field' +from xdummy; create table stylesheet_field( tid serial , @@ -72,19 +72,19 @@ fieldname NVARCHAR(255) , -! echo "Erzeuge Index ix_style_feld2" -! echo `date` +select now(),'Erzeuge Index ix_style_feld2' +from xdummy; create index ix_style_feld2 on stylesheet_field (stylesheet_id ); -! echo "Tabelle stylesheet_field erzeugt" -! echo `date` +select now(),'Tabelle stylesheet_field erzeugt' +from xdummy; -! echo "Erzeuge Tabelle db_tabellen" -! echo `date` +select now(),'Erzeuge Tabelle db_tabellen' +from xdummy; create table db_tabellen( db_einfuegemarke CHAR(6) , @@ -99,25 +99,25 @@ protokollierung SMALLINT , -! echo "Erzeuge Index uxdb_tabellen_name" -! echo `date` +select now(),'Erzeuge Index uxdb_tabellen_name' +from xdummy; create unique index uxdb_tabellen_name on db_tabellen (name ); -! echo "Erzeuge Index xdb_tabellen_efm" -! echo `date` +select now(),'Erzeuge Index xdb_tabellen_efm' +from xdummy; create index xdb_tabellen_efm on db_tabellen (db_einfuegemarke ); -! echo "Tabelle db_tabellen erzeugt" -! echo `date` +select now(),'Tabelle db_tabellen erzeugt' +from xdummy; -! echo "Erzeuge Tabelle db_forms" -! echo `date` +select now(),'Erzeuge Tabelle db_forms' +from xdummy; create table db_forms( tid INTEGER not null, @@ -134,17 +134,17 @@ description NCHAR(255) , -! echo "Tabelle db_forms erzeugt" -! echo `date` +select now(),'Tabelle db_forms erzeugt' +from xdummy; -! echo "Erzeuge Tabelle db_version" -! echo `date` +select now(),'Erzeuge Tabelle db_version' +from xdummy; create table db_version( - db_einfuegemarke CHAR(6) , -his_system CHAR(20) , + db_einfuegemarke NVARCHAR(255) , +his_system NVARCHAR(255) , version CHAR(8) , kern_system CHAR(1) , version_hash VARCHAR(32) , @@ -157,19 +157,25 @@ systeminfo_id INTEGER , -! echo "Erzeuge Index xdb_version_efm" -! echo `date` +select now(),'Erzeuge Index uxdb_version' +from xdummy; + +create unique index uxdb_version on db_version (his_system ); + + +select now(),'Erzeuge Index xdb_version_efm' +from xdummy; create index xdb_version_efm on db_version (db_einfuegemarke ); -! echo "Tabelle db_version erzeugt" -! echo `date` +select now(),'Tabelle db_version erzeugt' +from xdummy; -! echo "Erzeuge Tabelle aggregierung" -! echo `date` +select now(),'Erzeuge Tabelle aggregierung' +from xdummy; create table aggregierung( tid INTEGER not null, @@ -185,13 +191,13 @@ wert NCHAR(255) , -! echo "Tabelle aggregierung erzeugt" -! echo `date` +select now(),'Tabelle aggregierung erzeugt' +from xdummy; -! echo "Erzeuge Tabelle sichten" -! echo `date` +select now(),'Erzeuge Tabelle sichten' +from xdummy; create table sichten( tid SERIAL not null, @@ -230,19 +236,19 @@ aktiv SMALLINT default 1 , -! echo "Erzeuge Index ix_name_intern" -! echo `date` +select now(),'Erzeuge Index ix_name_intern' +from xdummy; create unique index ix_name_intern on sichten (name_intern ); -! echo "Tabelle sichten erzeugt" -! echo `date` +select now(),'Tabelle sichten erzeugt' +from xdummy; -! echo "Erzeuge Tabelle lehr_orga_bez" -! echo `date` +select now(),'Erzeuge Tabelle lehr_orga_bez' +from xdummy; create table lehr_orga_bez( lehr_id CHAR(10) , @@ -256,13 +262,13 @@ gueltig_bis DATE -! echo "Tabelle lehr_orga_bez erzeugt" -! echo `date` +select now(),'Tabelle lehr_orga_bez erzeugt' +from xdummy; -! echo "Erzeuge Tabelle masken_felder_bez" -! echo `date` +select now(),'Erzeuge Tabelle masken_felder_bez' +from xdummy; create table masken_felder_bez( maskeninfo_id INTEGER , @@ -275,13 +281,13 @@ felderinfo_id INTEGER , -! echo "Tabelle masken_felder_bez erzeugt" -! echo `date` +select now(),'Tabelle masken_felder_bez erzeugt' +from xdummy; -! echo "Erzeuge Tabelle sachgebiete" -! echo `date` +select now(),'Erzeuge Tabelle sachgebiete' +from xdummy; create table sachgebiete( tid INTEGER , @@ -295,13 +301,13 @@ rightname NVARCHAR(255) , -! echo "Tabelle sachgebiete erzeugt" -! echo `date` +select now(),'Tabelle sachgebiete erzeugt' +from xdummy; -! echo "Erzeuge Tabelle sachgeb_maske_bez" -! echo `date` +select now(),'Erzeuge Tabelle sachgeb_maske_bez' +from xdummy; create table sachgeb_maske_bez( sachgebiete_id INTEGER , @@ -314,13 +320,13 @@ maskeninfo_id INTEGER , -! echo "Tabelle sachgeb_maske_bez erzeugt" -! echo `date` +select now(),'Tabelle sachgeb_maske_bez erzeugt' +from xdummy; -! echo "Erzeuge Tabelle sachgeb_dbform_bez" -! echo `date` +select now(),'Erzeuge Tabelle sachgeb_dbform_bez' +from xdummy; create table sachgeb_dbform_bez( sachgebiete_id INTEGER , @@ -333,13 +339,13 @@ dbform_id INTEGER , -! echo "Tabelle sachgeb_dbform_bez erzeugt" -! echo `date` +select now(),'Tabelle sachgeb_dbform_bez erzeugt' +from xdummy; -! echo "Erzeuge Tabelle user_masken_bez" -! echo `date` +select now(),'Erzeuge Tabelle user_masken_bez' +from xdummy; create table user_masken_bez( userinfo_id INTEGER , @@ -353,13 +359,13 @@ external_entry smallint default 0 , -! echo "Tabelle user_masken_bez erzeugt" -! echo `date` +select now(),'Tabelle user_masken_bez erzeugt' +from xdummy; -! echo "Erzeuge Tabelle user_sachgeb_bez" -! echo `date` +select now(),'Erzeuge Tabelle user_sachgeb_bez' +from xdummy; create table user_sachgeb_bez( userinfo_id INTEGER , @@ -373,13 +379,13 @@ external_entry smallint default 0 , -! echo "Tabelle user_sachgeb_bez erzeugt" -! echo `date` +select now(),'Tabelle user_sachgeb_bez erzeugt' +from xdummy; -! echo "Erzeuge Tabelle xdummy" -! echo `date` +select now(),'Erzeuge Tabelle xdummy' +from xdummy; create table xdummy( c CHAR(1) @@ -389,13 +395,13 @@ create table xdummy( -! echo "Tabelle xdummy erzeugt" -! echo `date` +select now(),'Tabelle xdummy erzeugt' +from xdummy; -! echo "Erzeuge Tabelle macro_masken_bez" -! echo `date` +select now(),'Erzeuge Tabelle macro_masken_bez' +from xdummy; create table macro_masken_bez( maskeninfo_id1 INTEGER not null, @@ -416,13 +422,13 @@ aktion NCHAR(255) , -! echo "Tabelle macro_masken_bez erzeugt" -! echo `date` +select now(),'Tabelle macro_masken_bez erzeugt' +from xdummy; -! echo "Erzeuge Tabelle graphicformat" -! echo `date` +select now(),'Erzeuge Tabelle graphicformat' +from xdummy; create table graphicformat( id NCHAR(100) not null, @@ -444,13 +450,13 @@ moreattribs TEXT , -! echo "Tabelle graphicformat erzeugt" -! echo `date` +select now(),'Tabelle graphicformat erzeugt' +from xdummy; -! echo "Erzeuge Tabelle macro_feld_wert" -! echo `date` +select now(),'Erzeuge Tabelle macro_feld_wert' +from xdummy; create table macro_feld_wert( macro INTEGER not null, @@ -468,13 +474,13 @@ active INTEGER default 1 not null -! echo "Tabelle macro_feld_wert erzeugt" -! echo `date` +select now(),'Tabelle macro_feld_wert erzeugt' +from xdummy; -! echo "Erzeuge Tabelle groupinfo" -! echo `date` +select now(),'Erzeuge Tabelle groupinfo' +from xdummy; create table groupinfo( tid INTEGER , @@ -487,13 +493,13 @@ name NCHAR(255) , -! echo "Tabelle groupinfo erzeugt" -! echo `date` +select now(),'Tabelle groupinfo erzeugt' +from xdummy; -! echo "Erzeuge Tabelle user_group_bez" -! echo `date` +select now(),'Erzeuge Tabelle user_group_bez' +from xdummy; create table user_group_bez( userinfo_id INTEGER , @@ -507,13 +513,13 @@ external_entry SMALLINT default 0 , -! echo "Tabelle user_group_bez erzeugt" -! echo `date` +select now(),'Tabelle user_group_bez erzeugt' +from xdummy; -! echo "Erzeuge Tabelle group_sachgeb_bez" -! echo `date` +select now(),'Erzeuge Tabelle group_sachgeb_bez' +from xdummy; create table group_sachgeb_bez( groupinfo_id INTEGER , @@ -526,13 +532,13 @@ sachgebiete_id INTEGER , -! echo "Tabelle group_sachgeb_bez erzeugt" -! echo `date` +select now(),'Tabelle group_sachgeb_bez erzeugt' +from xdummy; -! echo "Erzeuge Tabelle group_masken_bez" -! echo `date` +select now(),'Erzeuge Tabelle group_masken_bez' +from xdummy; create table group_masken_bez( groupinfo_id INTEGER , @@ -545,13 +551,13 @@ maskeninfo_id INTEGER , -! echo "Tabelle group_masken_bez erzeugt" -! echo `date` +select now(),'Tabelle group_masken_bez erzeugt' +from xdummy; -! echo "Erzeuge Tabelle aggre_bland" -! echo `date` +select now(),'Erzeuge Tabelle aggre_bland' +from xdummy; create table aggre_bland( tid INTEGER , @@ -565,13 +571,13 @@ text CHAR(40) not null, -! echo "Tabelle aggre_bland erzeugt" -! echo `date` +select now(),'Tabelle aggre_bland erzeugt' +from xdummy; -! echo "Erzeuge Tabelle cif" -! echo `date` +select now(),'Erzeuge Tabelle cif' +from xdummy; create table cif( tid INTEGER not null, @@ -585,7 +591,8 @@ druck NCHAR(100) , lang_1 NCHAR(100) , lang_2 NCHAR(150) , lang_3 NCHAR(250) , -sort1 INTEGER , +sort1 INTEGER , +uniquename NVARCHAR(255) , primary key (tid) constraint c_cif ) @@ -594,21 +601,21 @@ sort1 INTEGER , -! echo "Erzeuge Index cif_ind" -! echo `date` +select now(),'Erzeuge Index cif_ind' +from xdummy; create unique index cif_ind on cif (hs, key, apnr ); -! echo "Tabelle cif erzeugt" -! echo `date` +select now(),'Tabelle cif erzeugt' +from xdummy; -! echo "Erzeuge Tabelle cifx" -! echo `date` +select now(),'Erzeuge Tabelle cifx' +from xdummy; create table cifx( tid INTEGER not null, @@ -654,27 +661,27 @@ parent_lid NVARCHAR(255) , -! echo "Erzeuge Index cifx_ind" -! echo `date` +select now(),'Erzeuge Index cifx_ind' +from xdummy; create unique index cifx_ind on cifx (hs, key, apnr ); -! echo "Erzeuge Index cifx_ind2" -! echo `date` +select now(),'Erzeuge Index cifx_ind2' +from xdummy; create index cifx_ind2 on cifx (uniquename ); -! echo "Tabelle cifx erzeugt" -! echo `date` +select now(),'Tabelle cifx erzeugt' +from xdummy; -! echo "Erzeuge Tabelle trans_cifx" -! echo `date` +select now(),'Erzeuge Tabelle trans_cifx' +from xdummy; create table trans_cifx( key SMALLINT not null, @@ -689,19 +696,19 @@ systeminfo_id INTEGER -! echo "Erzeuge Index trans_cifx_ind" -! echo `date` +select now(),'Erzeuge Index trans_cifx_ind' +from xdummy; create index trans_cifx_ind on trans_cifx (sourcesystem_id ); -! echo "Tabelle trans_cifx erzeugt" -! echo `date` +select now(),'Tabelle trans_cifx erzeugt' +from xdummy; -! echo "Erzeuge Tabelle trans_cif" -! echo `date` +select now(),'Erzeuge Tabelle trans_cif' +from xdummy; create table trans_cif( key SMALLINT not null, @@ -716,19 +723,44 @@ systeminfo_id INTEGER -! echo "Erzeuge Index trans_cif_ind" -! echo `date` +select now(),'Erzeuge Index trans_cif_ind' +from xdummy; create index trans_cif_ind on trans_cif (sourcesystem_id ); -! echo "Tabelle trans_cif erzeugt" -! echo `date` +select now(),'Tabelle trans_cif erzeugt' +from xdummy; -! echo "Erzeuge Tabelle felderinfo" -! echo `date` +select now(),'Erzeuge Tabelle cifx_customize' +from xdummy; + +create table cifx_customize( + tid SERIAL not null, +cifx_table NVARCHAR(255) not null, +key SMALLINT not null, +apnr CHAR(10) not null, +kurz NVARCHAR(255) , +druck NVARCHAR(255) default 'Drucktext' , +lang_1 NVARCHAR(255) , +uniquename NVARCHAR(255) , + primary key (tid) + constraint c_cifx_customize +) +; + + + + +select now(),'Tabelle cifx_customize erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle felderinfo' +from xdummy; create table felderinfo( tid INTEGER not null, @@ -754,13 +786,13 @@ defaultwert NCHAR(255) , -! echo "Tabelle felderinfo erzeugt" -! echo `date` +select now(),'Tabelle felderinfo erzeugt' +from xdummy; -! echo "Erzeuge Tabelle hochschulinfo" -! echo `date` +select now(),'Erzeuge Tabelle hochschulinfo' +from xdummy; create table hochschulinfo( name NCHAR(100) not null, @@ -778,13 +810,13 @@ passwd CHAR(16) , -! echo "Tabelle hochschulinfo erzeugt" -! echo `date` +select now(),'Tabelle hochschulinfo erzeugt' +from xdummy; -! echo "Erzeuge Tabelle maske_system_bez" -! echo `date` +select now(),'Erzeuge Tabelle maske_system_bez' +from xdummy; create table maske_system_bez( maskeninfo_id INTEGER not null, @@ -797,13 +829,13 @@ systeminfo_id INTEGER not null, -! echo "Tabelle maske_system_bez erzeugt" -! echo `date` +select now(),'Tabelle maske_system_bez erzeugt' +from xdummy; -! echo "Erzeuge Tabelle maskeninfo" -! echo `date` +select now(),'Erzeuge Tabelle maskeninfo' +from xdummy; create table maskeninfo( tid INTEGER not null, @@ -829,13 +861,13 @@ hinweis text , -! echo "Tabelle maskeninfo erzeugt" -! echo `date` +select now(),'Tabelle maskeninfo erzeugt' +from xdummy; -! echo "Erzeuge Tabelle proto_funktion" -! echo `date` +select now(),'Erzeuge Tabelle proto_funktion' +from xdummy; create table proto_funktion( proto_fkt_id SMALLINT not null, @@ -848,18 +880,18 @@ proto_fkt CHAR(20) not null, -! echo "Tabelle proto_funktion erzeugt" -! echo `date` +select now(),'Tabelle proto_funktion erzeugt' +from xdummy; -! echo "Erzeuge Tabelle systeminfo" -! echo `date` +select now(),'Erzeuge Tabelle systeminfo' +from xdummy; create table systeminfo( tid INTEGER not null, name CHAR(50) not null, -datum DATE , +datum datetime year to second , primary key (tid) constraint c_systeminfo ) @@ -868,13 +900,13 @@ datum DATE , -! echo "Tabelle systeminfo erzeugt" -! echo `date` +select now(),'Tabelle systeminfo erzeugt' +from xdummy; -! echo "Erzeuge Tabelle user_einstellungen" -! echo `date` +select now(),'Erzeuge Tabelle user_einstellungen' +from xdummy; create table user_einstellungen( tid INTEGER not null, @@ -887,13 +919,13 @@ arbeitsverzeichnis NCHAR(255) , -! echo "Tabelle user_einstellungen erzeugt" -! echo `date` +select now(),'Tabelle user_einstellungen erzeugt' +from xdummy; -! echo "Erzeuge Tabelle userinfo" -! echo `date` +select now(),'Erzeuge Tabelle userinfo' +from xdummy; create table userinfo( tid INTEGER not null, @@ -909,7 +941,8 @@ passwd_sha NCHAR(255) , info NCHAR(255) , extern_account_id NVARCHAR(255) , extern_person_id NVARCHAR(255) , -sieht_projekte SMALLINT default 0 , +sieht_projekte SMALLINT default 0 , +extern_role_id INTEGER , primary key (tid) constraint c_userinfo ) @@ -918,19 +951,19 @@ sieht_projekte SMALLINT default 0 , -! echo "Erzeuge Index i_userinfo" -! echo `date` +select now(),'Erzeuge Index i_userinfo' +from xdummy; create unique index i_userinfo on userinfo (benutzer ); -! echo "Tabelle userinfo erzeugt" -! echo `date` +select now(),'Tabelle userinfo erzeugt' +from xdummy; -! echo "Erzeuge Tabelle themenbaum" -! echo `date` +select now(),'Erzeuge Tabelle themenbaum' +from xdummy; create table themenbaum( tid SERIAL , @@ -950,13 +983,13 @@ css_class NVARCHAR(255) , -! echo "Tabelle themenbaum erzeugt" -! echo `date` +select now(),'Tabelle themenbaum erzeugt' +from xdummy; -! echo "Erzeuge Tabelle themenbaum_bak" -! echo `date` +select now(),'Erzeuge Tabelle themenbaum_bak' +from xdummy; create table themenbaum_bak( tid INTEGER , @@ -972,13 +1005,13 @@ erlaeuterung NCHAR(240) -! echo "Tabelle themenbaum_bak erzeugt" -! echo `date` +select now(),'Tabelle themenbaum_bak erzeugt' +from xdummy; -! echo "Erzeuge Tabelle nachricht" -! echo `date` +select now(),'Erzeuge Tabelle nachricht' +from xdummy; create table nachricht( aktuell NCHAR(255) @@ -988,13 +1021,13 @@ create table nachricht( -! echo "Tabelle nachricht erzeugt" -! echo `date` +select now(),'Tabelle nachricht erzeugt' +from xdummy; -! echo "Erzeuge Tabelle menu_element" -! echo `date` +select now(),'Erzeuge Tabelle menu_element' +from xdummy; create table menu_element( id INTEGER not null, @@ -1011,13 +1044,13 @@ annotation NVARCHAR(255) , -! echo "Tabelle menu_element erzeugt" -! echo `date` +select now(),'Tabelle menu_element erzeugt' +from xdummy; -! echo "Erzeuge Tabelle dbconnections" -! echo `date` +select now(),'Erzeuge Tabelle dbconnections' +from xdummy; create table dbconnections( id NVARCHAR(255) not null, @@ -1038,20 +1071,20 @@ testsql NVARCHAR(255) , -! echo "Tabelle dbconnections erzeugt" -! echo `date` +select now(),'Tabelle dbconnections erzeugt' +from xdummy; -! echo "Erzeuge Tabelle organigramm" -! echo `date` +select now(),'Erzeuge Tabelle organigramm' +from xdummy; create table organigramm( - tid INTEGER not null, + tid SERIAL not null, key_apnr CHAR(10) , parent CHAR(10) , -drucktext CHAR(50) , -name NCHAR(150) , +drucktext NVARCHAR(255) , +name NVARCHAR(255) , ebene INTEGER , lehre SMALLINT not null, gueltig_seit DATE not null, @@ -1070,60 +1103,67 @@ nodeattrib SMALLINT -! echo "Erzeuge Index i_orga" -! echo `date` +select now(),'Erzeuge Index i_orga' +from xdummy; create unique index i_orga on organigramm (key_apnr, gueltig_seit, gueltig_bis ); -! echo "Erzeuge Index ix130_3" -! echo `date` +select now(),'Erzeuge Index ix130_3' +from xdummy; create index ix130_3 on organigramm (parent ); -! echo "Tabelle organigramm erzeugt" -! echo `date` +select now(),'Tabelle organigramm erzeugt' +from xdummy; -! echo "Erzeuge Tabelle organigramm_bak" -! echo `date` +select now(),'Erzeuge Tabelle organigramm_bak' +from xdummy; create table organigramm_bak( tid INTEGER not null, key_apnr CHAR(10) , parent CHAR(10) , -drucktext CHAR(50) , -name NCHAR(150) , +drucktext NVARCHAR(255) , +name NVARCHAR(255) , ebene INTEGER , -lehre SMALLINT , +lehre SMALLINT not null, gueltig_seit DATE not null, gueltig_bis DATE not null, -orgstruktur INTEGER +orgstruktur INTEGER , +lid NVARCHAR(255) , +parent_lid NVARCHAR(255) , +uniquename NVARCHAR(255) , +sourcesystem INTEGER , +sourcesystem_id NVARCHAR(255) , +systeminfo_id INTEGER , +nodeattrib SMALLINT ) ; -! echo "Erzeuge Index i_orga_bak" -! echo `date` +select now(),'Erzeuge Index i_orga_bak' +from xdummy; create unique index i_orga_bak on organigramm_bak (key_apnr, gueltig_seit, gueltig_bis ); -! echo "Tabelle organigramm_bak erzeugt" -! echo `date` +select now(),'Tabelle organigramm_bak erzeugt' +from xdummy; -! echo "Erzeuge Tabelle user_institution" -! echo `date` +select now(),'Erzeuge Tabelle user_institution' +from xdummy; create table user_institution( userid INTEGER not null, @@ -1143,32 +1183,32 @@ externalid NVARCHAR(200) , -! echo "Erzeuge Index ix_user_inst1" -! echo `date` +select now(),'Erzeuge Index ix_user_inst1' +from xdummy; create index ix_user_inst1 on user_institution (ch110_institut ); -! echo "Erzeuge Index ix_user_inst2" -! echo `date` +select now(),'Erzeuge Index ix_user_inst2' +from xdummy; create index ix_user_inst2 on user_institution (userid ); -! echo "Erzeuge Index ix_user_inst3" -! echo `date` +select now(),'Erzeuge Index ix_user_inst3' +from xdummy; create index ix_user_inst3 on user_institution (gueltig_seit, gueltig_bis ); -! echo "Tabelle user_institution erzeugt" -! echo `date` +select now(),'Tabelle user_institution erzeugt' +from xdummy; -! echo "Erzeuge Tabelle kostentraeger" -! echo `date` +select now(),'Erzeuge Tabelle kostentraeger' +from xdummy; create table kostentraeger( key_apnr CHAR(50) , @@ -1189,19 +1229,19 @@ info NVARCHAR(215) -! echo "Erzeuge Index kostentr_ixktr" -! echo `date` +select now(),'Erzeuge Index kostentr_ixktr' +from xdummy; create index kostentr_ixktr on kostentraeger (key_apnr ); -! echo "Tabelle kostentraeger erzeugt" -! echo `date` +select now(),'Tabelle kostentraeger erzeugt' +from xdummy; -! echo "Erzeuge Tabelle user_kostentraeger" -! echo `date` +select now(),'Erzeuge Tabelle user_kostentraeger' +from xdummy; create table user_kostentraeger( userid INTEGER not null, @@ -1219,25 +1259,25 @@ externalid NVARCHAR(200) , -! echo "Erzeuge Index ix_user_ktr" -! echo `date` +select now(),'Erzeuge Index ix_user_ktr' +from xdummy; create index ix_user_ktr on user_kostentraeger (key_apnr ); -! echo "Erzeuge Index ix_user_ktr2" -! echo `date` +select now(),'Erzeuge Index ix_user_ktr2' +from xdummy; create index ix_user_ktr2 on user_kostentraeger (userid ); -! echo "Tabelle user_kostentraeger erzeugt" -! echo `date` +select now(),'Tabelle user_kostentraeger erzeugt' +from xdummy; -! echo "Erzeuge Tabelle kotr_to_inst" -! echo `date` +select now(),'Erzeuge Tabelle kotr_to_inst' +from xdummy; create table kotr_to_inst( projnr CHAR(24) , @@ -1249,19 +1289,19 @@ haupt_kst_kz CHAR(1) -! echo "Erzeuge Index ix_kotr_to_inst1" -! echo `date` +select now(),'Erzeuge Index ix_kotr_to_inst1' +from xdummy; create index ix_kotr_to_inst1 on kotr_to_inst (projnr ); -! echo "Tabelle kotr_to_inst erzeugt" -! echo `date` +select now(),'Tabelle kotr_to_inst erzeugt' +from xdummy; -! echo "Erzeuge Tabelle protokoll" -! echo `date` +select now(),'Erzeuge Tabelle protokoll' +from xdummy; create table protokoll( protokoll_id SERIAL not null, @@ -1279,13 +1319,13 @@ kommentar NVARCHAR(255) , -! echo "Tabelle protokoll erzeugt" -! echo `date` +select now(),'Tabelle protokoll erzeugt' +from xdummy; -! echo "Erzeuge Tabelle trans_inst" -! echo `date` +select now(),'Erzeuge Tabelle trans_inst' +from xdummy; create table trans_inst( tid SERIAL not null, @@ -1303,16 +1343,16 @@ systeminfo_id INTEGER , -! echo "Tabelle trans_inst erzeugt" -! echo `date` +select now(),'Tabelle trans_inst erzeugt' +from xdummy; -! echo "Erzeuge Tabelle konstanten" -! echo `date` +select now(),'Erzeuge Tabelle konstanten' +from xdummy; create table konstanten( - tid INTEGER not null, + tid serial not null, apnr INTEGER , beschreibung NVARCHAR(255) , defaultvalue INTEGER , @@ -1323,7 +1363,9 @@ doku_link NVARCHAR(255) , read_only INTEGER , wertebereich NVARCHAR(255) , ab_version VARCHAR(20) , -gruppe NVARCHAR(100) , +gruppe NVARCHAR(100) , +priority INTEGER , +sourcesystem INTEGER , primary key (tid) constraint co_konstanten ) @@ -1332,13 +1374,13 @@ gruppe NVARCHAR(100) , -! echo "Tabelle konstanten erzeugt" -! echo `date` +select now(),'Tabelle konstanten erzeugt' +from xdummy; -! echo "Erzeuge Tabelle lehreinheit_inst" -! echo `date` +select now(),'Erzeuge Tabelle lehreinheit_inst' +from xdummy; create table lehreinheit_inst( key_apnr CHAR(10) , @@ -1353,13 +1395,13 @@ gueltig_bis DATE -! echo "Tabelle lehreinheit_inst erzeugt" -! echo `date` +select now(),'Tabelle lehreinheit_inst erzeugt' +from xdummy; -! echo "Erzeuge Tabelle sx_stylesheets" -! echo `date` +select now(),'Erzeuge Tabelle sx_stylesheets' +from xdummy; create table sx_stylesheets( tid SERIAL not null, @@ -1369,7 +1411,11 @@ description NCHAR(255) , relation CHAR(10) , useragent NCHAR(255) , contenttype NCHAR(200) , -is_generic SMALLINT default 0 , +is_generic SMALLINT default 0 , +toolbar_icon_filepath NVARCHAR(255) , +usage_resultset_data CHAR(10) default 'T' , +stylesheet_type CHAR(10) default 'XSL' , +jr_datasource CHAR(10) , primary key (tid) constraint c_stylesheets ) @@ -1378,13 +1424,13 @@ is_generic SMALLINT default 0 , -! echo "Tabelle sx_stylesheets erzeugt" -! echo `date` +select now(),'Tabelle sx_stylesheets erzeugt' +from xdummy; -! echo "Erzeuge Tabelle sx_mask_style" -! echo `date` +select now(),'Erzeuge Tabelle sx_mask_style' +from xdummy; create table sx_mask_style( tid SERIAL not null, @@ -1399,13 +1445,36 @@ ord SMALLINT , -! echo "Tabelle sx_mask_style erzeugt" -! echo `date` +select now(),'Tabelle sx_mask_style erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle sx_stylesheet_param' +from xdummy; + +create table sx_stylesheet_param( + tid SERIAL not null, +stylesheet_id INTEGER not null, +param_name NVARCHAR(255) not null, +default_val NVARCHAR(255) , +description NVARCHAR(255) , +wertebereich NVARCHAR(255) , + primary key (tid) + constraint c_stylesheet_param +) +; + + + + +select now(),'Tabelle sx_stylesheet_param erzeugt' +from xdummy; -! echo "Erzeuge Tabelle sx_captions" -! echo `date` +select now(),'Erzeuge Tabelle sx_captions' +from xdummy; create table sx_captions( tid SERIAL not null, @@ -1428,37 +1497,37 @@ export_to_glossar INTEGER , -! echo "Erzeuge Index ix_sx_captions" -! echo `date` +select now(),'Erzeuge Index ix_sx_captions' +from xdummy; create index ix_sx_captions on sx_captions (field_name ); -! echo "Erzeuge Index ix_sx_captions2" -! echo `date` +select now(),'Erzeuge Index ix_sx_captions2' +from xdummy; create index ix_sx_captions2 on sx_captions (table_name ); -! echo "Erzeuge Index ix_sx_captions3" -! echo `date` +select now(),'Erzeuge Index ix_sx_captions3' +from xdummy; create index ix_sx_captions3 on sx_captions (record_no ); -! echo "Erzeuge Index ix_sx_captions4" -! echo `date` +select now(),'Erzeuge Index ix_sx_captions4' +from xdummy; create index ix_sx_captions4 on sx_captions (locale ); -! echo "Tabelle sx_captions erzeugt" -! echo `date` +select now(),'Tabelle sx_captions erzeugt' +from xdummy; -! echo "Erzeuge Tabelle fm_templates" -! echo `date` +select now(),'Erzeuge Tabelle fm_templates' +from xdummy; create table fm_templates( tid SERIAL not null, @@ -1475,19 +1544,19 @@ version integer default 1 , -! echo "Erzeuge Index ix_fm_templates_tid" -! echo `date` +select now(),'Erzeuge Index ix_fm_templates_tid' +from xdummy; create unique index ix_fm_templates_tid on fm_templates (id ); -! echo "Tabelle fm_templates erzeugt" -! echo `date` +select now(),'Tabelle fm_templates erzeugt' +from xdummy; -! echo "Erzeuge Tabelle user_sichten" -! echo `date` +select now(),'Erzeuge Tabelle user_sichten' +from xdummy; create table user_sichten( userinfo_id INTEGER not null, @@ -1501,13 +1570,13 @@ external_entry smallint default 0 , -! echo "Tabelle user_sichten erzeugt" -! echo `date` +select now(),'Tabelle user_sichten erzeugt' +from xdummy; -! echo "Erzeuge Tabelle user_sichtarten" -! echo `date` +select now(),'Erzeuge Tabelle user_sichtarten' +from xdummy; create table user_sichtarten( userinfo_id INTEGER not null, @@ -1521,13 +1590,13 @@ external_entry smallint default 0 , -! echo "Tabelle user_sichtarten erzeugt" -! echo `date` +select now(),'Tabelle user_sichtarten erzeugt' +from xdummy; -! echo "Erzeuge Tabelle group_sichten" -! echo `date` +select now(),'Erzeuge Tabelle group_sichten' +from xdummy; create table group_sichten( groupinfo_id INTEGER , @@ -1540,13 +1609,13 @@ sicht_name_intern NCHAR(200) , -! echo "Tabelle group_sichten erzeugt" -! echo `date` +select now(),'Tabelle group_sichten erzeugt' +from xdummy; -! echo "Erzeuge Tabelle group_sichtarten" -! echo `date` +select now(),'Erzeuge Tabelle group_sichtarten' +from xdummy; create table group_sichtarten( groupinfo_id INTEGER , @@ -1559,13 +1628,13 @@ sichtart NCHAR(255) , -! echo "Tabelle group_sichtarten erzeugt" -! echo `date` +select now(),'Tabelle group_sichtarten erzeugt' +from xdummy; -! echo "Erzeuge Tabelle sachgeb_sichten" -! echo `date` +select now(),'Erzeuge Tabelle sachgeb_sichten' +from xdummy; create table sachgeb_sichten( sachgebiete_id INTEGER , @@ -1578,13 +1647,13 @@ sicht_name_intern NCHAR(200) , -! echo "Tabelle sachgeb_sichten erzeugt" -! echo `date` +select now(),'Tabelle sachgeb_sichten erzeugt' +from xdummy; -! echo "Erzeuge Tabelle sachgeb_sichtarten" -! echo `date` +select now(),'Erzeuge Tabelle sachgeb_sichtarten' +from xdummy; create table sachgeb_sichtarten( sachgebiete_id INTEGER , @@ -1597,13 +1666,13 @@ sichtart NCHAR(255) , -! echo "Tabelle sachgeb_sichtarten erzeugt" -! echo `date` +select now(),'Tabelle sachgeb_sichtarten erzeugt' +from xdummy; -! echo "Erzeuge Tabelle sx_repository" -! echo `date` +select now(),'Erzeuge Tabelle sx_repository' +from xdummy; create table sx_repository( tid SERIAL not null, @@ -1631,13 +1700,13 @@ gueltig_bis DATE default '01.01.3000' not null, -! echo "Tabelle sx_repository erzeugt" -! echo `date` +select now(),'Tabelle sx_repository erzeugt' +from xdummy; -! echo "Erzeuge Tabelle user_pw" -! echo `date` +select now(),'Erzeuge Tabelle user_pw' +from xdummy; create table user_pw( userinfo_id INTEGER not null, @@ -1665,13 +1734,13 @@ zeitpunkt7 datetime year to second , -! echo "Tabelle user_pw erzeugt" -! echo `date` +select now(),'Tabelle user_pw erzeugt' +from xdummy; -! echo "Erzeuge Tabelle sx_downloads" -! echo `date` +select now(),'Erzeuge Tabelle sx_downloads' +from xdummy; create table sx_downloads( tid SERIAL not null, @@ -1693,27 +1762,27 @@ gueltig_bis DATE default '01.01.3000' not null, -! echo "Erzeuge Index ix_sx_down_inst" -! echo `date` +select now(),'Erzeuge Index ix_sx_down_inst' +from xdummy; create index ix_sx_down_inst on sx_downloads (ch110_institut ); -! echo "Erzeuge Index ix_sx_down_dbat" -! echo `date` +select now(),'Erzeuge Index ix_sx_down_dbat' +from xdummy; create index ix_sx_down_dbat on sx_downloads (bezugsdatum, gueltig_seit, gueltig_bis ); -! echo "Tabelle sx_downloads erzeugt" -! echo `date` +select now(),'Tabelle sx_downloads erzeugt' +from xdummy; -! echo "Erzeuge Tabelle download_group_bez" -! echo `date` +select now(),'Erzeuge Tabelle download_group_bez' +from xdummy; create table download_group_bez( groupinfo_id INTEGER , @@ -1726,13 +1795,13 @@ download_id INTEGER , -! echo "Tabelle download_group_bez erzeugt" -! echo `date` +select now(),'Tabelle download_group_bez erzeugt' +from xdummy; -! echo "Erzeuge Tabelle download_user_bez" -! echo `date` +select now(),'Erzeuge Tabelle download_user_bez' +from xdummy; create table download_user_bez( userinfo_id INTEGER , @@ -1745,13 +1814,13 @@ download_id INTEGER , -! echo "Tabelle download_user_bez erzeugt" -! echo `date` +select now(),'Tabelle download_user_bez erzeugt' +from xdummy; -! echo "Erzeuge Tabelle download_keyw_bez" -! echo `date` +select now(),'Erzeuge Tabelle download_keyw_bez' +from xdummy; create table download_keyw_bez( keyword_id INTEGER , @@ -1764,13 +1833,13 @@ download_id INTEGER , -! echo "Tabelle download_keyw_bez erzeugt" -! echo `date` +select now(),'Tabelle download_keyw_bez erzeugt' +from xdummy; -! echo "Erzeuge Tabelle sx_keywords" -! echo `date` +select now(),'Erzeuge Tabelle sx_keywords' +from xdummy; create table sx_keywords( tid SERIAL , @@ -1784,13 +1853,13 @@ parent INTEGER , -! echo "Tabelle sx_keywords erzeugt" -! echo `date` +select now(),'Tabelle sx_keywords erzeugt' +from xdummy; -! echo "Erzeuge Tabelle user_startpage" -! echo `date` +select now(),'Erzeuge Tabelle user_startpage' +from xdummy; create table user_startpage( tid serial not null, @@ -1814,19 +1883,19 @@ active integer not null, -! echo "Erzeuge Index ix_ussp" -! echo `date` +select now(),'Erzeuge Index ix_ussp' +from xdummy; create index ix_ussp on user_startpage (userid ); -! echo "Tabelle user_startpage erzeugt" -! echo `date` +select now(),'Tabelle user_startpage erzeugt' +from xdummy; -! echo "Erzeuge Tabelle user_startfields" -! echo `date` +select now(),'Erzeuge Tabelle user_startfields' +from xdummy; create table user_startfields( tid serial not null, @@ -1842,19 +1911,19 @@ active integer not null, -! echo "Erzeuge Index ix_ussf" -! echo `date` +select now(),'Erzeuge Index ix_ussf' +from xdummy; create index ix_ussf on user_startfields (userid ); -! echo "Tabelle user_startfields erzeugt" -! echo `date` +select now(),'Tabelle user_startfields erzeugt' +from xdummy; -! echo "Erzeuge Tabelle user_dialog" -! echo `date` +select now(),'Erzeuge Tabelle user_dialog' +from xdummy; create table user_dialog( id SERIAL not null, @@ -1881,13 +1950,13 @@ attrib3 NVARCHAR(255) , -! echo "Tabelle user_dialog erzeugt" -! echo `date` +select now(),'Tabelle user_dialog erzeugt' +from xdummy; -! echo "Erzeuge Tabelle user_dialog_accept" -! echo `date` +select now(),'Erzeuge Tabelle user_dialog_accept' +from xdummy; create table user_dialog_accept( id SERIAL not null, @@ -1904,13 +1973,13 @@ timestamp datetime year to second not null, -! echo "Tabelle user_dialog_accept erzeugt" -! echo `date` +select now(),'Tabelle user_dialog_accept erzeugt' +from xdummy; -! echo "Erzeuge Tabelle user_hinweis" -! echo `date` +select now(),'Erzeuge Tabelle user_hinweis' +from xdummy; create table user_hinweis( userinfo_id INTEGER not null, @@ -1923,13 +1992,13 @@ hinweise_id integer not null, -! echo "Tabelle user_hinweis erzeugt" -! echo `date` +select now(),'Tabelle user_hinweis erzeugt' +from xdummy; -! echo "Erzeuge Tabelle group_hinweis" -! echo `date` +select now(),'Erzeuge Tabelle group_hinweis' +from xdummy; create table group_hinweis( groupinfo_id INTEGER not null, @@ -1942,13 +2011,13 @@ hinweise_id integer not null, -! echo "Tabelle group_hinweis erzeugt" -! echo `date` +select now(),'Tabelle group_hinweis erzeugt' +from xdummy; -! echo "Erzeuge Tabelle unload_params" -! echo `date` +select now(),'Erzeuge Tabelle unload_params' +from xdummy; create table unload_params( tid SERIAL not null, @@ -1956,7 +2025,12 @@ param_id NVARCHAR(255) not null, param_val NVARCHAR(255) , default_val NVARCHAR(255) , description NVARCHAR(255) , -systeminfo_id INTEGER , +systeminfo_id INTEGER , +priority INTEGER , +sourcesystem INTEGER , +wertebereich NVARCHAR(255) , +ab_version VARCHAR(20) , +gruppe NVARCHAR(100) , primary key (tid) constraint c_unload_params ) @@ -1965,13 +2039,13 @@ systeminfo_id INTEGER , -! echo "Tabelle unload_params erzeugt" -! echo `date` +select now(),'Tabelle unload_params erzeugt' +from xdummy; -! echo "Erzeuge Tabelle sx_tables" -! echo `date` +select now(),'Erzeuge Tabelle sx_tables' +from xdummy; create table sx_tables( tid SERIAL not null, @@ -1991,19 +2065,19 @@ sachgebiete_id NVARCHAR(255) , -! echo "Erzeuge Index ix_sx_tables" -! echo `date` +select now(),'Erzeuge Index ix_sx_tables' +from xdummy; create unique index ix_sx_tables on sx_tables (name ); -! echo "Tabelle sx_tables erzeugt" -! echo `date` +select now(),'Tabelle sx_tables erzeugt' +from xdummy; -! echo "Erzeuge Tabelle sx_fields" -! echo `date` +select now(),'Erzeuge Tabelle sx_fields' +from xdummy; create table sx_fields( tid SERIAL not null, @@ -2033,13 +2107,13 @@ foreignkey_uniquename NVARCHAR(255) , -! echo "Tabelle sx_fields erzeugt" -! echo `date` +select now(),'Tabelle sx_fields erzeugt' +from xdummy; -! echo "Erzeuge Tabelle dimension_bp" -! echo `date` +select now(),'Erzeuge Tabelle dimension_bp' +from xdummy; create table dimension_bp( tid SERIAL not null, @@ -2067,13 +2141,13 @@ system_key NVARCHAR(255) , -! echo "Tabelle dimension_bp erzeugt" -! echo `date` +select now(),'Tabelle dimension_bp erzeugt' +from xdummy; -! echo "Erzeuge Tabelle dimension" -! echo `date` +select now(),'Erzeuge Tabelle dimension' +from xdummy; create table dimension( tid SERIAL not null, @@ -2096,13 +2170,13 @@ system_key NVARCHAR(255) , -! echo "Tabelle dimension erzeugt" -! echo `date` +select now(),'Tabelle dimension erzeugt' +from xdummy; -! echo "Erzeuge Tabelle dim_bp_apnr" -! echo `date` +select now(),'Erzeuge Tabelle dim_bp_apnr' +from xdummy; create table dim_bp_apnr( dimension_bp_id INTEGER not null, @@ -2129,47 +2203,47 @@ sortorder INTEGER -! echo "Erzeuge Index ix_dim_bp_apnr" -! echo `date` +select now(),'Erzeuge Index ix_dim_bp_apnr' +from xdummy; create unique index ix_dim_bp_apnr on dim_bp_apnr (dimension_bp_id, apnr ); -! echo "Erzeuge Index ix_dim_bp_apnr2" -! echo `date` +select now(),'Erzeuge Index ix_dim_bp_apnr2' +from xdummy; create index ix_dim_bp_apnr2 on dim_bp_apnr (systeminfo_id ); -! echo "Erzeuge Index ix_level1_int1" -! echo `date` +select now(),'Erzeuge Index ix_level1_int1' +from xdummy; create index ix_level1_int1 on dim_bp_apnr (level1_int, level1_char ); -! echo "Erzeuge Index ix_level1_int2" -! echo `date` +select now(),'Erzeuge Index ix_level1_int2' +from xdummy; create index ix_level1_int2 on dim_bp_apnr (level2_int, level2_char ); -! echo "Erzeuge Index ix_level3_int1" -! echo `date` +select now(),'Erzeuge Index ix_level3_int1' +from xdummy; create index ix_level3_int1 on dim_bp_apnr (level3_int, level3_char ); -! echo "Tabelle dim_bp_apnr erzeugt" -! echo `date` +select now(),'Tabelle dim_bp_apnr erzeugt' +from xdummy; -! echo "Erzeuge Tabelle dim_bp_altsicht_apnr" -! echo `date` +select now(),'Erzeuge Tabelle dim_bp_altsicht_apnr' +from xdummy; create table dim_bp_altsicht_apnr( hierarchie_id NVARCHAR(200) not null, @@ -2185,19 +2259,19 @@ systeminfo_id INTEGER -! echo "Erzeuge Index ix_dim_bp_alts1" -! echo `date` +select now(),'Erzeuge Index ix_dim_bp_alts1' +from xdummy; create index ix_dim_bp_alts1 on dim_bp_altsicht_apnr (hierarchie_id ); -! echo "Tabelle dim_bp_altsicht_apnr erzeugt" -! echo `date` +select now(),'Tabelle dim_bp_altsicht_apnr erzeugt' +from xdummy; -! echo "Erzeuge Tabelle dim_closure" -! echo `date` +select now(),'Erzeuge Tabelle dim_closure' +from xdummy; create table dim_closure( dimension_bp_id INTEGER , @@ -2211,28 +2285,28 @@ distance INTEGER -! echo "Erzeuge Index ix_dim_c1" -! echo `date` +select now(),'Erzeuge Index ix_dim_c1' +from xdummy; create index ix_dim_c1 on dim_closure (hierarchie_id, key ); -! echo "Erzeuge Index ix_dim_c2" -! echo `date` +select now(),'Erzeuge Index ix_dim_c2' +from xdummy; create index ix_dim_c2 on dim_closure (hierarchie_id, parent, key ); -! echo "Tabelle dim_closure erzeugt" -! echo `date` +select now(),'Tabelle dim_closure erzeugt' +from xdummy; -! echo "Erzeuge Tabelle mondrian_schema" -! echo `date` +select now(),'Erzeuge Tabelle mondrian_schema' +from xdummy; create table mondrian_schema( id SERIAL , @@ -2249,13 +2323,13 @@ node NVARCHAR(255) , -! echo "Tabelle mondrian_schema erzeugt" -! echo `date` +select now(),'Tabelle mondrian_schema erzeugt' +from xdummy; -! echo "Erzeuge Tabelle trans_dim_bp_apnr" -! echo `date` +select now(),'Erzeuge Tabelle trans_dim_bp_apnr' +from xdummy; create table trans_dim_bp_apnr( dimension_bp_id INTEGER not null, @@ -2268,21 +2342,21 @@ systeminfo_id INTEGER -! echo "Erzeuge Index ix_tr_dim_bp_apnr" -! echo `date` +select now(),'Erzeuge Index ix_tr_dim_bp_apnr' +from xdummy; create index ix_tr_dim_bp_apnr on trans_dim_bp_apnr (dimension_bp_id, sourcesystem_id, systeminfo_id ); -! echo "Tabelle trans_dim_bp_apnr erzeugt" -! echo `date` +select now(),'Tabelle trans_dim_bp_apnr erzeugt' +from xdummy; -! echo "Erzeuge Tabelle masken_protokoll" -! echo `date` +select now(),'Erzeuge Tabelle masken_protokoll' +from xdummy; create table masken_protokoll( tid SERIAL not null, @@ -2296,13 +2370,13 @@ kommentar NVARCHAR(255) -! echo "Tabelle masken_protokoll erzeugt" -! echo `date` +select now(),'Tabelle masken_protokoll erzeugt' +from xdummy; -! echo "Erzeuge Tabelle masken_prot_feld" -! echo `date` +select now(),'Erzeuge Tabelle masken_prot_feld' +from xdummy; create table masken_prot_feld( tid SERIAL not null, @@ -2317,13 +2391,13 @@ caption NVARCHAR(255) -! echo "Tabelle masken_prot_feld erzeugt" -! echo `date` +select now(),'Tabelle masken_prot_feld erzeugt' +from xdummy; -! echo "Erzeuge Tabelle data_upload" -! echo `date` +select now(),'Erzeuge Tabelle data_upload' +from xdummy; create table data_upload( tid SERIAL not null, @@ -2355,13 +2429,13 @@ processed_noted SMALLINT default 0 , -! echo "Tabelle data_upload erzeugt" -! echo `date` +select now(),'Tabelle data_upload erzeugt' +from xdummy; -! echo "Erzeuge Tabelle update_prot" -! echo `date` +select now(),'Erzeuge Tabelle update_prot' +from xdummy; create table update_prot( tid SERIAL not null, @@ -2378,13 +2452,13 @@ update_time datetime year to second , -! echo "Tabelle update_prot erzeugt" -! echo `date` +select now(),'Tabelle update_prot erzeugt' +from xdummy; -! echo "Erzeuge Tabelle update_prot_neu" -! echo `date` +select now(),'Erzeuge Tabelle update_prot_neu' +from xdummy; create table update_prot_neu( systeminfo_id INTEGER default 0 not null, @@ -2397,13 +2471,13 @@ updated_at datetime year to second -! echo "Tabelle update_prot_neu erzeugt" -! echo `date` +select now(),'Tabelle update_prot_neu erzeugt' +from xdummy; -! echo "Erzeuge Tabelle personattribute_neu" -! echo `date` +select now(),'Erzeuge Tabelle personattribute_neu' +from xdummy; create table personattribute_neu( id INTEGER not null, @@ -2422,13 +2496,13 @@ semester_bis INTEGER -! echo "Tabelle personattribute_neu erzeugt" -! echo `date` +select now(),'Tabelle personattribute_neu erzeugt' +from xdummy; -! echo "Erzeuge Tabelle personattribute" -! echo `date` +select now(),'Erzeuge Tabelle personattribute' +from xdummy; create table personattribute( person_id INTEGER not null, @@ -2446,13 +2520,13 @@ semester_bis INTEGER -! echo "Tabelle personattribute erzeugt" -! echo `date` +select now(),'Tabelle personattribute erzeugt' +from xdummy; -! echo "Erzeuge Tabelle personattributetype" -! echo `date` +select now(),'Erzeuge Tabelle personattributetype' +from xdummy; create table personattributetype( personattributetype_id INTEGER not null, @@ -2463,13 +2537,13 @@ attributevalue NVARCHAR(255) -! echo "Tabelle personattributetype erzeugt" -! echo `date` +select now(),'Tabelle personattributetype erzeugt' +from xdummy; -! echo "Erzeuge Tabelle personattribute_value_list" -! echo `date` +select now(),'Erzeuge Tabelle personattribute_value_list' +from xdummy; create table personattribute_value_list( personattributetype_id INTEGER not null, @@ -2483,13 +2557,13 @@ longtext NVARCHAR(255) -! echo "Tabelle personattribute_value_list erzeugt" -! echo `date` +select now(),'Tabelle personattribute_value_list erzeugt' +from xdummy; -! echo "Erzeuge Tabelle user_preset_values" -! echo `date` +select now(),'Erzeuge Tabelle user_preset_values' +from xdummy; create table user_preset_values( userinfo_id INTEGER , @@ -2503,13 +2577,13 @@ field_value NVARCHAR(255) , -! echo "Tabelle user_preset_values erzeugt" -! echo `date` +select now(),'Tabelle user_preset_values erzeugt' +from xdummy; -! echo "Erzeuge Tabelle sx_portlet" -! echo `date` +select now(),'Erzeuge Tabelle sx_portlet' +from xdummy; create table sx_portlet( tid SERIAL not null, @@ -2530,13 +2604,13 @@ gueltig_bis DATE default '01.01.3000' not null, -! echo "Tabelle sx_portlet erzeugt" -! echo `date` +select now(),'Tabelle sx_portlet erzeugt' +from xdummy; -! echo "Erzeuge Tabelle user_portlet_bez" -! echo `date` +select now(),'Erzeuge Tabelle user_portlet_bez' +from xdummy; create table user_portlet_bez( userinfo_id INTEGER , @@ -2549,13 +2623,13 @@ portlet_id INTEGER , -! echo "Tabelle user_portlet_bez erzeugt" -! echo `date` +select now(),'Tabelle user_portlet_bez erzeugt' +from xdummy; -! echo "Erzeuge Tabelle group_portlet_bez" -! echo `date` +select now(),'Erzeuge Tabelle group_portlet_bez' +from xdummy; create table group_portlet_bez( groupinfo_id INTEGER , @@ -2568,13 +2642,46 @@ portlet_id INTEGER , -! echo "Tabelle group_portlet_bez erzeugt" -! echo `date` +select now(),'Tabelle group_portlet_bez erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle kern_cifx_neu' +from xdummy; + +create table kern_cifx_neu( + key SMALLINT not null, +hs INTEGER not null, +apnr NVARCHAR(255) , +kurz CHAR(10) , +druck NVARCHAR(200) , +lang_1 NCHAR(255) , +astat CHAR(50) , +parent NVARCHAR(255) , +uniquename NVARCHAR(255) , +bund_apnr CHAR(10) , +d_akt_von DATE , +d_akt_bis DATE , +sourcesystem_id NVARCHAR(255) , +hiskey_id NVARCHAR(255) , +struktur_c CHAR(50) , +lid NVARCHAR(255) , +parent_lid NVARCHAR(255) , +sortorder INTEGER +) +; + + + + +select now(),'Tabelle kern_cifx_neu erzeugt' +from xdummy; -! echo "Erzeuge Tabelle sieve" -! echo `date` +select now(),'Erzeuge Tabelle sieve' +from xdummy; create table sieve( tid SERIAL not null, @@ -2583,6 +2690,9 @@ main_table VARCHAR(50) not null, order_by NVARCHAR(255) , sachgebiete_id INTEGER not null, systeminfo_id INTEGER not null, +post_processing TEXT , +post_insert TEXT , +finalize TEXT , active SMALLINT default 1 , hsnr SMALLINT , primary key (tid) @@ -2593,13 +2703,13 @@ hsnr SMALLINT , -! echo "Tabelle sieve erzeugt" -! echo `date` +select now(),'Tabelle sieve erzeugt' +from xdummy; -! echo "Erzeuge Tabelle sieve_column_def" -! echo `date` +select now(),'Erzeuge Tabelle sieve_column_def' +from xdummy; create table sieve_column_def( tid SERIAL not null, @@ -2614,7 +2724,7 @@ lookup_tab NVARCHAR(255) , lookup_joinsource NVARCHAR(255) , lookup_jointarget NVARCHAR(255) , lookup_target NVARCHAR(255) , -lookup_cond TEXT , +lookup_cond NVARCHAR(255) , lookup_func NVARCHAR(255) , hinweis NVARCHAR(255) , primary key (tid) @@ -2625,13 +2735,19 @@ hinweis NVARCHAR(255) , -! echo "Tabelle sieve_column_def erzeugt" -! echo `date` +select now(),'Erzeuge Index ix_sieve_column_defm' +from xdummy; +create unique index ix_sieve_column_defm on sieve_column_def (m_id ); -! echo "Erzeuge Tabelle sieve_column" -! echo `date` +select now(),'Tabelle sieve_column_def erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle sieve_column' +from xdummy; create table sieve_column( tid SERIAL not null, @@ -2648,13 +2764,13 @@ active SMALLINT default 1 , -! echo "Tabelle sieve_column erzeugt" -! echo `date` +select now(),'Tabelle sieve_column erzeugt' +from xdummy; -! echo "Erzeuge Tabelle sieve_field" -! echo `date` +select now(),'Erzeuge Tabelle sieve_field' +from xdummy; create table sieve_field( tid SERIAL not null, @@ -2673,13 +2789,13 @@ active SMALLINT default 1 , -! echo "Tabelle sieve_field erzeugt" -! echo `date` +select now(),'Tabelle sieve_field erzeugt' +from xdummy; -! echo "Erzeuge Tabelle sx_jobs" -! echo `date` +select now(),'Erzeuge Tabelle sx_jobs' +from xdummy; create table sx_jobs( tid SERIAL not null, @@ -2700,19 +2816,454 @@ check_sql TEXT , -! echo "Erzeuge Index ix_sx_jobs_un" -! echo `date` +select now(),'Erzeuge Index ix_sx_jobs_un' +from xdummy; create unique index ix_sx_jobs_un on sx_jobs (uniquename ); -! echo "Tabelle sx_jobs erzeugt" -! echo `date` +select now(),'Tabelle sx_jobs erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle orgunit_mapping' +from xdummy; + +create table orgunit_mapping( + apnr NVARCHAR(255) , +mapped_id NVARCHAR(255) , +uniquename NVARCHAR(255) not null, +lid NVARCHAR(255) +) +; + + + + +select now(),'Tabelle orgunit_mapping erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle implicit_orgunit_rights' +from xdummy; + +create table implicit_orgunit_rights( + userinfo_id INTEGER , +apnr NVARCHAR(255) , +uniquename NVARCHAR(255) not null, +lid NVARCHAR(255) +) +; + + + + +select now(),'Erzeuge Index ix_implicit_orgrights1' +from xdummy; + +create index ix_implicit_orgrights1 on implicit_orgunit_rights (userinfo_id ); + + +select now(),'Tabelle implicit_orgunit_rights erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle kern_pruefrout' +from xdummy; + +create table kern_pruefrout( + tid SERIAL , +datum DATE , +gueltig_von DATE , +gueltig_bis DATE , +tabelle_quelle CHAR(18) , +tabelle CHAR(18) , +problem NCHAR(255) , +aktion NCHAR(255) , + primary key (tid) + constraint ix_kern_pruef_tid +) +; + + + + +select now(),'Tabelle kern_pruefrout erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle masken_statistik' +from xdummy; + +create table masken_statistik( + id SERIAL not null, +tid INTEGER not null, +counter INTEGER , +first_call DATE , +last_call DATE , + primary key (id) + constraint masken_statistik_id +) +; + + + + +select now(),'Tabelle masken_statistik erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle dim_datum' +from xdummy; + +create table dim_datum( + id INTEGER not null, +year INTEGER , +month INTEGER , +day_of_month INTEGER , +day_of_week INTEGER , +day_of_year INTEGER , +week_of_year INTEGER , +day_name VARCHAR(25) , +month_name VARCHAR(25) , +quarter INTEGER , +weekend_ind CHAR(1) , +days_in_month INTEGER , +day_desc VARCHAR(25) , +day_date DATE , +semester VARCHAR(25) , +semester_key INTEGER , + primary key (id) + constraint dim_datum_id +) +; + + + + +select now(),'Erzeuge Index ix_dim_datum_day_date' +from xdummy; + +create index ix_dim_datum_day_date on dim_datum (day_date ); + + +select now(),'Tabelle dim_datum erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle hisinone_deleted_entity' +from xdummy; + +create table hisinone_deleted_entity( + person_id INTEGER , +matrikel_nr INTEGER , +entity NVARCHAR(255) , +deleted_in_hisinone datetime year to second , +deleted_in_bi datetime year to second , +job NVARCHAR(255) +) +; + + + + +select now(),'Tabelle hisinone_deleted_entity erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle etl_step' +from xdummy; + +create table etl_step( + tid SERIAL not null, +uniquename NVARCHAR(255) not null, +caption NVARCHAR(255) , +systeminfo_id INTEGER not null, +step_type_id INTEGER not null, +logfile NVARCHAR(255) , +custom_step SMALLINT default 1 , + primary key (tid) + constraint etl_step_pk +) +; + + + + +select now(),'Tabelle etl_step erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle etl_step_type' +from xdummy; + +create table etl_step_type( + tid SERIAL not null, +uniquename NVARCHAR(255) not null, +caption NVARCHAR(255) , +handler NVARCHAR(255) , + primary key (tid) + constraint etl_step_type_pk +) +; + + + + +select now(),'Tabelle etl_step_type erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle etl_step_type_param' +from xdummy; + +create table etl_step_type_param( + tid SERIAL not null, +etl_step_type_id INTEGER not null, +uniquename NVARCHAR(255) not null, +name NVARCHAR(255) , +param_default NVARCHAR(255) , + primary key (tid) + constraint etl_step_type_param_pk +) +; + + +select now(),'Tabelle etl_step_type_param erzeugt' +from xdummy; -! echo "Erzeuge Tabelle sx_mail" -! echo `date` + + +select now(),'Erzeuge Tabelle etl_step_property' +from xdummy; + +create table etl_step_property( + tid SERIAL not null, +etl_step_id INTEGER not null, +prop_name NVARCHAR(255) , +prop_value TEXT , + primary key (tid) + constraint etl_step_property_pk +) +; + + + + +select now(),'Tabelle etl_step_property erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle etl_step_relation' +from xdummy; + +create table etl_step_relation( + tid SERIAL not null, +step_id INTEGER not null, +parent_step_id INTEGER , +job_id INTEGER not null, +force_continue SMALLINT default 1 , +step_active SMALLINT default 1 , +sortnr INTEGER default 1 , +custom_step SMALLINT default 1 , + primary key (tid) + constraint etl_step_relation_pk +) +; + + + + +select now(),'Tabelle etl_step_relation erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle etl_job' +from xdummy; + +create table etl_job( + tid SERIAL not null, +uniquename NVARCHAR(255) not null, +caption NVARCHAR(255) , +systeminfo_id INTEGER not null, +logfile NVARCHAR(255) , +custom_job SMALLINT default 1 , + primary key (tid) + constraint etl_job_pk +) +; + + + + +select now(),'Erzeuge Index ix_etl_job1' +from xdummy; + +create unique index ix_etl_job1 on etl_job (uniquename ); + + +select now(),'Tabelle etl_job erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle etl_job_param' +from xdummy; + +create table etl_job_param( + tid SERIAL not null, +etl_job_id INTEGER not null, +uniquename NVARCHAR(255) not null, +name NVARCHAR(255) , +param_default NVARCHAR(255) , + primary key (tid) + constraint etl_job_param_pk +) +; + + + + +select now(),'Tabelle etl_job_param erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle k_astat_studienfach_land' +from xdummy; + +create table k_astat_studienfach_land( + schluessel NVARCHAR(255) , +gueltig_ab INTEGER , +land INTEGER , +version INTEGER , +sortkey INTEGER , +gueltig_bis INTEGER , +name NVARCHAR(255) , +isced NVARCHAR(255) , +keybund NVARCHAR(255) +) +; + + + + +select now(),'Tabelle k_astat_studienfach_land erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle k_astat_abschluss3steller_land' +from xdummy; + +create table k_astat_abschluss3steller_land( + schluessel NVARCHAR(255) not null, +gueltig_ab INTEGER , +land INTEGER , +version INTEGER , +sortkey INTEGER , +gueltig_bis INTEGER , +name NVARCHAR(255) , +sig2steller NVARCHAR(255) , +keybund NVARCHAR(255) +) +; + + + + +select now(),'Tabelle k_astat_abschluss3steller_land erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle k_astat_abschluss2steller' +from xdummy; + +create table k_astat_abschluss2steller( + schluessel NVARCHAR(255) not null, +name NVARCHAR(255) +) +; + + + + +select now(),'Tabelle k_astat_abschluss2steller erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle k_astat_studienbereich' +from xdummy; + +create table k_astat_studienbereich( + schluessel NVARCHAR(255) not null, +name NVARCHAR(255) , +fgr NVARCHAR(255) +) +; + + + + +select now(),'Tabelle k_astat_studienbereich erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle k_astat_studienfach' +from xdummy; + +create table k_astat_studienfach( + schluessel NVARCHAR(255) not null, +name NVARCHAR(255) , +sb NVARCHAR(255) +) +; + + + + +select now(),'Tabelle k_astat_studienfach erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle colorscheme' +from xdummy; + +create table colorscheme( + id SERIAL not null, +caption NVARCHAR(255) , +sortorder INTEGER , +colors NVARCHAR(255) +) +; + + + + +select now(),'Tabelle colorscheme erzeugt' +from xdummy; + + + +select now(),'Erzeuge Tabelle sx_mail' +from xdummy; create table sx_mail( tid SERIAL not null, @@ -2740,13 +3291,13 @@ daemon3_interval INTEGER -! echo "Tabelle sx_mail erzeugt" -! echo `date` +select now(),'Tabelle sx_mail erzeugt' +from xdummy; -! echo "Erzeuge View user_groups" -! echo `date` +select now(),'Erzeuge View user_groups' +from xdummy; create view user_groups( userinfo_id, @@ -2759,8 +3310,8 @@ and G.tid=B.groupinfo_id and U.akt_versuch <= U.max_versuch ; -! echo "Erzeuge View menu_element_fieldmode" -! echo `date` +select now(),'Erzeuge View menu_element_fieldmode' +from xdummy; create view menu_element_fieldmode( id, @@ -2780,8 +3331,8 @@ annotation) as ; -! echo "Erzeuge View menu_element_mandatory" -! echo `date` +select now(),'Erzeuge View menu_element_mandatory' +from xdummy; create view menu_element_mandatory( id, @@ -2802,8 +3353,8 @@ annotation) as ; -! echo "Erzeuge View menu_element_nature" -! echo `date` +select now(),'Erzeuge View menu_element_nature' +from xdummy; create view menu_element_nature( id, @@ -2824,22 +3375,22 @@ annotation) as ; -! echo "Erzeuge View menu_element_orgstructure" -! echo `date` +select now(),'Erzeuge View menu_element_orgstructure' +from xdummy; create view menu_element_orgstructure( orgstruktur, description) as - select element as orgstruktur, description - from menu_element + select element as orgstruktur, description + from menu_element where element='orgstruktur' ; -! echo "Erzeuge View user_inst_org" -! echo `date` +select now(),'Erzeuge View user_inst_org' +from xdummy; create view user_inst_org( userid, @@ -2864,8 +3415,8 @@ where O.key_apnr=U.ch110_institut ; -! echo "Erzeuge View hochschulen" -! echo `date` +select now(),'Erzeuge View hochschulen' +from xdummy; create view hochschulen( hs_nr, @@ -2888,8 +3439,8 @@ or trim(substring(apnr from 4 for 1)) ='') ; -! echo "Erzeuge View dimension_view" -! echo `date` +select now(),'Erzeuge View dimension_view' +from xdummy; create view dimension_view( id, @@ -2924,10 +3475,10 @@ SELECT D.tid as id, D.sourcefilter, D.system_key, ''::varchar(255) as view_reference, - ('select C.' || F.foreignkey_int || ' as id,T.sourcesystem_id, C.' || F.foreignkey_col || ' as apnr,C.' || F.foreignkey_cap || ' as name' + ('select C.' || F.foreignkey_int || ' as id,T.sourcesystem_id, C.' || F.foreignkey_col || ' as apnr,C.' || F.foreignkey_cap || ' as name' ||',' || D.system_key || '::integer as mschluessel,T.apnr as aschluessel,null::VARCHAR(255) as obj_guid ,null::integer as lock_version' || ' from ' || F.foreignkey_tab || ' C,trans_dim_bp_apnr T' - || ' where T.sourcesystem_id=C.' || F.foreignkey_col || '::varchar(255)' + || ' where T.sourcesystem_id=C.' || F.foreignkey_col || '::varchar(255)' || nvl(' and ' || F.foreignkey_cond || ' ','') || 'and ' || D.dimension_bp_id ||' =T.dimension_bp_id' )::lvarchar as sourcesql, @@ -2952,10 +3503,10 @@ SELECT D.tid as id, D.sourcefilter, D.system_key, ''::varchar(255) as view_reference, - ('select C.' || F.foreignkey_col || ' as id,T.sourcesystem_id, C.' || F.foreignkey_col || ' as apnr,C.' || F.foreignkey_cap || ' as name' + ('select C.' || F.foreignkey_col || ' as id,T.sourcesystem_id, C.' || F.foreignkey_col || ' as apnr,C.' || F.foreignkey_cap || ' as name' ||',' || D.system_key || '::integer as mschluessel,T.apnr as aschluessel,null::VARCHAR(255) as obj_guid ,null::integer as lock_version ' || 'from ' || F.foreignkey_tab || ' C,trans_dim_bp_apnr T ' - || 'where T.sourcesystem_id=C.' || F.foreignkey_col || '::varchar(255) ' + || 'where T.sourcesystem_id=C.' || F.foreignkey_col || '::varchar(255) ' || nvl(' and ' || F.foreignkey_cond || ' ','') || 'and ' || D.dimension_bp_id ||' =T.dimension_bp_id ' )::lvarchar as sourcesql, @@ -2984,7 +3535,7 @@ SELECT distinct T.tid+1000000 as id, null::VARCHAR(255) as obj_guid , null::integer as lock_version FROM dimension D inner join sx_tables T on (T.name=D.fact_table) - + union SELECT distinct T.tid+2000000 as id, D.dimension_bp_id, @@ -3005,12 +3556,12 @@ SELECT distinct T.tid+2000000 as id, null::integer as lock_version FROM dimension D inner join sx_tables T on (T.name=D.fact_table) where D.fact_table='sva_pers_cube' - and D.name='ca108_amtsbez' + and D.name='ca108_amtsbez' ; -! echo "Erzeuge View fact_table" -! echo `date` +select now(),'Erzeuge View fact_table' +from xdummy; create view fact_table( id, @@ -3037,8 +3588,8 @@ where T.name in (select distinct fact_table from dimension) ; -! echo "Erzeuge View dim_staat" -! echo `date` +select now(),'Erzeuge View dim_staat' +from xdummy; create view dim_staat( apnr, @@ -3048,7 +3599,7 @@ kontinent, inl_ausl_kurz, inl_ausl_lang) as -SELECT +SELECT apnr, druck, uniquename::integer as astat, @@ -3063,8 +3614,8 @@ and apnr !=0 --nur für Abwärtskompatibilität zu FLEDA ; -! echo "Erzeuge View dim_stg" -! echo `date` +select now(),'Erzeuge View dim_stg' +from xdummy; create view dim_stg( apnr, @@ -3075,7 +3626,7 @@ stg_ltxt, stg_astgrp, stg_astgrp_str) as -SELECT +SELECT apnr, druck, uniquename as stg, @@ -3091,8 +3642,8 @@ where dimension_bp_id=(select D.tid from dimension_bp D where D.apnr='bluep_stg' ; -! echo "Erzeuge View dim_abschluss" -! echo `date` +select now(),'Erzeuge View dim_abschluss' +from xdummy; create view dim_abschluss( apnr, @@ -3107,7 +3658,7 @@ abschlussart_str, abschluss_grp, abschluss_grp_str) as -SELECT +SELECT apnr, druck, uniquename as abschluss, @@ -3127,8 +3678,8 @@ where dimension_bp_id=(select D.tid from dimension_bp D where D.apnr='bluep_absc ; -! echo "Erzeuge View dim_kost" -! echo `date` +select now(),'Erzeuge View dim_kost' +from xdummy; create view dim_kost( apnr, @@ -3141,78 +3692,92 @@ key) as ); -! echo "Erzeuge View dim_kotr" -! echo `date` +select now(),'Erzeuge View dim_kotr' +from xdummy; create view dim_kotr( apnr, druck, key) as - SELECT dim_bp_apnr.apnr, dim_bp_apnr.druck, dim_bp_apnr.uniquename AS key + SELECT dim_bp_apnr.apnr, dim_bp_apnr.druck, dim_bp_apnr.uniquename AS key FROM dim_bp_apnr WHERE dim_bp_apnr.dimension_bp_id = ( SELECT d.tid FROM dimension_bp d WHERE d.apnr = 'bluep_kotr'); + + +select now(),'Erzeuge View dim_kreis' +from xdummy; + +create view dim_kreis( + apnr, +astat, +druck, +kfz, +bland_druck, +bland_kurz, +bland_astat) as + ; --Funktion / Prozedur sp_user_themen -! echo "Erzeuge Funktion sp_user_themen" -! echo `date` +select now(),'Erzeuge Funktion sp_user_themen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_sp_user_themen_ids.sql --Funktion / Prozedur sp_user_orga -! echo "Erzeuge Funktion sp_user_orga" -! echo `date` +select now(),'Erzeuge Funktion sp_user_orga' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_sp_user_orga_ids.sql --Funktion / Prozedur sp_user_orga_child -! echo "Erzeuge Funktion sp_user_orga_child" -! echo `date` +select now(),'Erzeuge Funktion sp_user_orga_child' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_sp_user_orga_child_ids.sql --Funktion / Prozedur day -! echo "Erzeuge Funktion day" -! echo `date` +select now(),'Erzeuge Funktion day' +from xdummy; --Funktion / Prozedur day -! echo "Erzeuge Funktion day" -! echo `date` +select now(),'Erzeuge Funktion day' +from xdummy; --Funktion / Prozedur month -! echo "Erzeuge Funktion month" -! echo `date` +select now(),'Erzeuge Funktion month' +from xdummy; --Funktion / Prozedur month -! echo "Erzeuge Funktion month" -! echo `date` +select now(),'Erzeuge Funktion month' +from xdummy; --Funktion / Prozedur year -! echo "Erzeuge Funktion year" -! echo `date` +select now(),'Erzeuge Funktion year' +from xdummy; --Funktion / Prozedur year -! echo "Erzeuge Funktion year" -! echo `date` +select now(),'Erzeuge Funktion year' +from xdummy; --Funktion / Prozedur week -! echo "Erzeuge Funktion week" -! echo `date` +select now(),'Erzeuge Funktion week' +from xdummy; CREATE FUNCTION week(dt date) @@ -3232,86 +3797,86 @@ END FUNCTION; --Funktion / Prozedur week -! echo "Erzeuge Funktion week" -! echo `date` +select now(),'Erzeuge Funktion week' +from xdummy; --Funktion / Prozedur second -! echo "Erzeuge Funktion second" -! echo `date` +select now(),'Erzeuge Funktion second' +from xdummy; --Funktion / Prozedur second -! echo "Erzeuge Funktion second" -! echo `date` +select now(),'Erzeuge Funktion second' +from xdummy; --Funktion / Prozedur minute -! echo "Erzeuge Funktion minute" -! echo `date` +select now(),'Erzeuge Funktion minute' +from xdummy; --Funktion / Prozedur minute -! echo "Erzeuge Funktion minute" -! echo `date` +select now(),'Erzeuge Funktion minute' +from xdummy; --Funktion / Prozedur hour -! echo "Erzeuge Funktion hour" -! echo `date` +select now(),'Erzeuge Funktion hour' +from xdummy; --Funktion / Prozedur hour -! echo "Erzeuge Funktion hour" -! echo `date` +select now(),'Erzeuge Funktion hour' +from xdummy; --Funktion / Prozedur current -! echo "Erzeuge Funktion current" -! echo `date` +select now(),'Erzeuge Funktion current' +from xdummy; --Funktion / Prozedur today -! echo "Erzeuge Funktion today" -! echo `date` +select now(),'Erzeuge Funktion today' +from xdummy; --Funktion / Prozedur suchen_ersetzen -! echo "Erzeuge Funktion suchen_ersetzen" -! echo `date` +select now(),'Erzeuge Funktion suchen_ersetzen' +from xdummy; --Funktion / Prozedur weekday -! echo "Erzeuge Funktion weekday" -! echo `date` +select now(),'Erzeuge Funktion weekday' +from xdummy; --Funktion / Prozedur weekday -! echo "Erzeuge Funktion weekday" -! echo `date` +select now(),'Erzeuge Funktion weekday' +from xdummy; --Funktion / Prozedur time_stamp -! echo "Erzeuge Funktion time_stamp" -! echo `date` +select now(),'Erzeuge Funktion time_stamp' +from xdummy; --Funktion / Prozedur date_val -! echo "Erzeuge Funktion date_val" -! echo `date` +select now(),'Erzeuge Funktion date_val' +from xdummy; create procedure date_val(datstr char(100)) returning date; @@ -3323,50 +3888,50 @@ END FUNCTION; --Funktion / Prozedur date -! echo "Erzeuge Funktion date" -! echo `date` +select now(),'Erzeuge Funktion date' +from xdummy; --Funktion / Prozedur nvl -! echo "Erzeuge Funktion nvl" -! echo `date` +select now(),'Erzeuge Funktion nvl' +from xdummy; --Funktion / Prozedur nvl -! echo "Erzeuge Funktion nvl" -! echo `date` +select now(),'Erzeuge Funktion nvl' +from xdummy; --Funktion / Prozedur nvl -! echo "Erzeuge Funktion nvl" -! echo `date` +select now(),'Erzeuge Funktion nvl' +from xdummy; --Funktion / Prozedur nvl -! echo "Erzeuge Funktion nvl" -! echo `date` +select now(),'Erzeuge Funktion nvl' +from xdummy; --Funktion / Prozedur nvl -! echo "Erzeuge Funktion nvl" -! echo `date` +select now(),'Erzeuge Funktion nvl' +from xdummy; --Funktion / Prozedur nvl -! echo "Erzeuge Funktion nvl" -! echo `date` +select now(),'Erzeuge Funktion nvl' +from xdummy; --Funktion / Prozedur now -! echo "Erzeuge Funktion now" -! echo `date` +select now(),'Erzeuge Funktion now' +from xdummy; create procedure now() returning datetime year to second; @@ -3376,14 +3941,14 @@ end procedure; --Funktion / Prozedur timestamp_to_date -! echo "Erzeuge Funktion timestamp_to_date" -! echo `date` +select now(),'Erzeuge Funktion timestamp_to_date' +from xdummy; --Funktion / Prozedur string_not_null -! echo "Erzeuge Funktion string_not_null" -! echo `date` +select now(),'Erzeuge Funktion string_not_null' +from xdummy; create procedure string_not_null(p_str char(255)) returning char(255); @@ -3393,32 +3958,32 @@ end procedure; --Funktion / Prozedur string_not_null -! echo "Erzeuge Funktion string_not_null" -! echo `date` +select now(),'Erzeuge Funktion string_not_null' +from xdummy; --Funktion / Prozedur string_not_null -! echo "Erzeuge Funktion string_not_null" -! echo `date` +select now(),'Erzeuge Funktion string_not_null' +from xdummy; --Funktion / Prozedur string_not_null -! echo "Erzeuge Funktion string_not_null" -! echo `date` +select now(),'Erzeuge Funktion string_not_null' +from xdummy; --Funktion / Prozedur timestamp_str -! echo "Erzeuge Funktion timestamp_str" -! echo `date` +select now(),'Erzeuge Funktion timestamp_str' +from xdummy; --Funktion / Prozedur date_str -! echo "Erzeuge Funktion date_str" -! echo `date` +select now(),'Erzeuge Funktion date_str' +from xdummy; CREATE procedure date_str(datum date) RETURNING varchar(255); return '' || datum; @@ -3426,14 +3991,14 @@ end procedure; --Funktion / Prozedur val -! echo "Erzeuge Funktion val" -! echo `date` +select now(),'Erzeuge Funktion val' +from xdummy; --Funktion / Prozedur val -! echo "Erzeuge Funktion val" -! echo `date` +select now(),'Erzeuge Funktion val' +from xdummy; create procedure val(p_str char(255)) @@ -3445,26 +4010,26 @@ end procedure; --Funktion / Prozedur val -! echo "Erzeuge Funktion val" -! echo `date` +select now(),'Erzeuge Funktion val' +from xdummy; --Funktion / Prozedur val -! echo "Erzeuge Funktion val" -! echo `date` +select now(),'Erzeuge Funktion val' +from xdummy; --Funktion / Prozedur val -! echo "Erzeuge Funktion val" -! echo `date` +select now(),'Erzeuge Funktion val' +from xdummy; --Funktion / Prozedur decval -! echo "Erzeuge Funktion decval" -! echo `date` +select now(),'Erzeuge Funktion decval' +from xdummy; create procedure decval(p_str varchar(255)) @@ -3475,14 +4040,14 @@ end procedure; --Funktion / Prozedur decval -! echo "Erzeuge Funktion decval" -! echo `date` +select now(),'Erzeuge Funktion decval' +from xdummy; --Funktion / Prozedur decval -! echo "Erzeuge Funktion decval" -! echo `date` +select now(),'Erzeuge Funktion decval' +from xdummy; create procedure decval(p_str char(255)) @@ -3493,399 +4058,442 @@ end procedure; --Funktion / Prozedur sp_filter_orga -! echo "Erzeuge Funktion sp_filter_orga" -! echo `date` +select now(),'Erzeuge Funktion sp_filter_orga' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_sp_filter_orga_ids.sql --Funktion / Prozedur sp_update_sequence -! echo "Erzeuge Funktion sp_update_sequence" -! echo `date` +select now(),'Erzeuge Funktion sp_update_sequence' +from xdummy; --Funktion / Prozedur sp_bool_to_smallint -! echo "Erzeuge Funktion sp_bool_to_smallint" -! echo `date` +select now(),'Erzeuge Funktion sp_bool_to_smallint' +from xdummy; --Funktion / Prozedur nvl -! echo "Erzeuge Funktion nvl" -! echo `date` +select now(),'Erzeuge Funktion nvl' +from xdummy; --Funktion / Prozedur nvl -! echo "Erzeuge Funktion nvl" -! echo `date` +select now(),'Erzeuge Funktion nvl' +from xdummy; --Funktion / Prozedur nvl -! echo "Erzeuge Funktion nvl" -! echo `date` +select now(),'Erzeuge Funktion nvl' +from xdummy; --Funktion / Prozedur nvl -! echo "Erzeuge Funktion nvl" -! echo `date` +select now(),'Erzeuge Funktion nvl' +from xdummy; --Funktion / Prozedur sp_get_subquery_str -! echo "Erzeuge Funktion sp_get_subquery_str" -! echo `date` +select now(),'Erzeuge Funktion sp_get_subquery_str' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_get_subquery_str_ids.sql --Funktion / Prozedur sp_get_keylist_str -! echo "Erzeuge Funktion sp_get_keylist_str" -! echo `date` +select now(),'Erzeuge Funktion sp_get_keylist_str' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_get_keylist_str_ids.sql --Funktion / Prozedur sp_get_keylist_str -! echo "Erzeuge Funktion sp_get_keylist_str" -! echo `date` +select now(),'Erzeuge Funktion sp_get_keylist_str' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_get_keylist_str_short_ids.sql --Funktion / Prozedur sp_get_benutzer -! echo "Erzeuge Funktion sp_get_benutzer" -! echo `date` +select now(),'Erzeuge Funktion sp_get_benutzer' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_get_benutzer_ids.sql --Funktion / Prozedur sp_trunc_string -! echo "Erzeuge Funktion sp_trunc_string" -! echo `date` +select now(),'Erzeuge Funktion sp_trunc_string' +from xdummy; --Funktion / Prozedur sp_trunc_string -! echo "Erzeuge Funktion sp_trunc_string" -! echo `date` +select now(),'Erzeuge Funktion sp_trunc_string' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_trunc_string_ids.sql --Funktion / Prozedur sp_table_exists -! echo "Erzeuge Funktion sp_table_exists" -! echo `date` +select now(),'Erzeuge Funktion sp_table_exists' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_sp_table_exists_ids.sql --Funktion / Prozedur sp_view_exists -! echo "Erzeuge Funktion sp_view_exists" -! echo `date` +select now(),'Erzeuge Funktion sp_view_exists' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_sp_view_exists_ids.sql --Funktion / Prozedur today -! echo "Erzeuge Funktion today" -! echo `date` +select now(),'Erzeuge Funktion today' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_today_ids.sql --Funktion / Prozedur to_number -! echo "Erzeuge Funktion to_number" -! echo `date` +select now(),'Erzeuge Funktion to_number' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_to_number_ids.sql --Funktion / Prozedur sp_get_dbform_right -! echo "Erzeuge Funktion sp_get_dbform_right" -! echo `date` +select now(),'Erzeuge Funktion sp_get_dbform_right' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_get_dbform_right_ids.sql - --Funktion / Prozedur sp_set_organigramm_eb + --Funktion / Prozedur add_sem -! echo "Erzeuge Funktion sp_set_organigramm_eb" -! echo `date` +select now(),'Erzeuge Funktion add_sem' +from xdummy; + +--Funktion / Prozedur sp_set_organigramm_eb + + +select now(),'Erzeuge Funktion sp_set_organigramm_eb' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_set_organigramm_eb_ids.sql --Funktion / Prozedur sp_set_organigramm_lehr -! echo "Erzeuge Funktion sp_set_organigramm_lehr" -! echo `date` +select now(),'Erzeuge Funktion sp_set_organigramm_lehr' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_set_organigramm_lehr_ids.sql + --Funktion / Prozedur trim_all_whitespace + + +select now(),'Erzeuge Funktion trim_all_whitespace' +from xdummy; + +! DOSQL $SUPERX_DIR/db/install/prozeduren/trim_all_whitespace_ids.sql --Install-Schritt: Füllen der Kernmodul-Tabellen -! echo "Lade Tabelle aggregierung" -! echo `date` +select now(),'Lade Tabelle aggregierung' +from xdummy; !sx_auto_upload_table.x aggregierung $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/aggregierung.unl -! echo "Lade Tabelle masken_felder_bez" -! echo `date` +select now(),'Lade Tabelle masken_felder_bez' +from xdummy; !sx_auto_upload_table.x masken_felder_bez $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/masken_felder_bez.unl -! echo "Lade Tabelle sachgebiete" -! echo `date` +select now(),'Lade Tabelle sachgebiete' +from xdummy; !sx_auto_upload_table.x sachgebiete $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/sachgebiete.unl -! echo "Lade Tabelle sachgeb_maske_bez" -! echo `date` +select now(),'Lade Tabelle sachgeb_maske_bez' +from xdummy; !sx_auto_upload_table.x sachgeb_maske_bez $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/sachgeb_maske_bez.unl -! echo "Lade Tabelle user_masken_bez" -! echo `date` +select now(),'Lade Tabelle user_masken_bez' +from xdummy; !sx_auto_upload_table.x user_masken_bez $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/user_masken_bez.unl -! echo "Lade Tabelle user_sachgeb_bez" -! echo `date` +select now(),'Lade Tabelle user_sachgeb_bez' +from xdummy; !sx_auto_upload_table.x user_sachgeb_bez $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/user_sachgeb_bez.unl -! echo "Lade Tabelle xdummy" -! echo `date` +select now(),'Lade Tabelle xdummy' +from xdummy; !sx_auto_upload_table.x xdummy $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/xdummy.unl -! echo "Lade Tabelle groupinfo" -! echo `date` +select now(),'Lade Tabelle groupinfo' +from xdummy; !sx_auto_upload_table.x groupinfo $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/groupinfo.unl -! echo "Lade Tabelle user_group_bez" -! echo `date` +select now(),'Lade Tabelle user_group_bez' +from xdummy; !sx_auto_upload_table.x user_group_bez $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/user_group_bez.unl -! echo "Lade Tabelle group_sachgeb_bez" -! echo `date` +select now(),'Lade Tabelle group_sachgeb_bez' +from xdummy; !sx_auto_upload_table.x group_sachgeb_bez $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/group_sachgeb_bez.unl -! echo "Lade Tabelle group_masken_bez" -! echo `date` +select now(),'Lade Tabelle group_masken_bez' +from xdummy; !sx_auto_upload_table.x group_masken_bez $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/group_masken_bez.unl -! echo "Lade Tabelle aggre_bland" -! echo `date` +select now(),'Lade Tabelle aggre_bland' +from xdummy; !sx_auto_upload_table.x aggre_bland $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/aggre_bland.unl -! echo "Lade Tabelle cif" -! echo `date` +select now(),'Lade Tabelle cif' +from xdummy; !sx_auto_upload_table.x cif $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/cif.unl -! echo "Lade Tabelle cifx" -! echo `date` +select now(),'Lade Tabelle cifx' +from xdummy; !sx_auto_upload_table.x cifx $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/cifx.unl -! echo "Lade Tabelle felderinfo" -! echo `date` +select now(),'Lade Tabelle felderinfo' +from xdummy; !sx_auto_upload_table.x felderinfo $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/felderinfo.unl -! echo "Lade Tabelle hochschulinfo" -! echo `date` +select now(),'Lade Tabelle hochschulinfo' +from xdummy; !sx_auto_upload_table.x hochschulinfo $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/hochschulinfo.unl -! echo "Lade Tabelle maske_system_bez" -! echo `date` +select now(),'Lade Tabelle maske_system_bez' +from xdummy; !sx_auto_upload_table.x maske_system_bez $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/maske_system_bez.unl -! echo "Lade Tabelle maskeninfo" -! echo `date` +select now(),'Lade Tabelle maskeninfo' +from xdummy; !sx_auto_upload_table.x maskeninfo $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/maskeninfo.unl -! echo "Lade Tabelle proto_funktion" -! echo `date` +select now(),'Lade Tabelle proto_funktion' +from xdummy; !sx_auto_upload_table.x proto_funktion $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/proto_funktion.unl -! echo "Lade Tabelle systeminfo" -! echo `date` +select now(),'Lade Tabelle systeminfo' +from xdummy; !sx_auto_upload_table.x systeminfo $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/systeminfo.unl -! echo "Lade Tabelle user_einstellungen" -! echo `date` +select now(),'Lade Tabelle user_einstellungen' +from xdummy; !sx_auto_upload_table.x user_einstellungen $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/user_einstellungen.unl -! echo "Lade Tabelle userinfo" -! echo `date` +select now(),'Lade Tabelle userinfo' +from xdummy; !sx_auto_upload_table.x userinfo $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/userinfo.unl -! echo "Lade Tabelle themenbaum" -! echo `date` +select now(),'Lade Tabelle themenbaum' +from xdummy; !sx_auto_upload_table.x themenbaum $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/themenbaum.unl -! echo "Lade Tabelle themenbaum_bak" -! echo `date` +select now(),'Lade Tabelle themenbaum_bak' +from xdummy; !sx_auto_upload_table.x themenbaum_bak $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/themenbaum_bak.unl -! echo "Lade Tabelle nachricht" -! echo `date` +select now(),'Lade Tabelle nachricht' +from xdummy; !sx_auto_upload_table.x nachricht $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/nachricht.unl -! echo "Lade Tabelle menu_element" -! echo `date` +select now(),'Lade Tabelle menu_element' +from xdummy; !sx_auto_upload_table.x menu_element $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/menu_element.unl -! echo "Lade Tabelle organigramm" -! echo `date` +select now(),'Lade Tabelle organigramm' +from xdummy; !sx_auto_upload_table.x organigramm $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/organigramm.unl -! echo "Lade Tabelle organigramm_bak" -! echo `date` +select now(),'Lade Tabelle organigramm_bak' +from xdummy; !sx_auto_upload_table.x organigramm_bak $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/organigramm_bak.unl -! echo "Lade Tabelle user_institution" -! echo `date` +select now(),'Lade Tabelle user_institution' +from xdummy; !sx_auto_upload_table.x user_institution $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/user_institution.unl -! echo "Lade Tabelle protokoll" -! echo `date` +select now(),'Lade Tabelle protokoll' +from xdummy; !sx_auto_upload_table.x protokoll $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/protokoll.unl -! echo "Lade Tabelle trans_inst" -! echo `date` +select now(),'Lade Tabelle trans_inst' +from xdummy; !sx_auto_upload_table.x trans_inst $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/trans_inst.unl -! echo "Lade Tabelle konstanten" -! echo `date` +select now(),'Lade Tabelle konstanten' +from xdummy; !sx_auto_upload_table.x konstanten $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/konstanten.unl -! echo "Lade Tabelle lehreinheit_inst" -! echo `date` +select now(),'Lade Tabelle lehreinheit_inst' +from xdummy; !sx_auto_upload_table.x lehreinheit_inst $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/lehreinheit_inst.unl -! echo "Lade Tabelle sx_mask_style" -! echo `date` +select now(),'Lade Tabelle sx_mask_style' +from xdummy; !sx_auto_upload_table.x sx_mask_style $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/sx_mask_style.unl -! echo "Lade Tabelle sichten" -! echo `date` +select now(),'Lade Tabelle sichten' +from xdummy; !sx_auto_upload_table.x sichten $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/sichten.unl -! echo "Lade Tabelle fm_templates" -! echo `date` +select now(),'Lade Tabelle fm_templates' +from xdummy; !sx_auto_upload_table.x fm_templates $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/fm_templates.unl -! echo "Lade Tabelle sx_captions" -! echo `date` +select now(),'Lade Tabelle sx_captions' +from xdummy; !sx_auto_upload_table.x sx_captions $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/sx_captions.unl -! echo "Lade Tabelle sx_portlet" -! echo `date` +select now(),'Lade Tabelle sx_portlet' +from xdummy; !sx_auto_upload_table.x sx_portlet $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/sx_portlet.unl -! echo "Lade Tabelle sx_repository" -! echo `date` +select now(),'Lade Tabelle sx_repository' +from xdummy; !sx_auto_upload_table.x sx_repository $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/sx_repository.unl -! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/macro_masken_bez_fuellen.sql ausführen" -! echo `date` +select now(),'Lade Tabelle k_astat_studienfach_land' +from xdummy; + +!sx_auto_upload_table.x k_astat_studienfach_land $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/k_astat_studienfach_land.unl + + +select now(),'Lade Tabelle k_astat_abschluss3steller_land' +from xdummy; + +!sx_auto_upload_table.x k_astat_abschluss3steller_land $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/k_astat_abschluss3steller_land.unl + + +select now(),'Lade Tabelle k_astat_abschluss2steller' +from xdummy; + +!sx_auto_upload_table.x k_astat_abschluss2steller $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/k_astat_abschluss2steller.unl + + +select now(),'Lade Tabelle k_astat_studienfach' +from xdummy; + +!sx_auto_upload_table.x k_astat_studienfach $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/k_astat_studienfach.unl + + +select now(),'Lade Tabelle k_astat_studienbereich' +from xdummy; + +!sx_auto_upload_table.x k_astat_studienbereich $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/k_astat_studienbereich.unl + + +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/macro_masken_bez_fuellen.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/macro_masken_bez_fuellen.sql -! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/sx_stylesheets_fuellen_init.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/sx_stylesheets_fuellen_init.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/sx_stylesheets_fuellen_init.sql --Integrieren: -! echo "Fülle db_version" -! echo `date` +select now(),'Fülle db_version' +from xdummy; delete from db_version where his_system='kern'; -insert into db_version (his_system,version) values('kern','4.9'); +insert into db_version (his_system,version,systeminfo_id) values('kern','5.0',9); -! echo "Fülle db_tabellen" -! echo `date` +select now(),'Fülle db_tabellen' +from xdummy; delete from db_tabellen where name='sichtart_rechttabelle'; insert into db_tabellen (name,protokollierung) values('sichtart_rechttabelle',0); @@ -3943,6 +4551,8 @@ delete from db_tabellen where name='trans_cifx'; insert into db_tabellen (name,protokollierung) values('trans_cifx',0); delete from db_tabellen where name='trans_cif'; insert into db_tabellen (name,protokollierung) values('trans_cif',0); +delete from db_tabellen where name='cifx_customize'; +insert into db_tabellen (name,protokollierung) values('cifx_customize',0); delete from db_tabellen where name='felderinfo'; insert into db_tabellen (name,protokollierung) values('felderinfo',0); delete from db_tabellen where name='hochschulinfo'; @@ -3993,6 +4603,8 @@ delete from db_tabellen where name='sx_stylesheets'; insert into db_tabellen (name,protokollierung) values('sx_stylesheets',0); delete from db_tabellen where name='sx_mask_style'; insert into db_tabellen (name,protokollierung) values('sx_mask_style',0); +delete from db_tabellen where name='sx_stylesheet_param'; +insert into db_tabellen (name,protokollierung) values('sx_stylesheet_param',0); delete from db_tabellen where name='sx_captions'; insert into db_tabellen (name,protokollierung) values('sx_captions',0); delete from db_tabellen where name='fm_templates'; @@ -4081,6 +4693,8 @@ delete from db_tabellen where name='user_portlet_bez'; insert into db_tabellen (name,protokollierung) values('user_portlet_bez',0); delete from db_tabellen where name='group_portlet_bez'; insert into db_tabellen (name,protokollierung) values('group_portlet_bez',0); +delete from db_tabellen where name='kern_cifx_neu'; +insert into db_tabellen (name,protokollierung) values('kern_cifx_neu',0); delete from db_tabellen where name='sieve'; insert into db_tabellen (name,protokollierung) values('sieve',0); delete from db_tabellen where name='sieve_column_def'; @@ -4091,23 +4705,63 @@ delete from db_tabellen where name='sieve_field'; insert into db_tabellen (name,protokollierung) values('sieve_field',0); delete from db_tabellen where name='sx_jobs'; insert into db_tabellen (name,protokollierung) values('sx_jobs',0); +delete from db_tabellen where name='orgunit_mapping'; +insert into db_tabellen (name,protokollierung) values('orgunit_mapping',0); +delete from db_tabellen where name='implicit_orgunit_rights'; +insert into db_tabellen (name,protokollierung) values('implicit_orgunit_rights',0); +delete from db_tabellen where name='kern_pruefrout'; +insert into db_tabellen (name,protokollierung) values('kern_pruefrout',0); +delete from db_tabellen where name='masken_statistik'; +insert into db_tabellen (name,protokollierung) values('masken_statistik',0); +delete from db_tabellen where name='dim_datum'; +insert into db_tabellen (name,protokollierung) values('dim_datum',0); +delete from db_tabellen where name='hisinone_deleted_entity'; +insert into db_tabellen (name,protokollierung) values('hisinone_deleted_entity',0); +delete from db_tabellen where name='etl_step'; +insert into db_tabellen (name,protokollierung) values('etl_step',0); +delete from db_tabellen where name='etl_step_type'; +insert into db_tabellen (name,protokollierung) values('etl_step_type',0); +delete from db_tabellen where name='etl_step_type_param'; +insert into db_tabellen (name,protokollierung) values('etl_step_type_param',0); +delete from db_tabellen where name='etl_step_property'; +insert into db_tabellen (name,protokollierung) values('etl_step_property',0); +delete from db_tabellen where name='etl_step_relation'; +insert into db_tabellen (name,protokollierung) values('etl_step_relation',0); +delete from db_tabellen where name='etl_job'; +insert into db_tabellen (name,protokollierung) values('etl_job',0); +delete from db_tabellen where name='etl_job_param'; +insert into db_tabellen (name,protokollierung) values('etl_job_param',0); +delete from db_tabellen where name='k_astat_studienfach_land'; +insert into db_tabellen (name,protokollierung) values('k_astat_studienfach_land',0); +delete from db_tabellen where name='k_astat_abschluss3steller_land'; +insert into db_tabellen (name,protokollierung) values('k_astat_abschluss3steller_land',0); +delete from db_tabellen where name='k_astat_abschluss2steller'; +insert into db_tabellen (name,protokollierung) values('k_astat_abschluss2steller',0); +delete from db_tabellen where name='k_astat_studienbereich'; +insert into db_tabellen (name,protokollierung) values('k_astat_studienbereich',0); +delete from db_tabellen where name='k_astat_studienfach'; +insert into db_tabellen (name,protokollierung) values('k_astat_studienfach',0); +delete from db_tabellen where name='colorscheme'; +insert into db_tabellen (name,protokollierung) values('colorscheme',0); delete from db_tabellen where name='sx_mail'; insert into db_tabellen (name,protokollierung) values('sx_mail',0); -! echo "Fülle sachgebiete, systeminfo und themenbaum" -! echo `date` +select now(),'Fülle sachgebiete, systeminfo und themenbaum' +from xdummy; --Das Sachgebiet wird erzeugt, ggf. vorherige Sachgebiete sichern. -delete from sachgebiete where tid=0; -insert into sachgebiete(tid,name) values (0,'Administration'); --- den admins die Rechte geben -delete from group_sachgeb_bez where sachgebiete_id=0; + +insert into sachgebiete(tid,name) select 0,'Administration' +from xdummy +where 0=(select count(*) from sachgebiete S where S.tid=0); insert into group_sachgeb_bez -select G.tid,0 from groupinfo G where G.name='Administratoren' or G.name='superx' ; +select G.tid,0 from groupinfo G +where (G.name='Administratoren' or G.name='superx') +and 0=(select count(*) from group_sachgeb_bez G where G.sachgebiete_id=0); -- his1 rightname fuer Sachgebiete nachtragen @@ -4119,13 +4773,16 @@ update sachgebiete set rightname='CS_BIA_ADMINISTRATE_TOPIC_AREA[CORE_OU]' where update sachgebiete set rightname='CS_BIA_ADMINISTRATE_TOPIC_AREA[CORE_USERINFO]' where tid=53; update sachgebiete set rightname='CS_BIA_ADMINISTRATE_TOPIC_AREA[CORE_LOAD]' where tid=54; - -- wird auch noch mal als template aufgerufen in sx_tables_fuellen.sql vergl. http://ics/ilias3/goto.php?target=wiki_40_SingleSignOn-Rechteuebernahme&client_id=memtext --Das system wird erzeugt, ggf. vorherige systeme sichern. -delete from systeminfo where tid=9; -insert into systeminfo(tid,name,datum) values (9,'Administration',date('1.1.1900')); + -- wird auch noch mal als template aufgerufen in sx_tables_fuellen.sql --Das system wird erzeugt, ggf. vorherige systeme sichern. +insert into systeminfo(tid,name,datum) select 9,'Administration',date('1.1.1900') +from xdummy +where 0=(select count(*) from systeminfo S where S.tid=9); -! echo "Das Thema und die Masken in den Themenbaum einfügen" -! echo `date` + + +select now(),'Das Thema und die Masken in den Themenbaum einfügen' +from xdummy; --Das Thema und die Masken in den Themenbaum einfügen @@ -4157,8 +4814,8 @@ create temp table tmp_themenbaum -! echo "root für das Modul einfügen und in den Themenbaum einhängen:" -! echo `date` +select now(),'root für das Modul einfügen und in den Themenbaum einhängen:' +from xdummy; insert into tmp_themenbaum @@ -4214,6 +4871,18 @@ insert into tmp_themenbaum(name, parentname, gueltig_seit,gueltig_bis,erlaeuteru --gibt es das Thema schon? delete from tmp_themenbaum where name in (select T.name from themenbaum T where T.name='Benutzer' or T.name='Administration'); +insert into tmp_themenbaum(name, parentname, gueltig_seit,gueltig_bis,erlaeuterung) + values('Entwicklung','Administration','01.01.1900','01.01.3000','Spezielle Funktionen für die Entwicklung'); + +--gibt es das Thema schon? +delete from tmp_themenbaum where name in (select T.name from themenbaum T where T.name='Entwicklung' +or T.name='Administration'); +insert into tmp_themenbaum(name, parentname, gueltig_seit,gueltig_bis,erlaeuterung) + values('Stammdaten verwalten','Administration','01.01.1900','01.01.3000','Abfragen zur Stammdatenverwaltung'); + +--gibt es das Thema schon? +delete from tmp_themenbaum where name in (select T.name from themenbaum T where T.name='Stammdaten verwalten' +or T.name='Administration'); --root für das Modul einfügen und in den Themenbaum einhängen --update themenbaum_bak set parent=(select tid from themenbaum where parent is null) @@ -4227,8 +4896,8 @@ or T.name='Administration'); --Nun die einzelnen Masken -! echo "Nun die einzelnen Masken:" -! echo `date` +select now(),'Nun die einzelnen Masken:' +from xdummy; insert into tmp_themenbaum @@ -4273,12 +4942,6 @@ insert into tmp_themenbaum gueltig_bis) values('Feld suchen','70570','Felder','01.01.1900','01.01.3000'); -insert into tmp_themenbaum -( name ,maskeninfo_id, parentname, - gueltig_seit , - gueltig_bis) -values('User einrichten','70970','Benutzer verwalten','01.01.1900','01.01.3000'); - insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, gueltig_seit , @@ -4331,7 +4994,7 @@ insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, gueltig_seit , gueltig_bis) -values('Institution suchen','71080','Administration','01.01.1900','01.01.3000'); +values('Organisationseinheiten suchen','71080','Administration','01.01.1900','01.01.3000'); insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, @@ -4391,7 +5054,7 @@ insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, gueltig_seit , gueltig_bis) -values('Entladeparameter suchen','71260','Administration','01.01.1900','01.01.3000'); +values('Entladeparameter bearbeiten','71260','Administration','01.01.1900','01.01.3000'); insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, @@ -4453,12 +5116,24 @@ insert into tmp_themenbaum gueltig_bis) values('Bericht Gruppenrahmen','71440','Benutzerinfo verwalten','01.01.1900','01.01.3000'); +insert into tmp_themenbaum +( name ,maskeninfo_id, parentname, + gueltig_seit , + gueltig_bis) +values('Organigrammquelle bearbeiten','71480','Administration','01.01.1900','01.01.3000'); + insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, gueltig_seit , gueltig_bis) values('Konstanten bearbeiten','71500','Administration','01.01.1900','01.01.3000'); +insert into tmp_themenbaum +( name ,maskeninfo_id, parentname, + gueltig_seit , + gueltig_bis) +values('Datensieb erstellen','71520','Administration','01.01.1900','01.01.3000'); + insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, gueltig_seit , @@ -4475,20 +5150,38 @@ insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, gueltig_seit , gueltig_bis) -values('Datenanalyse Würfel entwerfen','71580','Masken verwalten','01.01.1900','01.01.3000'); +values('Stammdatenverwaltung','71620','Administration','01.01.1900','01.01.3000'); insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, gueltig_seit , gueltig_bis) -values('Stammdatenverwaltung','71620','Administration','01.01.1900','01.01.3000'); +values('OrgUnitTests','71640','Entwicklung','01.01.1900','01.01.3000'); + +insert into tmp_themenbaum +( name ,maskeninfo_id, parentname, + gueltig_seit , + gueltig_bis) +values('Prüfprotokoll Administration','71660','Administration','01.01.1900','01.01.3000'); + +insert into tmp_themenbaum +( name ,maskeninfo_id, parentname, + gueltig_seit , + gueltig_bis) +values('Nutzungsstatistik - Berichte','71680','Administration','01.01.1900','01.01.3000'); + +insert into tmp_themenbaum +( name ,maskeninfo_id, parentname, + gueltig_seit , + gueltig_bis) +values('Gastzugang einrichten','71770','Administration','01.01.1900','01.01.3000'); --gibt es die Maske schon? delete from tmp_themenbaum where maskeninfo_id in (select T.maskeninfo_id from themenbaum T); -! echo "Die einzelnen Masken sind eingefügt." -! echo `date` +select now(),'Die einzelnen Masken sind eingefügt.' +from xdummy; @@ -4514,10 +5207,12 @@ update themenbaum set erlaeuterung='Abfragen zur Maskenverwaltung' where name='M update themenbaum set erlaeuterung='Uploads/Downloads verwalten' where name='Uploads/Downloads verwalten'; update themenbaum set erlaeuterung='Abfragen zur Feld-Verwaltung' where name='Felder'; update themenbaum set erlaeuterung='Benutzereinstellungen (Passwort ändern etc.)' where name='Benutzer'; +update themenbaum set erlaeuterung='Spezielle Funktionen für die Entwicklung' where name='Entwicklung'; +update themenbaum set erlaeuterung='Abfragen zur Stammdatenverwaltung' where name='Stammdaten verwalten'; -! echo "db_forms einfügen" -! echo `date` +select now(),'db_forms einfügen' +from xdummy; CREATE temp TABLE tmp_db_forms ( @@ -4529,109 +5224,115 @@ CREATE temp TABLE tmp_db_forms ( description character(255) ); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sachgebiete','sachgebiete','/edit/kern/sachgebiete_edit.jsp','Sachgebiete verwalten','In diesem Formular können Sie Sachgebiete verwalten.'); +values ('sachgebiete','sachgebiete','/edit/kern/sachgebiete_edit.jsp','Sachgebiete verwalten'::varchar(200),'In diesem Formular können Sie Sachgebiete verwalten.'::varchar(255)); +insert into tmp_db_forms (name, tablename,form_path,caption,description) +values ('sx_stylesheets','sx_stylesheets','/edit/kern/sx_stylesheets_edit.jsp','Stylesheets verwalten'::varchar(200),'In diesem Formular können Sie XSL-Stylesheets verwalten.'::varchar(255)); +insert into tmp_db_forms (name, tablename,form_path,caption,description) +values ('organigramm','organigramm','/edit/kern/organigramm_edit.jsp','Organigramm verwalten'::varchar(200),'In diesem Formular können Sie Organisationseinheiten verwalten.'::varchar(255)); +insert into tmp_db_forms (name, tablename,form_path,caption,description) +values ('organigramm_nodeattrib','organigramm','/edit/kern/organigramm_editnodeattrib.jsp','Organigramm Sichtbarkeit verwalten'::varchar(200),'In diesem Formular können Sie die Sichtbarkeit von Organisationseinheiten verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_stylesheets','sx_stylesheets','/edit/kern/sx_stylesheets_edit.jsp','Stylesheets verwalten','In diesem Formular können Sie XSL-Stylesheets verwalten.'); +values ('maskeninfo','maskeninfo','/edit/kern/maskeninfo_edit.jsp','Maskeninfo verwalten'::varchar(200),'In diesem Formular können Sie Maskendefinitionen verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('organigramm','organigramm','/edit/kern/organigramm_edit.jsp','Organigramm verwalten','In diesem Formular können Sie Institutionen verwalten.'); +values ('macro_feld_wert_list','macro_feld_wert','/edit/kern/macro_feld_wert_list.jsp','Feld-Vorbelegung von Makro-Masken'::varchar(200),'In diesem Formular können Sie Feld-Vorbelegung von Makro-Masken verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('organigramm_nodeattrib','organigramm','/edit/kern/organigramm_editnodeattrib.jsp','Organigramm Sichtbarkeit verwalten','In diesem Formular können Sie die Sichtbarkeit von Organisationseinheiten verwalten.'); +values ('felderinfo','felderinfo','/edit/kern/felderinfo_edit.jsp','Felderinfo verwalten'::varchar(200),'In diesem Formular können Sie Felder verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('maskeninfo','maskeninfo','/edit/kern/maskeninfo_edit.jsp','Maskeninfo verwalten','In diesem Formular können Sie Masken verwalten.'); +values ('systeminfo','systeminfo','/edit/kern/systeminfo_edit.jsp','Systeminfo verwalten'::varchar(200),'In diesem Formular können Sie Quellsysteme verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('felderinfo','felderinfo','/edit/kern/felderinfo_edit.jsp','Felderinfo verwalten','In diesem Formular können Sie Felder verwalten.'); +values ('user_sachgeb_bez','user_sachgeb_bez','/edit/kern/user_sachgeb_bez_edit.jsp','Benutzer und Sachgebiete verwalten'::varchar(200),'In diesem Formular können Sie Benutzern Sachgebietsrechte geben. Achtung: Einträge von externem System (HisInOne) werden bei Neuanmeldung überschrieben'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('systeminfo','systeminfo','/edit/kern/systeminfo_edit.jsp','Systeminfo verwalten','In diesem Formular können Sie Quellsysteme verwalten.'); +values ('user_group_bez','user_group_bez','/edit/kern/user_group_bez_edit.jsp','Benutzer und Gruppen verwalten'::varchar(200),'In diesem Formular können Sie Benutzer zu Gruppen zuordnen. Achtung: Zuordnung zur Gruppe Administratoren für admins von externem System (HisInOne) werden bei Neuanmeldung überschrieben'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('user_sachgeb_bez','user_sachgeb_bez','/edit/kern/user_sachgeb_bez_edit.jsp','Benutzer und Sachgebiete verwalten','In diesem Formular können Sie Benutzern Sachgebietsrechte geben. Achtung: Einträge von externem System (HisInOne) werden bei Neuanmeldung überschrieben'); +values ('user_masken_bez','user_masken_bez','/edit/kern/user_masken_bez_edit.jsp','Maskenrechte von Benutzern'::varchar(200),'In diesem Formular können Sie Benutzern Rechte auf einzelne Masken geben.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('user_group_bez','user_group_bez','/edit/kern/user_group_bez_edit.jsp','Benutzer und Gruppen verwalten','In diesem Formular können Sie Benutzer zu Gruppen zuordnen. Achtung: Zuordnung zur Gruppe Administratoren für admins von externem System (HisInOne) werden bei Neuanmeldung überschrieben'); +values ('user_institution','user_institution','/edit/kern/user_institution_edit.jsp','Institutionsrechte von Benutzern'::varchar(200),'In diesem Formular können Sie Benutzern Rechte auf einzelne Insitutionen geben. Achtung: Einträge von externem System (HisInOne) werden bei Neuanmeldung überschrieben'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('user_masken_bez','user_masken_bez','/edit/kern/user_masken_bez_edit.jsp','Maskenrechte von Benutzern','In diesem Formular können Sie Benutzern Rechte auf einzelne Masken geben.'); +values ('themenbaum_edit','themenbaum','/edit/kern/themenbaum_edit.jsp','Themenbaum'::varchar(200),'In diesem Formular können Sie den Themenbaum bearbeiten. Bitte beachten Sie: bei Änderungen muss der Themenbaum neu geladen werden (SuperXManager)'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('user_institution','user_institution','/edit/kern/user_institution_edit.jsp','Institutionsrechte von Benutzern','In diesem Formular können Sie Benutzern Rechte auf einzelne Insitutionen geben. Achtung: Einträge von externem System (HisInOne) werden bei Neuanmeldung überschrieben'); +values ('sichten','sichten','/edit/kern/sichten_edit.jsp','Sichten'::varchar(200),'In diesem Formular können Sie Sichten auf das Organigramm verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('themenbaum_edit','themenbaum','/edit/kern/themenbaum_edit.jsp','Themenbaum','In diesem Formular können Sie den Themenbaum bearbeiten. Bitte beachten Sie: bei Änderungen muss der Themenbaum neu geladen werden (SuperXManager)'); +values ('sachgeb_maske_bez','sachgeb_maske_bez','/edit/kern/sachgeb_maske_bez_edit.jsp','Masken und Sachgebiete'::varchar(200),'In diesem Formular können Sie Masken zu Sachgebieten zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sichten','sichten','/edit/kern/sichten_edit.jsp','Sichten','In diesem Formular können Sie Sichten auf das Organigramm verwalten.'); +values ('masken_felder_bez','masken_felder_bez','/edit/kern/masken_felder_bez_edit.jsp','Masken und Felder'::varchar(200),'In diesem Formular können Sie Felder zu Masken zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sachgeb_maske_bez','sachgeb_maske_bez','/edit/kern/sachgeb_maske_bez_edit.jsp','Masken und Sachgebiete','In diesem Formular können Sie Masken zu Sachgebieten zuordnen.'); +values ('maske_system_bez','maske_system_bez','/edit/kern/maske_system_bez_edit.jsp','Masken und Systeme'::varchar(200),'In diesem Formular können Sie Masken zu Quellsystemen zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('masken_felder_bez','masken_felder_bez','/edit/kern/masken_felder_bez_edit.jsp','Masken und Felder','In diesem Formular können Sie Felder zu Masken zuordnen.'); +values ('macro_masken_bez','macro_masken_bez','/edit/kern/macro_masken_bez_edit.jsp','Masken und Makros'::varchar(200),'In diesem Formular können Sie Masken zu Makros zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('maske_system_bez','maske_system_bez','/edit/kern/maske_system_bez_edit.jsp','Masken und Systeme','In diesem Formular können Sie Masken zu Quellsystemen zuordnen.'); +values ('macro_masken_bez_list','macro_masken_bez','/edit/kern/macro_masken_bez_list.jsp','Masken und Makros'::varchar(200),'In diesem Formular können Sie Masken zu Makros zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('macro_masken_bez','macro_masken_bez','/edit/kern/macro_masken_bez_edit.jsp','Masken und Makros (Einzelbearbeitung)','In diesem Formular können Sie Masken zu Makros zuordnen.'); +values ('konstanten','konstanten','/edit/kern/konstanten_edit.jsp','Konstanten'::varchar(200),'In diesem Formular können Sie Konstanten verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('macro_masken_bez_list','macro_masken_bez','/edit/kern/macro_masken_bez_list.jsp','Masken und Makros (Liste)','In diesem Formular können Sie Masken zu Makros zuordnen.'); +values ('konstante','konstanten','/edit/kern/konstante_edit.jsp','Konstante verwalten'::varchar(200),''::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('konstanten','konstanten','/edit/kern/konstanten_edit.jsp','Konstanten','In diesem Formular können Sie Konstanten verwalten.'); +values ('hochschulinfo','hochschulinfo','/edit/kern/hochschulinfo_edit.jsp','Hochschulinfo'::varchar(200),'In diesem Formular können Infos zu Ihrer Hochschule speichern. Bitte ordnen Sie Ihre Hochschule im Feld Hochschulnummer (HIS) zu.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('konstante','konstanten','/edit/kern/konstante_edit.jsp','Konstante verwalten',''); +values ('group_sachgeb_bez','group_sachgeb_bez','/edit/kern/group_sachgeb_bez_edit.jsp','Gruppen und Sachgebiete'::varchar(200),'In diesem Formular können Sie Gruppen zu Sachgebieten zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('hochschulinfo','hochschulinfo','/edit/kern/hochschulinfo_edit.jsp','Hochschulinfo','In diesem Formular können Infos zu Ihrer Hochschule speichern. Bitte ordnen Sie Ihre Hochschule im Feld Hochschulnummer (HIS) zu.'); +values ('group_masken_bez','group_masken_bez','/edit/kern/group_masken_bez_edit.jsp','Gruppen und Masken'::varchar(200),'In diesem Formular können Sie Gruppen zu einzelnen Masken zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('group_sachgeb_bez','group_sachgeb_bez','/edit/kern/group_sachgeb_bez_edit.jsp','Gruppen und Sachgebiete','In diesem Formular können Sie Gruppen zu Sachgebieten zuordnen.'); +values ('group_masken_bez','group_masken_bez','/edit/kern/group_masken_bez_edit.jsp','Gruppen und Masken'::varchar(200),'In diesem Formular können Sie Gruppen zu einzelnen Masken zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('group_masken_bez','group_masken_bez','/edit/kern/group_masken_bez_edit.jsp','Gruppen und Masken','In diesem Formular können Sie Gruppen zu einzelnen Masken zuordnen.'); +values ('user_sichten','user_sichten','/edit/kern/user_sichten_edit.jsp','Benutzer und Sichten'::varchar(200),'In diesem Formular können Sie User-Rechte für Sichten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('group_masken_bez','group_masken_bez','/edit/kern/group_masken_bez_edit.jsp','Gruppen und Masken','In diesem Formular können Sie Gruppen zu einzelnen Masken zuordnen.'); +values ('group_sichten','group_sichten','/edit/kern/group_sichten_edit.jsp','Gruppen und Sichten'::varchar(200),'In diesem Formular können Sie Gruppen-Rechte für Sichten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('user_sichten','user_sichten','/edit/kern/user_sichten_edit.jsp','Benutzer und Sichten','In diesem Formular können Sie User-Rechte für Sichten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'); +values ('sx_captions','sx_captions','/edit/kern/sx_captions_edit.jsp','Beschriftungen'::varchar(200),'In diesem Formular können Sie Beschriftungen bearbeiten. Für Masken- und Spalten- und Felderläuterungen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('group_sichten','group_sichten','/edit/kern/group_sichten_edit.jsp','Gruppen und Sichten','In diesem Formular können Sie Gruppen-Rechte für Sichten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'); +values ('user_sichtarten','user_sichtarten','/edit/kern/user_sichtarten_edit.jsp','Benutzer und Sichtarten'::varchar(200),'In diesem Formular können Sie User-Rechte für Sichtarten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_captions','sx_captions','/edit/kern/sx_captions_edit.jsp','Beschriftungen','In diesem Formular können Sie Beschriftungen bearbeiten. Für Masken- und Spalten- und Felderläuterungen.'); +values ('group_sichtarten','group_sichtarten','/edit/kern/group_sichtarten_edit.jsp','Gruppen und Sichtarten'::varchar(200),'In diesem Formular können Sie Gruppen-Rechte für Sichtarten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('user_sichtarten','user_sichtarten','/edit/kern/user_sichtarten_edit.jsp','Benutzer und Sichtarten','In diesem Formular können Sie User-Rechte für Sichtarten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'); +values ('sx_repository_edit','sx_repository','/edit/kern/sx_repository_edit.jsp','Hochschul-Repository'::varchar(200),'In diesem Formular können Sie hochschulspezifische Konstanten oder SQL-Ausdrücke bearbeiten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('group_sichtarten','group_sichtarten','/edit/kern/group_sichtarten_edit.jsp','Gruppen und Sichtarten','In diesem Formular können Sie Gruppen-Rechte für Sichtarten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'); +values ('sx_repository_list','sx_repository','/edit/kern/sx_repository_list.jsp','Hochschul-Repository'::varchar(200),'In diesem Formular können Sie hochschulspezifische Konstanten oder SQL-Ausdrücke bearbeiten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_repository_edit','sx_repository','/edit/kern/sx_repository_edit.jsp','Hochschul-Repository','In diesem Formular können Sie hochschulspezifische Konstanten oder SQL-Ausdrücke bearbeiten.'); +values ('sx_downloads','sx_downloads','/edit/kern/sx_downloads_edit.jsp','Downloads'::varchar(200),'In diesem Formular können Sie Downloads bearbeiten. '::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_repository_list','sx_repository','/edit/kern/sx_repository_list.jsp','Hochschul-Repository','In diesem Formular können Sie hochschulspezifische Konstanten oder SQL-Ausdrücke bearbeiten.'); +values ('sx_keywords','sx_keywords','/edit/kern/sx_keywords_edit.jsp','Stichworte'::varchar(200),'In diesem Formular können Sie Stichworte bearbeiten. '::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_downloads','sx_downloads','/edit/kern/sx_downloads_edit.jsp','Downloads','In diesem Formular können Sie Downloads bearbeiten. '); +values ('sachgeb_sichten','sachgeb_sichten','/edit/kern/sachgeb_sichten_edit.jsp','Zuordnung Sichten zu Sachgebieten'::varchar(200),'In diesem Formular können Sie Sichten zu Sachgebieten zuordnen. '::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_keywords','sx_keywords','/edit/kern/sx_keywords_edit.jsp','Stichworte','In diesem Formular können Sie Stichworte bearbeiten. '); +values ('sachgeb_sichtarten','sachgeb_sichtarten','/edit/kern/sachgeb_sichtarten_edit.jsp','Zuordnung Sichtarten zu Sachgebieten'::varchar(200),'In diesem Formular können Sie Sichtarten zu Sachgebieten zuordnen. '::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sachgeb_sichten','sachgeb_sichten','/edit/kern/sachgeb_sichten_edit.jsp','Zuordnung Sichten zu Sachgebieten','In diesem Formular können Sie Sichten zu Sachgebieten zuordnen. '); +values ('unload_params','unload_params','/edit/kern/unload_params_edit.jsp','Entladeparameter verwalten'::varchar(200),''::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sachgeb_sichtarten','sachgeb_sichtarten','/edit/kern/sachgeb_sichtarten_edit.jsp','Zuordnung Sichtarten zu Sachgebieten','In diesem Formular können Sie Sichtarten zu Sachgebieten zuordnen. '); +values ('trans_inst_list','trans_inst','/edit/kern/trans_inst_list.jsp','Kostenstellen transformieren (Liste)'::varchar(200),'In diesem Formular können Sie Kostenstellen umschlüsseln.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('unload_params','unload_params','/edit/kern/unload_params_edit.jsp','Entladeparameter verwalten',''); +values ('trans_inst_edit','trans_inst','/edit/kern/trans_inst_edit.jsp','Kostenstellen transformieren (Details)'::varchar(200),'In diesem Formular können Sie Kostenstellen umschlüsseln.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('trans_inst_list','trans_inst','/edit/kern/trans_inst_list.jsp','Kostenstellen transformieren (Liste)','In diesem Formular können Sie Kostenstellen umschlüsseln.'); +values ('data_upload_edit','data_upload','/edit/kern/data_upload_edit.jsp','Verzeichnis der Datei-Uploads'::varchar(200),'In diesem Formular können Sie Uploads bearbeiten. '::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('trans_inst_edit','trans_inst','/edit/kern/trans_inst_edit.jsp','Kostenstellen transformieren (Details)','In diesem Formular können Sie Kostenstellen umschlüsseln.'); +values ('stylesheet_field_edit','stylesheet_field','/edit/kern/stylesheet_field_edit.jsp','Stylesheets und zugehörige Felder'::varchar(200),'In diesem Formular können Sie von Stylesheets benötigte Felder entsprechend zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('data_upload_edit','data_upload','/edit/kern/data_upload_edit.jsp','Verzeichnis der Datei-Uploads','In diesem Formular können Sie Uploads bearbeiten. '); +values ('stylesheet_field_list','stylesheet_field','/edit/kern/stylesheet_field_list.jsp','Stylesheets und zugehörige Felder'::varchar(200),'In diesem Formular können Sie von Stylesheets benötigte Felder entsprechend zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('stylesheet_field_edit','stylesheet_field','/edit/kern/stylesheet_field_edit.jsp','Stylesheets und zugehörige Felder','In diesem Formular können Sie von Stylesheets benötigte Felder entsprechend zuordnen.'); +values ('group_field_pref_edit','group_field_pref','/edit/kern/group_field_pref_edit.jsp','Gruppen Feldattribute zuweisen'::varchar(200),'In diesem Formular können Sie Feldern in Masken für bestimmte Gruppen Attribute wie Verstecken zuweisen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('stylesheet_field_list','stylesheet_field','/edit/kern/stylesheet_field_list.jsp','Stylesheets und zugehörige Felder','In diesem Formular können Sie von Stylesheets benötigte Felder entsprechend zuordnen.'); +values ('group_field_pref_list','group_field_pref','/edit/kern/group_field_pref_list.jsp','Gruppen Felderattribute zuweisen'::varchar(200),'In diesem Formular können Sie Feldern in Masken für bestimmte Gruppen Attribute wie Verstecken zuweisen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('group_field_pref_edit','group_field_pref','/edit/kern/group_field_pref_edit.jsp','Gruppen Feldattribute zuweisen','In diesem Formular können Sie Feldern in Masken für bestimmte Gruppen Attribute wie Verstecken zuweisen.'); +values ('fm_templates_list','fm_templates','/edit/kern/fm_templates_list.jsp','Freemarker-Templates bearbeiten'::varchar(200),'In diesem Formular können Sie Freemarker-Templates verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('group_field_pref_list','group_field_pref','/edit/kern/group_field_pref_list.jsp','Gruppen Felderattribute zuweisen','In diesem Formular können Sie Feldern in Masken für bestimmte Gruppen Attribute wie Verstecken zuweisen.'); +values ('fm_templates_edit','fm_templates','/edit/kern/fm_templates_edit.jsp','Freemarker-Templates bearbeiten'::varchar(200),'In diesem Formular können Sie Freemarker-Templates verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('fm_templates_list','fm_templates','/edit/kern/fm_templates_list.jsp','Freemarker-Templates bearbeiten','In diesem Formular können Sie Freemarker-Templates verwalten.'); +values ('dbconnections_list','dbconnections','/edit/kern/dbconnections_list.jsp','DB-Connections'::varchar(200),'In diesem Formular können Sie DB Connections bearbeiten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('fm_templates_edit','fm_templates','/edit/kern/fm_templates_edit.jsp','Freemarker-Templates bearbeiten','In diesem Formular können Sie Freemarker-Templates verwalten.'); +values ('portlets_list','sx_portlet','/edit/kern/portlets_list.jsp','Portlets'::varchar(200),'In diesem Formular können Sie Portlets bearbeiten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('dbconnections_list','dbconnections','/edit/kern/dbconnections_list.jsp','DB-Connections','In diesem Formular können Sie DB Connections bearbeiten.'); +values ('sichtart_rechttabelle_list','sichtart_rechttabelle','/edit/kern/sichtart_rechttabelle_list.jsp','Spezielle Sichtart-Rechte'::varchar(200),'In diesem Formular können Sie Rechtetabellen für Sichtarten bearbeiten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('portlets_list','sx_portlet','/edit/kern/portlets_list.jsp','Portlets','In diesem Formular können Sie Portlets bearbeiten.'); +values ('sichtart_rechttabelle_edit','sichtart_rechttabelle','/edit/kern/sichtart_rechttabelle_edit.jsp','Spezielle Sichtart-Rechte Einzelbarbeitung'::varchar(200),'In diesem Formular können Sie Rechtetabellen für Sichtarten bearbeiten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sichtart_rechttabelle_list','sichtart_rechttabelle','/edit/kern/sichtart_rechttabelle_list.jsp','Spezielle Sichtart-Rechte','In diesem Formular können Sie Rechtetabellen für Sichtarten bearbeiten.'); +values ('sx_jobs_edit','sx_jobs','/edit/kern/sx_jobs_edit.jsp','Ladejobs verwalten'::varchar(200),'In diesem Formular können Sie Ladejobs verwalten'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sichtart_rechttabelle_edit','sichtart_rechttabelle','/edit/kern/sichtart_rechttabelle_edit.jsp','Spezielle Sichtart-Rechte Einzelbarbeitung','In diesem Formular können Sie Rechtetabellen für Sichtarten bearbeiten.'); +values ('sx_jobs_list','sx_jobs','/edit/kern/sx_jobs_list.jsp','Ladejobs verwalten'::varchar(200),'In diesem Formular können Sie Ladejobs verwalten'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_jobs_edit','sx_jobs','/edit/kern/sx_jobs_edit.jsp','Ladejobs verwalten','In diesem Formular können Sie Ladejobs verwalten'); +values ('organigramm_list','organigramm','/edit/kern/organigramm_list.jsp','Organigramm'::varchar(200),'In diesem Formular können Sie das Organigramm aufrufen'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_jobs_list','sx_jobs','/edit/kern/sx_jobs_list.jsp','Ladejobs verwalten','In diesem Formular können Sie Ladejobs verwalten'); +values ('sx_stylesheet_param_edit','sx_stylesheet_param','/edit/kern/sx_stylesheet_param_edit.jsp','Stylesheet-Parameter'::varchar(200),'In diesem Formular können Sie Stylesheet-Parameter bearbeiten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('organigramm_list','organigramm','/edit/kern/organigramm_list.jsp','Organigramm','In diesem Formular können Sie das Organigramm aufrufen'); +values ('sx_stylesheet_param_list','sx_stylesheet_param','/edit/kern/sx_stylesheet_param_list.jsp','Stylesheet-Parameter'::varchar(200),'In diesem Formular können Sie Stylesheet-Parameter bearbeiten.'::varchar(255)); create temp table tmp_hilf(tid integer); insert into tmp_hilf select max(tid) from db_forms; @@ -4647,12 +5348,11 @@ drop table tmp_hilf; drop table tmp_db_forms; -! echo "Fülle sx_tables, sx_fields und unload_params" -! echo `date` +select now(),'Fülle sx_tables, sx_fields und unload_params' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/conf/sx_tables_fuellen.sql -! DOSQL $SUPERX_DIR/db/install/conf/sx_fields_fuellen.sql ! DOSQL $SUPERX_DIR/db/install/conf/unload_params_fuellen.sql ! DOSQL $SUPERX_DIR/db/install/kern_install_custom.sql diff --git a/superx/WEB-INF/conf/edustore/db/install/kern_install_pg.sql b/superx/WEB-INF/conf/edustore/db/install/kern_install_pg.sql index e00f60a..ec95d96 100644 --- a/superx/WEB-INF/conf/edustore/db/install/kern_install_pg.sql +++ b/superx/WEB-INF/conf/edustore/db/install/kern_install_pg.sql @@ -1266,11 +1266,11 @@ select now(),'Erzeuge Tabelle organigramm' from xdummy; create table organigramm( - tid INTEGER not null, + tid SERIAL not null, key_apnr CHAR(10) , parent CHAR(10) , -drucktext CHAR(50) , -name CHAR(150) , +drucktext VARCHAR(255) , +name VARCHAR(255) , ebene INTEGER , lehre SMALLINT not null, gueltig_seit DATE not null, @@ -1349,8 +1349,8 @@ create table organigramm_bak( tid INTEGER not null, key_apnr CHAR(10) , parent CHAR(10) , -drucktext CHAR(50) , -name CHAR(150) , +drucktext VARCHAR(255) , +name VARCHAR(255) , ebene INTEGER , lehre SMALLINT not null, gueltig_seit DATE not null, diff --git a/superx/WEB-INF/conf/edustore/db/install/kern_load_ids.sql b/superx/WEB-INF/conf/edustore/db/install/kern_load_ids.sql index 15f03f3..d224034 100644 --- a/superx/WEB-INF/conf/edustore/db/install/kern_load_ids.sql +++ b/superx/WEB-INF/conf/edustore/db/install/kern_load_ids.sql @@ -1,443 +1,17 @@ -- XML-generiertes SQL-Script fuer dbaccess--von module_etl.xsl ---ETL-Schritt load: Upload der KERN-Rohdaten +--ETL-Schritt load: -! echo "SQL-Ausdruck CREATE TABLE tmp_userinfo (tid integer, benutzer char(30), kennwort char(16), name char(50), max_versuch smallint, akt_versuch smallint, email char(255), administration smallint, archiv_recht smallint, passwd_sha char(40), info char(255), extern_account_id varchar(255), extern_person_id varchar(255),sieht_projekte SMALLINT); ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/organigrammquelle_pruefen.sql ausführen' +from xdummy; -CREATE TABLE tmp_userinfo (tid integer, benutzer char(30), kennwort char(16), name char(50), max_versuch smallint, akt_versuch smallint, email char(255), administration smallint, archiv_recht smallint, passwd_sha char(40), info char(255), extern_account_id varchar(255), extern_person_id varchar(255),sieht_projekte SMALLINT); - -! echo "SQL-Ausdruck CREATE TABLE tmp_user_group_bez (userinfo_id integer, groupinfo_id integer, external_entry smallint); ausführen" -! echo `date` +! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/organigrammquelle_pruefen.sql -CREATE TABLE tmp_user_group_bez (userinfo_id integer, groupinfo_id integer, external_entry smallint); - -! echo "SQL-Ausdruck CREATE TABLE tmp_user_institution (userid integer, name char(50), ch110_institut char(10), hierarchie smallint, gueltig_seit date, gueltig_bis date, lehre smallint, external_entry smallint, externalid varchar(200)); ausführen" -! echo `date` +select now(),'Lade Tabelle kern_cifx_neu' +from xdummy; -CREATE TABLE tmp_user_institution (userid integer, name char(50), ch110_institut char(10), hierarchie smallint, gueltig_seit date, gueltig_bis date, lehre smallint, external_entry smallint, externalid varchar(200)); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_user_masken_bez (userinfo_id integer, maskeninfo_id integer, external_entry smallint); ausführen" -! echo `date` - -CREATE TABLE tmp_user_masken_bez (userinfo_id integer, maskeninfo_id integer, external_entry smallint); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_user_pw (userinfo_id integer, pw_gueltig_bis date, last_login datetime year to second, old_sha1 char(40), zeitpunkt1 datetime year to second, old_sha2 char(40), zeitpunkt2 datetime year to second, old_sha3 char(40), zeitpunkt3 datetime year to second, old_sha4 char(40), zeitpunkt4 datetime year to second, old_sha5 char(40), zeitpunkt5 datetime year to second, old_sha6 char(40), zeitpunkt6 datetime year to second, old_sha7 char(40), zeitpunkt7 datetime year to second); ausführen" -! echo `date` - -CREATE TABLE tmp_user_pw (userinfo_id integer, pw_gueltig_bis date, last_login datetime year to second, old_sha1 char(40), zeitpunkt1 datetime year to second, old_sha2 char(40), zeitpunkt2 datetime year to second, old_sha3 char(40), zeitpunkt3 datetime year to second, old_sha4 char(40), zeitpunkt4 datetime year to second, old_sha5 char(40), zeitpunkt5 datetime year to second, old_sha6 char(40), zeitpunkt6 datetime year to second, old_sha7 char(40), zeitpunkt7 datetime year to second); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_user_sachgeb_bez (userinfo_id integer, sachgebiete_id integer, external_entry smallint); ausführen" -! echo `date` - -CREATE TABLE tmp_user_sachgeb_bez (userinfo_id integer, sachgebiete_id integer, external_entry smallint); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_user_sichtarten (userinfo_id integer, sichtart char(255), external_entry smallint); ausführen" -! echo `date` - -CREATE TABLE tmp_user_sichtarten (userinfo_id integer, sichtart char(255), external_entry smallint); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_user_sichten (userinfo_id integer, sicht_name_intern char(200), external_entry smallint); ausführen" -! echo `date` - -CREATE TABLE tmp_user_sichten (userinfo_id integer, sicht_name_intern char(200), external_entry smallint); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_group_field_pref (tid integer, groupinfo_id integer, field_id integer, pref varchar(255)); ausführen" -! echo `date` - -CREATE TABLE tmp_group_field_pref (tid integer, groupinfo_id integer, field_id integer, pref varchar(255)); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_group_masken_bez (groupinfo_id integer, maskeninfo_id integer); ausführen" -! echo `date` - -CREATE TABLE tmp_group_masken_bez (groupinfo_id integer, maskeninfo_id integer); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_group_sachgeb_bez (groupinfo_id integer, sachgebiete_id integer); ausführen" -! echo `date` - -CREATE TABLE tmp_group_sachgeb_bez (groupinfo_id integer, sachgebiete_id integer); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_group_sichtarten (groupinfo_id integer, sichtart char(255)); ausführen" -! echo `date` - -CREATE TABLE tmp_group_sichtarten (groupinfo_id integer, sichtart char(255)); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_group_sichten (groupinfo_id integer, sicht_name_intern char(200)); ausführen" -! echo `date` - -CREATE TABLE tmp_group_sichten (groupinfo_id integer, sicht_name_intern char(200)); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_groupinfo (tid integer, name char(255)); ausführen" -! echo `date` - -CREATE TABLE tmp_groupinfo (tid integer, name char(255)); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_fin_user_kam (tid integer, userid integer, buchungsab_fb char(10), projnr_ins char(255), kapitel char(5), dr char(5), titel char(255), untertitel char(5), kostenstellen char(255), ins2 char(10), ins3 char(10), gueltig_von date, gueltig_bis date); ausführen" -! echo `date` - -CREATE TABLE tmp_fin_user_kam (tid integer, userid integer, buchungsab_fb char(10), projnr_ins char(255), kapitel char(5), dr char(5), titel char(255), untertitel char(5), kostenstellen char(255), ins2 char(10), ins3 char(10), gueltig_von date, gueltig_bis date); - - -! echo "SQL-Ausdruck create table tmp_hochschulinfo (name char(100), adresse char(200), hs_nr integer, kapitel char(5), superx_server char(100), kennung char(8), passwd char(16) ); ausführen" -! echo `date` - -create table tmp_hochschulinfo (name char(100), adresse char(200), hs_nr integer, kapitel char(5), superx_server char(100), kennung char(8), passwd char(16) ); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_konstanten (tid integer, apnr integer, beschreibung char(25)); ausführen" -! echo `date` - -CREATE TABLE tmp_konstanten (tid integer, apnr integer, beschreibung char(25)); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_unload_params (tid integer, param_id varchar(255), param_val varchar(255), default_val varchar(255), description varchar(255), systeminfo_id integer); ausführen" -! echo `date` - -CREATE TABLE tmp_unload_params (tid integer, param_id varchar(255), param_val varchar(255), default_val varchar(255), description varchar(255), systeminfo_id integer); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_sx_repository (tid integer, id char(200), content text, caption char(200), comment text, version smallint, art char(200), art2 char(200), art3 char(200), sachgebiete_id integer, sort1 integer, sort2 integer, sort3 integer, geaendert_am date, aktiv smallint, gueltig_seit date, gueltig_bis date); ausführen" -! echo `date` - -CREATE TABLE tmp_sx_repository (tid integer, id char(200), content text, caption char(200), comment text, version smallint, art char(200), art2 char(200), art3 char(200), sachgebiete_id integer, sort1 integer, sort2 integer, sort3 integer, geaendert_am date, aktiv smallint, gueltig_seit date, gueltig_bis date); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_themenbaum (tid integer, name varchar(255), maskeninfo_id integer, parent integer, gueltig_seit date, gueltig_bis date, erlaeuterung char(240), sort integer, css_class character varying(255)); ausführen" -! echo `date` - -CREATE TABLE tmp_themenbaum (tid integer, name varchar(255), maskeninfo_id integer, parent integer, gueltig_seit date, gueltig_bis date, erlaeuterung char(240), sort integer, css_class character varying(255)); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_maskeninfo (tid integer, name char(255), select_stmt text, xil_proplist text, chart_xtitel char(50), chart_ytitel char(50), erlaeuterung char(255), cleanup_stmt char(240), default_file char(200), macro smallint, breite integer, hoehe integer, ampel smallint, hilfe smallint, hinweis text); ausführen" -! echo `date` - -CREATE TABLE tmp_maskeninfo (tid integer, name char(255), select_stmt text, xil_proplist text, chart_xtitel char(50), chart_ytitel char(50), erlaeuterung char(255), cleanup_stmt char(240), default_file char(200), macro smallint, breite integer, hoehe integer, ampel smallint, hilfe smallint, hinweis text); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_felderinfo (tid integer, name char(50), nummer integer, x integer, y integer, buttonbreite integer, feldbreite integer, zeilenanzahl integer, typ char(15), laenge integer, obligatorisch integer, art integer, relation text, attribut char(100), defaultwert char(255)); ausführen" -! echo `date` - -CREATE TABLE tmp_felderinfo (tid integer, name char(50), nummer integer, x integer, y integer, buttonbreite integer, feldbreite integer, zeilenanzahl integer, typ char(15), laenge integer, obligatorisch integer, art integer, relation text, attribut char(100), defaultwert char(255)); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_masken_felder_bez (maskeninfo_id integer, felderinfo_id integer); ausführen" -! echo `date` - -CREATE TABLE tmp_masken_felder_bez (maskeninfo_id integer, felderinfo_id integer); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_maske_system_bez (maskeninfo_id integer, systeminfo_id integer); ausführen" -! echo `date` - -CREATE TABLE tmp_maske_system_bez (maskeninfo_id integer, systeminfo_id integer); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_sachgeb_maske_bez (sachgebiete_id integer, maskeninfo_id integer); ausführen" -! echo `date` - -CREATE TABLE tmp_sachgeb_maske_bez (sachgebiete_id integer, maskeninfo_id integer); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_sx_stylesheets (tid integer, filename char(255), caption char(255), description char(255), relation char(10), useragent char(255), contenttype char(200)); ausführen" -! echo `date` - -CREATE TABLE tmp_sx_stylesheets (tid integer, filename char(255), caption char(255), description char(255), relation char(10), useragent char(255), contenttype char(200)); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_sx_mask_style (tid integer, maskeninfo_id integer, stylesheet_id integer, ord smallint); ausführen" -! echo `date` - -CREATE TABLE tmp_sx_mask_style (tid integer, maskeninfo_id integer, stylesheet_id integer, ord smallint); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_stylesheet_field (tid integer, stylesheet_id integer, tablename varchar(255), fieldname varchar(255)); ausführen" -! echo `date` - -CREATE TABLE tmp_stylesheet_field (tid integer, stylesheet_id integer, tablename varchar(255), fieldname varchar(255)); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_macro_masken_bez (maskeninfo_id1 integer, maskeninfo_id2 integer, active integer, sortnr smallint, schleifenrelation char(255), schleifenfeldname char(255), alias char(255), schleifenfstand char(255), schleifenfsicht char(255), aktion char(255)); ausführen" -! echo `date` - -CREATE TABLE tmp_macro_masken_bez (maskeninfo_id1 integer, maskeninfo_id2 integer, active integer, sortnr smallint, schleifenrelation char(255), schleifenfeldname char(255), alias char(255), schleifenfstand char(255), schleifenfsicht char(255), aktion char(255)); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_macro_feld_wert (macro integer, sortnr integer, feldname char(255), alias char(255), value char(255), value_caption char(255), feldstand char(255), feldsicht char(255), active integer); ausführen" -! echo `date` - -CREATE TABLE tmp_macro_feld_wert (macro integer, sortnr integer, feldname char(255), alias char(255), value char(255), value_caption char(255), feldstand char(255), feldsicht char(255), active integer); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_sx_captions (tid integer, id char(200), table_name char(200), field_name char(200), record_no integer, locale char(10), contents_short char(255), contents_long text, equalitystatus smallint, sachgebiete_id integer, doku_link varchar(255), export_to_glossar integer); ausführen" -! echo `date` - -CREATE TABLE tmp_sx_captions (tid integer, id char(200), table_name char(200), field_name char(200), record_no integer, locale char(10), contents_short char(255), contents_long text, equalitystatus smallint, sachgebiete_id integer, doku_link varchar(255), export_to_glossar integer); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_sichten (tid integer, parent char(255), systeminfoid integer, art char(40), type integer, name_intern char(200), name char(200), beschreibung char(255), sortnr integer, quelle char(255), alt_hier_id char(150), treecfgtable char(255), treecfgid char(150), label smallint, user_rechte smallint, rechtequelle char(255), sesamkey char(100), standbutton smallint, attribut1 char(255), attribut2 char(255), attribut3 integer, attribut4 integer, xmlmaxentries integer, gueltig_seit date, gueltig_bis date, cacheapplet char(255), cachexml char(255), aktiv smallint); ausführen" -! echo `date` - -CREATE TABLE tmp_sichten (tid integer, parent char(255), systeminfoid integer, art char(40), type integer, name_intern char(200), name char(200), beschreibung char(255), sortnr integer, quelle char(255), alt_hier_id char(150), treecfgtable char(255), treecfgid char(150), label smallint, user_rechte smallint, rechtequelle char(255), sesamkey char(100), standbutton smallint, attribut1 char(255), attribut2 char(255), attribut3 integer, attribut4 integer, xmlmaxentries integer, gueltig_seit date, gueltig_bis date, cacheapplet char(255), cachexml char(255), aktiv smallint); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_man_catalogue (tid integer NOT NULL, id character varying(100) NOT NULL, shortname character varying(255), name character varying(255), description text, timeunit character varying(3), decimalplaces smallint, sqlchunk text, linksub text, linktimeline text, restrictedgroupids character(255), ismanual smallint, requiredfields character varying(255), calcratio smallint, gueltig_von date, gueltig_bis date, cleanup text, preparation text, techdetails text, moreinfo text, attrib1 integer DEFAULT 0 NOT NULL, fld_semester character varying(255), fld_jahr character varying(255), fld_studiengang character varying(255), fld_institut character varying(255), fld_geschlecht character varying(255), fromclause character varying(255), whereclause text, aggrfunction character varying(255), cacheing integer DEFAULT 0 NOT NULL, linktable character varying(255), linkmask character varying(255)); ausführen" -! echo `date` - -CREATE TABLE tmp_man_catalogue (tid integer NOT NULL, id character varying(100) NOT NULL, shortname character varying(255), name character varying(255), description text, timeunit character varying(3), decimalplaces smallint, sqlchunk text, linksub text, linktimeline text, restrictedgroupids character(255), ismanual smallint, requiredfields character varying(255), calcratio smallint, gueltig_von date, gueltig_bis date, cleanup text, preparation text, techdetails text, moreinfo text, attrib1 integer DEFAULT 0 NOT NULL, fld_semester character varying(255), fld_jahr character varying(255), fld_studiengang character varying(255), fld_institut character varying(255), fld_geschlecht character varying(255), fromclause character varying(255), whereclause text, aggrfunction character varying(255), cacheing integer DEFAULT 0 NOT NULL, linktable character varying(255), linkmask character varying(255)); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_man_catalogue_rpt (tid integer, report_id varchar(40), catalogue_id varchar(100), description text, sortnr integer, sortnr2 integer, grouping1 char(40), grouping2 char(40), valid_from date, valid_till date, active smallint); ausführen" -! echo `date` - -CREATE TABLE tmp_man_catalogue_rpt (tid integer, report_id varchar(40), catalogue_id varchar(100), description text, sortnr integer, sortnr2 integer, grouping1 char(40), grouping2 char(40), valid_from date, valid_till date, active smallint); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_man_zahl_wert (tid integer, hs_nr integer, kenn_zahl char(40), jahr smallint, sem smallint, ch110_institut char(10), stugkey char(20), stg char(10), bund_fachgebiet char(10), wert numeric(14,2), geschlecht smallint, abschluss char(10), kz_fach char(10) ); ausführen" -! echo `date` - -CREATE TABLE tmp_man_zahl_wert (tid integer, hs_nr integer, kenn_zahl char(40), jahr smallint, sem smallint, ch110_institut char(10), stugkey char(20), stg char(10), bund_fachgebiet char(10), wert numeric(14,2), geschlecht smallint, abschluss char(10), kz_fach char(10) ); - - -! echo "SQL-Ausdruck CREATE TABLE tmp_kenn_zahl_wert (tid integer, hs_nr integer, kenn_zahl char(40), jahr smallint, sem smallint, ch110_institut char(10), stugkey char(20), bund_fachgebiet char(10), wert numeric(14,2), titel char(10), wert_str varchar(255), geschlecht SMALLINT , ca12_staat SMALLINT); ausführen" -! echo `date` - -CREATE TABLE tmp_kenn_zahl_wert (tid integer, hs_nr integer, kenn_zahl char(40), jahr smallint, sem smallint, ch110_institut char(10), stugkey char(20), bund_fachgebiet char(10), wert numeric(14,2), titel char(10), wert_str varchar(255), geschlecht SMALLINT , ca12_staat SMALLINT); - - -! echo "Lade Tabelle tmp_hochschulinfo" -! echo `date` - -!sx_auto_upload_table.x tmp_hochschulinfo $SUPERX_DIR/db/install/rohdaten/unl/hochschulinfo.unl - - -! echo "Lade Tabelle tmp_userinfo" -! echo `date` - -!sx_auto_upload_table.x tmp_userinfo $SUPERX_DIR/db/install/rohdaten/unl/userinfo.unl - - -! echo "Lade Tabelle tmp_user_group_bez" -! echo `date` - -!sx_auto_upload_table.x tmp_user_group_bez $SUPERX_DIR/db/install/rohdaten/unl/user_group_bez.unl - - -! echo "Lade Tabelle tmp_user_institution" -! echo `date` - -!sx_auto_upload_table.x tmp_user_institution $SUPERX_DIR/db/install/rohdaten/unl/user_institution.unl - - -! echo "Lade Tabelle tmp_user_masken_bez" -! echo `date` - -!sx_auto_upload_table.x tmp_user_masken_bez $SUPERX_DIR/db/install/rohdaten/unl/user_masken_bez.unl - - -! echo "Lade Tabelle tmp_user_pw" -! echo `date` - -!sx_auto_upload_table.x tmp_user_pw $SUPERX_DIR/db/install/rohdaten/unl/user_pw.unl - - -! echo "Lade Tabelle tmp_user_sachgeb_bez" -! echo `date` - -!sx_auto_upload_table.x tmp_user_sachgeb_bez $SUPERX_DIR/db/install/rohdaten/unl/user_sachgeb_bez.unl - - -! echo "Lade Tabelle tmp_user_sichtarten" -! echo `date` - -!sx_auto_upload_table.x tmp_user_sichtarten $SUPERX_DIR/db/install/rohdaten/unl/user_sichtarten.unl - - -! echo "Lade Tabelle tmp_user_sichten" -! echo `date` - -!sx_auto_upload_table.x tmp_user_sichten $SUPERX_DIR/db/install/rohdaten/unl/user_sichten.unl - - -! echo "Lade Tabelle tmp_group_field_pref" -! echo `date` - -!sx_auto_upload_table.x tmp_group_field_pref $SUPERX_DIR/db/install/rohdaten/unl/group_field_pref.unl - - -! echo "Lade Tabelle tmp_group_masken_bez" -! echo `date` - -!sx_auto_upload_table.x tmp_group_masken_bez $SUPERX_DIR/db/install/rohdaten/unl/group_masken_bez.unl - - -! echo "Lade Tabelle tmp_group_sachgeb_bez" -! echo `date` - -!sx_auto_upload_table.x tmp_group_sachgeb_bez $SUPERX_DIR/db/install/rohdaten/unl/group_sachgeb_bez.unl - - -! echo "Lade Tabelle tmp_group_sichtarten" -! echo `date` - -!sx_auto_upload_table.x tmp_group_sichtarten $SUPERX_DIR/db/install/rohdaten/unl/group_sichtarten.unl - - -! echo "Lade Tabelle tmp_group_sichten" -! echo `date` - -!sx_auto_upload_table.x tmp_group_sichten $SUPERX_DIR/db/install/rohdaten/unl/group_sichten.unl - - -! echo "Lade Tabelle tmp_groupinfo" -! echo `date` - -!sx_auto_upload_table.x tmp_groupinfo $SUPERX_DIR/db/install/rohdaten/unl/groupinfo.unl - - -! echo "Lade Tabelle tmp_fin_user_kam" -! echo `date` - -!sx_auto_upload_table.x tmp_fin_user_kam $SUPERX_DIR/db/install/rohdaten/unl/fin_user_kam.unl - - -! echo "Lade Tabelle tmp_konstanten" -! echo `date` - -!sx_auto_upload_table.x tmp_konstanten $SUPERX_DIR/db/install/rohdaten/unl/konstanten.unl - - -! echo "Lade Tabelle tmp_unload_params" -! echo `date` - -!sx_auto_upload_table.x tmp_unload_params $SUPERX_DIR/db/install/rohdaten/unl/unload_params.unl - - -! echo "Lade Tabelle tmp_sx_repository" -! echo `date` - -!sx_auto_upload_table.x tmp_sx_repository $SUPERX_DIR/db/install/rohdaten/unl/sx_repository.unl - - -! echo "Lade Tabelle tmp_themenbaum" -! echo `date` - -!sx_auto_upload_table.x tmp_themenbaum $SUPERX_DIR/db/install/rohdaten/unl/themenbaum.unl - - -! echo "Lade Tabelle tmp_maskeninfo" -! echo `date` - -!sx_auto_upload_table.x tmp_maskeninfo $SUPERX_DIR/db/install/rohdaten/unl/maskeninfo.unl - - -! echo "Lade Tabelle tmp_felderinfo" -! echo `date` - -!sx_auto_upload_table.x tmp_felderinfo $SUPERX_DIR/db/install/rohdaten/unl/felderinfo.unl - - -! echo "Lade Tabelle tmp_masken_felder_bez" -! echo `date` - -!sx_auto_upload_table.x tmp_masken_felder_bez $SUPERX_DIR/db/install/rohdaten/unl/masken_felder_bez.unl - - -! echo "Lade Tabelle tmp_maske_system_bez" -! echo `date` - -!sx_auto_upload_table.x tmp_maske_system_bez $SUPERX_DIR/db/install/rohdaten/unl/maske_system_bez.unl - - -! echo "Lade Tabelle tmp_sachgeb_maske_bez" -! echo `date` - -!sx_auto_upload_table.x tmp_sachgeb_maske_bez $SUPERX_DIR/db/install/rohdaten/unl/sachgeb_maske_bez.unl - - -! echo "Lade Tabelle tmp_sx_stylesheets" -! echo `date` - -!sx_auto_upload_table.x tmp_sx_stylesheets $SUPERX_DIR/db/install/rohdaten/unl/sx_stylesheets.unl - - -! echo "Lade Tabelle tmp_sx_mask_style" -! echo `date` - -!sx_auto_upload_table.x tmp_sx_mask_style $SUPERX_DIR/db/install/rohdaten/unl/sx_mask_style.unl - - -! echo "Lade Tabelle tmp_stylesheet_field" -! echo `date` - -!sx_auto_upload_table.x tmp_stylesheet_field $SUPERX_DIR/db/install/rohdaten/unl/stylesheet_field.unl - - -! echo "Lade Tabelle tmp_macro_masken_bez" -! echo `date` - -!sx_auto_upload_table.x tmp_macro_masken_bez $SUPERX_DIR/db/install/rohdaten/unl/macro_masken_bez.unl - - -! echo "Lade Tabelle tmp_macro_feld_wert" -! echo `date` - -!sx_auto_upload_table.x tmp_macro_feld_wert $SUPERX_DIR/db/install/rohdaten/unl/macro_feld_wert.unl - - -! echo "Lade Tabelle tmp_sx_captions" -! echo `date` - -!sx_auto_upload_table.x tmp_sx_captions $SUPERX_DIR/db/install/rohdaten/unl/sx_captions.unl - - -! echo "Lade Tabelle tmp_sichten" -! echo `date` - -!sx_auto_upload_table.x tmp_sichten $SUPERX_DIR/db/install/rohdaten/unl/sichten.unl - - -! echo "Lade Tabelle tmp_man_catalogue" -! echo `date` - -!sx_auto_upload_table.x tmp_man_catalogue $SUPERX_DIR/db/install/rohdaten/unl/man_catalogue.unl - - -! echo "Lade Tabelle tmp_man_catalogue_rpt" -! echo `date` - -!sx_auto_upload_table.x tmp_man_catalogue_rpt $SUPERX_DIR/db/install/rohdaten/unl/man_catalogue_rpt.unl - - -! echo "Lade Tabelle tmp_man_zahl_wert" -! echo `date` - -!sx_auto_upload_table.x tmp_man_zahl_wert $SUPERX_DIR/db/install/rohdaten/unl/man_zahl_wert.unl - - -! echo "Lade Tabelle tmp_kenn_zahl_wert" -! echo `date` - -!sx_auto_upload_table.x tmp_kenn_zahl_wert $SUPERX_DIR/db/install/rohdaten/unl/kenn_zahl_wert.unl - - -! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/trans_tables.sql ausführen" -! echo `date` - - -! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/trans_tables.sql +!sx_auto_upload_table.x kern_cifx_neu $KERN_LOAD_PFAD/unl/cifx.unl ! DOSQL $SUPERX_DIR/db/install/kern_load_custom.sql diff --git a/superx/WEB-INF/conf/edustore/db/install/kern_masken_einspielen_ids.x b/superx/WEB-INF/conf/edustore/db/install/kern_masken_einspielen_ids.x index 1a21f40..8c1fa79 100755 --- a/superx/WEB-INF/conf/edustore/db/install/kern_masken_einspielen_ids.x +++ b/superx/WEB-INF/conf/edustore/db/install/kern_masken_einspielen_ids.x @@ -35,10 +35,8 @@ sx_auto_insert_mask 70620 echo "Maske Nr. 70570 einfügen:" cd $SUPERX_DIR/db/install/masken sx_auto_insert_mask 70570 -#Maske Nr.70520 Maske ansehen #Maske Nr.70580 Feld ansehen #Maske Nr.70640 Feld bearbeiten -#Maske Nr.70550 Tabellenfeld bearbeiten (Text) #Maske Nr.70970 User einrichten echo "Maske Nr. 70970 einfügen:" cd $SUPERX_DIR/db/install/masken @@ -79,7 +77,7 @@ sx_auto_insert_mask 70160 echo "Maske Nr. 70170 einfügen:" cd $SUPERX_DIR/db/install/masken sx_auto_insert_mask 70170 -#Maske Nr.71080 Institution suchen +#Maske Nr.71080 Organisationseinheiten suchen echo "Maske Nr. 71080 einfügen:" cd $SUPERX_DIR/db/install/masken sx_auto_insert_mask 71080 @@ -119,7 +117,7 @@ sx_auto_insert_mask 71190 echo "Maske Nr. 71200 einfügen:" cd $SUPERX_DIR/db/install/masken sx_auto_insert_mask 71200 -#Maske Nr.71260 Entladeparameter suchen +#Maske Nr.71260 Entladeparameter bearbeiten echo "Maske Nr. 71260 einfügen:" cd $SUPERX_DIR/db/install/masken sx_auto_insert_mask 71260 @@ -163,10 +161,15 @@ sx_auto_insert_mask 71420 echo "Maske Nr. 71440 einfügen:" cd $SUPERX_DIR/db/install/masken sx_auto_insert_mask 71440 +#Maske Nr.71480 Organigrammquelle bearbeiten +echo "Maske Nr. 71480 einfügen:" +cd $SUPERX_DIR/db/install/masken +sx_auto_insert_mask 71480 #Maske Nr.71500 Konstanten bearbeiten echo "Maske Nr. 71500 einfügen:" cd $SUPERX_DIR/db/install/masken sx_auto_insert_mask 71500 +#Maske Nr.71520 Datensieb erstellen #Maske Nr.71540 Ladejob ausführen echo "Maske Nr. 71540 einfügen:" cd $SUPERX_DIR/db/install/masken @@ -175,11 +178,39 @@ sx_auto_insert_mask 71540 echo "Maske Nr. 71560 einfügen:" cd $SUPERX_DIR/db/install/masken sx_auto_insert_mask 71560 -#Maske Nr.71580 Datenanalyse Würfel entwerfen +#Maske Nr.71580 Verwundbarkeitstest echo "Maske Nr. 71580 einfügen:" cd $SUPERX_DIR/db/install/masken sx_auto_insert_mask 71580 +#Maske Nr.71600 Test abhaengiger Felder +echo "Maske Nr. 71600 einfügen:" +cd $SUPERX_DIR/db/install/masken +sx_auto_insert_mask 71600 #Maske Nr.71620 Stammdatenverwaltung echo "Maske Nr. 71620 einfügen:" cd $SUPERX_DIR/db/install/masken sx_auto_insert_mask 71620 +#Maske Nr.71640 OrgUnitTests +echo "Maske Nr. 71640 einfügen:" +cd $SUPERX_DIR/db/install/masken +sx_auto_insert_mask 71640 +#Maske Nr.71660 Prüfprotokoll Administration +echo "Maske Nr. 71660 einfügen:" +cd $SUPERX_DIR/db/install/masken +sx_auto_insert_mask 71660 +#Maske Nr.71680 Nutzungsstatistik - Berichte +echo "Maske Nr. 71680 einfügen:" +cd $SUPERX_DIR/db/install/masken +sx_auto_insert_mask 71680 +#Maske Nr.71770 Gastzugang einrichten +echo "Maske Nr. 71770 einfügen:" +cd $SUPERX_DIR/db/install/masken +sx_auto_insert_mask 71770 +#Maske Nr.71800 Stammdaten umschlüsseln +echo "Maske Nr. 71800 einfügen:" +cd $SUPERX_DIR/db/install/masken +sx_auto_insert_mask 71800 +#Maske Nr.71820 Archivierte Daten +echo "Maske Nr. 71820 einfügen:" +cd $SUPERX_DIR/db/install/masken +sx_auto_insert_mask 71820 diff --git a/superx/WEB-INF/conf/edustore/db/install/kern_masken_entladen_ids.x b/superx/WEB-INF/conf/edustore/db/install/kern_masken_entladen_ids.x index 3acb0e8..5c549f4 100755 --- a/superx/WEB-INF/conf/edustore/db/install/kern_masken_entladen_ids.x +++ b/superx/WEB-INF/conf/edustore/db/install/kern_masken_entladen_ids.x @@ -27,10 +27,8 @@ sx_select_mask 70620 #Maske Nr.70570 Feld suchen cd "$SUPERX_DIR/db/install/masken" sx_select_mask 70570 -#Maske Nr.70520 Maske ansehen #Maske Nr.70580 Feld ansehen #Maske Nr.70640 Feld bearbeiten -#Maske Nr.70550 Tabellenfeld bearbeiten (Text) #Maske Nr.70970 User einrichten cd "$SUPERX_DIR/db/install/masken" sx_select_mask 70970 @@ -61,7 +59,7 @@ sx_select_mask 70160 #Maske Nr.70170 Beschriftung suchen cd "$SUPERX_DIR/db/install/masken" sx_select_mask 70170 -#Maske Nr.71080 Institution suchen +#Maske Nr.71080 Organisationseinheiten suchen cd "$SUPERX_DIR/db/install/masken" sx_select_mask 71080 #Maske Nr.71090 Themenbaum-Eintrag suchen @@ -91,7 +89,7 @@ sx_select_mask 71190 #Maske Nr.71200 Downloadstatistik cd "$SUPERX_DIR/db/install/masken" sx_select_mask 71200 -#Maske Nr.71260 Entladeparameter suchen +#Maske Nr.71260 Entladeparameter bearbeiten cd "$SUPERX_DIR/db/install/masken" sx_select_mask 71260 #Maske Nr.71280 Tabelle ausgeben @@ -124,18 +122,43 @@ sx_select_mask 71420 #Maske Nr.71440 Bericht Gruppenrahmen cd "$SUPERX_DIR/db/install/masken" sx_select_mask 71440 +#Maske Nr.71480 Organigrammquelle bearbeiten +cd "$SUPERX_DIR/db/install/masken" +sx_select_mask 71480 #Maske Nr.71500 Konstanten bearbeiten cd "$SUPERX_DIR/db/install/masken" sx_select_mask 71500 +#Maske Nr.71520 Datensieb erstellen #Maske Nr.71540 Ladejob ausführen cd "$SUPERX_DIR/db/install/masken" sx_select_mask 71540 #Maske Nr.71560 Hochschul-Repository cd "$SUPERX_DIR/db/install/masken" sx_select_mask 71560 -#Maske Nr.71580 Datenanalyse Würfel entwerfen +#Maske Nr.71580 Verwundbarkeitstest cd "$SUPERX_DIR/db/install/masken" sx_select_mask 71580 +#Maske Nr.71600 Test abhaengiger Felder +cd "$SUPERX_DIR/db/install/masken" +sx_select_mask 71600 #Maske Nr.71620 Stammdatenverwaltung cd "$SUPERX_DIR/db/install/masken" sx_select_mask 71620 +#Maske Nr.71640 OrgUnitTests +cd "$SUPERX_DIR/db/install/masken" +sx_select_mask 71640 +#Maske Nr.71660 Prüfprotokoll Administration +cd "$SUPERX_DIR/db/install/masken" +sx_select_mask 71660 +#Maske Nr.71680 Nutzungsstatistik - Berichte +cd "$SUPERX_DIR/db/install/masken" +sx_select_mask 71680 +#Maske Nr.71770 Gastzugang einrichten +cd "$SUPERX_DIR/db/install/masken" +sx_select_mask 71770 +#Maske Nr.71800 Stammdaten umschlüsseln +cd "$SUPERX_DIR/db/install/masken" +sx_select_mask 71800 +#Maske Nr.71820 Archivierte Daten +cd "$SUPERX_DIR/db/install/masken" +sx_select_mask 71820 diff --git a/superx/WEB-INF/conf/edustore/db/install/kern_masken_loeschen_ids.x b/superx/WEB-INF/conf/edustore/db/install/kern_masken_loeschen_ids.x index 0242534..816c625 100755 --- a/superx/WEB-INF/conf/edustore/db/install/kern_masken_loeschen_ids.x +++ b/superx/WEB-INF/conf/edustore/db/install/kern_masken_loeschen_ids.x @@ -27,14 +27,10 @@ sx_auto_delete_mask 70620 #Maske Nr.70570 Feld suchen sx_auto_delete_mask 70570 sx_auto_delete_mask 70570 -#Maske Nr.70520 Maske ansehen -sx_auto_delete_mask 70520 #Maske Nr.70580 Feld ansehen sx_auto_delete_mask 70580 #Maske Nr.70640 Feld bearbeiten sx_auto_delete_mask 70640 -#Maske Nr.70550 Tabellenfeld bearbeiten (Text) -sx_auto_delete_mask 70550 #Maske Nr.70970 User einrichten sx_auto_delete_mask 70970 sx_auto_delete_mask 70970 @@ -65,7 +61,7 @@ sx_auto_delete_mask 70160 #Maske Nr.70170 Beschriftung suchen sx_auto_delete_mask 70170 sx_auto_delete_mask 70170 -#Maske Nr.71080 Institution suchen +#Maske Nr.71080 Organisationseinheiten suchen sx_auto_delete_mask 71080 sx_auto_delete_mask 71080 #Maske Nr.71090 Themenbaum-Eintrag suchen @@ -95,7 +91,7 @@ sx_auto_delete_mask 71190 #Maske Nr.71200 Downloadstatistik sx_auto_delete_mask 71200 sx_auto_delete_mask 71200 -#Maske Nr.71260 Entladeparameter suchen +#Maske Nr.71260 Entladeparameter bearbeiten sx_auto_delete_mask 71260 sx_auto_delete_mask 71260 #Maske Nr.71280 Tabelle ausgeben @@ -128,17 +124,43 @@ sx_auto_delete_mask 71420 #Maske Nr.71440 Bericht Gruppenrahmen sx_auto_delete_mask 71440 sx_auto_delete_mask 71440 +#Maske Nr.71480 Organigrammquelle bearbeiten +sx_auto_delete_mask 71480 +sx_auto_delete_mask 71480 #Maske Nr.71500 Konstanten bearbeiten sx_auto_delete_mask 71500 sx_auto_delete_mask 71500 +#Maske Nr.71520 Datensieb erstellen +sx_auto_delete_mask 71520 #Maske Nr.71540 Ladejob ausführen sx_auto_delete_mask 71540 sx_auto_delete_mask 71540 #Maske Nr.71560 Hochschul-Repository sx_auto_delete_mask 71560 sx_auto_delete_mask 71560 -#Maske Nr.71580 Datenanalyse Würfel entwerfen +#Maske Nr.71580 Verwundbarkeitstest sx_auto_delete_mask 71580 sx_auto_delete_mask 71580 +#Maske Nr.71600 Test abhaengiger Felder +sx_auto_delete_mask 71600 +sx_auto_delete_mask 71600 #Maske Nr.71620 Stammdatenverwaltung sx_auto_delete_mask 71620 +#Maske Nr.71640 OrgUnitTests +sx_auto_delete_mask 71640 +sx_auto_delete_mask 71640 +#Maske Nr.71660 Prüfprotokoll Administration +sx_auto_delete_mask 71660 +sx_auto_delete_mask 71660 +#Maske Nr.71680 Nutzungsstatistik - Berichte +sx_auto_delete_mask 71680 +sx_auto_delete_mask 71680 +#Maske Nr.71770 Gastzugang einrichten +sx_auto_delete_mask 71770 +sx_auto_delete_mask 71770 +#Maske Nr.71800 Stammdaten umschlüsseln +sx_auto_delete_mask 71800 +sx_auto_delete_mask 71800 +#Maske Nr.71820 Archivierte Daten +sx_auto_delete_mask 71820 +sx_auto_delete_mask 71820 diff --git a/superx/WEB-INF/conf/edustore/db/install/kern_purge_ids.sql b/superx/WEB-INF/conf/edustore/db/install/kern_purge_ids.sql index 35718ef..964e3c3 100644 --- a/superx/WEB-INF/conf/edustore/db/install/kern_purge_ids.sql +++ b/superx/WEB-INF/conf/edustore/db/install/kern_purge_ids.sql @@ -10,3 +10,7 @@ delete from personattributetype; delete from personattribute_value_list; delete from user_preset_values; delete from sx_portlet; +delete from kern_cifx_neu; +delete from kern_pruefrout; +delete from masken_statistik; +delete from hisinone_deleted_entity; diff --git a/superx/WEB-INF/conf/edustore/db/install/kern_system_ids.sql b/superx/WEB-INF/conf/edustore/db/install/kern_system_ids.sql index fdd0872..4085f07 100644 --- a/superx/WEB-INF/conf/edustore/db/install/kern_system_ids.sql +++ b/superx/WEB-INF/conf/edustore/db/install/kern_system_ids.sql @@ -1,21 +1,27 @@ -- XML-generiertes SQL-Script fuer dbaccess--von module_etl.xsl --ETL-Schritte erfolgreich beendet. create table tmp_datum (datum date); - -! if [ -f $KERN_LOAD_PFAD/superx.datum ]; then read DATUM < $KERN_LOAD_PFAD/superx.datum ; echo "$DATUM^" > $KERN_LOAD_PFAD/superx.datum.tmp1; fi -! if [ -f $KERN_LOAD_PFAD/superx.datum.tmp1 ]; then sx_auto_upload_table.x tmp_datum $KERN_LOAD_PFAD/superx.datum.tmp1; fi -! if [ -f $KERN_LOAD_PFAD/superx.datum.tmp1 ]; then rm $KERN_LOAD_PFAD/superx.datum.tmp1; fi +! if [ -f $KERN_LOAD_PFAD/superx.datum ]; then sx_auto_upload_table.x tmp_datum $KERN_LOAD_PFAD/superx.datum ; fi update systeminfo set datum=(select distinct datum from tmp_datum) -where 2006 < (select distinct year(datum) from tmp_datum) +where 1=(select count(*) from tmp_datum) +and 2006 < (select distinct year(datum) from tmp_datum) and name='Administration'; update systeminfo set datum=today() -where 2007 > (select distinct year(datum) from tmp_datum) +where 1=(select count(*) from tmp_datum) +and 2007 > (select distinct year(datum) from tmp_datum) and name='Administration'; + +insert into kern_pruefrout(datum,problem,aktion) select today(),'Datei superx.datum steht auf veraltetem Datum. Stellen Sie sicher, dass superx.datum auf den SuperX-Server kopiert wurde','Warnung' + from tmp_datum where year(datum) < 2007 + or datum is null; + drop table tmp_datum; + + delete from protokoll where zeitpunkt < (select today()-apnr from konstanten where beschreibung='Löschung Protokoll (Tage)'); diff --git a/superx/WEB-INF/conf/edustore/db/install/kern_trans_ids.sql b/superx/WEB-INF/conf/edustore/db/install/kern_trans_ids.sql index bc0e3e1..dff36a4 100644 --- a/superx/WEB-INF/conf/edustore/db/install/kern_trans_ids.sql +++ b/superx/WEB-INF/conf/edustore/db/install/kern_trans_ids.sql @@ -1,4 +1,31 @@ -- XML-generiertes SQL-Script fuer dbaccess--von module_etl.xsl --ETL-Schritt trans: Transformation der KERN-Rohdaten + +select now(),'SQL-Ausdruck truncate table kern_pruefrout; ausführen' +from xdummy; + +truncate table kern_pruefrout; + + +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/cifx_fuellen2.sql ausführen' +from xdummy; + + +! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/cifx_fuellen2.sql + + +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/trans_organigramm_kern.sql ausführen' +from xdummy; + + +! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/trans_organigramm_kern.sql + + +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/orgunit_live_mapping_fuellen.sql ausführen' +from xdummy; + + +! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/orgunit_live_mapping_fuellen.sql + ! DOSQL $SUPERX_DIR/db/install/kern_trans_custom.sql diff --git a/superx/WEB-INF/conf/edustore/db/install/masken/71540_felderinfo.unl b/superx/WEB-INF/conf/edustore/db/install/masken/71540_felderinfo.unl index 75f0857..8dfcc7c 100644 --- a/superx/WEB-INF/conf/edustore/db/install/masken/71540_felderinfo.unl +++ b/superx/WEB-INF/conf/edustore/db/install/masken/71540_felderinfo.unl @@ -1,9 +1,14 @@ 71540^Modus^30^0^0^150^150^1^char^200^0^1^<> select distinct '1','Hinzufügen' from sx_jobs where 1=1\ /* and tid=<> */\ -and modus_supported=1 union \ +and modus_supported in (1,3) union \ select distinct '2','Löschen und Hinzufügen' from sx_jobs where 1=1\ /* and tid=<> */\ -and modus_supported=2 order by 1^^^ +and modus_supported in (1,3)\ +union\ +select distinct '3','Vorschau' from sx_jobs where 1=1\ +/* and tid=<> */\ +and modus_supported=3\ + order by 1^^^ 71541^Job^20^0^0^150^150^1^integer^200^1^1^<> select tid,caption from sx_jobs where\ sachgebiete_id in (-1 ${UserSachgebiete} -1)\ /* and sachgebiete_id=<> */\ diff --git a/superx/WEB-INF/conf/edustore/db/install/upgrade/alter_columntype_with_view_deps_pg.sql b/superx/WEB-INF/conf/edustore/db/install/upgrade/alter_columntype_with_view_deps_pg.sql index 4f0df8a..7998a6d 100644 --- a/superx/WEB-INF/conf/edustore/db/install/upgrade/alter_columntype_with_view_deps_pg.sql +++ b/superx/WEB-INF/conf/edustore/db/install/upgrade/alter_columntype_with_view_deps_pg.sql @@ -4,7 +4,7 @@ WITH RECURSIVE vlist AS ( SELECT c.oid::REGCLASS AS view_name FROM pg_class c - WHERE c.relname IN ('cifx','userinfo','konstanten') + WHERE c.relname IN ('cifx','userinfo','konstanten','organigramm') UNION ALL SELECT DISTINCT r.ev_class::REGCLASS AS view_name FROM pg_depend d @@ -17,7 +17,7 @@ SELECT view_name::text as view_name, v.view_definition, from information_schema.columns col where col.table_name::text=vl.view_name::text group by col.table_name) as columns FROM vlist vl, information_schema.views v -where view_name::text = v.table_name and view_name::text NOT IN ('cifx','userinfo','konstanten'); +where view_name::text = v.table_name and view_name::text NOT IN ('cifx','userinfo','konstanten','organigramm'); @@ -35,6 +35,8 @@ alter table cifx alter column lang_3 type varchar(255); alter table userinfo alter column benutzer type varchar(255); alter table userinfo alter column passwd_sha type varchar(255); alter table konstanten alter column beschreibung type varchar(255); +alter table organigramm alter column drucktext type varchar(255); +alter table organigramm alter column name type varchar(255); <#foreach view in dependent_views> diff --git a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_fields_ids.sql b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_fields_ids.sql index 502b636..1988545 100644 --- a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_fields_ids.sql +++ b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_fields_ids.sql @@ -36,6 +36,7 @@ where a.tabid = b.tabid and b.tabname 'cifx', 'trans_cifx', 'trans_cif', +'cifx_customize', 'felderinfo', 'hochschulinfo', 'maske_system_bez', @@ -61,6 +62,7 @@ where a.tabid = b.tabid and b.tabname 'lehreinheit_inst', 'sx_stylesheets', 'sx_mask_style', +'sx_stylesheet_param', 'sx_captions', 'fm_templates', 'user_sichten', @@ -105,25 +107,45 @@ where a.tabid = b.tabid and b.tabname 'sx_portlet', 'user_portlet_bez', 'group_portlet_bez', +'kern_cifx_neu', 'sieve', 'sieve_column_def', 'sieve_column', 'sieve_field', 'sx_jobs', +'orgunit_mapping', +'implicit_orgunit_rights', +'kern_pruefrout', +'masken_statistik', +'dim_datum', +'hisinone_deleted_entity', +'etl_step', +'etl_step_type', +'etl_step_type_param', +'etl_step_property', +'etl_step_relation', +'etl_job', +'etl_job_param', +'k_astat_studienfach_land', +'k_astat_abschluss3steller_land', +'k_astat_abschluss2steller', +'k_astat_studienbereich', +'k_astat_studienfach', +'colorscheme', 'sx_mail' ) order by 1; -! echo "Checking fields" -! echo `date` +select now(),'Checking fields' +from xdummy; <#if !fields?seq_contains("sichtart_rechttabelle.tid") > -! echo "field sichtart_rechttabelle.tid will be added" -! echo `date` +select now(),'field sichtart_rechttabelle.tid will be added' +from xdummy; alter table sichtart_rechttabelle add ( tid serial ); @@ -132,8 +154,8 @@ alter table sichtart_rechttabelle add ( tid serial ); <#if !fields?seq_contains("sichtart_rechttabelle.art") > -! echo "field sichtart_rechttabelle.art will be added" -! echo `date` +select now(),'field sichtart_rechttabelle.art will be added' +from xdummy; alter table sichtart_rechttabelle add ( art VARCHAR(40) ); @@ -142,8 +164,8 @@ alter table sichtart_rechttabelle add ( art VARCHAR(40) ); <#if !fields?seq_contains("sichtart_rechttabelle.tabelle") > -! echo "field sichtart_rechttabelle.tabelle will be added" -! echo `date` +select now(),'field sichtart_rechttabelle.tabelle will be added' +from xdummy; alter table sichtart_rechttabelle add ( tabelle VARCHAR(40) ); @@ -152,8 +174,8 @@ alter table sichtart_rechttabelle add ( tabelle VARCHAR(40) ); <#if !fields?seq_contains("sichtart_rechttabelle.feldname") > -! echo "field sichtart_rechttabelle.feldname will be added" -! echo `date` +select now(),'field sichtart_rechttabelle.feldname will be added' +from xdummy; alter table sichtart_rechttabelle add ( feldname VARCHAR(40) ); @@ -162,8 +184,8 @@ alter table sichtart_rechttabelle add ( feldname VARCHAR(40) ); <#if !fields?seq_contains("sichtart_rechttabelle.additionalkeyssql") > -! echo "field sichtart_rechttabelle.additionalkeyssql will be added" -! echo `date` +select now(),'field sichtart_rechttabelle.additionalkeyssql will be added' +from xdummy; alter table sichtart_rechttabelle add ( additionalkeyssql NVARCHAR(255) ); @@ -172,8 +194,8 @@ alter table sichtart_rechttabelle add ( additionalkeyssql NVARCHAR(255) ); <#if !fields?seq_contains("sichtart_rechttabelle.fallback_user_inst") > -! echo "field sichtart_rechttabelle.fallback_user_inst will be added" -! echo `date` +select now(),'field sichtart_rechttabelle.fallback_user_inst will be added' +from xdummy; alter table sichtart_rechttabelle add ( fallback_user_inst char(1) default '0' ); @@ -182,8 +204,8 @@ alter table sichtart_rechttabelle add ( fallback_user_inst char(1) default '0' <#if !fields?seq_contains("group_field_pref.tid") > -! echo "field group_field_pref.tid will be added" -! echo `date` +select now(),'field group_field_pref.tid will be added' +from xdummy; alter table group_field_pref add ( tid serial ); @@ -192,8 +214,8 @@ alter table group_field_pref add ( tid serial ); <#if !fields?seq_contains("group_field_pref.groupinfo_id") > -! echo "field group_field_pref.groupinfo_id will be added" -! echo `date` +select now(),'field group_field_pref.groupinfo_id will be added' +from xdummy; alter table group_field_pref add ( groupinfo_id integer ); @@ -202,8 +224,8 @@ alter table group_field_pref add ( groupinfo_id integer ); <#if !fields?seq_contains("group_field_pref.field_id") > -! echo "field group_field_pref.field_id will be added" -! echo `date` +select now(),'field group_field_pref.field_id will be added' +from xdummy; alter table group_field_pref add ( field_id integer ); @@ -212,8 +234,8 @@ alter table group_field_pref add ( field_id integer ); <#if !fields?seq_contains("group_field_pref.pref") > -! echo "field group_field_pref.pref will be added" -! echo `date` +select now(),'field group_field_pref.pref will be added' +from xdummy; alter table group_field_pref add ( pref NVARCHAR(255) ); @@ -222,8 +244,8 @@ alter table group_field_pref add ( pref NVARCHAR(255) ); <#if !fields?seq_contains("stylesheet_field.tid") > -! echo "field stylesheet_field.tid will be added" -! echo `date` +select now(),'field stylesheet_field.tid will be added' +from xdummy; alter table stylesheet_field add ( tid serial ); @@ -232,8 +254,8 @@ alter table stylesheet_field add ( tid serial ); <#if !fields?seq_contains("stylesheet_field.stylesheet_id") > -! echo "field stylesheet_field.stylesheet_id will be added" -! echo `date` +select now(),'field stylesheet_field.stylesheet_id will be added' +from xdummy; alter table stylesheet_field add ( stylesheet_id integer ); @@ -242,8 +264,8 @@ alter table stylesheet_field add ( stylesheet_id integer ); <#if !fields?seq_contains("stylesheet_field.tablename") > -! echo "field stylesheet_field.tablename will be added" -! echo `date` +select now(),'field stylesheet_field.tablename will be added' +from xdummy; alter table stylesheet_field add ( tablename NVARCHAR(255) ); @@ -252,8 +274,8 @@ alter table stylesheet_field add ( tablename NVARCHAR(255) ); <#if !fields?seq_contains("stylesheet_field.fieldname") > -! echo "field stylesheet_field.fieldname will be added" -! echo `date` +select now(),'field stylesheet_field.fieldname will be added' +from xdummy; alter table stylesheet_field add ( fieldname NVARCHAR(255) ); @@ -262,8 +284,8 @@ alter table stylesheet_field add ( fieldname NVARCHAR(255) ); <#if !fields?seq_contains("db_tabellen.db_einfuegemarke") > -! echo "field db_tabellen.db_einfuegemarke will be added" -! echo `date` +select now(),'field db_tabellen.db_einfuegemarke will be added' +from xdummy; alter table db_tabellen add ( db_einfuegemarke CHAR(6) ); @@ -272,8 +294,8 @@ alter table db_tabellen add ( db_einfuegemarke CHAR(6) ); <#if !fields?seq_contains("db_tabellen.tabellen_id") > -! echo "field db_tabellen.tabellen_id will be added" -! echo `date` +select now(),'field db_tabellen.tabellen_id will be added' +from xdummy; alter table db_tabellen add ( tabellen_id SERIAL not null); @@ -282,8 +304,8 @@ alter table db_tabellen add ( tabellen_id SERIAL not null); <#if !fields?seq_contains("db_tabellen.name") > -! echo "field db_tabellen.name will be added" -! echo `date` +select now(),'field db_tabellen.name will be added' +from xdummy; alter table db_tabellen add ( name CHAR(50) ); @@ -292,8 +314,8 @@ alter table db_tabellen add ( name CHAR(50) ); <#if !fields?seq_contains("db_tabellen.protokollierung") > -! echo "field db_tabellen.protokollierung will be added" -! echo `date` +select now(),'field db_tabellen.protokollierung will be added' +from xdummy; alter table db_tabellen add ( protokollierung SMALLINT ); @@ -302,8 +324,8 @@ alter table db_tabellen add ( protokollierung SMALLINT ); <#if !fields?seq_contains("db_forms.tid") > -! echo "field db_forms.tid will be added" -! echo `date` +select now(),'field db_forms.tid will be added' +from xdummy; alter table db_forms add ( tid INTEGER not null); @@ -312,8 +334,8 @@ alter table db_forms add ( tid INTEGER not null); <#if !fields?seq_contains("db_forms.name") > -! echo "field db_forms.name will be added" -! echo `date` +select now(),'field db_forms.name will be added' +from xdummy; alter table db_forms add ( name NCHAR(100) ); @@ -322,8 +344,8 @@ alter table db_forms add ( name NCHAR(100) ); <#if !fields?seq_contains("db_forms.tablename") > -! echo "field db_forms.tablename will be added" -! echo `date` +select now(),'field db_forms.tablename will be added' +from xdummy; alter table db_forms add ( tablename NCHAR(100) ); @@ -332,8 +354,8 @@ alter table db_forms add ( tablename NCHAR(100) ); <#if !fields?seq_contains("db_forms.form_path") > -! echo "field db_forms.form_path will be added" -! echo `date` +select now(),'field db_forms.form_path will be added' +from xdummy; alter table db_forms add ( form_path NCHAR(255) ); @@ -342,8 +364,8 @@ alter table db_forms add ( form_path NCHAR(255) ); <#if !fields?seq_contains("db_forms.caption") > -! echo "field db_forms.caption will be added" -! echo `date` +select now(),'field db_forms.caption will be added' +from xdummy; alter table db_forms add ( caption NCHAR(200) ); @@ -352,8 +374,8 @@ alter table db_forms add ( caption NCHAR(200) ); <#if !fields?seq_contains("db_forms.description") > -! echo "field db_forms.description will be added" -! echo `date` +select now(),'field db_forms.description will be added' +from xdummy; alter table db_forms add ( description NCHAR(255) ); @@ -362,28 +384,28 @@ alter table db_forms add ( description NCHAR(255) ); <#if !fields?seq_contains("db_version.db_einfuegemarke") > -! echo "field db_version.db_einfuegemarke will be added" -! echo `date` +select now(),'field db_version.db_einfuegemarke will be added' +from xdummy; -alter table db_version add ( db_einfuegemarke CHAR(6) ); +alter table db_version add ( db_einfuegemarke NVARCHAR(255) ); <#if !fields?seq_contains("db_version.his_system") > -! echo "field db_version.his_system will be added" -! echo `date` +select now(),'field db_version.his_system will be added' +from xdummy; -alter table db_version add ( his_system CHAR(20) ); +alter table db_version add ( his_system NVARCHAR(255) ); <#if !fields?seq_contains("db_version.version") > -! echo "field db_version.version will be added" -! echo `date` +select now(),'field db_version.version will be added' +from xdummy; alter table db_version add ( version CHAR(8) ); @@ -392,8 +414,8 @@ alter table db_version add ( version CHAR(8) ); <#if !fields?seq_contains("db_version.kern_system") > -! echo "field db_version.kern_system will be added" -! echo `date` +select now(),'field db_version.kern_system will be added' +from xdummy; alter table db_version add ( kern_system CHAR(1) ); @@ -402,8 +424,8 @@ alter table db_version add ( kern_system CHAR(1) ); <#if !fields?seq_contains("db_version.version_hash") > -! echo "field db_version.version_hash will be added" -! echo `date` +select now(),'field db_version.version_hash will be added' +from xdummy; alter table db_version add ( version_hash VARCHAR(32) ); @@ -412,8 +434,8 @@ alter table db_version add ( version_hash VARCHAR(32) ); <#if !fields?seq_contains("db_version.systeminfo_id") > -! echo "field db_version.systeminfo_id will be added" -! echo `date` +select now(),'field db_version.systeminfo_id will be added' +from xdummy; alter table db_version add ( systeminfo_id INTEGER ); @@ -422,8 +444,8 @@ alter table db_version add ( systeminfo_id INTEGER ); <#if !fields?seq_contains("aggregierung.tid") > -! echo "field aggregierung.tid will be added" -! echo `date` +select now(),'field aggregierung.tid will be added' +from xdummy; alter table aggregierung add ( tid INTEGER not null); @@ -432,8 +454,8 @@ alter table aggregierung add ( tid INTEGER not null); <#if !fields?seq_contains("aggregierung.ord") > -! echo "field aggregierung.ord will be added" -! echo `date` +select now(),'field aggregierung.ord will be added' +from xdummy; alter table aggregierung add ( ord SMALLINT ); @@ -442,8 +464,8 @@ alter table aggregierung add ( ord SMALLINT ); <#if !fields?seq_contains("aggregierung.name") > -! echo "field aggregierung.name will be added" -! echo `date` +select now(),'field aggregierung.name will be added' +from xdummy; alter table aggregierung add ( name CHAR(50) ); @@ -452,8 +474,8 @@ alter table aggregierung add ( name CHAR(50) ); <#if !fields?seq_contains("aggregierung.kategorie") > -! echo "field aggregierung.kategorie will be added" -! echo `date` +select now(),'field aggregierung.kategorie will be added' +from xdummy; alter table aggregierung add ( kategorie CHAR(30) ); @@ -462,8 +484,8 @@ alter table aggregierung add ( kategorie CHAR(30) ); <#if !fields?seq_contains("aggregierung.wert") > -! echo "field aggregierung.wert will be added" -! echo `date` +select now(),'field aggregierung.wert will be added' +from xdummy; alter table aggregierung add ( wert NCHAR(255) ); @@ -472,8 +494,8 @@ alter table aggregierung add ( wert NCHAR(255) ); <#if !fields?seq_contains("sichten.tid") > -! echo "field sichten.tid will be added" -! echo `date` +select now(),'field sichten.tid will be added' +from xdummy; alter table sichten add ( tid SERIAL not null); @@ -482,8 +504,8 @@ alter table sichten add ( tid SERIAL not null); <#if !fields?seq_contains("sichten.parent") > -! echo "field sichten.parent will be added" -! echo `date` +select now(),'field sichten.parent will be added' +from xdummy; alter table sichten add ( parent NCHAR(255) ); @@ -492,8 +514,8 @@ alter table sichten add ( parent NCHAR(255) ); <#if !fields?seq_contains("sichten.systeminfoid") > -! echo "field sichten.systeminfoid will be added" -! echo `date` +select now(),'field sichten.systeminfoid will be added' +from xdummy; alter table sichten add ( systeminfoid INTEGER default 0 not null); @@ -502,8 +524,8 @@ alter table sichten add ( systeminfoid INTEGER default 0 not null); <#if !fields?seq_contains("sichten.art") > -! echo "field sichten.art will be added" -! echo `date` +select now(),'field sichten.art will be added' +from xdummy; alter table sichten add ( art CHAR(40) ); @@ -512,8 +534,8 @@ alter table sichten add ( art CHAR(40) ); <#if !fields?seq_contains("sichten.type") > -! echo "field sichten.type will be added" -! echo `date` +select now(),'field sichten.type will be added' +from xdummy; alter table sichten add ( type INTEGER default 10 not null); @@ -522,8 +544,8 @@ alter table sichten add ( type INTEGER default 10 not null); <#if !fields?seq_contains("sichten.name_intern") > -! echo "field sichten.name_intern will be added" -! echo `date` +select now(),'field sichten.name_intern will be added' +from xdummy; alter table sichten add ( name_intern NCHAR(200) ); @@ -532,8 +554,8 @@ alter table sichten add ( name_intern NCHAR(200) ); <#if !fields?seq_contains("sichten.name") > -! echo "field sichten.name will be added" -! echo `date` +select now(),'field sichten.name will be added' +from xdummy; alter table sichten add ( name NCHAR(200) ); @@ -542,8 +564,8 @@ alter table sichten add ( name NCHAR(200) ); <#if !fields?seq_contains("sichten.beschreibung") > -! echo "field sichten.beschreibung will be added" -! echo `date` +select now(),'field sichten.beschreibung will be added' +from xdummy; alter table sichten add ( beschreibung NCHAR(255) ); @@ -552,8 +574,8 @@ alter table sichten add ( beschreibung NCHAR(255) ); <#if !fields?seq_contains("sichten.sortnr") > -! echo "field sichten.sortnr will be added" -! echo `date` +select now(),'field sichten.sortnr will be added' +from xdummy; alter table sichten add ( sortnr INTEGER default 0 not null); @@ -562,8 +584,8 @@ alter table sichten add ( sortnr INTEGER default 0 not null); <#if !fields?seq_contains("sichten.quelle") > -! echo "field sichten.quelle will be added" -! echo `date` +select now(),'field sichten.quelle will be added' +from xdummy; alter table sichten add ( quelle NCHAR(255) ); @@ -572,8 +594,8 @@ alter table sichten add ( quelle NCHAR(255) ); <#if !fields?seq_contains("sichten.alt_hier_id") > -! echo "field sichten.alt_hier_id will be added" -! echo `date` +select now(),'field sichten.alt_hier_id will be added' +from xdummy; alter table sichten add ( alt_hier_id NCHAR(150) ); @@ -582,8 +604,8 @@ alter table sichten add ( alt_hier_id NCHAR(150) ); <#if !fields?seq_contains("sichten.treecfgtable") > -! echo "field sichten.treecfgtable will be added" -! echo `date` +select now(),'field sichten.treecfgtable will be added' +from xdummy; alter table sichten add ( treecfgtable NCHAR(255) ); @@ -592,8 +614,8 @@ alter table sichten add ( treecfgtable NCHAR(255) ); <#if !fields?seq_contains("sichten.treecfgid") > -! echo "field sichten.treecfgid will be added" -! echo `date` +select now(),'field sichten.treecfgid will be added' +from xdummy; alter table sichten add ( treecfgid NCHAR(150) ); @@ -602,8 +624,8 @@ alter table sichten add ( treecfgid NCHAR(150) ); <#if !fields?seq_contains("sichten.label") > -! echo "field sichten.label will be added" -! echo `date` +select now(),'field sichten.label will be added' +from xdummy; alter table sichten add ( label SMALLINT default 0 not null); @@ -612,8 +634,8 @@ alter table sichten add ( label SMALLINT default 0 not null); <#if !fields?seq_contains("sichten.user_rechte") > -! echo "field sichten.user_rechte will be added" -! echo `date` +select now(),'field sichten.user_rechte will be added' +from xdummy; alter table sichten add ( user_rechte SMALLINT default 1 not null); @@ -622,8 +644,8 @@ alter table sichten add ( user_rechte SMALLINT default 1 not null); <#if !fields?seq_contains("sichten.rechtequelle") > -! echo "field sichten.rechtequelle will be added" -! echo `date` +select now(),'field sichten.rechtequelle will be added' +from xdummy; alter table sichten add ( rechtequelle NCHAR(255) ); @@ -632,8 +654,8 @@ alter table sichten add ( rechtequelle NCHAR(255) ); <#if !fields?seq_contains("sichten.sesamkey") > -! echo "field sichten.sesamkey will be added" -! echo `date` +select now(),'field sichten.sesamkey will be added' +from xdummy; alter table sichten add ( sesamkey NCHAR(100) ); @@ -642,8 +664,8 @@ alter table sichten add ( sesamkey NCHAR(100) ); <#if !fields?seq_contains("sichten.standbutton") > -! echo "field sichten.standbutton will be added" -! echo `date` +select now(),'field sichten.standbutton will be added' +from xdummy; alter table sichten add ( standbutton SMALLINT default 0 not null); @@ -652,8 +674,8 @@ alter table sichten add ( standbutton SMALLINT default 0 not null); <#if !fields?seq_contains("sichten.attribut1") > -! echo "field sichten.attribut1 will be added" -! echo `date` +select now(),'field sichten.attribut1 will be added' +from xdummy; alter table sichten add ( attribut1 NCHAR(255) ); @@ -662,8 +684,8 @@ alter table sichten add ( attribut1 NCHAR(255) ); <#if !fields?seq_contains("sichten.attribut2") > -! echo "field sichten.attribut2 will be added" -! echo `date` +select now(),'field sichten.attribut2 will be added' +from xdummy; alter table sichten add ( attribut2 NCHAR(255) ); @@ -672,8 +694,8 @@ alter table sichten add ( attribut2 NCHAR(255) ); <#if !fields?seq_contains("sichten.attribut3") > -! echo "field sichten.attribut3 will be added" -! echo `date` +select now(),'field sichten.attribut3 will be added' +from xdummy; alter table sichten add ( attribut3 INTEGER ); @@ -682,8 +704,8 @@ alter table sichten add ( attribut3 INTEGER ); <#if !fields?seq_contains("sichten.attribut4") > -! echo "field sichten.attribut4 will be added" -! echo `date` +select now(),'field sichten.attribut4 will be added' +from xdummy; alter table sichten add ( attribut4 INTEGER ); @@ -692,8 +714,8 @@ alter table sichten add ( attribut4 INTEGER ); <#if !fields?seq_contains("sichten.xmlmaxentries") > -! echo "field sichten.xmlmaxentries will be added" -! echo `date` +select now(),'field sichten.xmlmaxentries will be added' +from xdummy; alter table sichten add ( xmlmaxentries INTEGER ); @@ -702,8 +724,8 @@ alter table sichten add ( xmlmaxentries INTEGER ); <#if !fields?seq_contains("sichten.gueltig_seit") > -! echo "field sichten.gueltig_seit will be added" -! echo `date` +select now(),'field sichten.gueltig_seit will be added' +from xdummy; alter table sichten add ( gueltig_seit DATE default '01.01.1900' not null); @@ -712,8 +734,8 @@ alter table sichten add ( gueltig_seit DATE default '01.01.1900' not null); <#if !fields?seq_contains("sichten.gueltig_bis") > -! echo "field sichten.gueltig_bis will be added" -! echo `date` +select now(),'field sichten.gueltig_bis will be added' +from xdummy; alter table sichten add ( gueltig_bis DATE default '01.01.3000' not null); @@ -722,8 +744,8 @@ alter table sichten add ( gueltig_bis DATE default '01.01.3000' not null); <#if !fields?seq_contains("sichten.cacheapplet") > -! echo "field sichten.cacheapplet will be added" -! echo `date` +select now(),'field sichten.cacheapplet will be added' +from xdummy; alter table sichten add ( cacheapplet NCHAR(255) ); @@ -732,8 +754,8 @@ alter table sichten add ( cacheapplet NCHAR(255) ); <#if !fields?seq_contains("sichten.cachexml") > -! echo "field sichten.cachexml will be added" -! echo `date` +select now(),'field sichten.cachexml will be added' +from xdummy; alter table sichten add ( cachexml NCHAR(255) ); @@ -742,8 +764,8 @@ alter table sichten add ( cachexml NCHAR(255) ); <#if !fields?seq_contains("sichten.aktiv") > -! echo "field sichten.aktiv will be added" -! echo `date` +select now(),'field sichten.aktiv will be added' +from xdummy; alter table sichten add ( aktiv SMALLINT default 1 ); @@ -752,8 +774,8 @@ alter table sichten add ( aktiv SMALLINT default 1 ); <#if !fields?seq_contains("lehr_orga_bez.lehr_id") > -! echo "field lehr_orga_bez.lehr_id will be added" -! echo `date` +select now(),'field lehr_orga_bez.lehr_id will be added' +from xdummy; alter table lehr_orga_bez add ( lehr_id CHAR(10) ); @@ -762,8 +784,8 @@ alter table lehr_orga_bez add ( lehr_id CHAR(10) ); <#if !fields?seq_contains("lehr_orga_bez.orga_id") > -! echo "field lehr_orga_bez.orga_id will be added" -! echo `date` +select now(),'field lehr_orga_bez.orga_id will be added' +from xdummy; alter table lehr_orga_bez add ( orga_id CHAR(10) ); @@ -772,8 +794,8 @@ alter table lehr_orga_bez add ( orga_id CHAR(10) ); <#if !fields?seq_contains("lehr_orga_bez.name") > -! echo "field lehr_orga_bez.name will be added" -! echo `date` +select now(),'field lehr_orga_bez.name will be added' +from xdummy; alter table lehr_orga_bez add ( name CHAR(50) ); @@ -782,8 +804,8 @@ alter table lehr_orga_bez add ( name CHAR(50) ); <#if !fields?seq_contains("lehr_orga_bez.gueltig_seit") > -! echo "field lehr_orga_bez.gueltig_seit will be added" -! echo `date` +select now(),'field lehr_orga_bez.gueltig_seit will be added' +from xdummy; alter table lehr_orga_bez add ( gueltig_seit DATE ); @@ -792,8 +814,8 @@ alter table lehr_orga_bez add ( gueltig_seit DATE ); <#if !fields?seq_contains("lehr_orga_bez.gueltig_bis") > -! echo "field lehr_orga_bez.gueltig_bis will be added" -! echo `date` +select now(),'field lehr_orga_bez.gueltig_bis will be added' +from xdummy; alter table lehr_orga_bez add ( gueltig_bis DATE ); @@ -802,8 +824,8 @@ alter table lehr_orga_bez add ( gueltig_bis DATE ); <#if !fields?seq_contains("masken_felder_bez.maskeninfo_id") > -! echo "field masken_felder_bez.maskeninfo_id will be added" -! echo `date` +select now(),'field masken_felder_bez.maskeninfo_id will be added' +from xdummy; alter table masken_felder_bez add ( maskeninfo_id INTEGER ); @@ -812,8 +834,8 @@ alter table masken_felder_bez add ( maskeninfo_id INTEGER ); <#if !fields?seq_contains("masken_felder_bez.felderinfo_id") > -! echo "field masken_felder_bez.felderinfo_id will be added" -! echo `date` +select now(),'field masken_felder_bez.felderinfo_id will be added' +from xdummy; alter table masken_felder_bez add ( felderinfo_id INTEGER ); @@ -822,8 +844,8 @@ alter table masken_felder_bez add ( felderinfo_id INTEGER ); <#if !fields?seq_contains("sachgebiete.tid") > -! echo "field sachgebiete.tid will be added" -! echo `date` +select now(),'field sachgebiete.tid will be added' +from xdummy; alter table sachgebiete add ( tid INTEGER ); @@ -832,8 +854,8 @@ alter table sachgebiete add ( tid INTEGER ); <#if !fields?seq_contains("sachgebiete.name") > -! echo "field sachgebiete.name will be added" -! echo `date` +select now(),'field sachgebiete.name will be added' +from xdummy; alter table sachgebiete add ( name CHAR(50) ); @@ -842,8 +864,8 @@ alter table sachgebiete add ( name CHAR(50) ); <#if !fields?seq_contains("sachgebiete.rightname") > -! echo "field sachgebiete.rightname will be added" -! echo `date` +select now(),'field sachgebiete.rightname will be added' +from xdummy; alter table sachgebiete add ( rightname NVARCHAR(255) ); @@ -852,8 +874,8 @@ alter table sachgebiete add ( rightname NVARCHAR(255) ); <#if !fields?seq_contains("sachgeb_maske_bez.sachgebiete_id") > -! echo "field sachgeb_maske_bez.sachgebiete_id will be added" -! echo `date` +select now(),'field sachgeb_maske_bez.sachgebiete_id will be added' +from xdummy; alter table sachgeb_maske_bez add ( sachgebiete_id INTEGER ); @@ -862,8 +884,8 @@ alter table sachgeb_maske_bez add ( sachgebiete_id INTEGER ); <#if !fields?seq_contains("sachgeb_maske_bez.maskeninfo_id") > -! echo "field sachgeb_maske_bez.maskeninfo_id will be added" -! echo `date` +select now(),'field sachgeb_maske_bez.maskeninfo_id will be added' +from xdummy; alter table sachgeb_maske_bez add ( maskeninfo_id INTEGER ); @@ -872,8 +894,8 @@ alter table sachgeb_maske_bez add ( maskeninfo_id INTEGER ); <#if !fields?seq_contains("sachgeb_dbform_bez.sachgebiete_id") > -! echo "field sachgeb_dbform_bez.sachgebiete_id will be added" -! echo `date` +select now(),'field sachgeb_dbform_bez.sachgebiete_id will be added' +from xdummy; alter table sachgeb_dbform_bez add ( sachgebiete_id INTEGER ); @@ -882,8 +904,8 @@ alter table sachgeb_dbform_bez add ( sachgebiete_id INTEGER ); <#if !fields?seq_contains("sachgeb_dbform_bez.dbform_id") > -! echo "field sachgeb_dbform_bez.dbform_id will be added" -! echo `date` +select now(),'field sachgeb_dbform_bez.dbform_id will be added' +from xdummy; alter table sachgeb_dbform_bez add ( dbform_id INTEGER ); @@ -892,8 +914,8 @@ alter table sachgeb_dbform_bez add ( dbform_id INTEGER ); <#if !fields?seq_contains("user_masken_bez.userinfo_id") > -! echo "field user_masken_bez.userinfo_id will be added" -! echo `date` +select now(),'field user_masken_bez.userinfo_id will be added' +from xdummy; alter table user_masken_bez add ( userinfo_id INTEGER ); @@ -902,8 +924,8 @@ alter table user_masken_bez add ( userinfo_id INTEGER ); <#if !fields?seq_contains("user_masken_bez.maskeninfo_id") > -! echo "field user_masken_bez.maskeninfo_id will be added" -! echo `date` +select now(),'field user_masken_bez.maskeninfo_id will be added' +from xdummy; alter table user_masken_bez add ( maskeninfo_id INTEGER ); @@ -912,8 +934,8 @@ alter table user_masken_bez add ( maskeninfo_id INTEGER ); <#if !fields?seq_contains("user_masken_bez.external_entry") > -! echo "field user_masken_bez.external_entry will be added" -! echo `date` +select now(),'field user_masken_bez.external_entry will be added' +from xdummy; alter table user_masken_bez add ( external_entry smallint default 0 ); @@ -922,8 +944,8 @@ alter table user_masken_bez add ( external_entry smallint default 0 ); <#if !fields?seq_contains("user_sachgeb_bez.userinfo_id") > -! echo "field user_sachgeb_bez.userinfo_id will be added" -! echo `date` +select now(),'field user_sachgeb_bez.userinfo_id will be added' +from xdummy; alter table user_sachgeb_bez add ( userinfo_id INTEGER ); @@ -932,8 +954,8 @@ alter table user_sachgeb_bez add ( userinfo_id INTEGER ); <#if !fields?seq_contains("user_sachgeb_bez.sachgebiete_id") > -! echo "field user_sachgeb_bez.sachgebiete_id will be added" -! echo `date` +select now(),'field user_sachgeb_bez.sachgebiete_id will be added' +from xdummy; alter table user_sachgeb_bez add ( sachgebiete_id INTEGER ); @@ -942,8 +964,8 @@ alter table user_sachgeb_bez add ( sachgebiete_id INTEGER ); <#if !fields?seq_contains("user_sachgeb_bez.external_entry") > -! echo "field user_sachgeb_bez.external_entry will be added" -! echo `date` +select now(),'field user_sachgeb_bez.external_entry will be added' +from xdummy; alter table user_sachgeb_bez add ( external_entry smallint default 0 ); @@ -952,8 +974,8 @@ alter table user_sachgeb_bez add ( external_entry smallint default 0 ); <#if !fields?seq_contains("xdummy.c") > -! echo "field xdummy.c will be added" -! echo `date` +select now(),'field xdummy.c will be added' +from xdummy; alter table xdummy add ( c CHAR(1) ); @@ -962,8 +984,8 @@ alter table xdummy add ( c CHAR(1) ); <#if !fields?seq_contains("macro_masken_bez.maskeninfo_id1") > -! echo "field macro_masken_bez.maskeninfo_id1 will be added" -! echo `date` +select now(),'field macro_masken_bez.maskeninfo_id1 will be added' +from xdummy; alter table macro_masken_bez add ( maskeninfo_id1 INTEGER not null); @@ -972,8 +994,8 @@ alter table macro_masken_bez add ( maskeninfo_id1 INTEGER not null); <#if !fields?seq_contains("macro_masken_bez.maskeninfo_id2") > -! echo "field macro_masken_bez.maskeninfo_id2 will be added" -! echo `date` +select now(),'field macro_masken_bez.maskeninfo_id2 will be added' +from xdummy; alter table macro_masken_bez add ( maskeninfo_id2 INTEGER not null); @@ -982,8 +1004,8 @@ alter table macro_masken_bez add ( maskeninfo_id2 INTEGER not null); <#if !fields?seq_contains("macro_masken_bez.active") > -! echo "field macro_masken_bez.active will be added" -! echo `date` +select now(),'field macro_masken_bez.active will be added' +from xdummy; alter table macro_masken_bez add ( active INTEGER default 1 not null); @@ -992,8 +1014,8 @@ alter table macro_masken_bez add ( active INTEGER default 1 not null); <#if !fields?seq_contains("macro_masken_bez.sortnr") > -! echo "field macro_masken_bez.sortnr will be added" -! echo `date` +select now(),'field macro_masken_bez.sortnr will be added' +from xdummy; alter table macro_masken_bez add ( sortnr SMALLINT ); @@ -1002,8 +1024,8 @@ alter table macro_masken_bez add ( sortnr SMALLINT ); <#if !fields?seq_contains("macro_masken_bez.schleifenrelation") > -! echo "field macro_masken_bez.schleifenrelation will be added" -! echo `date` +select now(),'field macro_masken_bez.schleifenrelation will be added' +from xdummy; alter table macro_masken_bez add ( schleifenrelation NCHAR(255) ); @@ -1012,8 +1034,8 @@ alter table macro_masken_bez add ( schleifenrelation NCHAR(255) ); <#if !fields?seq_contains("macro_masken_bez.schleifenfeldname") > -! echo "field macro_masken_bez.schleifenfeldname will be added" -! echo `date` +select now(),'field macro_masken_bez.schleifenfeldname will be added' +from xdummy; alter table macro_masken_bez add ( schleifenfeldname NCHAR(255) ); @@ -1022,8 +1044,8 @@ alter table macro_masken_bez add ( schleifenfeldname NCHAR(255) ); <#if !fields?seq_contains("macro_masken_bez.alias") > -! echo "field macro_masken_bez.alias will be added" -! echo `date` +select now(),'field macro_masken_bez.alias will be added' +from xdummy; alter table macro_masken_bez add ( alias NCHAR(255) ); @@ -1032,8 +1054,8 @@ alter table macro_masken_bez add ( alias NCHAR(255) ); <#if !fields?seq_contains("macro_masken_bez.schleifenfstand") > -! echo "field macro_masken_bez.schleifenfstand will be added" -! echo `date` +select now(),'field macro_masken_bez.schleifenfstand will be added' +from xdummy; alter table macro_masken_bez add ( schleifenfstand NCHAR(255) ); @@ -1042,8 +1064,8 @@ alter table macro_masken_bez add ( schleifenfstand NCHAR(255) ); <#if !fields?seq_contains("macro_masken_bez.schleifenfsicht") > -! echo "field macro_masken_bez.schleifenfsicht will be added" -! echo `date` +select now(),'field macro_masken_bez.schleifenfsicht will be added' +from xdummy; alter table macro_masken_bez add ( schleifenfsicht NCHAR(255) ); @@ -1052,8 +1074,8 @@ alter table macro_masken_bez add ( schleifenfsicht NCHAR(255) ); <#if !fields?seq_contains("macro_masken_bez.aktion") > -! echo "field macro_masken_bez.aktion will be added" -! echo `date` +select now(),'field macro_masken_bez.aktion will be added' +from xdummy; alter table macro_masken_bez add ( aktion NCHAR(255) ); @@ -1062,8 +1084,8 @@ alter table macro_masken_bez add ( aktion NCHAR(255) ); <#if !fields?seq_contains("graphicformat.id") > -! echo "field graphicformat.id will be added" -! echo `date` +select now(),'field graphicformat.id will be added' +from xdummy; alter table graphicformat add ( id NCHAR(100) not null); @@ -1072,8 +1094,8 @@ alter table graphicformat add ( id NCHAR(100) not null); <#if !fields?seq_contains("graphicformat.charttype") > -! echo "field graphicformat.charttype will be added" -! echo `date` +select now(),'field graphicformat.charttype will be added' +from xdummy; alter table graphicformat add ( charttype NCHAR(255) not null); @@ -1082,8 +1104,8 @@ alter table graphicformat add ( charttype NCHAR(255) not null); <#if !fields?seq_contains("graphicformat.caption") > -! echo "field graphicformat.caption will be added" -! echo `date` +select now(),'field graphicformat.caption will be added' +from xdummy; alter table graphicformat add ( caption NCHAR(255) ); @@ -1092,8 +1114,8 @@ alter table graphicformat add ( caption NCHAR(255) ); <#if !fields?seq_contains("graphicformat.width") > -! echo "field graphicformat.width will be added" -! echo `date` +select now(),'field graphicformat.width will be added' +from xdummy; alter table graphicformat add ( width INTEGER ); @@ -1102,8 +1124,8 @@ alter table graphicformat add ( width INTEGER ); <#if !fields?seq_contains("graphicformat.height") > -! echo "field graphicformat.height will be added" -! echo `date` +select now(),'field graphicformat.height will be added' +from xdummy; alter table graphicformat add ( height INTEGER ); @@ -1112,8 +1134,8 @@ alter table graphicformat add ( height INTEGER ); <#if !fields?seq_contains("graphicformat.captionx") > -! echo "field graphicformat.captionx will be added" -! echo `date` +select now(),'field graphicformat.captionx will be added' +from xdummy; alter table graphicformat add ( captionx NCHAR(255) ); @@ -1122,8 +1144,8 @@ alter table graphicformat add ( captionx NCHAR(255) ); <#if !fields?seq_contains("graphicformat.captiony") > -! echo "field graphicformat.captiony will be added" -! echo `date` +select now(),'field graphicformat.captiony will be added' +from xdummy; alter table graphicformat add ( captiony NCHAR(255) ); @@ -1132,8 +1154,8 @@ alter table graphicformat add ( captiony NCHAR(255) ); <#if !fields?seq_contains("graphicformat.linex") > -! echo "field graphicformat.linex will be added" -! echo `date` +select now(),'field graphicformat.linex will be added' +from xdummy; alter table graphicformat add ( linex INTEGER not null); @@ -1142,8 +1164,8 @@ alter table graphicformat add ( linex INTEGER not null); <#if !fields?seq_contains("graphicformat.liney") > -! echo "field graphicformat.liney will be added" -! echo `date` +select now(),'field graphicformat.liney will be added' +from xdummy; alter table graphicformat add ( liney INTEGER not null); @@ -1152,8 +1174,8 @@ alter table graphicformat add ( liney INTEGER not null); <#if !fields?seq_contains("graphicformat.showvalues") > -! echo "field graphicformat.showvalues will be added" -! echo `date` +select now(),'field graphicformat.showvalues will be added' +from xdummy; alter table graphicformat add ( showvalues INTEGER not null); @@ -1162,8 +1184,8 @@ alter table graphicformat add ( showvalues INTEGER not null); <#if !fields?seq_contains("graphicformat.moreattribs") > -! echo "field graphicformat.moreattribs will be added" -! echo `date` +select now(),'field graphicformat.moreattribs will be added' +from xdummy; alter table graphicformat add ( moreattribs TEXT ); @@ -1172,8 +1194,8 @@ alter table graphicformat add ( moreattribs TEXT ); <#if !fields?seq_contains("macro_feld_wert.macro") > -! echo "field macro_feld_wert.macro will be added" -! echo `date` +select now(),'field macro_feld_wert.macro will be added' +from xdummy; alter table macro_feld_wert add ( macro INTEGER not null); @@ -1182,8 +1204,8 @@ alter table macro_feld_wert add ( macro INTEGER not null); <#if !fields?seq_contains("macro_feld_wert.sortnr") > -! echo "field macro_feld_wert.sortnr will be added" -! echo `date` +select now(),'field macro_feld_wert.sortnr will be added' +from xdummy; alter table macro_feld_wert add ( sortnr INTEGER not null); @@ -1192,8 +1214,8 @@ alter table macro_feld_wert add ( sortnr INTEGER not null); <#if !fields?seq_contains("macro_feld_wert.feldname") > -! echo "field macro_feld_wert.feldname will be added" -! echo `date` +select now(),'field macro_feld_wert.feldname will be added' +from xdummy; alter table macro_feld_wert add ( feldname NCHAR(255) not null); @@ -1202,8 +1224,8 @@ alter table macro_feld_wert add ( feldname NCHAR(255) not null); <#if !fields?seq_contains("macro_feld_wert.alias") > -! echo "field macro_feld_wert.alias will be added" -! echo `date` +select now(),'field macro_feld_wert.alias will be added' +from xdummy; alter table macro_feld_wert add ( alias NCHAR(255) ); @@ -1212,8 +1234,8 @@ alter table macro_feld_wert add ( alias NCHAR(255) ); <#if !fields?seq_contains("macro_feld_wert.value") > -! echo "field macro_feld_wert.value will be added" -! echo `date` +select now(),'field macro_feld_wert.value will be added' +from xdummy; alter table macro_feld_wert add ( value NCHAR(255) ); @@ -1222,8 +1244,8 @@ alter table macro_feld_wert add ( value NCHAR(255) ); <#if !fields?seq_contains("macro_feld_wert.value_caption") > -! echo "field macro_feld_wert.value_caption will be added" -! echo `date` +select now(),'field macro_feld_wert.value_caption will be added' +from xdummy; alter table macro_feld_wert add ( value_caption NCHAR(255) ); @@ -1232,8 +1254,8 @@ alter table macro_feld_wert add ( value_caption NCHAR(255) ); <#if !fields?seq_contains("macro_feld_wert.feldstand") > -! echo "field macro_feld_wert.feldstand will be added" -! echo `date` +select now(),'field macro_feld_wert.feldstand will be added' +from xdummy; alter table macro_feld_wert add ( feldstand NCHAR(255) ); @@ -1242,8 +1264,8 @@ alter table macro_feld_wert add ( feldstand NCHAR(255) ); <#if !fields?seq_contains("macro_feld_wert.feldsicht") > -! echo "field macro_feld_wert.feldsicht will be added" -! echo `date` +select now(),'field macro_feld_wert.feldsicht will be added' +from xdummy; alter table macro_feld_wert add ( feldsicht NCHAR(255) ); @@ -1252,8 +1274,8 @@ alter table macro_feld_wert add ( feldsicht NCHAR(255) ); <#if !fields?seq_contains("macro_feld_wert.active") > -! echo "field macro_feld_wert.active will be added" -! echo `date` +select now(),'field macro_feld_wert.active will be added' +from xdummy; alter table macro_feld_wert add ( active INTEGER default 1 not null); @@ -1262,8 +1284,8 @@ alter table macro_feld_wert add ( active INTEGER default 1 not null); <#if !fields?seq_contains("groupinfo.tid") > -! echo "field groupinfo.tid will be added" -! echo `date` +select now(),'field groupinfo.tid will be added' +from xdummy; alter table groupinfo add ( tid INTEGER ); @@ -1272,8 +1294,8 @@ alter table groupinfo add ( tid INTEGER ); <#if !fields?seq_contains("groupinfo.name") > -! echo "field groupinfo.name will be added" -! echo `date` +select now(),'field groupinfo.name will be added' +from xdummy; alter table groupinfo add ( name NCHAR(255) ); @@ -1282,8 +1304,8 @@ alter table groupinfo add ( name NCHAR(255) ); <#if !fields?seq_contains("user_group_bez.userinfo_id") > -! echo "field user_group_bez.userinfo_id will be added" -! echo `date` +select now(),'field user_group_bez.userinfo_id will be added' +from xdummy; alter table user_group_bez add ( userinfo_id INTEGER ); @@ -1292,8 +1314,8 @@ alter table user_group_bez add ( userinfo_id INTEGER ); <#if !fields?seq_contains("user_group_bez.groupinfo_id") > -! echo "field user_group_bez.groupinfo_id will be added" -! echo `date` +select now(),'field user_group_bez.groupinfo_id will be added' +from xdummy; alter table user_group_bez add ( groupinfo_id INTEGER ); @@ -1302,8 +1324,8 @@ alter table user_group_bez add ( groupinfo_id INTEGER ); <#if !fields?seq_contains("user_group_bez.external_entry") > -! echo "field user_group_bez.external_entry will be added" -! echo `date` +select now(),'field user_group_bez.external_entry will be added' +from xdummy; alter table user_group_bez add ( external_entry SMALLINT default 0 ); @@ -1312,8 +1334,8 @@ alter table user_group_bez add ( external_entry SMALLINT default 0 ); <#if !fields?seq_contains("group_sachgeb_bez.groupinfo_id") > -! echo "field group_sachgeb_bez.groupinfo_id will be added" -! echo `date` +select now(),'field group_sachgeb_bez.groupinfo_id will be added' +from xdummy; alter table group_sachgeb_bez add ( groupinfo_id INTEGER ); @@ -1322,8 +1344,8 @@ alter table group_sachgeb_bez add ( groupinfo_id INTEGER ); <#if !fields?seq_contains("group_sachgeb_bez.sachgebiete_id") > -! echo "field group_sachgeb_bez.sachgebiete_id will be added" -! echo `date` +select now(),'field group_sachgeb_bez.sachgebiete_id will be added' +from xdummy; alter table group_sachgeb_bez add ( sachgebiete_id INTEGER ); @@ -1332,8 +1354,8 @@ alter table group_sachgeb_bez add ( sachgebiete_id INTEGER ); <#if !fields?seq_contains("group_masken_bez.groupinfo_id") > -! echo "field group_masken_bez.groupinfo_id will be added" -! echo `date` +select now(),'field group_masken_bez.groupinfo_id will be added' +from xdummy; alter table group_masken_bez add ( groupinfo_id INTEGER ); @@ -1342,8 +1364,8 @@ alter table group_masken_bez add ( groupinfo_id INTEGER ); <#if !fields?seq_contains("group_masken_bez.maskeninfo_id") > -! echo "field group_masken_bez.maskeninfo_id will be added" -! echo `date` +select now(),'field group_masken_bez.maskeninfo_id will be added' +from xdummy; alter table group_masken_bez add ( maskeninfo_id INTEGER ); @@ -1352,8 +1374,8 @@ alter table group_masken_bez add ( maskeninfo_id INTEGER ); <#if !fields?seq_contains("aggre_bland.tid") > -! echo "field aggre_bland.tid will be added" -! echo `date` +select now(),'field aggre_bland.tid will be added' +from xdummy; alter table aggre_bland add ( tid INTEGER ); @@ -1362,8 +1384,8 @@ alter table aggre_bland add ( tid INTEGER ); <#if !fields?seq_contains("aggre_bland.bland") > -! echo "field aggre_bland.bland will be added" -! echo `date` +select now(),'field aggre_bland.bland will be added' +from xdummy; alter table aggre_bland add ( bland CHAR(2) ); @@ -1372,8 +1394,8 @@ alter table aggre_bland add ( bland CHAR(2) ); <#if !fields?seq_contains("aggre_bland.text") > -! echo "field aggre_bland.text will be added" -! echo `date` +select now(),'field aggre_bland.text will be added' +from xdummy; alter table aggre_bland add ( text CHAR(40) not null); @@ -1382,8 +1404,8 @@ alter table aggre_bland add ( text CHAR(40) not null); <#if !fields?seq_contains("cif.tid") > -! echo "field cif.tid will be added" -! echo `date` +select now(),'field cif.tid will be added' +from xdummy; alter table cif add ( tid INTEGER not null); @@ -1392,8 +1414,8 @@ alter table cif add ( tid INTEGER not null); <#if !fields?seq_contains("cif.hs") > -! echo "field cif.hs will be added" -! echo `date` +select now(),'field cif.hs will be added' +from xdummy; alter table cif add ( hs INTEGER not null); @@ -1402,8 +1424,8 @@ alter table cif add ( hs INTEGER not null); <#if !fields?seq_contains("cif.key") > -! echo "field cif.key will be added" -! echo `date` +select now(),'field cif.key will be added' +from xdummy; alter table cif add ( key SMALLINT not null); @@ -1412,8 +1434,8 @@ alter table cif add ( key SMALLINT not null); <#if !fields?seq_contains("cif.apnr") > -! echo "field cif.apnr will be added" -! echo `date` +select now(),'field cif.apnr will be added' +from xdummy; alter table cif add ( apnr INTEGER not null); @@ -1422,8 +1444,8 @@ alter table cif add ( apnr INTEGER not null); <#if !fields?seq_contains("cif.d_akt_von") > -! echo "field cif.d_akt_von will be added" -! echo `date` +select now(),'field cif.d_akt_von will be added' +from xdummy; alter table cif add ( d_akt_von DATE ); @@ -1432,8 +1454,8 @@ alter table cif add ( d_akt_von DATE ); <#if !fields?seq_contains("cif.d_akt_bis") > -! echo "field cif.d_akt_bis will be added" -! echo `date` +select now(),'field cif.d_akt_bis will be added' +from xdummy; alter table cif add ( d_akt_bis DATE ); @@ -1442,8 +1464,8 @@ alter table cif add ( d_akt_bis DATE ); <#if !fields?seq_contains("cif.kurz") > -! echo "field cif.kurz will be added" -! echo `date` +select now(),'field cif.kurz will be added' +from xdummy; alter table cif add ( kurz CHAR(10) ); @@ -1452,8 +1474,8 @@ alter table cif add ( kurz CHAR(10) ); <#if !fields?seq_contains("cif.druck") > -! echo "field cif.druck will be added" -! echo `date` +select now(),'field cif.druck will be added' +from xdummy; alter table cif add ( druck NCHAR(100) ); @@ -1462,8 +1484,8 @@ alter table cif add ( druck NCHAR(100) ); <#if !fields?seq_contains("cif.lang_1") > -! echo "field cif.lang_1 will be added" -! echo `date` +select now(),'field cif.lang_1 will be added' +from xdummy; alter table cif add ( lang_1 NCHAR(100) ); @@ -1472,8 +1494,8 @@ alter table cif add ( lang_1 NCHAR(100) ); <#if !fields?seq_contains("cif.lang_2") > -! echo "field cif.lang_2 will be added" -! echo `date` +select now(),'field cif.lang_2 will be added' +from xdummy; alter table cif add ( lang_2 NCHAR(150) ); @@ -1482,8 +1504,8 @@ alter table cif add ( lang_2 NCHAR(150) ); <#if !fields?seq_contains("cif.lang_3") > -! echo "field cif.lang_3 will be added" -! echo `date` +select now(),'field cif.lang_3 will be added' +from xdummy; alter table cif add ( lang_3 NCHAR(250) ); @@ -1492,18 +1514,28 @@ alter table cif add ( lang_3 NCHAR(250) ); <#if !fields?seq_contains("cif.sort1") > -! echo "field cif.sort1 will be added" -! echo `date` +select now(),'field cif.sort1 will be added' +from xdummy; alter table cif add ( sort1 INTEGER ); +<#if !fields?seq_contains("cif.uniquename") > + + +select now(),'field cif.uniquename will be added' +from xdummy; + +alter table cif add ( uniquename NVARCHAR(255) ); + + + <#if !fields?seq_contains("cifx.tid") > -! echo "field cifx.tid will be added" -! echo `date` +select now(),'field cifx.tid will be added' +from xdummy; alter table cifx add ( tid INTEGER not null); @@ -1512,8 +1544,8 @@ alter table cifx add ( tid INTEGER not null); <#if !fields?seq_contains("cifx.hs") > -! echo "field cifx.hs will be added" -! echo `date` +select now(),'field cifx.hs will be added' +from xdummy; alter table cifx add ( hs INTEGER not null); @@ -1522,8 +1554,8 @@ alter table cifx add ( hs INTEGER not null); <#if !fields?seq_contains("cifx.key") > -! echo "field cifx.key will be added" -! echo `date` +select now(),'field cifx.key will be added' +from xdummy; alter table cifx add ( key SMALLINT not null); @@ -1532,8 +1564,8 @@ alter table cifx add ( key SMALLINT not null); <#if !fields?seq_contains("cifx.apnr") > -! echo "field cifx.apnr will be added" -! echo `date` +select now(),'field cifx.apnr will be added' +from xdummy; alter table cifx add ( apnr CHAR(10) not null); @@ -1542,8 +1574,8 @@ alter table cifx add ( apnr CHAR(10) not null); <#if !fields?seq_contains("cifx.d_akt_von") > -! echo "field cifx.d_akt_von will be added" -! echo `date` +select now(),'field cifx.d_akt_von will be added' +from xdummy; alter table cifx add ( d_akt_von DATE ); @@ -1552,8 +1584,8 @@ alter table cifx add ( d_akt_von DATE ); <#if !fields?seq_contains("cifx.d_akt_bis") > -! echo "field cifx.d_akt_bis will be added" -! echo `date` +select now(),'field cifx.d_akt_bis will be added' +from xdummy; alter table cifx add ( d_akt_bis DATE ); @@ -1562,8 +1594,8 @@ alter table cifx add ( d_akt_bis DATE ); <#if !fields?seq_contains("cifx.kurz") > -! echo "field cifx.kurz will be added" -! echo `date` +select now(),'field cifx.kurz will be added' +from xdummy; alter table cifx add ( kurz NVARCHAR(255) ); @@ -1572,8 +1604,8 @@ alter table cifx add ( kurz NVARCHAR(255) ); <#if !fields?seq_contains("cifx.druck") > -! echo "field cifx.druck will be added" -! echo `date` +select now(),'field cifx.druck will be added' +from xdummy; alter table cifx add ( druck NVARCHAR(255) ); @@ -1582,8 +1614,8 @@ alter table cifx add ( druck NVARCHAR(255) ); <#if !fields?seq_contains("cifx.lang_1") > -! echo "field cifx.lang_1 will be added" -! echo `date` +select now(),'field cifx.lang_1 will be added' +from xdummy; alter table cifx add ( lang_1 NVARCHAR(255) ); @@ -1592,8 +1624,8 @@ alter table cifx add ( lang_1 NVARCHAR(255) ); <#if !fields?seq_contains("cifx.lang_2") > -! echo "field cifx.lang_2 will be added" -! echo `date` +select now(),'field cifx.lang_2 will be added' +from xdummy; alter table cifx add ( lang_2 NVARCHAR(255) ); @@ -1602,8 +1634,8 @@ alter table cifx add ( lang_2 NVARCHAR(255) ); <#if !fields?seq_contains("cifx.lang_3") > -! echo "field cifx.lang_3 will be added" -! echo `date` +select now(),'field cifx.lang_3 will be added' +from xdummy; alter table cifx add ( lang_3 NVARCHAR(255) ); @@ -1612,8 +1644,8 @@ alter table cifx add ( lang_3 NVARCHAR(255) ); <#if !fields?seq_contains("cifx.parent") > -! echo "field cifx.parent will be added" -! echo `date` +select now(),'field cifx.parent will be added' +from xdummy; alter table cifx add ( parent CHAR(10) ); @@ -1622,8 +1654,8 @@ alter table cifx add ( parent CHAR(10) ); <#if !fields?seq_contains("cifx.parent_int") > -! echo "field cifx.parent_int will be added" -! echo `date` +select now(),'field cifx.parent_int will be added' +from xdummy; alter table cifx add ( parent_int INTEGER ); @@ -1632,8 +1664,8 @@ alter table cifx add ( parent_int INTEGER ); <#if !fields?seq_contains("cifx.filter") > -! echo "field cifx.filter will be added" -! echo `date` +select now(),'field cifx.filter will be added' +from xdummy; alter table cifx add ( filter CHAR(10) ); @@ -1642,8 +1674,8 @@ alter table cifx add ( filter CHAR(10) ); <#if !fields?seq_contains("cifx.refapnr") > -! echo "field cifx.refapnr will be added" -! echo `date` +select now(),'field cifx.refapnr will be added' +from xdummy; alter table cifx add ( refapnr CHAR(10) ); @@ -1652,8 +1684,8 @@ alter table cifx add ( refapnr CHAR(10) ); <#if !fields?seq_contains("cifx.astat") > -! echo "field cifx.astat will be added" -! echo `date` +select now(),'field cifx.astat will be added' +from xdummy; alter table cifx add ( astat CHAR(10) ); @@ -1662,8 +1694,8 @@ alter table cifx add ( astat CHAR(10) ); <#if !fields?seq_contains("cifx.bund_apnr") > -! echo "field cifx.bund_apnr will be added" -! echo `date` +select now(),'field cifx.bund_apnr will be added' +from xdummy; alter table cifx add ( bund_apnr CHAR(10) ); @@ -1672,8 +1704,8 @@ alter table cifx add ( bund_apnr CHAR(10) ); <#if !fields?seq_contains("cifx.land_apnr") > -! echo "field cifx.land_apnr will be added" -! echo `date` +select now(),'field cifx.land_apnr will be added' +from xdummy; alter table cifx add ( land_apnr CHAR(10) ); @@ -1682,8 +1714,8 @@ alter table cifx add ( land_apnr CHAR(10) ); <#if !fields?seq_contains("cifx.hiskey_id") > -! echo "field cifx.hiskey_id will be added" -! echo `date` +select now(),'field cifx.hiskey_id will be added' +from xdummy; alter table cifx add ( hiskey_id NVARCHAR(255) ); @@ -1692,8 +1724,8 @@ alter table cifx add ( hiskey_id NVARCHAR(255) ); <#if !fields?seq_contains("cifx.uniquename") > -! echo "field cifx.uniquename will be added" -! echo `date` +select now(),'field cifx.uniquename will be added' +from xdummy; alter table cifx add ( uniquename NVARCHAR(255) ); @@ -1702,8 +1734,8 @@ alter table cifx add ( uniquename NVARCHAR(255) ); <#if !fields?seq_contains("cifx.sort1") > -! echo "field cifx.sort1 will be added" -! echo `date` +select now(),'field cifx.sort1 will be added' +from xdummy; alter table cifx add ( sort1 INTEGER ); @@ -1712,8 +1744,8 @@ alter table cifx add ( sort1 INTEGER ); <#if !fields?seq_contains("cifx.sort2") > -! echo "field cifx.sort2 will be added" -! echo `date` +select now(),'field cifx.sort2 will be added' +from xdummy; alter table cifx add ( sort2 INTEGER ); @@ -1722,8 +1754,8 @@ alter table cifx add ( sort2 INTEGER ); <#if !fields?seq_contains("cifx.sort3") > -! echo "field cifx.sort3 will be added" -! echo `date` +select now(),'field cifx.sort3 will be added' +from xdummy; alter table cifx add ( sort3 INTEGER ); @@ -1732,8 +1764,8 @@ alter table cifx add ( sort3 INTEGER ); <#if !fields?seq_contains("cifx.sortc1") > -! echo "field cifx.sortc1 will be added" -! echo `date` +select now(),'field cifx.sortc1 will be added' +from xdummy; alter table cifx add ( sortc1 CHAR(10) ); @@ -1742,8 +1774,8 @@ alter table cifx add ( sortc1 CHAR(10) ); <#if !fields?seq_contains("cifx.sortc2") > -! echo "field cifx.sortc2 will be added" -! echo `date` +select now(),'field cifx.sortc2 will be added' +from xdummy; alter table cifx add ( sortc2 CHAR(10) ); @@ -1752,8 +1784,8 @@ alter table cifx add ( sortc2 CHAR(10) ); <#if !fields?seq_contains("cifx.sourcesystem") > -! echo "field cifx.sourcesystem will be added" -! echo `date` +select now(),'field cifx.sourcesystem will be added' +from xdummy; alter table cifx add ( sourcesystem integer ); @@ -1762,8 +1794,8 @@ alter table cifx add ( sourcesystem integer ); <#if !fields?seq_contains("cifx.sourcesystem_id") > -! echo "field cifx.sourcesystem_id will be added" -! echo `date` +select now(),'field cifx.sourcesystem_id will be added' +from xdummy; alter table cifx add ( sourcesystem_id NVARCHAR(255) ); @@ -1772,8 +1804,8 @@ alter table cifx add ( sourcesystem_id NVARCHAR(255) ); <#if !fields?seq_contains("cifx.intern_int") > -! echo "field cifx.intern_int will be added" -! echo `date` +select now(),'field cifx.intern_int will be added' +from xdummy; alter table cifx add ( intern_int INTEGER ); @@ -1782,8 +1814,8 @@ alter table cifx add ( intern_int INTEGER ); <#if !fields?seq_contains("cifx.intern_c") > -! echo "field cifx.intern_c will be added" -! echo `date` +select now(),'field cifx.intern_c will be added' +from xdummy; alter table cifx add ( intern_c CHAR(10) ); @@ -1792,8 +1824,8 @@ alter table cifx add ( intern_c CHAR(10) ); <#if !fields?seq_contains("cifx.sprache") > -! echo "field cifx.sprache will be added" -! echo `date` +select now(),'field cifx.sprache will be added' +from xdummy; alter table cifx add ( sprache CHAR(3) ); @@ -1802,8 +1834,8 @@ alter table cifx add ( sprache CHAR(3) ); <#if !fields?seq_contains("cifx.struktur_int") > -! echo "field cifx.struktur_int will be added" -! echo `date` +select now(),'field cifx.struktur_int will be added' +from xdummy; alter table cifx add ( struktur_int INTEGER ); @@ -1812,8 +1844,8 @@ alter table cifx add ( struktur_int INTEGER ); <#if !fields?seq_contains("cifx.struktur_c") > -! echo "field cifx.struktur_c will be added" -! echo `date` +select now(),'field cifx.struktur_c will be added' +from xdummy; alter table cifx add ( struktur_c CHAR(50) ); @@ -1822,8 +1854,8 @@ alter table cifx add ( struktur_c CHAR(50) ); <#if !fields?seq_contains("cifx.ebene") > -! echo "field cifx.ebene will be added" -! echo `date` +select now(),'field cifx.ebene will be added' +from xdummy; alter table cifx add ( ebene INTEGER ); @@ -1832,8 +1864,8 @@ alter table cifx add ( ebene INTEGER ); <#if !fields?seq_contains("cifx.lid") > -! echo "field cifx.lid will be added" -! echo `date` +select now(),'field cifx.lid will be added' +from xdummy; alter table cifx add ( lid NVARCHAR(255) ); @@ -1842,8 +1874,8 @@ alter table cifx add ( lid NVARCHAR(255) ); <#if !fields?seq_contains("cifx.parent_lid") > -! echo "field cifx.parent_lid will be added" -! echo `date` +select now(),'field cifx.parent_lid will be added' +from xdummy; alter table cifx add ( parent_lid NVARCHAR(255) ); @@ -1852,8 +1884,8 @@ alter table cifx add ( parent_lid NVARCHAR(255) ); <#if !fields?seq_contains("trans_cifx.key") > -! echo "field trans_cifx.key will be added" -! echo `date` +select now(),'field trans_cifx.key will be added' +from xdummy; alter table trans_cifx add ( key SMALLINT not null); @@ -1862,8 +1894,8 @@ alter table trans_cifx add ( key SMALLINT not null); <#if !fields?seq_contains("trans_cifx.apnr") > -! echo "field trans_cifx.apnr will be added" -! echo `date` +select now(),'field trans_cifx.apnr will be added' +from xdummy; alter table trans_cifx add ( apnr CHAR(10) not null); @@ -1872,8 +1904,8 @@ alter table trans_cifx add ( apnr CHAR(10) not null); <#if !fields?seq_contains("trans_cifx.cifx_tid") > -! echo "field trans_cifx.cifx_tid will be added" -! echo `date` +select now(),'field trans_cifx.cifx_tid will be added' +from xdummy; alter table trans_cifx add ( cifx_tid INTEGER ); @@ -1882,8 +1914,8 @@ alter table trans_cifx add ( cifx_tid INTEGER ); <#if !fields?seq_contains("trans_cifx.sourcesystem") > -! echo "field trans_cifx.sourcesystem will be added" -! echo `date` +select now(),'field trans_cifx.sourcesystem will be added' +from xdummy; alter table trans_cifx add ( sourcesystem INTEGER not null); @@ -1892,8 +1924,8 @@ alter table trans_cifx add ( sourcesystem INTEGER not null); <#if !fields?seq_contains("trans_cifx.sourcesystem_id") > -! echo "field trans_cifx.sourcesystem_id will be added" -! echo `date` +select now(),'field trans_cifx.sourcesystem_id will be added' +from xdummy; alter table trans_cifx add ( sourcesystem_id NVARCHAR(255) ); @@ -1902,8 +1934,8 @@ alter table trans_cifx add ( sourcesystem_id NVARCHAR(255) ); <#if !fields?seq_contains("trans_cifx.systeminfo_id") > -! echo "field trans_cifx.systeminfo_id will be added" -! echo `date` +select now(),'field trans_cifx.systeminfo_id will be added' +from xdummy; alter table trans_cifx add ( systeminfo_id INTEGER ); @@ -1912,8 +1944,8 @@ alter table trans_cifx add ( systeminfo_id INTEGER ); <#if !fields?seq_contains("trans_cif.key") > -! echo "field trans_cif.key will be added" -! echo `date` +select now(),'field trans_cif.key will be added' +from xdummy; alter table trans_cif add ( key SMALLINT not null); @@ -1922,8 +1954,8 @@ alter table trans_cif add ( key SMALLINT not null); <#if !fields?seq_contains("trans_cif.apnr") > -! echo "field trans_cif.apnr will be added" -! echo `date` +select now(),'field trans_cif.apnr will be added' +from xdummy; alter table trans_cif add ( apnr CHAR(10) not null); @@ -1932,8 +1964,8 @@ alter table trans_cif add ( apnr CHAR(10) not null); <#if !fields?seq_contains("trans_cif.cif_tid") > -! echo "field trans_cif.cif_tid will be added" -! echo `date` +select now(),'field trans_cif.cif_tid will be added' +from xdummy; alter table trans_cif add ( cif_tid INTEGER ); @@ -1942,8 +1974,8 @@ alter table trans_cif add ( cif_tid INTEGER ); <#if !fields?seq_contains("trans_cif.sourcesystem") > -! echo "field trans_cif.sourcesystem will be added" -! echo `date` +select now(),'field trans_cif.sourcesystem will be added' +from xdummy; alter table trans_cif add ( sourcesystem INTEGER not null); @@ -1952,8 +1984,8 @@ alter table trans_cif add ( sourcesystem INTEGER not null); <#if !fields?seq_contains("trans_cif.sourcesystem_id") > -! echo "field trans_cif.sourcesystem_id will be added" -! echo `date` +select now(),'field trans_cif.sourcesystem_id will be added' +from xdummy; alter table trans_cif add ( sourcesystem_id NVARCHAR(255) ); @@ -1962,18 +1994,98 @@ alter table trans_cif add ( sourcesystem_id NVARCHAR(255) ); <#if !fields?seq_contains("trans_cif.systeminfo_id") > -! echo "field trans_cif.systeminfo_id will be added" -! echo `date` +select now(),'field trans_cif.systeminfo_id will be added' +from xdummy; alter table trans_cif add ( systeminfo_id INTEGER ); +<#if !fields?seq_contains("cifx_customize.tid") > + + +select now(),'field cifx_customize.tid will be added' +from xdummy; + +alter table cifx_customize add ( tid SERIAL not null); + + + +<#if !fields?seq_contains("cifx_customize.cifx_table") > + + +select now(),'field cifx_customize.cifx_table will be added' +from xdummy; + +alter table cifx_customize add ( cifx_table NVARCHAR(255) not null); + + + +<#if !fields?seq_contains("cifx_customize.key") > + + +select now(),'field cifx_customize.key will be added' +from xdummy; + +alter table cifx_customize add ( key SMALLINT not null); + + + +<#if !fields?seq_contains("cifx_customize.apnr") > + + +select now(),'field cifx_customize.apnr will be added' +from xdummy; + +alter table cifx_customize add ( apnr CHAR(10) not null); + + + +<#if !fields?seq_contains("cifx_customize.kurz") > + + +select now(),'field cifx_customize.kurz will be added' +from xdummy; + +alter table cifx_customize add ( kurz NVARCHAR(255) ); + + + +<#if !fields?seq_contains("cifx_customize.druck") > + + +select now(),'field cifx_customize.druck will be added' +from xdummy; + +alter table cifx_customize add ( druck NVARCHAR(255) default 'Drucktext' ); + + + +<#if !fields?seq_contains("cifx_customize.lang_1") > + + +select now(),'field cifx_customize.lang_1 will be added' +from xdummy; + +alter table cifx_customize add ( lang_1 NVARCHAR(255) ); + + + +<#if !fields?seq_contains("cifx_customize.uniquename") > + + +select now(),'field cifx_customize.uniquename will be added' +from xdummy; + +alter table cifx_customize add ( uniquename NVARCHAR(255) ); + + + <#if !fields?seq_contains("felderinfo.tid") > -! echo "field felderinfo.tid will be added" -! echo `date` +select now(),'field felderinfo.tid will be added' +from xdummy; alter table felderinfo add ( tid INTEGER not null); @@ -1982,8 +2094,8 @@ alter table felderinfo add ( tid INTEGER not null); <#if !fields?seq_contains("felderinfo.name") > -! echo "field felderinfo.name will be added" -! echo `date` +select now(),'field felderinfo.name will be added' +from xdummy; alter table felderinfo add ( name NVARCHAR(255) not null); @@ -1992,8 +2104,8 @@ alter table felderinfo add ( name NVARCHAR(255) not null); <#if !fields?seq_contains("felderinfo.nummer") > -! echo "field felderinfo.nummer will be added" -! echo `date` +select now(),'field felderinfo.nummer will be added' +from xdummy; alter table felderinfo add ( nummer INTEGER not null); @@ -2002,8 +2114,8 @@ alter table felderinfo add ( nummer INTEGER not null); <#if !fields?seq_contains("felderinfo.x") > -! echo "field felderinfo.x will be added" -! echo `date` +select now(),'field felderinfo.x will be added' +from xdummy; alter table felderinfo add ( x INTEGER ); @@ -2012,8 +2124,8 @@ alter table felderinfo add ( x INTEGER ); <#if !fields?seq_contains("felderinfo.y") > -! echo "field felderinfo.y will be added" -! echo `date` +select now(),'field felderinfo.y will be added' +from xdummy; alter table felderinfo add ( y INTEGER ); @@ -2022,8 +2134,8 @@ alter table felderinfo add ( y INTEGER ); <#if !fields?seq_contains("felderinfo.buttonbreite") > -! echo "field felderinfo.buttonbreite will be added" -! echo `date` +select now(),'field felderinfo.buttonbreite will be added' +from xdummy; alter table felderinfo add ( buttonbreite INTEGER ); @@ -2032,8 +2144,8 @@ alter table felderinfo add ( buttonbreite INTEGER ); <#if !fields?seq_contains("felderinfo.feldbreite") > -! echo "field felderinfo.feldbreite will be added" -! echo `date` +select now(),'field felderinfo.feldbreite will be added' +from xdummy; alter table felderinfo add ( feldbreite INTEGER ); @@ -2042,8 +2154,8 @@ alter table felderinfo add ( feldbreite INTEGER ); <#if !fields?seq_contains("felderinfo.zeilenanzahl") > -! echo "field felderinfo.zeilenanzahl will be added" -! echo `date` +select now(),'field felderinfo.zeilenanzahl will be added' +from xdummy; alter table felderinfo add ( zeilenanzahl INTEGER ); @@ -2052,8 +2164,8 @@ alter table felderinfo add ( zeilenanzahl INTEGER ); <#if !fields?seq_contains("felderinfo.typ") > -! echo "field felderinfo.typ will be added" -! echo `date` +select now(),'field felderinfo.typ will be added' +from xdummy; alter table felderinfo add ( typ CHAR(15) ); @@ -2062,8 +2174,8 @@ alter table felderinfo add ( typ CHAR(15) ); <#if !fields?seq_contains("felderinfo.laenge") > -! echo "field felderinfo.laenge will be added" -! echo `date` +select now(),'field felderinfo.laenge will be added' +from xdummy; alter table felderinfo add ( laenge INTEGER ); @@ -2072,8 +2184,8 @@ alter table felderinfo add ( laenge INTEGER ); <#if !fields?seq_contains("felderinfo.obligatorisch") > -! echo "field felderinfo.obligatorisch will be added" -! echo `date` +select now(),'field felderinfo.obligatorisch will be added' +from xdummy; alter table felderinfo add ( obligatorisch INTEGER ); @@ -2082,8 +2194,8 @@ alter table felderinfo add ( obligatorisch INTEGER ); <#if !fields?seq_contains("felderinfo.art") > -! echo "field felderinfo.art will be added" -! echo `date` +select now(),'field felderinfo.art will be added' +from xdummy; alter table felderinfo add ( art INTEGER ); @@ -2092,8 +2204,8 @@ alter table felderinfo add ( art INTEGER ); <#if !fields?seq_contains("felderinfo.relation") > -! echo "field felderinfo.relation will be added" -! echo `date` +select now(),'field felderinfo.relation will be added' +from xdummy; alter table felderinfo add ( relation text ); @@ -2102,8 +2214,8 @@ alter table felderinfo add ( relation text ); <#if !fields?seq_contains("felderinfo.attribut") > -! echo "field felderinfo.attribut will be added" -! echo `date` +select now(),'field felderinfo.attribut will be added' +from xdummy; alter table felderinfo add ( attribut NCHAR(100) ); @@ -2112,8 +2224,8 @@ alter table felderinfo add ( attribut NCHAR(100) ); <#if !fields?seq_contains("felderinfo.defaultwert") > -! echo "field felderinfo.defaultwert will be added" -! echo `date` +select now(),'field felderinfo.defaultwert will be added' +from xdummy; alter table felderinfo add ( defaultwert NCHAR(255) ); @@ -2122,8 +2234,8 @@ alter table felderinfo add ( defaultwert NCHAR(255) ); <#if !fields?seq_contains("hochschulinfo.name") > -! echo "field hochschulinfo.name will be added" -! echo `date` +select now(),'field hochschulinfo.name will be added' +from xdummy; alter table hochschulinfo add ( name NCHAR(100) not null); @@ -2132,8 +2244,8 @@ alter table hochschulinfo add ( name NCHAR(100) not null); <#if !fields?seq_contains("hochschulinfo.adresse") > -! echo "field hochschulinfo.adresse will be added" -! echo `date` +select now(),'field hochschulinfo.adresse will be added' +from xdummy; alter table hochschulinfo add ( adresse NCHAR(200) ); @@ -2142,8 +2254,8 @@ alter table hochschulinfo add ( adresse NCHAR(200) ); <#if !fields?seq_contains("hochschulinfo.hs_nr") > -! echo "field hochschulinfo.hs_nr will be added" -! echo `date` +select now(),'field hochschulinfo.hs_nr will be added' +from xdummy; alter table hochschulinfo add ( hs_nr INTEGER not null); @@ -2152,8 +2264,8 @@ alter table hochschulinfo add ( hs_nr INTEGER not null); <#if !fields?seq_contains("hochschulinfo.kapitel") > -! echo "field hochschulinfo.kapitel will be added" -! echo `date` +select now(),'field hochschulinfo.kapitel will be added' +from xdummy; alter table hochschulinfo add ( kapitel CHAR(5) not null); @@ -2162,8 +2274,8 @@ alter table hochschulinfo add ( kapitel CHAR(5) not null); <#if !fields?seq_contains("hochschulinfo.superx_server") > -! echo "field hochschulinfo.superx_server will be added" -! echo `date` +select now(),'field hochschulinfo.superx_server will be added' +from xdummy; alter table hochschulinfo add ( superx_server NCHAR(100) not null); @@ -2172,8 +2284,8 @@ alter table hochschulinfo add ( superx_server NCHAR(100) not null); <#if !fields?seq_contains("hochschulinfo.kennung") > -! echo "field hochschulinfo.kennung will be added" -! echo `date` +select now(),'field hochschulinfo.kennung will be added' +from xdummy; alter table hochschulinfo add ( kennung CHAR(8) ); @@ -2182,8 +2294,8 @@ alter table hochschulinfo add ( kennung CHAR(8) ); <#if !fields?seq_contains("hochschulinfo.passwd") > -! echo "field hochschulinfo.passwd will be added" -! echo `date` +select now(),'field hochschulinfo.passwd will be added' +from xdummy; alter table hochschulinfo add ( passwd CHAR(16) ); @@ -2192,8 +2304,8 @@ alter table hochschulinfo add ( passwd CHAR(16) ); <#if !fields?seq_contains("maske_system_bez.maskeninfo_id") > -! echo "field maske_system_bez.maskeninfo_id will be added" -! echo `date` +select now(),'field maske_system_bez.maskeninfo_id will be added' +from xdummy; alter table maske_system_bez add ( maskeninfo_id INTEGER not null); @@ -2202,8 +2314,8 @@ alter table maske_system_bez add ( maskeninfo_id INTEGER not null); <#if !fields?seq_contains("maske_system_bez.systeminfo_id") > -! echo "field maske_system_bez.systeminfo_id will be added" -! echo `date` +select now(),'field maske_system_bez.systeminfo_id will be added' +from xdummy; alter table maske_system_bez add ( systeminfo_id INTEGER not null); @@ -2212,8 +2324,8 @@ alter table maske_system_bez add ( systeminfo_id INTEGER not null); <#if !fields?seq_contains("maskeninfo.tid") > -! echo "field maskeninfo.tid will be added" -! echo `date` +select now(),'field maskeninfo.tid will be added' +from xdummy; alter table maskeninfo add ( tid INTEGER not null); @@ -2222,8 +2334,8 @@ alter table maskeninfo add ( tid INTEGER not null); <#if !fields?seq_contains("maskeninfo.name") > -! echo "field maskeninfo.name will be added" -! echo `date` +select now(),'field maskeninfo.name will be added' +from xdummy; alter table maskeninfo add ( name NCHAR(255) not null); @@ -2232,8 +2344,8 @@ alter table maskeninfo add ( name NCHAR(255) not null); <#if !fields?seq_contains("maskeninfo.select_stmt") > -! echo "field maskeninfo.select_stmt will be added" -! echo `date` +select now(),'field maskeninfo.select_stmt will be added' +from xdummy; alter table maskeninfo add ( select_stmt text ); @@ -2242,8 +2354,8 @@ alter table maskeninfo add ( select_stmt text ); <#if !fields?seq_contains("maskeninfo.xil_proplist") > -! echo "field maskeninfo.xil_proplist will be added" -! echo `date` +select now(),'field maskeninfo.xil_proplist will be added' +from xdummy; alter table maskeninfo add ( xil_proplist text ); @@ -2252,8 +2364,8 @@ alter table maskeninfo add ( xil_proplist text ); <#if !fields?seq_contains("maskeninfo.chart_xtitel") > -! echo "field maskeninfo.chart_xtitel will be added" -! echo `date` +select now(),'field maskeninfo.chart_xtitel will be added' +from xdummy; alter table maskeninfo add ( chart_xtitel CHAR(50) ); @@ -2262,8 +2374,8 @@ alter table maskeninfo add ( chart_xtitel CHAR(50) ); <#if !fields?seq_contains("maskeninfo.chart_ytitel") > -! echo "field maskeninfo.chart_ytitel will be added" -! echo `date` +select now(),'field maskeninfo.chart_ytitel will be added' +from xdummy; alter table maskeninfo add ( chart_ytitel CHAR(50) ); @@ -2272,8 +2384,8 @@ alter table maskeninfo add ( chart_ytitel CHAR(50) ); <#if !fields?seq_contains("maskeninfo.erlaeuterung") > -! echo "field maskeninfo.erlaeuterung will be added" -! echo `date` +select now(),'field maskeninfo.erlaeuterung will be added' +from xdummy; alter table maskeninfo add ( erlaeuterung NCHAR(255) ); @@ -2282,8 +2394,8 @@ alter table maskeninfo add ( erlaeuterung NCHAR(255) ); <#if !fields?seq_contains("maskeninfo.cleanup_stmt") > -! echo "field maskeninfo.cleanup_stmt will be added" -! echo `date` +select now(),'field maskeninfo.cleanup_stmt will be added' +from xdummy; alter table maskeninfo add ( cleanup_stmt NCHAR(240) ); @@ -2292,8 +2404,8 @@ alter table maskeninfo add ( cleanup_stmt NCHAR(240) ); <#if !fields?seq_contains("maskeninfo.default_file") > -! echo "field maskeninfo.default_file will be added" -! echo `date` +select now(),'field maskeninfo.default_file will be added' +from xdummy; alter table maskeninfo add ( default_file NCHAR(200) ); @@ -2302,8 +2414,8 @@ alter table maskeninfo add ( default_file NCHAR(200) ); <#if !fields?seq_contains("maskeninfo.frontend") > -! echo "field maskeninfo.frontend will be added" -! echo `date` +select now(),'field maskeninfo.frontend will be added' +from xdummy; alter table maskeninfo add ( frontend SMALLINT ); @@ -2312,8 +2424,8 @@ alter table maskeninfo add ( frontend SMALLINT ); <#if !fields?seq_contains("maskeninfo.breite") > -! echo "field maskeninfo.breite will be added" -! echo `date` +select now(),'field maskeninfo.breite will be added' +from xdummy; alter table maskeninfo add ( breite INTEGER ); @@ -2322,8 +2434,8 @@ alter table maskeninfo add ( breite INTEGER ); <#if !fields?seq_contains("maskeninfo.hoehe") > -! echo "field maskeninfo.hoehe will be added" -! echo `date` +select now(),'field maskeninfo.hoehe will be added' +from xdummy; alter table maskeninfo add ( hoehe INTEGER ); @@ -2332,8 +2444,8 @@ alter table maskeninfo add ( hoehe INTEGER ); <#if !fields?seq_contains("maskeninfo.ampel") > -! echo "field maskeninfo.ampel will be added" -! echo `date` +select now(),'field maskeninfo.ampel will be added' +from xdummy; alter table maskeninfo add ( ampel SMALLINT ); @@ -2342,8 +2454,8 @@ alter table maskeninfo add ( ampel SMALLINT ); <#if !fields?seq_contains("maskeninfo.hilfe") > -! echo "field maskeninfo.hilfe will be added" -! echo `date` +select now(),'field maskeninfo.hilfe will be added' +from xdummy; alter table maskeninfo add ( hilfe SMALLINT ); @@ -2352,8 +2464,8 @@ alter table maskeninfo add ( hilfe SMALLINT ); <#if !fields?seq_contains("maskeninfo.hinweis") > -! echo "field maskeninfo.hinweis will be added" -! echo `date` +select now(),'field maskeninfo.hinweis will be added' +from xdummy; alter table maskeninfo add ( hinweis text ); @@ -2362,8 +2474,8 @@ alter table maskeninfo add ( hinweis text ); <#if !fields?seq_contains("proto_funktion.proto_fkt_id") > -! echo "field proto_funktion.proto_fkt_id will be added" -! echo `date` +select now(),'field proto_funktion.proto_fkt_id will be added' +from xdummy; alter table proto_funktion add ( proto_fkt_id SMALLINT not null); @@ -2372,8 +2484,8 @@ alter table proto_funktion add ( proto_fkt_id SMALLINT not null); <#if !fields?seq_contains("proto_funktion.proto_fkt") > -! echo "field proto_funktion.proto_fkt will be added" -! echo `date` +select now(),'field proto_funktion.proto_fkt will be added' +from xdummy; alter table proto_funktion add ( proto_fkt CHAR(20) not null); @@ -2382,8 +2494,8 @@ alter table proto_funktion add ( proto_fkt CHAR(20) not null); <#if !fields?seq_contains("systeminfo.tid") > -! echo "field systeminfo.tid will be added" -! echo `date` +select now(),'field systeminfo.tid will be added' +from xdummy; alter table systeminfo add ( tid INTEGER not null); @@ -2392,8 +2504,8 @@ alter table systeminfo add ( tid INTEGER not null); <#if !fields?seq_contains("systeminfo.name") > -! echo "field systeminfo.name will be added" -! echo `date` +select now(),'field systeminfo.name will be added' +from xdummy; alter table systeminfo add ( name CHAR(50) not null); @@ -2402,18 +2514,18 @@ alter table systeminfo add ( name CHAR(50) not null); <#if !fields?seq_contains("systeminfo.datum") > -! echo "field systeminfo.datum will be added" -! echo `date` +select now(),'field systeminfo.datum will be added' +from xdummy; -alter table systeminfo add ( datum DATE ); +alter table systeminfo add ( datum datetime year to second ); <#if !fields?seq_contains("user_einstellungen.tid") > -! echo "field user_einstellungen.tid will be added" -! echo `date` +select now(),'field user_einstellungen.tid will be added' +from xdummy; alter table user_einstellungen add ( tid INTEGER not null); @@ -2422,8 +2534,8 @@ alter table user_einstellungen add ( tid INTEGER not null); <#if !fields?seq_contains("user_einstellungen.arbeitsverzeichnis") > -! echo "field user_einstellungen.arbeitsverzeichnis will be added" -! echo `date` +select now(),'field user_einstellungen.arbeitsverzeichnis will be added' +from xdummy; alter table user_einstellungen add ( arbeitsverzeichnis NCHAR(255) ); @@ -2432,8 +2544,8 @@ alter table user_einstellungen add ( arbeitsverzeichnis NCHAR(255) ); <#if !fields?seq_contains("userinfo.tid") > -! echo "field userinfo.tid will be added" -! echo `date` +select now(),'field userinfo.tid will be added' +from xdummy; alter table userinfo add ( tid INTEGER not null); @@ -2442,8 +2554,8 @@ alter table userinfo add ( tid INTEGER not null); <#if !fields?seq_contains("userinfo.benutzer") > -! echo "field userinfo.benutzer will be added" -! echo `date` +select now(),'field userinfo.benutzer will be added' +from xdummy; alter table userinfo add ( benutzer NVARCHAR(255) not null); @@ -2452,8 +2564,8 @@ alter table userinfo add ( benutzer NVARCHAR(255) not null); <#if !fields?seq_contains("userinfo.kennwort") > -! echo "field userinfo.kennwort will be added" -! echo `date` +select now(),'field userinfo.kennwort will be added' +from xdummy; alter table userinfo add ( kennwort CHAR(16) ); @@ -2462,8 +2574,8 @@ alter table userinfo add ( kennwort CHAR(16) ); <#if !fields?seq_contains("userinfo.name") > -! echo "field userinfo.name will be added" -! echo `date` +select now(),'field userinfo.name will be added' +from xdummy; alter table userinfo add ( name CHAR(50) ); @@ -2472,8 +2584,8 @@ alter table userinfo add ( name CHAR(50) ); <#if !fields?seq_contains("userinfo.max_versuch") > -! echo "field userinfo.max_versuch will be added" -! echo `date` +select now(),'field userinfo.max_versuch will be added' +from xdummy; alter table userinfo add ( max_versuch SMALLINT not null); @@ -2482,8 +2594,8 @@ alter table userinfo add ( max_versuch SMALLINT not null); <#if !fields?seq_contains("userinfo.akt_versuch") > -! echo "field userinfo.akt_versuch will be added" -! echo `date` +select now(),'field userinfo.akt_versuch will be added' +from xdummy; alter table userinfo add ( akt_versuch SMALLINT not null); @@ -2492,8 +2604,8 @@ alter table userinfo add ( akt_versuch SMALLINT not null); <#if !fields?seq_contains("userinfo.email") > -! echo "field userinfo.email will be added" -! echo `date` +select now(),'field userinfo.email will be added' +from xdummy; alter table userinfo add ( email NCHAR(255) ); @@ -2502,8 +2614,8 @@ alter table userinfo add ( email NCHAR(255) ); <#if !fields?seq_contains("userinfo.administration") > -! echo "field userinfo.administration will be added" -! echo `date` +select now(),'field userinfo.administration will be added' +from xdummy; alter table userinfo add ( administration SMALLINT not null); @@ -2512,8 +2624,8 @@ alter table userinfo add ( administration SMALLINT not null); <#if !fields?seq_contains("userinfo.archiv_recht") > -! echo "field userinfo.archiv_recht will be added" -! echo `date` +select now(),'field userinfo.archiv_recht will be added' +from xdummy; alter table userinfo add ( archiv_recht SMALLINT not null); @@ -2522,8 +2634,8 @@ alter table userinfo add ( archiv_recht SMALLINT not null); <#if !fields?seq_contains("userinfo.passwd_sha") > -! echo "field userinfo.passwd_sha will be added" -! echo `date` +select now(),'field userinfo.passwd_sha will be added' +from xdummy; alter table userinfo add ( passwd_sha NCHAR(255) ); @@ -2532,8 +2644,8 @@ alter table userinfo add ( passwd_sha NCHAR(255) ); <#if !fields?seq_contains("userinfo.info") > -! echo "field userinfo.info will be added" -! echo `date` +select now(),'field userinfo.info will be added' +from xdummy; alter table userinfo add ( info NCHAR(255) ); @@ -2542,8 +2654,8 @@ alter table userinfo add ( info NCHAR(255) ); <#if !fields?seq_contains("userinfo.extern_account_id") > -! echo "field userinfo.extern_account_id will be added" -! echo `date` +select now(),'field userinfo.extern_account_id will be added' +from xdummy; alter table userinfo add ( extern_account_id NVARCHAR(255) ); @@ -2552,8 +2664,8 @@ alter table userinfo add ( extern_account_id NVARCHAR(255) ); <#if !fields?seq_contains("userinfo.extern_person_id") > -! echo "field userinfo.extern_person_id will be added" -! echo `date` +select now(),'field userinfo.extern_person_id will be added' +from xdummy; alter table userinfo add ( extern_person_id NVARCHAR(255) ); @@ -2562,18 +2674,28 @@ alter table userinfo add ( extern_person_id NVARCHAR(255) ); <#if !fields?seq_contains("userinfo.sieht_projekte") > -! echo "field userinfo.sieht_projekte will be added" -! echo `date` +select now(),'field userinfo.sieht_projekte will be added' +from xdummy; alter table userinfo add ( sieht_projekte SMALLINT default 0 ); +<#if !fields?seq_contains("userinfo.extern_role_id") > + + +select now(),'field userinfo.extern_role_id will be added' +from xdummy; + +alter table userinfo add ( extern_role_id INTEGER ); + + + <#if !fields?seq_contains("themenbaum.tid") > -! echo "field themenbaum.tid will be added" -! echo `date` +select now(),'field themenbaum.tid will be added' +from xdummy; alter table themenbaum add ( tid SERIAL ); @@ -2582,8 +2704,8 @@ alter table themenbaum add ( tid SERIAL ); <#if !fields?seq_contains("themenbaum.name") > -! echo "field themenbaum.name will be added" -! echo `date` +select now(),'field themenbaum.name will be added' +from xdummy; alter table themenbaum add ( name NVARCHAR(255) not null); @@ -2592,8 +2714,8 @@ alter table themenbaum add ( name NVARCHAR(255) not null); <#if !fields?seq_contains("themenbaum.maskeninfo_id") > -! echo "field themenbaum.maskeninfo_id will be added" -! echo `date` +select now(),'field themenbaum.maskeninfo_id will be added' +from xdummy; alter table themenbaum add ( maskeninfo_id INTEGER ); @@ -2602,8 +2724,8 @@ alter table themenbaum add ( maskeninfo_id INTEGER ); <#if !fields?seq_contains("themenbaum.parent") > -! echo "field themenbaum.parent will be added" -! echo `date` +select now(),'field themenbaum.parent will be added' +from xdummy; alter table themenbaum add ( parent INTEGER ); @@ -2612,8 +2734,8 @@ alter table themenbaum add ( parent INTEGER ); <#if !fields?seq_contains("themenbaum.gueltig_seit") > -! echo "field themenbaum.gueltig_seit will be added" -! echo `date` +select now(),'field themenbaum.gueltig_seit will be added' +from xdummy; alter table themenbaum add ( gueltig_seit DATE ); @@ -2622,8 +2744,8 @@ alter table themenbaum add ( gueltig_seit DATE ); <#if !fields?seq_contains("themenbaum.gueltig_bis") > -! echo "field themenbaum.gueltig_bis will be added" -! echo `date` +select now(),'field themenbaum.gueltig_bis will be added' +from xdummy; alter table themenbaum add ( gueltig_bis DATE ); @@ -2632,8 +2754,8 @@ alter table themenbaum add ( gueltig_bis DATE ); <#if !fields?seq_contains("themenbaum.erlaeuterung") > -! echo "field themenbaum.erlaeuterung will be added" -! echo `date` +select now(),'field themenbaum.erlaeuterung will be added' +from xdummy; alter table themenbaum add ( erlaeuterung NCHAR(240) ); @@ -2642,8 +2764,8 @@ alter table themenbaum add ( erlaeuterung NCHAR(240) ); <#if !fields?seq_contains("themenbaum.sort") > -! echo "field themenbaum.sort will be added" -! echo `date` +select now(),'field themenbaum.sort will be added' +from xdummy; alter table themenbaum add ( sort INTEGER default 0 not null); @@ -2652,8 +2774,8 @@ alter table themenbaum add ( sort INTEGER default 0 not null); <#if !fields?seq_contains("themenbaum.css_class") > -! echo "field themenbaum.css_class will be added" -! echo `date` +select now(),'field themenbaum.css_class will be added' +from xdummy; alter table themenbaum add ( css_class NVARCHAR(255) ); @@ -2662,8 +2784,8 @@ alter table themenbaum add ( css_class NVARCHAR(255) ); <#if !fields?seq_contains("themenbaum_bak.tid") > -! echo "field themenbaum_bak.tid will be added" -! echo `date` +select now(),'field themenbaum_bak.tid will be added' +from xdummy; alter table themenbaum_bak add ( tid INTEGER ); @@ -2672,8 +2794,8 @@ alter table themenbaum_bak add ( tid INTEGER ); <#if !fields?seq_contains("themenbaum_bak.name") > -! echo "field themenbaum_bak.name will be added" -! echo `date` +select now(),'field themenbaum_bak.name will be added' +from xdummy; alter table themenbaum_bak add ( name NVARCHAR(255) not null); @@ -2682,8 +2804,8 @@ alter table themenbaum_bak add ( name NVARCHAR(255) not null); <#if !fields?seq_contains("themenbaum_bak.maskeninfo_id") > -! echo "field themenbaum_bak.maskeninfo_id will be added" -! echo `date` +select now(),'field themenbaum_bak.maskeninfo_id will be added' +from xdummy; alter table themenbaum_bak add ( maskeninfo_id INTEGER ); @@ -2692,8 +2814,8 @@ alter table themenbaum_bak add ( maskeninfo_id INTEGER ); <#if !fields?seq_contains("themenbaum_bak.parent") > -! echo "field themenbaum_bak.parent will be added" -! echo `date` +select now(),'field themenbaum_bak.parent will be added' +from xdummy; alter table themenbaum_bak add ( parent INTEGER ); @@ -2702,8 +2824,8 @@ alter table themenbaum_bak add ( parent INTEGER ); <#if !fields?seq_contains("themenbaum_bak.gueltig_seit") > -! echo "field themenbaum_bak.gueltig_seit will be added" -! echo `date` +select now(),'field themenbaum_bak.gueltig_seit will be added' +from xdummy; alter table themenbaum_bak add ( gueltig_seit DATE ); @@ -2712,8 +2834,8 @@ alter table themenbaum_bak add ( gueltig_seit DATE ); <#if !fields?seq_contains("themenbaum_bak.gueltig_bis") > -! echo "field themenbaum_bak.gueltig_bis will be added" -! echo `date` +select now(),'field themenbaum_bak.gueltig_bis will be added' +from xdummy; alter table themenbaum_bak add ( gueltig_bis DATE ); @@ -2722,8 +2844,8 @@ alter table themenbaum_bak add ( gueltig_bis DATE ); <#if !fields?seq_contains("themenbaum_bak.erlaeuterung") > -! echo "field themenbaum_bak.erlaeuterung will be added" -! echo `date` +select now(),'field themenbaum_bak.erlaeuterung will be added' +from xdummy; alter table themenbaum_bak add ( erlaeuterung NCHAR(240) ); @@ -2732,8 +2854,8 @@ alter table themenbaum_bak add ( erlaeuterung NCHAR(240) ); <#if !fields?seq_contains("nachricht.aktuell") > -! echo "field nachricht.aktuell will be added" -! echo `date` +select now(),'field nachricht.aktuell will be added' +from xdummy; alter table nachricht add ( aktuell NCHAR(255) ); @@ -2742,8 +2864,8 @@ alter table nachricht add ( aktuell NCHAR(255) ); <#if !fields?seq_contains("menu_element.id") > -! echo "field menu_element.id will be added" -! echo `date` +select now(),'field menu_element.id will be added' +from xdummy; alter table menu_element add ( id INTEGER not null); @@ -2752,8 +2874,8 @@ alter table menu_element add ( id INTEGER not null); <#if !fields?seq_contains("menu_element.element") > -! echo "field menu_element.element will be added" -! echo `date` +select now(),'field menu_element.element will be added' +from xdummy; alter table menu_element add ( element NVARCHAR(255) ); @@ -2762,8 +2884,8 @@ alter table menu_element add ( element NVARCHAR(255) ); <#if !fields?seq_contains("menu_element.element_value") > -! echo "field menu_element.element_value will be added" -! echo `date` +select now(),'field menu_element.element_value will be added' +from xdummy; alter table menu_element add ( element_value NVARCHAR(255) ); @@ -2772,8 +2894,8 @@ alter table menu_element add ( element_value NVARCHAR(255) ); <#if !fields?seq_contains("menu_element.description") > -! echo "field menu_element.description will be added" -! echo `date` +select now(),'field menu_element.description will be added' +from xdummy; alter table menu_element add ( description NVARCHAR(255) ); @@ -2782,8 +2904,8 @@ alter table menu_element add ( description NVARCHAR(255) ); <#if !fields?seq_contains("menu_element.nature") > -! echo "field menu_element.nature will be added" -! echo `date` +select now(),'field menu_element.nature will be added' +from xdummy; alter table menu_element add ( nature NVARCHAR(255) ); @@ -2792,8 +2914,8 @@ alter table menu_element add ( nature NVARCHAR(255) ); <#if !fields?seq_contains("menu_element.annotation") > -! echo "field menu_element.annotation will be added" -! echo `date` +select now(),'field menu_element.annotation will be added' +from xdummy; alter table menu_element add ( annotation NVARCHAR(255) ); @@ -2802,8 +2924,8 @@ alter table menu_element add ( annotation NVARCHAR(255) ); <#if !fields?seq_contains("dbconnections.id") > -! echo "field dbconnections.id will be added" -! echo `date` +select now(),'field dbconnections.id will be added' +from xdummy; alter table dbconnections add ( id NVARCHAR(255) not null); @@ -2812,8 +2934,8 @@ alter table dbconnections add ( id NVARCHAR(255) not null); <#if !fields?seq_contains("dbconnections.name") > -! echo "field dbconnections.name will be added" -! echo `date` +select now(),'field dbconnections.name will be added' +from xdummy; alter table dbconnections add ( name NVARCHAR(255) not null); @@ -2822,8 +2944,8 @@ alter table dbconnections add ( name NVARCHAR(255) not null); <#if !fields?seq_contains("dbconnections.driver") > -! echo "field dbconnections.driver will be added" -! echo `date` +select now(),'field dbconnections.driver will be added' +from xdummy; alter table dbconnections add ( driver NVARCHAR(255) ); @@ -2832,8 +2954,8 @@ alter table dbconnections add ( driver NVARCHAR(255) ); <#if !fields?seq_contains("dbconnections.url") > -! echo "field dbconnections.url will be added" -! echo `date` +select now(),'field dbconnections.url will be added' +from xdummy; alter table dbconnections add ( url NVARCHAR(255) ); @@ -2842,8 +2964,8 @@ alter table dbconnections add ( url NVARCHAR(255) ); <#if !fields?seq_contains("dbconnections.username") > -! echo "field dbconnections.username will be added" -! echo `date` +select now(),'field dbconnections.username will be added' +from xdummy; alter table dbconnections add ( username NVARCHAR(255) ); @@ -2852,8 +2974,8 @@ alter table dbconnections add ( username NVARCHAR(255) ); <#if !fields?seq_contains("dbconnections.passwort") > -! echo "field dbconnections.passwort will be added" -! echo `date` +select now(),'field dbconnections.passwort will be added' +from xdummy; alter table dbconnections add ( passwort NVARCHAR(255) ); @@ -2862,8 +2984,8 @@ alter table dbconnections add ( passwort NVARCHAR(255) ); <#if !fields?seq_contains("dbconnections.minidle") > -! echo "field dbconnections.minidle will be added" -! echo `date` +select now(),'field dbconnections.minidle will be added' +from xdummy; alter table dbconnections add ( minidle SMALLINT ); @@ -2872,8 +2994,8 @@ alter table dbconnections add ( minidle SMALLINT ); <#if !fields?seq_contains("dbconnections.maxidle") > -! echo "field dbconnections.maxidle will be added" -! echo `date` +select now(),'field dbconnections.maxidle will be added' +from xdummy; alter table dbconnections add ( maxidle SMALLINT ); @@ -2882,8 +3004,8 @@ alter table dbconnections add ( maxidle SMALLINT ); <#if !fields?seq_contains("dbconnections.maxactive") > -! echo "field dbconnections.maxactive will be added" -! echo `date` +select now(),'field dbconnections.maxactive will be added' +from xdummy; alter table dbconnections add ( maxactive SMALLINT ); @@ -2892,8 +3014,8 @@ alter table dbconnections add ( maxactive SMALLINT ); <#if !fields?seq_contains("dbconnections.testsql") > -! echo "field dbconnections.testsql will be added" -! echo `date` +select now(),'field dbconnections.testsql will be added' +from xdummy; alter table dbconnections add ( testsql NVARCHAR(255) ); @@ -2902,18 +3024,18 @@ alter table dbconnections add ( testsql NVARCHAR(255) ); <#if !fields?seq_contains("organigramm.tid") > -! echo "field organigramm.tid will be added" -! echo `date` +select now(),'field organigramm.tid will be added' +from xdummy; -alter table organigramm add ( tid INTEGER not null); +alter table organigramm add ( tid SERIAL not null); <#if !fields?seq_contains("organigramm.key_apnr") > -! echo "field organigramm.key_apnr will be added" -! echo `date` +select now(),'field organigramm.key_apnr will be added' +from xdummy; alter table organigramm add ( key_apnr CHAR(10) ); @@ -2922,8 +3044,8 @@ alter table organigramm add ( key_apnr CHAR(10) ); <#if !fields?seq_contains("organigramm.parent") > -! echo "field organigramm.parent will be added" -! echo `date` +select now(),'field organigramm.parent will be added' +from xdummy; alter table organigramm add ( parent CHAR(10) ); @@ -2932,28 +3054,28 @@ alter table organigramm add ( parent CHAR(10) ); <#if !fields?seq_contains("organigramm.drucktext") > -! echo "field organigramm.drucktext will be added" -! echo `date` +select now(),'field organigramm.drucktext will be added' +from xdummy; -alter table organigramm add ( drucktext CHAR(50) ); +alter table organigramm add ( drucktext NVARCHAR(255) ); <#if !fields?seq_contains("organigramm.name") > -! echo "field organigramm.name will be added" -! echo `date` +select now(),'field organigramm.name will be added' +from xdummy; -alter table organigramm add ( name NCHAR(150) ); +alter table organigramm add ( name NVARCHAR(255) ); <#if !fields?seq_contains("organigramm.ebene") > -! echo "field organigramm.ebene will be added" -! echo `date` +select now(),'field organigramm.ebene will be added' +from xdummy; alter table organigramm add ( ebene INTEGER ); @@ -2962,8 +3084,8 @@ alter table organigramm add ( ebene INTEGER ); <#if !fields?seq_contains("organigramm.lehre") > -! echo "field organigramm.lehre will be added" -! echo `date` +select now(),'field organigramm.lehre will be added' +from xdummy; alter table organigramm add ( lehre SMALLINT not null); @@ -2972,8 +3094,8 @@ alter table organigramm add ( lehre SMALLINT not null); <#if !fields?seq_contains("organigramm.gueltig_seit") > -! echo "field organigramm.gueltig_seit will be added" -! echo `date` +select now(),'field organigramm.gueltig_seit will be added' +from xdummy; alter table organigramm add ( gueltig_seit DATE not null); @@ -2982,8 +3104,8 @@ alter table organigramm add ( gueltig_seit DATE not null); <#if !fields?seq_contains("organigramm.gueltig_bis") > -! echo "field organigramm.gueltig_bis will be added" -! echo `date` +select now(),'field organigramm.gueltig_bis will be added' +from xdummy; alter table organigramm add ( gueltig_bis DATE not null); @@ -2992,8 +3114,8 @@ alter table organigramm add ( gueltig_bis DATE not null); <#if !fields?seq_contains("organigramm.orgstruktur") > -! echo "field organigramm.orgstruktur will be added" -! echo `date` +select now(),'field organigramm.orgstruktur will be added' +from xdummy; alter table organigramm add ( orgstruktur INTEGER ); @@ -3002,8 +3124,8 @@ alter table organigramm add ( orgstruktur INTEGER ); <#if !fields?seq_contains("organigramm.lid") > -! echo "field organigramm.lid will be added" -! echo `date` +select now(),'field organigramm.lid will be added' +from xdummy; alter table organigramm add ( lid NVARCHAR(255) ); @@ -3012,8 +3134,8 @@ alter table organigramm add ( lid NVARCHAR(255) ); <#if !fields?seq_contains("organigramm.parent_lid") > -! echo "field organigramm.parent_lid will be added" -! echo `date` +select now(),'field organigramm.parent_lid will be added' +from xdummy; alter table organigramm add ( parent_lid NVARCHAR(255) ); @@ -3022,8 +3144,8 @@ alter table organigramm add ( parent_lid NVARCHAR(255) ); <#if !fields?seq_contains("organigramm.uniquename") > -! echo "field organigramm.uniquename will be added" -! echo `date` +select now(),'field organigramm.uniquename will be added' +from xdummy; alter table organigramm add ( uniquename NVARCHAR(255) ); @@ -3032,8 +3154,8 @@ alter table organigramm add ( uniquename NVARCHAR(255) ); <#if !fields?seq_contains("organigramm.sourcesystem") > -! echo "field organigramm.sourcesystem will be added" -! echo `date` +select now(),'field organigramm.sourcesystem will be added' +from xdummy; alter table organigramm add ( sourcesystem INTEGER ); @@ -3042,8 +3164,8 @@ alter table organigramm add ( sourcesystem INTEGER ); <#if !fields?seq_contains("organigramm.sourcesystem_id") > -! echo "field organigramm.sourcesystem_id will be added" -! echo `date` +select now(),'field organigramm.sourcesystem_id will be added' +from xdummy; alter table organigramm add ( sourcesystem_id NVARCHAR(255) ); @@ -3052,8 +3174,8 @@ alter table organigramm add ( sourcesystem_id NVARCHAR(255) ); <#if !fields?seq_contains("organigramm.systeminfo_id") > -! echo "field organigramm.systeminfo_id will be added" -! echo `date` +select now(),'field organigramm.systeminfo_id will be added' +from xdummy; alter table organigramm add ( systeminfo_id INTEGER ); @@ -3062,8 +3184,8 @@ alter table organigramm add ( systeminfo_id INTEGER ); <#if !fields?seq_contains("organigramm.nodeattrib") > -! echo "field organigramm.nodeattrib will be added" -! echo `date` +select now(),'field organigramm.nodeattrib will be added' +from xdummy; alter table organigramm add ( nodeattrib SMALLINT ); @@ -3072,8 +3194,8 @@ alter table organigramm add ( nodeattrib SMALLINT ); <#if !fields?seq_contains("organigramm_bak.tid") > -! echo "field organigramm_bak.tid will be added" -! echo `date` +select now(),'field organigramm_bak.tid will be added' +from xdummy; alter table organigramm_bak add ( tid INTEGER not null); @@ -3082,8 +3204,8 @@ alter table organigramm_bak add ( tid INTEGER not null); <#if !fields?seq_contains("organigramm_bak.key_apnr") > -! echo "field organigramm_bak.key_apnr will be added" -! echo `date` +select now(),'field organigramm_bak.key_apnr will be added' +from xdummy; alter table organigramm_bak add ( key_apnr CHAR(10) ); @@ -3092,8 +3214,8 @@ alter table organigramm_bak add ( key_apnr CHAR(10) ); <#if !fields?seq_contains("organigramm_bak.parent") > -! echo "field organigramm_bak.parent will be added" -! echo `date` +select now(),'field organigramm_bak.parent will be added' +from xdummy; alter table organigramm_bak add ( parent CHAR(10) ); @@ -3102,28 +3224,28 @@ alter table organigramm_bak add ( parent CHAR(10) ); <#if !fields?seq_contains("organigramm_bak.drucktext") > -! echo "field organigramm_bak.drucktext will be added" -! echo `date` +select now(),'field organigramm_bak.drucktext will be added' +from xdummy; -alter table organigramm_bak add ( drucktext CHAR(50) ); +alter table organigramm_bak add ( drucktext NVARCHAR(255) ); <#if !fields?seq_contains("organigramm_bak.name") > -! echo "field organigramm_bak.name will be added" -! echo `date` +select now(),'field organigramm_bak.name will be added' +from xdummy; -alter table organigramm_bak add ( name NCHAR(150) ); +alter table organigramm_bak add ( name NVARCHAR(255) ); <#if !fields?seq_contains("organigramm_bak.ebene") > -! echo "field organigramm_bak.ebene will be added" -! echo `date` +select now(),'field organigramm_bak.ebene will be added' +from xdummy; alter table organigramm_bak add ( ebene INTEGER ); @@ -3132,18 +3254,18 @@ alter table organigramm_bak add ( ebene INTEGER ); <#if !fields?seq_contains("organigramm_bak.lehre") > -! echo "field organigramm_bak.lehre will be added" -! echo `date` +select now(),'field organigramm_bak.lehre will be added' +from xdummy; -alter table organigramm_bak add ( lehre SMALLINT ); +alter table organigramm_bak add ( lehre SMALLINT not null); <#if !fields?seq_contains("organigramm_bak.gueltig_seit") > -! echo "field organigramm_bak.gueltig_seit will be added" -! echo `date` +select now(),'field organigramm_bak.gueltig_seit will be added' +from xdummy; alter table organigramm_bak add ( gueltig_seit DATE not null); @@ -3152,8 +3274,8 @@ alter table organigramm_bak add ( gueltig_seit DATE not null); <#if !fields?seq_contains("organigramm_bak.gueltig_bis") > -! echo "field organigramm_bak.gueltig_bis will be added" -! echo `date` +select now(),'field organigramm_bak.gueltig_bis will be added' +from xdummy; alter table organigramm_bak add ( gueltig_bis DATE not null); @@ -3162,18 +3284,88 @@ alter table organigramm_bak add ( gueltig_bis DATE not null); <#if !fields?seq_contains("organigramm_bak.orgstruktur") > -! echo "field organigramm_bak.orgstruktur will be added" -! echo `date` +select now(),'field organigramm_bak.orgstruktur will be added' +from xdummy; alter table organigramm_bak add ( orgstruktur INTEGER ); +<#if !fields?seq_contains("organigramm_bak.lid") > + + +select now(),'field organigramm_bak.lid will be added' +from xdummy; + +alter table organigramm_bak add ( lid NVARCHAR(255) ); + + + +<#if !fields?seq_contains("organigramm_bak.parent_lid") > + + +select now(),'field organigramm_bak.parent_lid will be added' +from xdummy; + +alter table organigramm_bak add ( parent_lid NVARCHAR(255) ); + + + +<#if !fields?seq_contains("organigramm_bak.uniquename") > + + +select now(),'field organigramm_bak.uniquename will be added' +from xdummy; + +alter table organigramm_bak add ( uniquename NVARCHAR(255) ); + + + +<#if !fields?seq_contains("organigramm_bak.sourcesystem") > + + +select now(),'field organigramm_bak.sourcesystem will be added' +from xdummy; + +alter table organigramm_bak add ( sourcesystem INTEGER ); + + + +<#if !fields?seq_contains("organigramm_bak.sourcesystem_id") > + + +select now(),'field organigramm_bak.sourcesystem_id will be added' +from xdummy; + +alter table organigramm_bak add ( sourcesystem_id NVARCHAR(255) ); + + + +<#if !fields?seq_contains("organigramm_bak.systeminfo_id") > + + +select now(),'field organigramm_bak.systeminfo_id will be added' +from xdummy; + +alter table organigramm_bak add ( systeminfo_id INTEGER ); + + + +<#if !fields?seq_contains("organigramm_bak.nodeattrib") > + + +select now(),'field organigramm_bak.nodeattrib will be added' +from xdummy; + +alter table organigramm_bak add ( nodeattrib SMALLINT ); + + + <#if !fields?seq_contains("user_institution.userid") > -! echo "field user_institution.userid will be added" -! echo `date` +select now(),'field user_institution.userid will be added' +from xdummy; alter table user_institution add ( userid INTEGER not null); @@ -3182,8 +3374,8 @@ alter table user_institution add ( userid INTEGER not null); <#if !fields?seq_contains("user_institution.name") > -! echo "field user_institution.name will be added" -! echo `date` +select now(),'field user_institution.name will be added' +from xdummy; alter table user_institution add ( name CHAR(50) ); @@ -3192,8 +3384,8 @@ alter table user_institution add ( name CHAR(50) ); <#if !fields?seq_contains("user_institution.ch110_institut") > -! echo "field user_institution.ch110_institut will be added" -! echo `date` +select now(),'field user_institution.ch110_institut will be added' +from xdummy; alter table user_institution add ( ch110_institut CHAR(10) not null); @@ -3202,8 +3394,8 @@ alter table user_institution add ( ch110_institut CHAR(10) not null); <#if !fields?seq_contains("user_institution.hierarchie") > -! echo "field user_institution.hierarchie will be added" -! echo `date` +select now(),'field user_institution.hierarchie will be added' +from xdummy; alter table user_institution add ( hierarchie SMALLINT default 0 ); @@ -3212,8 +3404,8 @@ alter table user_institution add ( hierarchie SMALLINT default 0 ); <#if !fields?seq_contains("user_institution.gueltig_seit") > -! echo "field user_institution.gueltig_seit will be added" -! echo `date` +select now(),'field user_institution.gueltig_seit will be added' +from xdummy; alter table user_institution add ( gueltig_seit DATE default '01.01.1900' not null); @@ -3222,8 +3414,8 @@ alter table user_institution add ( gueltig_seit DATE default '01.01.1900' not <#if !fields?seq_contains("user_institution.gueltig_bis") > -! echo "field user_institution.gueltig_bis will be added" -! echo `date` +select now(),'field user_institution.gueltig_bis will be added' +from xdummy; alter table user_institution add ( gueltig_bis DATE default '01.01.3000' not null); @@ -3232,8 +3424,8 @@ alter table user_institution add ( gueltig_bis DATE default '01.01.3000' not n <#if !fields?seq_contains("user_institution.lehre") > -! echo "field user_institution.lehre will be added" -! echo `date` +select now(),'field user_institution.lehre will be added' +from xdummy; alter table user_institution add ( lehre SMALLINT default 0 ); @@ -3242,8 +3434,8 @@ alter table user_institution add ( lehre SMALLINT default 0 ); <#if !fields?seq_contains("user_institution.external_entry") > -! echo "field user_institution.external_entry will be added" -! echo `date` +select now(),'field user_institution.external_entry will be added' +from xdummy; alter table user_institution add ( external_entry SMALLINT default 0 ); @@ -3252,8 +3444,8 @@ alter table user_institution add ( external_entry SMALLINT default 0 ); <#if !fields?seq_contains("user_institution.externalid") > -! echo "field user_institution.externalid will be added" -! echo `date` +select now(),'field user_institution.externalid will be added' +from xdummy; alter table user_institution add ( externalid NVARCHAR(200) ); @@ -3262,8 +3454,8 @@ alter table user_institution add ( externalid NVARCHAR(200) ); <#if !fields?seq_contains("kostentraeger.key_apnr") > -! echo "field kostentraeger.key_apnr will be added" -! echo `date` +select now(),'field kostentraeger.key_apnr will be added' +from xdummy; alter table kostentraeger add ( key_apnr CHAR(50) ); @@ -3272,8 +3464,8 @@ alter table kostentraeger add ( key_apnr CHAR(50) ); <#if !fields?seq_contains("kostentraeger.parent") > -! echo "field kostentraeger.parent will be added" -! echo `date` +select now(),'field kostentraeger.parent will be added' +from xdummy; alter table kostentraeger add ( parent CHAR(50) ); @@ -3282,8 +3474,8 @@ alter table kostentraeger add ( parent CHAR(50) ); <#if !fields?seq_contains("kostentraeger.drucktext") > -! echo "field kostentraeger.drucktext will be added" -! echo `date` +select now(),'field kostentraeger.drucktext will be added' +from xdummy; alter table kostentraeger add ( drucktext CHAR(50) ); @@ -3292,8 +3484,8 @@ alter table kostentraeger add ( drucktext CHAR(50) ); <#if !fields?seq_contains("kostentraeger.name") > -! echo "field kostentraeger.name will be added" -! echo `date` +select now(),'field kostentraeger.name will be added' +from xdummy; alter table kostentraeger add ( name NVARCHAR(255) ); @@ -3302,8 +3494,8 @@ alter table kostentraeger add ( name NVARCHAR(255) ); <#if !fields?seq_contains("kostentraeger.gueltig_seit") > -! echo "field kostentraeger.gueltig_seit will be added" -! echo `date` +select now(),'field kostentraeger.gueltig_seit will be added' +from xdummy; alter table kostentraeger add ( gueltig_seit DATE not null); @@ -3312,8 +3504,8 @@ alter table kostentraeger add ( gueltig_seit DATE not null); <#if !fields?seq_contains("kostentraeger.gueltig_bis") > -! echo "field kostentraeger.gueltig_bis will be added" -! echo `date` +select now(),'field kostentraeger.gueltig_bis will be added' +from xdummy; alter table kostentraeger add ( gueltig_bis DATE not null); @@ -3322,8 +3514,8 @@ alter table kostentraeger add ( gueltig_bis DATE not null); <#if !fields?seq_contains("kostentraeger.struktur_int") > -! echo "field kostentraeger.struktur_int will be added" -! echo `date` +select now(),'field kostentraeger.struktur_int will be added' +from xdummy; alter table kostentraeger add ( struktur_int INTEGER ); @@ -3332,8 +3524,8 @@ alter table kostentraeger add ( struktur_int INTEGER ); <#if !fields?seq_contains("kostentraeger.struktur_c") > -! echo "field kostentraeger.struktur_c will be added" -! echo `date` +select now(),'field kostentraeger.struktur_c will be added' +from xdummy; alter table kostentraeger add ( struktur_c CHAR(50) ); @@ -3342,8 +3534,8 @@ alter table kostentraeger add ( struktur_c CHAR(50) ); <#if !fields?seq_contains("kostentraeger.astat") > -! echo "field kostentraeger.astat will be added" -! echo `date` +select now(),'field kostentraeger.astat will be added' +from xdummy; alter table kostentraeger add ( astat CHAR(15) ); @@ -3352,8 +3544,8 @@ alter table kostentraeger add ( astat CHAR(15) ); <#if !fields?seq_contains("kostentraeger.uniquename") > -! echo "field kostentraeger.uniquename will be added" -! echo `date` +select now(),'field kostentraeger.uniquename will be added' +from xdummy; alter table kostentraeger add ( uniquename NVARCHAR(255) ); @@ -3362,8 +3554,8 @@ alter table kostentraeger add ( uniquename NVARCHAR(255) ); <#if !fields?seq_contains("kostentraeger.key_ext") > -! echo "field kostentraeger.key_ext will be added" -! echo `date` +select now(),'field kostentraeger.key_ext will be added' +from xdummy; alter table kostentraeger add ( key_ext VARCHAR(15) ); @@ -3372,8 +3564,8 @@ alter table kostentraeger add ( key_ext VARCHAR(15) ); <#if !fields?seq_contains("kostentraeger.info") > -! echo "field kostentraeger.info will be added" -! echo `date` +select now(),'field kostentraeger.info will be added' +from xdummy; alter table kostentraeger add ( info NVARCHAR(215) ); @@ -3382,8 +3574,8 @@ alter table kostentraeger add ( info NVARCHAR(215) ); <#if !fields?seq_contains("user_kostentraeger.userid") > -! echo "field user_kostentraeger.userid will be added" -! echo `date` +select now(),'field user_kostentraeger.userid will be added' +from xdummy; alter table user_kostentraeger add ( userid INTEGER not null); @@ -3392,8 +3584,8 @@ alter table user_kostentraeger add ( userid INTEGER not null); <#if !fields?seq_contains("user_kostentraeger.key_apnr") > -! echo "field user_kostentraeger.key_apnr will be added" -! echo `date` +select now(),'field user_kostentraeger.key_apnr will be added' +from xdummy; alter table user_kostentraeger add ( key_apnr CHAR(50) not null); @@ -3402,8 +3594,8 @@ alter table user_kostentraeger add ( key_apnr CHAR(50) not null); <#if !fields?seq_contains("user_kostentraeger.kommentar") > -! echo "field user_kostentraeger.kommentar will be added" -! echo `date` +select now(),'field user_kostentraeger.kommentar will be added' +from xdummy; alter table user_kostentraeger add ( kommentar NCHAR(250) ); @@ -3412,8 +3604,8 @@ alter table user_kostentraeger add ( kommentar NCHAR(250) ); <#if !fields?seq_contains("user_kostentraeger.gueltig_seit") > -! echo "field user_kostentraeger.gueltig_seit will be added" -! echo `date` +select now(),'field user_kostentraeger.gueltig_seit will be added' +from xdummy; alter table user_kostentraeger add ( gueltig_seit DATE default '01.01.1900' ); @@ -3422,8 +3614,8 @@ alter table user_kostentraeger add ( gueltig_seit DATE default '01.01.1900' ); <#if !fields?seq_contains("user_kostentraeger.gueltig_bis") > -! echo "field user_kostentraeger.gueltig_bis will be added" -! echo `date` +select now(),'field user_kostentraeger.gueltig_bis will be added' +from xdummy; alter table user_kostentraeger add ( gueltig_bis DATE default '01.01.3000' ); @@ -3432,8 +3624,8 @@ alter table user_kostentraeger add ( gueltig_bis DATE default '01.01.3000' ); <#if !fields?seq_contains("user_kostentraeger.external_entry") > -! echo "field user_kostentraeger.external_entry will be added" -! echo `date` +select now(),'field user_kostentraeger.external_entry will be added' +from xdummy; alter table user_kostentraeger add ( external_entry SMALLINT default 0 ); @@ -3442,8 +3634,8 @@ alter table user_kostentraeger add ( external_entry SMALLINT default 0 ); <#if !fields?seq_contains("user_kostentraeger.externalid") > -! echo "field user_kostentraeger.externalid will be added" -! echo `date` +select now(),'field user_kostentraeger.externalid will be added' +from xdummy; alter table user_kostentraeger add ( externalid NVARCHAR(200) ); @@ -3452,8 +3644,8 @@ alter table user_kostentraeger add ( externalid NVARCHAR(200) ); <#if !fields?seq_contains("kotr_to_inst.projnr") > -! echo "field kotr_to_inst.projnr will be added" -! echo `date` +select now(),'field kotr_to_inst.projnr will be added' +from xdummy; alter table kotr_to_inst add ( projnr CHAR(24) ); @@ -3462,8 +3654,8 @@ alter table kotr_to_inst add ( projnr CHAR(24) ); <#if !fields?seq_contains("kotr_to_inst.inst_nr") > -! echo "field kotr_to_inst.inst_nr will be added" -! echo `date` +select now(),'field kotr_to_inst.inst_nr will be added' +from xdummy; alter table kotr_to_inst add ( inst_nr CHAR(24) ); @@ -3472,8 +3664,8 @@ alter table kotr_to_inst add ( inst_nr CHAR(24) ); <#if !fields?seq_contains("kotr_to_inst.haupt_kst_kz") > -! echo "field kotr_to_inst.haupt_kst_kz will be added" -! echo `date` +select now(),'field kotr_to_inst.haupt_kst_kz will be added' +from xdummy; alter table kotr_to_inst add ( haupt_kst_kz CHAR(1) ); @@ -3482,8 +3674,8 @@ alter table kotr_to_inst add ( haupt_kst_kz CHAR(1) ); <#if !fields?seq_contains("protokoll.protokoll_id") > -! echo "field protokoll.protokoll_id will be added" -! echo `date` +select now(),'field protokoll.protokoll_id will be added' +from xdummy; alter table protokoll add ( protokoll_id SERIAL not null); @@ -3492,8 +3684,8 @@ alter table protokoll add ( protokoll_id SERIAL not null); <#if !fields?seq_contains("protokoll.proto_fkt_id") > -! echo "field protokoll.proto_fkt_id will be added" -! echo `date` +select now(),'field protokoll.proto_fkt_id will be added' +from xdummy; alter table protokoll add ( proto_fkt_id SMALLINT not null); @@ -3502,8 +3694,8 @@ alter table protokoll add ( proto_fkt_id SMALLINT not null); <#if !fields?seq_contains("protokoll.userinfo_id") > -! echo "field protokoll.userinfo_id will be added" -! echo `date` +select now(),'field protokoll.userinfo_id will be added' +from xdummy; alter table protokoll add ( userinfo_id INTEGER not null); @@ -3512,8 +3704,8 @@ alter table protokoll add ( userinfo_id INTEGER not null); <#if !fields?seq_contains("protokoll.ip_adresse") > -! echo "field protokoll.ip_adresse will be added" -! echo `date` +select now(),'field protokoll.ip_adresse will be added' +from xdummy; alter table protokoll add ( ip_adresse CHAR(16) not null); @@ -3522,8 +3714,8 @@ alter table protokoll add ( ip_adresse CHAR(16) not null); <#if !fields?seq_contains("protokoll.client_name") > -! echo "field protokoll.client_name will be added" -! echo `date` +select now(),'field protokoll.client_name will be added' +from xdummy; alter table protokoll add ( client_name NVARCHAR(255) not null); @@ -3532,8 +3724,8 @@ alter table protokoll add ( client_name NVARCHAR(255) not null); <#if !fields?seq_contains("protokoll.zeitpunkt") > -! echo "field protokoll.zeitpunkt will be added" -! echo `date` +select now(),'field protokoll.zeitpunkt will be added' +from xdummy; alter table protokoll add ( zeitpunkt datetime year to second not null); @@ -3542,8 +3734,8 @@ alter table protokoll add ( zeitpunkt datetime year to second not null); <#if !fields?seq_contains("protokoll.kommentar") > -! echo "field protokoll.kommentar will be added" -! echo `date` +select now(),'field protokoll.kommentar will be added' +from xdummy; alter table protokoll add ( kommentar NVARCHAR(255) ); @@ -3552,8 +3744,8 @@ alter table protokoll add ( kommentar NVARCHAR(255) ); <#if !fields?seq_contains("trans_inst.tid") > -! echo "field trans_inst.tid will be added" -! echo `date` +select now(),'field trans_inst.tid will be added' +from xdummy; alter table trans_inst add ( tid SERIAL not null); @@ -3562,8 +3754,8 @@ alter table trans_inst add ( tid SERIAL not null); <#if !fields?seq_contains("trans_inst.instnr") > -! echo "field trans_inst.instnr will be added" -! echo `date` +select now(),'field trans_inst.instnr will be added' +from xdummy; alter table trans_inst add ( instnr CHAR(10) ); @@ -3572,8 +3764,8 @@ alter table trans_inst add ( instnr CHAR(10) ); <#if !fields?seq_contains("trans_inst.ch110_institut") > -! echo "field trans_inst.ch110_institut will be added" -! echo `date` +select now(),'field trans_inst.ch110_institut will be added' +from xdummy; alter table trans_inst add ( ch110_institut CHAR(10) ); @@ -3582,8 +3774,8 @@ alter table trans_inst add ( ch110_institut CHAR(10) ); <#if !fields?seq_contains("trans_inst.name") > -! echo "field trans_inst.name will be added" -! echo `date` +select now(),'field trans_inst.name will be added' +from xdummy; alter table trans_inst add ( name NCHAR(200) ); @@ -3592,8 +3784,8 @@ alter table trans_inst add ( name NCHAR(200) ); <#if !fields?seq_contains("trans_inst.gueltig_von") > -! echo "field trans_inst.gueltig_von will be added" -! echo `date` +select now(),'field trans_inst.gueltig_von will be added' +from xdummy; alter table trans_inst add ( gueltig_von DATE ); @@ -3602,8 +3794,8 @@ alter table trans_inst add ( gueltig_von DATE ); <#if !fields?seq_contains("trans_inst.gueltig_bis") > -! echo "field trans_inst.gueltig_bis will be added" -! echo `date` +select now(),'field trans_inst.gueltig_bis will be added' +from xdummy; alter table trans_inst add ( gueltig_bis DATE ); @@ -3612,8 +3804,8 @@ alter table trans_inst add ( gueltig_bis DATE ); <#if !fields?seq_contains("trans_inst.systeminfo_id") > -! echo "field trans_inst.systeminfo_id will be added" -! echo `date` +select now(),'field trans_inst.systeminfo_id will be added' +from xdummy; alter table trans_inst add ( systeminfo_id INTEGER ); @@ -3622,18 +3814,18 @@ alter table trans_inst add ( systeminfo_id INTEGER ); <#if !fields?seq_contains("konstanten.tid") > -! echo "field konstanten.tid will be added" -! echo `date` +select now(),'field konstanten.tid will be added' +from xdummy; -alter table konstanten add ( tid INTEGER not null); +alter table konstanten add ( tid serial not null); <#if !fields?seq_contains("konstanten.apnr") > -! echo "field konstanten.apnr will be added" -! echo `date` +select now(),'field konstanten.apnr will be added' +from xdummy; alter table konstanten add ( apnr INTEGER ); @@ -3642,8 +3834,8 @@ alter table konstanten add ( apnr INTEGER ); <#if !fields?seq_contains("konstanten.beschreibung") > -! echo "field konstanten.beschreibung will be added" -! echo `date` +select now(),'field konstanten.beschreibung will be added' +from xdummy; alter table konstanten add ( beschreibung NVARCHAR(255) ); @@ -3652,8 +3844,8 @@ alter table konstanten add ( beschreibung NVARCHAR(255) ); <#if !fields?seq_contains("konstanten.defaultvalue") > -! echo "field konstanten.defaultvalue will be added" -! echo `date` +select now(),'field konstanten.defaultvalue will be added' +from xdummy; alter table konstanten add ( defaultvalue INTEGER ); @@ -3662,8 +3854,8 @@ alter table konstanten add ( defaultvalue INTEGER ); <#if !fields?seq_contains("konstanten.description") > -! echo "field konstanten.description will be added" -! echo `date` +select now(),'field konstanten.description will be added' +from xdummy; alter table konstanten add ( description NVARCHAR(255) ); @@ -3672,8 +3864,8 @@ alter table konstanten add ( description NVARCHAR(255) ); <#if !fields?seq_contains("konstanten.systeminfo_id") > -! echo "field konstanten.systeminfo_id will be added" -! echo `date` +select now(),'field konstanten.systeminfo_id will be added' +from xdummy; alter table konstanten add ( systeminfo_id INTEGER ); @@ -3682,8 +3874,8 @@ alter table konstanten add ( systeminfo_id INTEGER ); <#if !fields?seq_contains("konstanten.sachgebiete_id") > -! echo "field konstanten.sachgebiete_id will be added" -! echo `date` +select now(),'field konstanten.sachgebiete_id will be added' +from xdummy; alter table konstanten add ( sachgebiete_id INTEGER ); @@ -3692,8 +3884,8 @@ alter table konstanten add ( sachgebiete_id INTEGER ); <#if !fields?seq_contains("konstanten.doku_link") > -! echo "field konstanten.doku_link will be added" -! echo `date` +select now(),'field konstanten.doku_link will be added' +from xdummy; alter table konstanten add ( doku_link NVARCHAR(255) ); @@ -3702,8 +3894,8 @@ alter table konstanten add ( doku_link NVARCHAR(255) ); <#if !fields?seq_contains("konstanten.read_only") > -! echo "field konstanten.read_only will be added" -! echo `date` +select now(),'field konstanten.read_only will be added' +from xdummy; alter table konstanten add ( read_only INTEGER ); @@ -3712,8 +3904,8 @@ alter table konstanten add ( read_only INTEGER ); <#if !fields?seq_contains("konstanten.wertebereich") > -! echo "field konstanten.wertebereich will be added" -! echo `date` +select now(),'field konstanten.wertebereich will be added' +from xdummy; alter table konstanten add ( wertebereich NVARCHAR(255) ); @@ -3722,8 +3914,8 @@ alter table konstanten add ( wertebereich NVARCHAR(255) ); <#if !fields?seq_contains("konstanten.ab_version") > -! echo "field konstanten.ab_version will be added" -! echo `date` +select now(),'field konstanten.ab_version will be added' +from xdummy; alter table konstanten add ( ab_version VARCHAR(20) ); @@ -3732,18 +3924,38 @@ alter table konstanten add ( ab_version VARCHAR(20) ); <#if !fields?seq_contains("konstanten.gruppe") > -! echo "field konstanten.gruppe will be added" -! echo `date` +select now(),'field konstanten.gruppe will be added' +from xdummy; alter table konstanten add ( gruppe NVARCHAR(100) ); +<#if !fields?seq_contains("konstanten.priority") > + + +select now(),'field konstanten.priority will be added' +from xdummy; + +alter table konstanten add ( priority INTEGER ); + + + +<#if !fields?seq_contains("konstanten.sourcesystem") > + + +select now(),'field konstanten.sourcesystem will be added' +from xdummy; + +alter table konstanten add ( sourcesystem INTEGER ); + + + <#if !fields?seq_contains("lehreinheit_inst.key_apnr") > -! echo "field lehreinheit_inst.key_apnr will be added" -! echo `date` +select now(),'field lehreinheit_inst.key_apnr will be added' +from xdummy; alter table lehreinheit_inst add ( key_apnr CHAR(10) ); @@ -3752,8 +3964,8 @@ alter table lehreinheit_inst add ( key_apnr CHAR(10) ); <#if !fields?seq_contains("lehreinheit_inst.parent") > -! echo "field lehreinheit_inst.parent will be added" -! echo `date` +select now(),'field lehreinheit_inst.parent will be added' +from xdummy; alter table lehreinheit_inst add ( parent CHAR(10) ); @@ -3762,8 +3974,8 @@ alter table lehreinheit_inst add ( parent CHAR(10) ); <#if !fields?seq_contains("lehreinheit_inst.drucktext") > -! echo "field lehreinheit_inst.drucktext will be added" -! echo `date` +select now(),'field lehreinheit_inst.drucktext will be added' +from xdummy; alter table lehreinheit_inst add ( drucktext CHAR(50) ); @@ -3772,8 +3984,8 @@ alter table lehreinheit_inst add ( drucktext CHAR(50) ); <#if !fields?seq_contains("lehreinheit_inst.lehr") > -! echo "field lehreinheit_inst.lehr will be added" -! echo `date` +select now(),'field lehreinheit_inst.lehr will be added' +from xdummy; alter table lehreinheit_inst add ( lehr CHAR(10) ); @@ -3782,8 +3994,8 @@ alter table lehreinheit_inst add ( lehr CHAR(10) ); <#if !fields?seq_contains("lehreinheit_inst.gueltig_seit") > -! echo "field lehreinheit_inst.gueltig_seit will be added" -! echo `date` +select now(),'field lehreinheit_inst.gueltig_seit will be added' +from xdummy; alter table lehreinheit_inst add ( gueltig_seit DATE ); @@ -3792,8 +4004,8 @@ alter table lehreinheit_inst add ( gueltig_seit DATE ); <#if !fields?seq_contains("lehreinheit_inst.gueltig_bis") > -! echo "field lehreinheit_inst.gueltig_bis will be added" -! echo `date` +select now(),'field lehreinheit_inst.gueltig_bis will be added' +from xdummy; alter table lehreinheit_inst add ( gueltig_bis DATE ); @@ -3802,8 +4014,8 @@ alter table lehreinheit_inst add ( gueltig_bis DATE ); <#if !fields?seq_contains("sx_stylesheets.tid") > -! echo "field sx_stylesheets.tid will be added" -! echo `date` +select now(),'field sx_stylesheets.tid will be added' +from xdummy; alter table sx_stylesheets add ( tid SERIAL not null); @@ -3812,8 +4024,8 @@ alter table sx_stylesheets add ( tid SERIAL not null); <#if !fields?seq_contains("sx_stylesheets.filename") > -! echo "field sx_stylesheets.filename will be added" -! echo `date` +select now(),'field sx_stylesheets.filename will be added' +from xdummy; alter table sx_stylesheets add ( filename NCHAR(255) ); @@ -3822,8 +4034,8 @@ alter table sx_stylesheets add ( filename NCHAR(255) ); <#if !fields?seq_contains("sx_stylesheets.caption") > -! echo "field sx_stylesheets.caption will be added" -! echo `date` +select now(),'field sx_stylesheets.caption will be added' +from xdummy; alter table sx_stylesheets add ( caption NCHAR(255) ); @@ -3832,8 +4044,8 @@ alter table sx_stylesheets add ( caption NCHAR(255) ); <#if !fields?seq_contains("sx_stylesheets.description") > -! echo "field sx_stylesheets.description will be added" -! echo `date` +select now(),'field sx_stylesheets.description will be added' +from xdummy; alter table sx_stylesheets add ( description NCHAR(255) ); @@ -3842,8 +4054,8 @@ alter table sx_stylesheets add ( description NCHAR(255) ); <#if !fields?seq_contains("sx_stylesheets.relation") > -! echo "field sx_stylesheets.relation will be added" -! echo `date` +select now(),'field sx_stylesheets.relation will be added' +from xdummy; alter table sx_stylesheets add ( relation CHAR(10) ); @@ -3852,8 +4064,8 @@ alter table sx_stylesheets add ( relation CHAR(10) ); <#if !fields?seq_contains("sx_stylesheets.useragent") > -! echo "field sx_stylesheets.useragent will be added" -! echo `date` +select now(),'field sx_stylesheets.useragent will be added' +from xdummy; alter table sx_stylesheets add ( useragent NCHAR(255) ); @@ -3862,8 +4074,8 @@ alter table sx_stylesheets add ( useragent NCHAR(255) ); <#if !fields?seq_contains("sx_stylesheets.contenttype") > -! echo "field sx_stylesheets.contenttype will be added" -! echo `date` +select now(),'field sx_stylesheets.contenttype will be added' +from xdummy; alter table sx_stylesheets add ( contenttype NCHAR(200) ); @@ -3872,18 +4084,58 @@ alter table sx_stylesheets add ( contenttype NCHAR(200) ); <#if !fields?seq_contains("sx_stylesheets.is_generic") > -! echo "field sx_stylesheets.is_generic will be added" -! echo `date` +select now(),'field sx_stylesheets.is_generic will be added' +from xdummy; alter table sx_stylesheets add ( is_generic SMALLINT default 0 ); +<#if !fields?seq_contains("sx_stylesheets.toolbar_icon_filepath") > + + +select now(),'field sx_stylesheets.toolbar_icon_filepath will be added' +from xdummy; + +alter table sx_stylesheets add ( toolbar_icon_filepath NVARCHAR(255) ); + + + +<#if !fields?seq_contains("sx_stylesheets.usage_resultset_data") > + + +select now(),'field sx_stylesheets.usage_resultset_data will be added' +from xdummy; + +alter table sx_stylesheets add ( usage_resultset_data CHAR(10) default 'T' ); + + + +<#if !fields?seq_contains("sx_stylesheets.stylesheet_type") > + + +select now(),'field sx_stylesheets.stylesheet_type will be added' +from xdummy; + +alter table sx_stylesheets add ( stylesheet_type CHAR(10) default 'XSL' ); + + + +<#if !fields?seq_contains("sx_stylesheets.jr_datasource") > + + +select now(),'field sx_stylesheets.jr_datasource will be added' +from xdummy; + +alter table sx_stylesheets add ( jr_datasource CHAR(10) ); + + + <#if !fields?seq_contains("sx_mask_style.tid") > -! echo "field sx_mask_style.tid will be added" -! echo `date` +select now(),'field sx_mask_style.tid will be added' +from xdummy; alter table sx_mask_style add ( tid SERIAL not null); @@ -3892,8 +4144,8 @@ alter table sx_mask_style add ( tid SERIAL not null); <#if !fields?seq_contains("sx_mask_style.maskeninfo_id") > -! echo "field sx_mask_style.maskeninfo_id will be added" -! echo `date` +select now(),'field sx_mask_style.maskeninfo_id will be added' +from xdummy; alter table sx_mask_style add ( maskeninfo_id INTEGER ); @@ -3902,8 +4154,8 @@ alter table sx_mask_style add ( maskeninfo_id INTEGER ); <#if !fields?seq_contains("sx_mask_style.stylesheet_id") > -! echo "field sx_mask_style.stylesheet_id will be added" -! echo `date` +select now(),'field sx_mask_style.stylesheet_id will be added' +from xdummy; alter table sx_mask_style add ( stylesheet_id INTEGER ); @@ -3912,18 +4164,78 @@ alter table sx_mask_style add ( stylesheet_id INTEGER ); <#if !fields?seq_contains("sx_mask_style.ord") > -! echo "field sx_mask_style.ord will be added" -! echo `date` +select now(),'field sx_mask_style.ord will be added' +from xdummy; alter table sx_mask_style add ( ord SMALLINT ); +<#if !fields?seq_contains("sx_stylesheet_param.tid") > + + +select now(),'field sx_stylesheet_param.tid will be added' +from xdummy; + +alter table sx_stylesheet_param add ( tid SERIAL not null); + + + +<#if !fields?seq_contains("sx_stylesheet_param.stylesheet_id") > + + +select now(),'field sx_stylesheet_param.stylesheet_id will be added' +from xdummy; + +alter table sx_stylesheet_param add ( stylesheet_id INTEGER not null); + + + +<#if !fields?seq_contains("sx_stylesheet_param.param_name") > + + +select now(),'field sx_stylesheet_param.param_name will be added' +from xdummy; + +alter table sx_stylesheet_param add ( param_name NVARCHAR(255) not null); + + + +<#if !fields?seq_contains("sx_stylesheet_param.default_val") > + + +select now(),'field sx_stylesheet_param.default_val will be added' +from xdummy; + +alter table sx_stylesheet_param add ( default_val NVARCHAR(255) ); + + + +<#if !fields?seq_contains("sx_stylesheet_param.description") > + + +select now(),'field sx_stylesheet_param.description will be added' +from xdummy; + +alter table sx_stylesheet_param add ( description NVARCHAR(255) ); + + + +<#if !fields?seq_contains("sx_stylesheet_param.wertebereich") > + + +select now(),'field sx_stylesheet_param.wertebereich will be added' +from xdummy; + +alter table sx_stylesheet_param add ( wertebereich NVARCHAR(255) ); + + + <#if !fields?seq_contains("sx_captions.tid") > -! echo "field sx_captions.tid will be added" -! echo `date` +select now(),'field sx_captions.tid will be added' +from xdummy; alter table sx_captions add ( tid SERIAL not null); @@ -3932,8 +4244,8 @@ alter table sx_captions add ( tid SERIAL not null); <#if !fields?seq_contains("sx_captions.id") > -! echo "field sx_captions.id will be added" -! echo `date` +select now(),'field sx_captions.id will be added' +from xdummy; alter table sx_captions add ( id NCHAR(200) ); @@ -3942,8 +4254,8 @@ alter table sx_captions add ( id NCHAR(200) ); <#if !fields?seq_contains("sx_captions.table_name") > -! echo "field sx_captions.table_name will be added" -! echo `date` +select now(),'field sx_captions.table_name will be added' +from xdummy; alter table sx_captions add ( table_name NCHAR(200) ); @@ -3952,8 +4264,8 @@ alter table sx_captions add ( table_name NCHAR(200) ); <#if !fields?seq_contains("sx_captions.field_name") > -! echo "field sx_captions.field_name will be added" -! echo `date` +select now(),'field sx_captions.field_name will be added' +from xdummy; alter table sx_captions add ( field_name NCHAR(200) ); @@ -3962,8 +4274,8 @@ alter table sx_captions add ( field_name NCHAR(200) ); <#if !fields?seq_contains("sx_captions.record_no") > -! echo "field sx_captions.record_no will be added" -! echo `date` +select now(),'field sx_captions.record_no will be added' +from xdummy; alter table sx_captions add ( record_no INTEGER ); @@ -3972,8 +4284,8 @@ alter table sx_captions add ( record_no INTEGER ); <#if !fields?seq_contains("sx_captions.locale") > -! echo "field sx_captions.locale will be added" -! echo `date` +select now(),'field sx_captions.locale will be added' +from xdummy; alter table sx_captions add ( locale CHAR(10) ); @@ -3982,8 +4294,8 @@ alter table sx_captions add ( locale CHAR(10) ); <#if !fields?seq_contains("sx_captions.contents_short") > -! echo "field sx_captions.contents_short will be added" -! echo `date` +select now(),'field sx_captions.contents_short will be added' +from xdummy; alter table sx_captions add ( contents_short NCHAR(255) ); @@ -3992,8 +4304,8 @@ alter table sx_captions add ( contents_short NCHAR(255) ); <#if !fields?seq_contains("sx_captions.contents_long") > -! echo "field sx_captions.contents_long will be added" -! echo `date` +select now(),'field sx_captions.contents_long will be added' +from xdummy; alter table sx_captions add ( contents_long text ); @@ -4002,8 +4314,8 @@ alter table sx_captions add ( contents_long text ); <#if !fields?seq_contains("sx_captions.equalitystatus") > -! echo "field sx_captions.equalitystatus will be added" -! echo `date` +select now(),'field sx_captions.equalitystatus will be added' +from xdummy; alter table sx_captions add ( equalitystatus SMALLINT ); @@ -4012,8 +4324,8 @@ alter table sx_captions add ( equalitystatus SMALLINT ); <#if !fields?seq_contains("sx_captions.sachgebiete_id") > -! echo "field sx_captions.sachgebiete_id will be added" -! echo `date` +select now(),'field sx_captions.sachgebiete_id will be added' +from xdummy; alter table sx_captions add ( sachgebiete_id INTEGER ); @@ -4022,8 +4334,8 @@ alter table sx_captions add ( sachgebiete_id INTEGER ); <#if !fields?seq_contains("sx_captions.doku_link") > -! echo "field sx_captions.doku_link will be added" -! echo `date` +select now(),'field sx_captions.doku_link will be added' +from xdummy; alter table sx_captions add ( doku_link NVARCHAR(255) ); @@ -4032,8 +4344,8 @@ alter table sx_captions add ( doku_link NVARCHAR(255) ); <#if !fields?seq_contains("sx_captions.export_to_glossar") > -! echo "field sx_captions.export_to_glossar will be added" -! echo `date` +select now(),'field sx_captions.export_to_glossar will be added' +from xdummy; alter table sx_captions add ( export_to_glossar INTEGER ); @@ -4042,8 +4354,8 @@ alter table sx_captions add ( export_to_glossar INTEGER ); <#if !fields?seq_contains("fm_templates.tid") > -! echo "field fm_templates.tid will be added" -! echo `date` +select now(),'field fm_templates.tid will be added' +from xdummy; alter table fm_templates add ( tid SERIAL not null); @@ -4052,8 +4364,8 @@ alter table fm_templates add ( tid SERIAL not null); <#if !fields?seq_contains("fm_templates.id") > -! echo "field fm_templates.id will be added" -! echo `date` +select now(),'field fm_templates.id will be added' +from xdummy; alter table fm_templates add ( id NCHAR(200) not null); @@ -4062,8 +4374,8 @@ alter table fm_templates add ( id NCHAR(200) not null); <#if !fields?seq_contains("fm_templates.content") > -! echo "field fm_templates.content will be added" -! echo `date` +select now(),'field fm_templates.content will be added' +from xdummy; alter table fm_templates add ( content text not null); @@ -4072,8 +4384,8 @@ alter table fm_templates add ( content text not null); <#if !fields?seq_contains("fm_templates.description") > -! echo "field fm_templates.description will be added" -! echo `date` +select now(),'field fm_templates.description will be added' +from xdummy; alter table fm_templates add ( description NCHAR(200) ); @@ -4082,8 +4394,8 @@ alter table fm_templates add ( description NCHAR(200) ); <#if !fields?seq_contains("fm_templates.comment") > -! echo "field fm_templates.comment will be added" -! echo `date` +select now(),'field fm_templates.comment will be added' +from xdummy; alter table fm_templates add ( comment NCHAR(200) ); @@ -4092,8 +4404,8 @@ alter table fm_templates add ( comment NCHAR(200) ); <#if !fields?seq_contains("fm_templates.version") > -! echo "field fm_templates.version will be added" -! echo `date` +select now(),'field fm_templates.version will be added' +from xdummy; alter table fm_templates add ( version integer default 1 ); @@ -4102,8 +4414,8 @@ alter table fm_templates add ( version integer default 1 ); <#if !fields?seq_contains("user_sichten.userinfo_id") > -! echo "field user_sichten.userinfo_id will be added" -! echo `date` +select now(),'field user_sichten.userinfo_id will be added' +from xdummy; alter table user_sichten add ( userinfo_id INTEGER not null); @@ -4112,8 +4424,8 @@ alter table user_sichten add ( userinfo_id INTEGER not null); <#if !fields?seq_contains("user_sichten.sicht_name_intern") > -! echo "field user_sichten.sicht_name_intern will be added" -! echo `date` +select now(),'field user_sichten.sicht_name_intern will be added' +from xdummy; alter table user_sichten add ( sicht_name_intern NCHAR(200) not null); @@ -4122,8 +4434,8 @@ alter table user_sichten add ( sicht_name_intern NCHAR(200) not null); <#if !fields?seq_contains("user_sichten.external_entry") > -! echo "field user_sichten.external_entry will be added" -! echo `date` +select now(),'field user_sichten.external_entry will be added' +from xdummy; alter table user_sichten add ( external_entry smallint default 0 ); @@ -4132,8 +4444,8 @@ alter table user_sichten add ( external_entry smallint default 0 ); <#if !fields?seq_contains("user_sichtarten.userinfo_id") > -! echo "field user_sichtarten.userinfo_id will be added" -! echo `date` +select now(),'field user_sichtarten.userinfo_id will be added' +from xdummy; alter table user_sichtarten add ( userinfo_id INTEGER not null); @@ -4142,8 +4454,8 @@ alter table user_sichtarten add ( userinfo_id INTEGER not null); <#if !fields?seq_contains("user_sichtarten.sichtart") > -! echo "field user_sichtarten.sichtart will be added" -! echo `date` +select now(),'field user_sichtarten.sichtart will be added' +from xdummy; alter table user_sichtarten add ( sichtart NCHAR(255) not null); @@ -4152,8 +4464,8 @@ alter table user_sichtarten add ( sichtart NCHAR(255) not null); <#if !fields?seq_contains("user_sichtarten.external_entry") > -! echo "field user_sichtarten.external_entry will be added" -! echo `date` +select now(),'field user_sichtarten.external_entry will be added' +from xdummy; alter table user_sichtarten add ( external_entry smallint default 0 ); @@ -4162,8 +4474,8 @@ alter table user_sichtarten add ( external_entry smallint default 0 ); <#if !fields?seq_contains("group_sichten.groupinfo_id") > -! echo "field group_sichten.groupinfo_id will be added" -! echo `date` +select now(),'field group_sichten.groupinfo_id will be added' +from xdummy; alter table group_sichten add ( groupinfo_id INTEGER ); @@ -4172,8 +4484,8 @@ alter table group_sichten add ( groupinfo_id INTEGER ); <#if !fields?seq_contains("group_sichten.sicht_name_intern") > -! echo "field group_sichten.sicht_name_intern will be added" -! echo `date` +select now(),'field group_sichten.sicht_name_intern will be added' +from xdummy; alter table group_sichten add ( sicht_name_intern NCHAR(200) ); @@ -4182,8 +4494,8 @@ alter table group_sichten add ( sicht_name_intern NCHAR(200) ); <#if !fields?seq_contains("group_sichtarten.groupinfo_id") > -! echo "field group_sichtarten.groupinfo_id will be added" -! echo `date` +select now(),'field group_sichtarten.groupinfo_id will be added' +from xdummy; alter table group_sichtarten add ( groupinfo_id INTEGER ); @@ -4192,8 +4504,8 @@ alter table group_sichtarten add ( groupinfo_id INTEGER ); <#if !fields?seq_contains("group_sichtarten.sichtart") > -! echo "field group_sichtarten.sichtart will be added" -! echo `date` +select now(),'field group_sichtarten.sichtart will be added' +from xdummy; alter table group_sichtarten add ( sichtart NCHAR(255) ); @@ -4202,8 +4514,8 @@ alter table group_sichtarten add ( sichtart NCHAR(255) ); <#if !fields?seq_contains("sachgeb_sichten.sachgebiete_id") > -! echo "field sachgeb_sichten.sachgebiete_id will be added" -! echo `date` +select now(),'field sachgeb_sichten.sachgebiete_id will be added' +from xdummy; alter table sachgeb_sichten add ( sachgebiete_id INTEGER ); @@ -4212,8 +4524,8 @@ alter table sachgeb_sichten add ( sachgebiete_id INTEGER ); <#if !fields?seq_contains("sachgeb_sichten.sicht_name_intern") > -! echo "field sachgeb_sichten.sicht_name_intern will be added" -! echo `date` +select now(),'field sachgeb_sichten.sicht_name_intern will be added' +from xdummy; alter table sachgeb_sichten add ( sicht_name_intern NCHAR(200) ); @@ -4222,8 +4534,8 @@ alter table sachgeb_sichten add ( sicht_name_intern NCHAR(200) ); <#if !fields?seq_contains("sachgeb_sichtarten.sachgebiete_id") > -! echo "field sachgeb_sichtarten.sachgebiete_id will be added" -! echo `date` +select now(),'field sachgeb_sichtarten.sachgebiete_id will be added' +from xdummy; alter table sachgeb_sichtarten add ( sachgebiete_id INTEGER ); @@ -4232,8 +4544,8 @@ alter table sachgeb_sichtarten add ( sachgebiete_id INTEGER ); <#if !fields?seq_contains("sachgeb_sichtarten.sichtart") > -! echo "field sachgeb_sichtarten.sichtart will be added" -! echo `date` +select now(),'field sachgeb_sichtarten.sichtart will be added' +from xdummy; alter table sachgeb_sichtarten add ( sichtart NCHAR(255) ); @@ -4242,8 +4554,8 @@ alter table sachgeb_sichtarten add ( sichtart NCHAR(255) ); <#if !fields?seq_contains("sx_repository.tid") > -! echo "field sx_repository.tid will be added" -! echo `date` +select now(),'field sx_repository.tid will be added' +from xdummy; alter table sx_repository add ( tid SERIAL not null); @@ -4252,8 +4564,8 @@ alter table sx_repository add ( tid SERIAL not null); <#if !fields?seq_contains("sx_repository.id") > -! echo "field sx_repository.id will be added" -! echo `date` +select now(),'field sx_repository.id will be added' +from xdummy; alter table sx_repository add ( id NCHAR(200) not null); @@ -4262,8 +4574,8 @@ alter table sx_repository add ( id NCHAR(200) not null); <#if !fields?seq_contains("sx_repository.content") > -! echo "field sx_repository.content will be added" -! echo `date` +select now(),'field sx_repository.content will be added' +from xdummy; alter table sx_repository add ( content TEXT ); @@ -4272,8 +4584,8 @@ alter table sx_repository add ( content TEXT ); <#if !fields?seq_contains("sx_repository.caption") > -! echo "field sx_repository.caption will be added" -! echo `date` +select now(),'field sx_repository.caption will be added' +from xdummy; alter table sx_repository add ( caption NCHAR(200) ); @@ -4282,8 +4594,8 @@ alter table sx_repository add ( caption NCHAR(200) ); <#if !fields?seq_contains("sx_repository.comment") > -! echo "field sx_repository.comment will be added" -! echo `date` +select now(),'field sx_repository.comment will be added' +from xdummy; alter table sx_repository add ( comment TEXT ); @@ -4292,8 +4604,8 @@ alter table sx_repository add ( comment TEXT ); <#if !fields?seq_contains("sx_repository.version") > -! echo "field sx_repository.version will be added" -! echo `date` +select now(),'field sx_repository.version will be added' +from xdummy; alter table sx_repository add ( version SMALLINT ); @@ -4302,8 +4614,8 @@ alter table sx_repository add ( version SMALLINT ); <#if !fields?seq_contains("sx_repository.art") > -! echo "field sx_repository.art will be added" -! echo `date` +select now(),'field sx_repository.art will be added' +from xdummy; alter table sx_repository add ( art NCHAR(200) ); @@ -4312,8 +4624,8 @@ alter table sx_repository add ( art NCHAR(200) ); <#if !fields?seq_contains("sx_repository.art2") > -! echo "field sx_repository.art2 will be added" -! echo `date` +select now(),'field sx_repository.art2 will be added' +from xdummy; alter table sx_repository add ( art2 NCHAR(200) ); @@ -4322,8 +4634,8 @@ alter table sx_repository add ( art2 NCHAR(200) ); <#if !fields?seq_contains("sx_repository.art3") > -! echo "field sx_repository.art3 will be added" -! echo `date` +select now(),'field sx_repository.art3 will be added' +from xdummy; alter table sx_repository add ( art3 NCHAR(200) ); @@ -4332,8 +4644,8 @@ alter table sx_repository add ( art3 NCHAR(200) ); <#if !fields?seq_contains("sx_repository.sachgebiete_id") > -! echo "field sx_repository.sachgebiete_id will be added" -! echo `date` +select now(),'field sx_repository.sachgebiete_id will be added' +from xdummy; alter table sx_repository add ( sachgebiete_id INTEGER ); @@ -4342,8 +4654,8 @@ alter table sx_repository add ( sachgebiete_id INTEGER ); <#if !fields?seq_contains("sx_repository.sort1") > -! echo "field sx_repository.sort1 will be added" -! echo `date` +select now(),'field sx_repository.sort1 will be added' +from xdummy; alter table sx_repository add ( sort1 INTEGER ); @@ -4352,8 +4664,8 @@ alter table sx_repository add ( sort1 INTEGER ); <#if !fields?seq_contains("sx_repository.sort2") > -! echo "field sx_repository.sort2 will be added" -! echo `date` +select now(),'field sx_repository.sort2 will be added' +from xdummy; alter table sx_repository add ( sort2 INTEGER ); @@ -4362,8 +4674,8 @@ alter table sx_repository add ( sort2 INTEGER ); <#if !fields?seq_contains("sx_repository.sort3") > -! echo "field sx_repository.sort3 will be added" -! echo `date` +select now(),'field sx_repository.sort3 will be added' +from xdummy; alter table sx_repository add ( sort3 INTEGER ); @@ -4372,8 +4684,8 @@ alter table sx_repository add ( sort3 INTEGER ); <#if !fields?seq_contains("sx_repository.geaendert_am") > -! echo "field sx_repository.geaendert_am will be added" -! echo `date` +select now(),'field sx_repository.geaendert_am will be added' +from xdummy; alter table sx_repository add ( geaendert_am DATE ); @@ -4382,8 +4694,8 @@ alter table sx_repository add ( geaendert_am DATE ); <#if !fields?seq_contains("sx_repository.aktiv") > -! echo "field sx_repository.aktiv will be added" -! echo `date` +select now(),'field sx_repository.aktiv will be added' +from xdummy; alter table sx_repository add ( aktiv SMALLINT ); @@ -4392,8 +4704,8 @@ alter table sx_repository add ( aktiv SMALLINT ); <#if !fields?seq_contains("sx_repository.gueltig_seit") > -! echo "field sx_repository.gueltig_seit will be added" -! echo `date` +select now(),'field sx_repository.gueltig_seit will be added' +from xdummy; alter table sx_repository add ( gueltig_seit DATE default '01.01.1900' not null); @@ -4402,8 +4714,8 @@ alter table sx_repository add ( gueltig_seit DATE default '01.01.1900' not nul <#if !fields?seq_contains("sx_repository.gueltig_bis") > -! echo "field sx_repository.gueltig_bis will be added" -! echo `date` +select now(),'field sx_repository.gueltig_bis will be added' +from xdummy; alter table sx_repository add ( gueltig_bis DATE default '01.01.3000' not null); @@ -4412,8 +4724,8 @@ alter table sx_repository add ( gueltig_bis DATE default '01.01.3000' not null <#if !fields?seq_contains("user_pw.userinfo_id") > -! echo "field user_pw.userinfo_id will be added" -! echo `date` +select now(),'field user_pw.userinfo_id will be added' +from xdummy; alter table user_pw add ( userinfo_id INTEGER not null); @@ -4422,8 +4734,8 @@ alter table user_pw add ( userinfo_id INTEGER not null); <#if !fields?seq_contains("user_pw.pw_gueltig_bis") > -! echo "field user_pw.pw_gueltig_bis will be added" -! echo `date` +select now(),'field user_pw.pw_gueltig_bis will be added' +from xdummy; alter table user_pw add ( pw_gueltig_bis date ); @@ -4432,8 +4744,8 @@ alter table user_pw add ( pw_gueltig_bis date ); <#if !fields?seq_contains("user_pw.last_login") > -! echo "field user_pw.last_login will be added" -! echo `date` +select now(),'field user_pw.last_login will be added' +from xdummy; alter table user_pw add ( last_login datetime year to second ); @@ -4442,8 +4754,8 @@ alter table user_pw add ( last_login datetime year to second ); <#if !fields?seq_contains("user_pw.old_sha1") > -! echo "field user_pw.old_sha1 will be added" -! echo `date` +select now(),'field user_pw.old_sha1 will be added' +from xdummy; alter table user_pw add ( old_sha1 NCHAR(255) ); @@ -4452,8 +4764,8 @@ alter table user_pw add ( old_sha1 NCHAR(255) ); <#if !fields?seq_contains("user_pw.zeitpunkt1") > -! echo "field user_pw.zeitpunkt1 will be added" -! echo `date` +select now(),'field user_pw.zeitpunkt1 will be added' +from xdummy; alter table user_pw add ( zeitpunkt1 datetime year to second ); @@ -4462,8 +4774,8 @@ alter table user_pw add ( zeitpunkt1 datetime year to second ); <#if !fields?seq_contains("user_pw.old_sha2") > -! echo "field user_pw.old_sha2 will be added" -! echo `date` +select now(),'field user_pw.old_sha2 will be added' +from xdummy; alter table user_pw add ( old_sha2 NCHAR(255) ); @@ -4472,8 +4784,8 @@ alter table user_pw add ( old_sha2 NCHAR(255) ); <#if !fields?seq_contains("user_pw.zeitpunkt2") > -! echo "field user_pw.zeitpunkt2 will be added" -! echo `date` +select now(),'field user_pw.zeitpunkt2 will be added' +from xdummy; alter table user_pw add ( zeitpunkt2 datetime year to second ); @@ -4482,8 +4794,8 @@ alter table user_pw add ( zeitpunkt2 datetime year to second ); <#if !fields?seq_contains("user_pw.old_sha3") > -! echo "field user_pw.old_sha3 will be added" -! echo `date` +select now(),'field user_pw.old_sha3 will be added' +from xdummy; alter table user_pw add ( old_sha3 NCHAR(255) ); @@ -4492,8 +4804,8 @@ alter table user_pw add ( old_sha3 NCHAR(255) ); <#if !fields?seq_contains("user_pw.zeitpunkt3") > -! echo "field user_pw.zeitpunkt3 will be added" -! echo `date` +select now(),'field user_pw.zeitpunkt3 will be added' +from xdummy; alter table user_pw add ( zeitpunkt3 datetime year to second ); @@ -4502,8 +4814,8 @@ alter table user_pw add ( zeitpunkt3 datetime year to second ); <#if !fields?seq_contains("user_pw.old_sha4") > -! echo "field user_pw.old_sha4 will be added" -! echo `date` +select now(),'field user_pw.old_sha4 will be added' +from xdummy; alter table user_pw add ( old_sha4 NCHAR(255) ); @@ -4512,8 +4824,8 @@ alter table user_pw add ( old_sha4 NCHAR(255) ); <#if !fields?seq_contains("user_pw.zeitpunkt4") > -! echo "field user_pw.zeitpunkt4 will be added" -! echo `date` +select now(),'field user_pw.zeitpunkt4 will be added' +from xdummy; alter table user_pw add ( zeitpunkt4 datetime year to second ); @@ -4522,8 +4834,8 @@ alter table user_pw add ( zeitpunkt4 datetime year to second ); <#if !fields?seq_contains("user_pw.old_sha5") > -! echo "field user_pw.old_sha5 will be added" -! echo `date` +select now(),'field user_pw.old_sha5 will be added' +from xdummy; alter table user_pw add ( old_sha5 NCHAR(255) ); @@ -4532,8 +4844,8 @@ alter table user_pw add ( old_sha5 NCHAR(255) ); <#if !fields?seq_contains("user_pw.zeitpunkt5") > -! echo "field user_pw.zeitpunkt5 will be added" -! echo `date` +select now(),'field user_pw.zeitpunkt5 will be added' +from xdummy; alter table user_pw add ( zeitpunkt5 datetime year to second ); @@ -4542,8 +4854,8 @@ alter table user_pw add ( zeitpunkt5 datetime year to second ); <#if !fields?seq_contains("user_pw.old_sha6") > -! echo "field user_pw.old_sha6 will be added" -! echo `date` +select now(),'field user_pw.old_sha6 will be added' +from xdummy; alter table user_pw add ( old_sha6 NCHAR(255) ); @@ -4552,8 +4864,8 @@ alter table user_pw add ( old_sha6 NCHAR(255) ); <#if !fields?seq_contains("user_pw.zeitpunkt6") > -! echo "field user_pw.zeitpunkt6 will be added" -! echo `date` +select now(),'field user_pw.zeitpunkt6 will be added' +from xdummy; alter table user_pw add ( zeitpunkt6 datetime year to second ); @@ -4562,8 +4874,8 @@ alter table user_pw add ( zeitpunkt6 datetime year to second ); <#if !fields?seq_contains("user_pw.old_sha7") > -! echo "field user_pw.old_sha7 will be added" -! echo `date` +select now(),'field user_pw.old_sha7 will be added' +from xdummy; alter table user_pw add ( old_sha7 NCHAR(255) ); @@ -4572,8 +4884,8 @@ alter table user_pw add ( old_sha7 NCHAR(255) ); <#if !fields?seq_contains("user_pw.zeitpunkt7") > -! echo "field user_pw.zeitpunkt7 will be added" -! echo `date` +select now(),'field user_pw.zeitpunkt7 will be added' +from xdummy; alter table user_pw add ( zeitpunkt7 datetime year to second ); @@ -4582,8 +4894,8 @@ alter table user_pw add ( zeitpunkt7 datetime year to second ); <#if !fields?seq_contains("sx_downloads.tid") > -! echo "field sx_downloads.tid will be added" -! echo `date` +select now(),'field sx_downloads.tid will be added' +from xdummy; alter table sx_downloads add ( tid SERIAL not null); @@ -4592,8 +4904,8 @@ alter table sx_downloads add ( tid SERIAL not null); <#if !fields?seq_contains("sx_downloads.name") > -! echo "field sx_downloads.name will be added" -! echo `date` +select now(),'field sx_downloads.name will be added' +from xdummy; alter table sx_downloads add ( name NCHAR(255) ); @@ -4602,8 +4914,8 @@ alter table sx_downloads add ( name NCHAR(255) ); <#if !fields?seq_contains("sx_downloads.ch110_institut") > -! echo "field sx_downloads.ch110_institut will be added" -! echo `date` +select now(),'field sx_downloads.ch110_institut will be added' +from xdummy; alter table sx_downloads add ( ch110_institut CHAR(10) ); @@ -4612,8 +4924,8 @@ alter table sx_downloads add ( ch110_institut CHAR(10) ); <#if !fields?seq_contains("sx_downloads.bezugsdatum") > -! echo "field sx_downloads.bezugsdatum will be added" -! echo `date` +select now(),'field sx_downloads.bezugsdatum will be added' +from xdummy; alter table sx_downloads add ( bezugsdatum DATE ); @@ -4622,8 +4934,8 @@ alter table sx_downloads add ( bezugsdatum DATE ); <#if !fields?seq_contains("sx_downloads.importdatum") > -! echo "field sx_downloads.importdatum will be added" -! echo `date` +select now(),'field sx_downloads.importdatum will be added' +from xdummy; alter table sx_downloads add ( importdatum DATE ); @@ -4632,8 +4944,8 @@ alter table sx_downloads add ( importdatum DATE ); <#if !fields?seq_contains("sx_downloads.kommentar") > -! echo "field sx_downloads.kommentar will be added" -! echo `date` +select now(),'field sx_downloads.kommentar will be added' +from xdummy; alter table sx_downloads add ( kommentar TEXT ); @@ -4642,8 +4954,8 @@ alter table sx_downloads add ( kommentar TEXT ); <#if !fields?seq_contains("sx_downloads.kommentar_url") > -! echo "field sx_downloads.kommentar_url will be added" -! echo `date` +select now(),'field sx_downloads.kommentar_url will be added' +from xdummy; alter table sx_downloads add ( kommentar_url NCHAR(255) ); @@ -4652,8 +4964,8 @@ alter table sx_downloads add ( kommentar_url NCHAR(255) ); <#if !fields?seq_contains("sx_downloads.contenttype") > -! echo "field sx_downloads.contenttype will be added" -! echo `date` +select now(),'field sx_downloads.contenttype will be added' +from xdummy; alter table sx_downloads add ( contenttype NVARCHAR(255) ); @@ -4662,8 +4974,8 @@ alter table sx_downloads add ( contenttype NVARCHAR(255) ); <#if !fields?seq_contains("sx_downloads.datei") > -! echo "field sx_downloads.datei will be added" -! echo `date` +select now(),'field sx_downloads.datei will be added' +from xdummy; alter table sx_downloads add ( datei char(255) not null); @@ -4672,8 +4984,8 @@ alter table sx_downloads add ( datei char(255) not null); <#if !fields?seq_contains("sx_downloads.gueltig_seit") > -! echo "field sx_downloads.gueltig_seit will be added" -! echo `date` +select now(),'field sx_downloads.gueltig_seit will be added' +from xdummy; alter table sx_downloads add ( gueltig_seit DATE default '01.01.1900' not null); @@ -4682,8 +4994,8 @@ alter table sx_downloads add ( gueltig_seit DATE default '01.01.1900' not null <#if !fields?seq_contains("sx_downloads.gueltig_bis") > -! echo "field sx_downloads.gueltig_bis will be added" -! echo `date` +select now(),'field sx_downloads.gueltig_bis will be added' +from xdummy; alter table sx_downloads add ( gueltig_bis DATE default '01.01.3000' not null); @@ -4692,8 +5004,8 @@ alter table sx_downloads add ( gueltig_bis DATE default '01.01.3000' not null) <#if !fields?seq_contains("download_group_bez.groupinfo_id") > -! echo "field download_group_bez.groupinfo_id will be added" -! echo `date` +select now(),'field download_group_bez.groupinfo_id will be added' +from xdummy; alter table download_group_bez add ( groupinfo_id INTEGER ); @@ -4702,8 +5014,8 @@ alter table download_group_bez add ( groupinfo_id INTEGER ); <#if !fields?seq_contains("download_group_bez.download_id") > -! echo "field download_group_bez.download_id will be added" -! echo `date` +select now(),'field download_group_bez.download_id will be added' +from xdummy; alter table download_group_bez add ( download_id INTEGER ); @@ -4712,8 +5024,8 @@ alter table download_group_bez add ( download_id INTEGER ); <#if !fields?seq_contains("download_user_bez.userinfo_id") > -! echo "field download_user_bez.userinfo_id will be added" -! echo `date` +select now(),'field download_user_bez.userinfo_id will be added' +from xdummy; alter table download_user_bez add ( userinfo_id INTEGER ); @@ -4722,8 +5034,8 @@ alter table download_user_bez add ( userinfo_id INTEGER ); <#if !fields?seq_contains("download_user_bez.download_id") > -! echo "field download_user_bez.download_id will be added" -! echo `date` +select now(),'field download_user_bez.download_id will be added' +from xdummy; alter table download_user_bez add ( download_id INTEGER ); @@ -4732,8 +5044,8 @@ alter table download_user_bez add ( download_id INTEGER ); <#if !fields?seq_contains("download_keyw_bez.keyword_id") > -! echo "field download_keyw_bez.keyword_id will be added" -! echo `date` +select now(),'field download_keyw_bez.keyword_id will be added' +from xdummy; alter table download_keyw_bez add ( keyword_id INTEGER ); @@ -4742,8 +5054,8 @@ alter table download_keyw_bez add ( keyword_id INTEGER ); <#if !fields?seq_contains("download_keyw_bez.download_id") > -! echo "field download_keyw_bez.download_id will be added" -! echo `date` +select now(),'field download_keyw_bez.download_id will be added' +from xdummy; alter table download_keyw_bez add ( download_id INTEGER ); @@ -4752,8 +5064,8 @@ alter table download_keyw_bez add ( download_id INTEGER ); <#if !fields?seq_contains("sx_keywords.tid") > -! echo "field sx_keywords.tid will be added" -! echo `date` +select now(),'field sx_keywords.tid will be added' +from xdummy; alter table sx_keywords add ( tid SERIAL ); @@ -4762,8 +5074,8 @@ alter table sx_keywords add ( tid SERIAL ); <#if !fields?seq_contains("sx_keywords.name") > -! echo "field sx_keywords.name will be added" -! echo `date` +select now(),'field sx_keywords.name will be added' +from xdummy; alter table sx_keywords add ( name NCHAR(255) ); @@ -4772,8 +5084,8 @@ alter table sx_keywords add ( name NCHAR(255) ); <#if !fields?seq_contains("sx_keywords.parent") > -! echo "field sx_keywords.parent will be added" -! echo `date` +select now(),'field sx_keywords.parent will be added' +from xdummy; alter table sx_keywords add ( parent INTEGER ); @@ -4782,8 +5094,8 @@ alter table sx_keywords add ( parent INTEGER ); <#if !fields?seq_contains("user_startpage.tid") > -! echo "field user_startpage.tid will be added" -! echo `date` +select now(),'field user_startpage.tid will be added' +from xdummy; alter table user_startpage add ( tid serial not null); @@ -4792,8 +5104,8 @@ alter table user_startpage add ( tid serial not null); <#if !fields?seq_contains("user_startpage.userid") > -! echo "field user_startpage.userid will be added" -! echo `date` +select now(),'field user_startpage.userid will be added' +from xdummy; alter table user_startpage add ( userid INTEGER not null); @@ -4802,8 +5114,8 @@ alter table user_startpage add ( userid INTEGER not null); <#if !fields?seq_contains("user_startpage.starturl") > -! echo "field user_startpage.starturl will be added" -! echo `date` +select now(),'field user_startpage.starturl will be added' +from xdummy; alter table user_startpage add ( starturl NCHAR(255) ); @@ -4812,8 +5124,8 @@ alter table user_startpage add ( starturl NCHAR(255) ); <#if !fields?seq_contains("user_startpage.encrypted") > -! echo "field user_startpage.encrypted will be added" -! echo `date` +select now(),'field user_startpage.encrypted will be added' +from xdummy; alter table user_startpage add ( encrypted smallint default 0 ); @@ -4822,8 +5134,8 @@ alter table user_startpage add ( encrypted smallint default 0 ); <#if !fields?seq_contains("user_startpage.notolderthan") > -! echo "field user_startpage.notolderthan will be added" -! echo `date` +select now(),'field user_startpage.notolderthan will be added' +from xdummy; alter table user_startpage add ( notolderthan INTEGER ); @@ -4832,8 +5144,8 @@ alter table user_startpage add ( notolderthan INTEGER ); <#if !fields?seq_contains("user_startpage.startmask") > -! echo "field user_startpage.startmask will be added" -! echo `date` +select now(),'field user_startpage.startmask will be added' +from xdummy; alter table user_startpage add ( startmask integer ); @@ -4842,8 +5154,8 @@ alter table user_startpage add ( startmask integer ); <#if !fields?seq_contains("user_startpage.alturl") > -! echo "field user_startpage.alturl will be added" -! echo `date` +select now(),'field user_startpage.alturl will be added' +from xdummy; alter table user_startpage add ( alturl NCHAR(255) ); @@ -4852,8 +5164,8 @@ alter table user_startpage add ( alturl NCHAR(255) ); <#if !fields?seq_contains("user_startpage.stylesheet") > -! echo "field user_startpage.stylesheet will be added" -! echo `date` +select now(),'field user_startpage.stylesheet will be added' +from xdummy; alter table user_startpage add ( stylesheet NCHAR(255) ); @@ -4862,8 +5174,8 @@ alter table user_startpage add ( stylesheet NCHAR(255) ); <#if !fields?seq_contains("user_startpage.stylesheet2") > -! echo "field user_startpage.stylesheet2 will be added" -! echo `date` +select now(),'field user_startpage.stylesheet2 will be added' +from xdummy; alter table user_startpage add ( stylesheet2 NCHAR(255) ); @@ -4872,8 +5184,8 @@ alter table user_startpage add ( stylesheet2 NCHAR(255) ); <#if !fields?seq_contains("user_startpage.contenttype") > -! echo "field user_startpage.contenttype will be added" -! echo `date` +select now(),'field user_startpage.contenttype will be added' +from xdummy; alter table user_startpage add ( contenttype NCHAR(255) ); @@ -4882,8 +5194,8 @@ alter table user_startpage add ( contenttype NCHAR(255) ); <#if !fields?seq_contains("user_startpage.extra1") > -! echo "field user_startpage.extra1 will be added" -! echo `date` +select now(),'field user_startpage.extra1 will be added' +from xdummy; alter table user_startpage add ( extra1 NCHAR(255) ); @@ -4892,8 +5204,8 @@ alter table user_startpage add ( extra1 NCHAR(255) ); <#if !fields?seq_contains("user_startpage.extra2") > -! echo "field user_startpage.extra2 will be added" -! echo `date` +select now(),'field user_startpage.extra2 will be added' +from xdummy; alter table user_startpage add ( extra2 NCHAR(255) ); @@ -4902,8 +5214,8 @@ alter table user_startpage add ( extra2 NCHAR(255) ); <#if !fields?seq_contains("user_startpage.active") > -! echo "field user_startpage.active will be added" -! echo `date` +select now(),'field user_startpage.active will be added' +from xdummy; alter table user_startpage add ( active integer not null); @@ -4912,8 +5224,8 @@ alter table user_startpage add ( active integer not null); <#if !fields?seq_contains("user_startfields.tid") > -! echo "field user_startfields.tid will be added" -! echo `date` +select now(),'field user_startfields.tid will be added' +from xdummy; alter table user_startfields add ( tid serial not null); @@ -4922,8 +5234,8 @@ alter table user_startfields add ( tid serial not null); <#if !fields?seq_contains("user_startfields.userid") > -! echo "field user_startfields.userid will be added" -! echo `date` +select now(),'field user_startfields.userid will be added' +from xdummy; alter table user_startfields add ( userid INTEGER not null); @@ -4932,8 +5244,8 @@ alter table user_startfields add ( userid INTEGER not null); <#if !fields?seq_contains("user_startfields.fieldname") > -! echo "field user_startfields.fieldname will be added" -! echo `date` +select now(),'field user_startfields.fieldname will be added' +from xdummy; alter table user_startfields add ( fieldname NCHAR(255) not null); @@ -4942,8 +5254,8 @@ alter table user_startfields add ( fieldname NCHAR(255) not null); <#if !fields?seq_contains("user_startfields.value") > -! echo "field user_startfields.value will be added" -! echo `date` +select now(),'field user_startfields.value will be added' +from xdummy; alter table user_startfields add ( value NCHAR(255) ); @@ -4952,8 +5264,8 @@ alter table user_startfields add ( value NCHAR(255) ); <#if !fields?seq_contains("user_startfields.active") > -! echo "field user_startfields.active will be added" -! echo `date` +select now(),'field user_startfields.active will be added' +from xdummy; alter table user_startfields add ( active integer not null); @@ -4962,8 +5274,8 @@ alter table user_startfields add ( active integer not null); <#if !fields?seq_contains("user_dialog.id") > -! echo "field user_dialog.id will be added" -! echo `date` +select now(),'field user_dialog.id will be added' +from xdummy; alter table user_dialog add ( id SERIAL not null); @@ -4972,8 +5284,8 @@ alter table user_dialog add ( id SERIAL not null); <#if !fields?seq_contains("user_dialog.identifier") > -! echo "field user_dialog.identifier will be added" -! echo `date` +select now(),'field user_dialog.identifier will be added' +from xdummy; alter table user_dialog add ( identifier NVARCHAR(255) not null); @@ -4982,8 +5294,8 @@ alter table user_dialog add ( identifier NVARCHAR(255) not null); <#if !fields?seq_contains("user_dialog.headline") > -! echo "field user_dialog.headline will be added" -! echo `date` +select now(),'field user_dialog.headline will be added' +from xdummy; alter table user_dialog add ( headline TEXT ); @@ -4992,8 +5304,8 @@ alter table user_dialog add ( headline TEXT ); <#if !fields?seq_contains("user_dialog.url") > -! echo "field user_dialog.url will be added" -! echo `date` +select now(),'field user_dialog.url will be added' +from xdummy; alter table user_dialog add ( url NVARCHAR(255) not null); @@ -5002,8 +5314,8 @@ alter table user_dialog add ( url NVARCHAR(255) not null); <#if !fields?seq_contains("user_dialog.hint_version") > -! echo "field user_dialog.hint_version will be added" -! echo `date` +select now(),'field user_dialog.hint_version will be added' +from xdummy; alter table user_dialog add ( hint_version SMALLINT ); @@ -5012,8 +5324,8 @@ alter table user_dialog add ( hint_version SMALLINT ); <#if !fields?seq_contains("user_dialog.annotation") > -! echo "field user_dialog.annotation will be added" -! echo `date` +select now(),'field user_dialog.annotation will be added' +from xdummy; alter table user_dialog add ( annotation TEXT ); @@ -5022,8 +5334,8 @@ alter table user_dialog add ( annotation TEXT ); <#if !fields?seq_contains("user_dialog.confirm") > -! echo "field user_dialog.confirm will be added" -! echo `date` +select now(),'field user_dialog.confirm will be added' +from xdummy; alter table user_dialog add ( confirm SMALLINT ); @@ -5032,8 +5344,8 @@ alter table user_dialog add ( confirm SMALLINT ); <#if !fields?seq_contains("user_dialog.confirm_prompt") > -! echo "field user_dialog.confirm_prompt will be added" -! echo `date` +select now(),'field user_dialog.confirm_prompt will be added' +from xdummy; alter table user_dialog add ( confirm_prompt TEXT ); @@ -5042,8 +5354,8 @@ alter table user_dialog add ( confirm_prompt TEXT ); <#if !fields?seq_contains("user_dialog.created") > -! echo "field user_dialog.created will be added" -! echo `date` +select now(),'field user_dialog.created will be added' +from xdummy; alter table user_dialog add ( created DATE ); @@ -5052,8 +5364,8 @@ alter table user_dialog add ( created DATE ); <#if !fields?seq_contains("user_dialog.valid_from") > -! echo "field user_dialog.valid_from will be added" -! echo `date` +select now(),'field user_dialog.valid_from will be added' +from xdummy; alter table user_dialog add ( valid_from DATE ); @@ -5062,8 +5374,8 @@ alter table user_dialog add ( valid_from DATE ); <#if !fields?seq_contains("user_dialog.valid_till") > -! echo "field user_dialog.valid_till will be added" -! echo `date` +select now(),'field user_dialog.valid_till will be added' +from xdummy; alter table user_dialog add ( valid_till DATE ); @@ -5072,8 +5384,8 @@ alter table user_dialog add ( valid_till DATE ); <#if !fields?seq_contains("user_dialog.category") > -! echo "field user_dialog.category will be added" -! echo `date` +select now(),'field user_dialog.category will be added' +from xdummy; alter table user_dialog add ( category NVARCHAR(255) ); @@ -5082,8 +5394,8 @@ alter table user_dialog add ( category NVARCHAR(255) ); <#if !fields?seq_contains("user_dialog.nature") > -! echo "field user_dialog.nature will be added" -! echo `date` +select now(),'field user_dialog.nature will be added' +from xdummy; alter table user_dialog add ( nature NVARCHAR(255) ); @@ -5092,8 +5404,8 @@ alter table user_dialog add ( nature NVARCHAR(255) ); <#if !fields?seq_contains("user_dialog.attrib1") > -! echo "field user_dialog.attrib1 will be added" -! echo `date` +select now(),'field user_dialog.attrib1 will be added' +from xdummy; alter table user_dialog add ( attrib1 INTEGER ); @@ -5102,8 +5414,8 @@ alter table user_dialog add ( attrib1 INTEGER ); <#if !fields?seq_contains("user_dialog.attrib2") > -! echo "field user_dialog.attrib2 will be added" -! echo `date` +select now(),'field user_dialog.attrib2 will be added' +from xdummy; alter table user_dialog add ( attrib2 NVARCHAR(255) ); @@ -5112,8 +5424,8 @@ alter table user_dialog add ( attrib2 NVARCHAR(255) ); <#if !fields?seq_contains("user_dialog.attrib3") > -! echo "field user_dialog.attrib3 will be added" -! echo `date` +select now(),'field user_dialog.attrib3 will be added' +from xdummy; alter table user_dialog add ( attrib3 NVARCHAR(255) ); @@ -5122,8 +5434,8 @@ alter table user_dialog add ( attrib3 NVARCHAR(255) ); <#if !fields?seq_contains("user_dialog_accept.id") > -! echo "field user_dialog_accept.id will be added" -! echo `date` +select now(),'field user_dialog_accept.id will be added' +from xdummy; alter table user_dialog_accept add ( id SERIAL not null); @@ -5132,8 +5444,8 @@ alter table user_dialog_accept add ( id SERIAL not null); <#if !fields?seq_contains("user_dialog_accept.userinfo_id") > -! echo "field user_dialog_accept.userinfo_id will be added" -! echo `date` +select now(),'field user_dialog_accept.userinfo_id will be added' +from xdummy; alter table user_dialog_accept add ( userinfo_id INTEGER not null); @@ -5142,8 +5454,8 @@ alter table user_dialog_accept add ( userinfo_id INTEGER not null); <#if !fields?seq_contains("user_dialog_accept.user_dialog_id") > -! echo "field user_dialog_accept.user_dialog_id will be added" -! echo `date` +select now(),'field user_dialog_accept.user_dialog_id will be added' +from xdummy; alter table user_dialog_accept add ( user_dialog_id INTEGER not null); @@ -5152,8 +5464,8 @@ alter table user_dialog_accept add ( user_dialog_id INTEGER not null); <#if !fields?seq_contains("user_dialog_accept.ip_address") > -! echo "field user_dialog_accept.ip_address will be added" -! echo `date` +select now(),'field user_dialog_accept.ip_address will be added' +from xdummy; alter table user_dialog_accept add ( ip_address NVARCHAR(100) ); @@ -5162,8 +5474,8 @@ alter table user_dialog_accept add ( ip_address NVARCHAR(100) ); <#if !fields?seq_contains("user_dialog_accept.client_name") > -! echo "field user_dialog_accept.client_name will be added" -! echo `date` +select now(),'field user_dialog_accept.client_name will be added' +from xdummy; alter table user_dialog_accept add ( client_name NVARCHAR(255) ); @@ -5172,8 +5484,8 @@ alter table user_dialog_accept add ( client_name NVARCHAR(255) ); <#if !fields?seq_contains("user_dialog_accept.timestamp") > -! echo "field user_dialog_accept.timestamp will be added" -! echo `date` +select now(),'field user_dialog_accept.timestamp will be added' +from xdummy; alter table user_dialog_accept add ( timestamp datetime year to second not null); @@ -5182,8 +5494,8 @@ alter table user_dialog_accept add ( timestamp datetime year to second not null <#if !fields?seq_contains("user_hinweis.userinfo_id") > -! echo "field user_hinweis.userinfo_id will be added" -! echo `date` +select now(),'field user_hinweis.userinfo_id will be added' +from xdummy; alter table user_hinweis add ( userinfo_id INTEGER not null); @@ -5192,8 +5504,8 @@ alter table user_hinweis add ( userinfo_id INTEGER not null); <#if !fields?seq_contains("user_hinweis.hinweise_id") > -! echo "field user_hinweis.hinweise_id will be added" -! echo `date` +select now(),'field user_hinweis.hinweise_id will be added' +from xdummy; alter table user_hinweis add ( hinweise_id integer not null); @@ -5202,8 +5514,8 @@ alter table user_hinweis add ( hinweise_id integer not null); <#if !fields?seq_contains("group_hinweis.groupinfo_id") > -! echo "field group_hinweis.groupinfo_id will be added" -! echo `date` +select now(),'field group_hinweis.groupinfo_id will be added' +from xdummy; alter table group_hinweis add ( groupinfo_id INTEGER not null); @@ -5212,8 +5524,8 @@ alter table group_hinweis add ( groupinfo_id INTEGER not null); <#if !fields?seq_contains("group_hinweis.hinweise_id") > -! echo "field group_hinweis.hinweise_id will be added" -! echo `date` +select now(),'field group_hinweis.hinweise_id will be added' +from xdummy; alter table group_hinweis add ( hinweise_id integer not null); @@ -5222,8 +5534,8 @@ alter table group_hinweis add ( hinweise_id integer not null); <#if !fields?seq_contains("unload_params.tid") > -! echo "field unload_params.tid will be added" -! echo `date` +select now(),'field unload_params.tid will be added' +from xdummy; alter table unload_params add ( tid SERIAL not null); @@ -5232,8 +5544,8 @@ alter table unload_params add ( tid SERIAL not null); <#if !fields?seq_contains("unload_params.param_id") > -! echo "field unload_params.param_id will be added" -! echo `date` +select now(),'field unload_params.param_id will be added' +from xdummy; alter table unload_params add ( param_id NVARCHAR(255) not null); @@ -5242,8 +5554,8 @@ alter table unload_params add ( param_id NVARCHAR(255) not null); <#if !fields?seq_contains("unload_params.param_val") > -! echo "field unload_params.param_val will be added" -! echo `date` +select now(),'field unload_params.param_val will be added' +from xdummy; alter table unload_params add ( param_val NVARCHAR(255) ); @@ -5252,8 +5564,8 @@ alter table unload_params add ( param_val NVARCHAR(255) ); <#if !fields?seq_contains("unload_params.default_val") > -! echo "field unload_params.default_val will be added" -! echo `date` +select now(),'field unload_params.default_val will be added' +from xdummy; alter table unload_params add ( default_val NVARCHAR(255) ); @@ -5262,8 +5574,8 @@ alter table unload_params add ( default_val NVARCHAR(255) ); <#if !fields?seq_contains("unload_params.description") > -! echo "field unload_params.description will be added" -! echo `date` +select now(),'field unload_params.description will be added' +from xdummy; alter table unload_params add ( description NVARCHAR(255) ); @@ -5272,18 +5584,68 @@ alter table unload_params add ( description NVARCHAR(255) ); <#if !fields?seq_contains("unload_params.systeminfo_id") > -! echo "field unload_params.systeminfo_id will be added" -! echo `date` +select now(),'field unload_params.systeminfo_id will be added' +from xdummy; alter table unload_params add ( systeminfo_id INTEGER ); +<#if !fields?seq_contains("unload_params.priority") > + + +select now(),'field unload_params.priority will be added' +from xdummy; + +alter table unload_params add ( priority INTEGER ); + + + +<#if !fields?seq_contains("unload_params.sourcesystem") > + + +select now(),'field unload_params.sourcesystem will be added' +from xdummy; + +alter table unload_params add ( sourcesystem INTEGER ); + + + +<#if !fields?seq_contains("unload_params.wertebereich") > + + +select now(),'field unload_params.wertebereich will be added' +from xdummy; + +alter table unload_params add ( wertebereich NVARCHAR(255) ); + + + +<#if !fields?seq_contains("unload_params.ab_version") > + + +select now(),'field unload_params.ab_version will be added' +from xdummy; + +alter table unload_params add ( ab_version VARCHAR(20) ); + + + +<#if !fields?seq_contains("unload_params.gruppe") > + + +select now(),'field unload_params.gruppe will be added' +from xdummy; + +alter table unload_params add ( gruppe NVARCHAR(100) ); + + + <#if !fields?seq_contains("sx_tables.tid") > -! echo "field sx_tables.tid will be added" -! echo `date` +select now(),'field sx_tables.tid will be added' +from xdummy; alter table sx_tables add ( tid SERIAL not null); @@ -5292,8 +5654,8 @@ alter table sx_tables add ( tid SERIAL not null); <#if !fields?seq_contains("sx_tables.name") > -! echo "field sx_tables.name will be added" -! echo `date` +select now(),'field sx_tables.name will be added' +from xdummy; alter table sx_tables add ( name NVARCHAR(255) ); @@ -5302,8 +5664,8 @@ alter table sx_tables add ( name NVARCHAR(255) ); <#if !fields?seq_contains("sx_tables.caption") > -! echo "field sx_tables.caption will be added" -! echo `date` +select now(),'field sx_tables.caption will be added' +from xdummy; alter table sx_tables add ( caption NVARCHAR(255) ); @@ -5312,8 +5674,8 @@ alter table sx_tables add ( caption NVARCHAR(255) ); <#if !fields?seq_contains("sx_tables.description") > -! echo "field sx_tables.description will be added" -! echo `date` +select now(),'field sx_tables.description will be added' +from xdummy; alter table sx_tables add ( description NVARCHAR(255) ); @@ -5322,8 +5684,8 @@ alter table sx_tables add ( description NVARCHAR(255) ); <#if !fields?seq_contains("sx_tables.table_type") > -! echo "field sx_tables.table_type will be added" -! echo `date` +select now(),'field sx_tables.table_type will be added' +from xdummy; alter table sx_tables add ( table_type NVARCHAR(255) ); @@ -5332,8 +5694,8 @@ alter table sx_tables add ( table_type NVARCHAR(255) ); <#if !fields?seq_contains("sx_tables.systeminfo_id") > -! echo "field sx_tables.systeminfo_id will be added" -! echo `date` +select now(),'field sx_tables.systeminfo_id will be added' +from xdummy; alter table sx_tables add ( systeminfo_id INTEGER ); @@ -5342,8 +5704,8 @@ alter table sx_tables add ( systeminfo_id INTEGER ); <#if !fields?seq_contains("sx_tables.systeminfo_orig") > -! echo "field sx_tables.systeminfo_orig will be added" -! echo `date` +select now(),'field sx_tables.systeminfo_orig will be added' +from xdummy; alter table sx_tables add ( systeminfo_orig INTEGER ); @@ -5352,8 +5714,8 @@ alter table sx_tables add ( systeminfo_orig INTEGER ); <#if !fields?seq_contains("sx_tables.thema") > -! echo "field sx_tables.thema will be added" -! echo `date` +select now(),'field sx_tables.thema will be added' +from xdummy; alter table sx_tables add ( thema NVARCHAR(255) ); @@ -5362,8 +5724,8 @@ alter table sx_tables add ( thema NVARCHAR(255) ); <#if !fields?seq_contains("sx_tables.sachgebiete_id") > -! echo "field sx_tables.sachgebiete_id will be added" -! echo `date` +select now(),'field sx_tables.sachgebiete_id will be added' +from xdummy; alter table sx_tables add ( sachgebiete_id NVARCHAR(255) ); @@ -5372,8 +5734,8 @@ alter table sx_tables add ( sachgebiete_id NVARCHAR(255) ); <#if !fields?seq_contains("sx_fields.tid") > -! echo "field sx_fields.tid will be added" -! echo `date` +select now(),'field sx_fields.tid will be added' +from xdummy; alter table sx_fields add ( tid SERIAL not null); @@ -5382,8 +5744,8 @@ alter table sx_fields add ( tid SERIAL not null); <#if !fields?seq_contains("sx_fields.table_name") > -! echo "field sx_fields.table_name will be added" -! echo `date` +select now(),'field sx_fields.table_name will be added' +from xdummy; alter table sx_fields add ( table_name NVARCHAR(255) not null); @@ -5392,8 +5754,8 @@ alter table sx_fields add ( table_name NVARCHAR(255) not null); <#if !fields?seq_contains("sx_fields.name") > -! echo "field sx_fields.name will be added" -! echo `date` +select now(),'field sx_fields.name will be added' +from xdummy; alter table sx_fields add ( name NVARCHAR(255) not null); @@ -5402,8 +5764,8 @@ alter table sx_fields add ( name NVARCHAR(255) not null); <#if !fields?seq_contains("sx_fields.caption") > -! echo "field sx_fields.caption will be added" -! echo `date` +select now(),'field sx_fields.caption will be added' +from xdummy; alter table sx_fields add ( caption NVARCHAR(255) ); @@ -5412,8 +5774,8 @@ alter table sx_fields add ( caption NVARCHAR(255) ); <#if !fields?seq_contains("sx_fields.description") > -! echo "field sx_fields.description will be added" -! echo `date` +select now(),'field sx_fields.description will be added' +from xdummy; alter table sx_fields add ( description NVARCHAR(255) ); @@ -5422,8 +5784,8 @@ alter table sx_fields add ( description NVARCHAR(255) ); <#if !fields?seq_contains("sx_fields.field_type") > -! echo "field sx_fields.field_type will be added" -! echo `date` +select now(),'field sx_fields.field_type will be added' +from xdummy; alter table sx_fields add ( field_type NVARCHAR(255) not null); @@ -5432,8 +5794,8 @@ alter table sx_fields add ( field_type NVARCHAR(255) not null); <#if !fields?seq_contains("sx_fields.field_size") > -! echo "field sx_fields.field_size will be added" -! echo `date` +select now(),'field sx_fields.field_size will be added' +from xdummy; alter table sx_fields add ( field_size NVARCHAR(255) ); @@ -5442,8 +5804,8 @@ alter table sx_fields add ( field_size NVARCHAR(255) ); <#if !fields?seq_contains("sx_fields.field_not_null") > -! echo "field sx_fields.field_not_null will be added" -! echo `date` +select now(),'field sx_fields.field_not_null will be added' +from xdummy; alter table sx_fields add ( field_not_null SMALLINT ); @@ -5452,8 +5814,8 @@ alter table sx_fields add ( field_not_null SMALLINT ); <#if !fields?seq_contains("sx_fields.currentlyused") > -! echo "field sx_fields.currentlyused will be added" -! echo `date` +select now(),'field sx_fields.currentlyused will be added' +from xdummy; alter table sx_fields add ( currentlyused SMALLINT ); @@ -5462,8 +5824,8 @@ alter table sx_fields add ( currentlyused SMALLINT ); <#if !fields?seq_contains("sx_fields.is_primarykey") > -! echo "field sx_fields.is_primarykey will be added" -! echo `date` +select now(),'field sx_fields.is_primarykey will be added' +from xdummy; alter table sx_fields add ( is_primarykey SMALLINT default 0 ); @@ -5472,8 +5834,8 @@ alter table sx_fields add ( is_primarykey SMALLINT default 0 ); <#if !fields?seq_contains("sx_fields.foreignkey_tab") > -! echo "field sx_fields.foreignkey_tab will be added" -! echo `date` +select now(),'field sx_fields.foreignkey_tab will be added' +from xdummy; alter table sx_fields add ( foreignkey_tab NVARCHAR(255) ); @@ -5482,8 +5844,8 @@ alter table sx_fields add ( foreignkey_tab NVARCHAR(255) ); <#if !fields?seq_contains("sx_fields.foreignkey_col") > -! echo "field sx_fields.foreignkey_col will be added" -! echo `date` +select now(),'field sx_fields.foreignkey_col will be added' +from xdummy; alter table sx_fields add ( foreignkey_col NVARCHAR(255) ); @@ -5492,8 +5854,8 @@ alter table sx_fields add ( foreignkey_col NVARCHAR(255) ); <#if !fields?seq_contains("sx_fields.foreignkey_int") > -! echo "field sx_fields.foreignkey_int will be added" -! echo `date` +select now(),'field sx_fields.foreignkey_int will be added' +from xdummy; alter table sx_fields add ( foreignkey_int NVARCHAR(255) ); @@ -5502,8 +5864,8 @@ alter table sx_fields add ( foreignkey_int NVARCHAR(255) ); <#if !fields?seq_contains("sx_fields.foreignkey_cap") > -! echo "field sx_fields.foreignkey_cap will be added" -! echo `date` +select now(),'field sx_fields.foreignkey_cap will be added' +from xdummy; alter table sx_fields add ( foreignkey_cap NVARCHAR(255) ); @@ -5512,8 +5874,8 @@ alter table sx_fields add ( foreignkey_cap NVARCHAR(255) ); <#if !fields?seq_contains("sx_fields.foreignkey_cond") > -! echo "field sx_fields.foreignkey_cond will be added" -! echo `date` +select now(),'field sx_fields.foreignkey_cond will be added' +from xdummy; alter table sx_fields add ( foreignkey_cond NVARCHAR(255) ); @@ -5522,8 +5884,8 @@ alter table sx_fields add ( foreignkey_cond NVARCHAR(255) ); <#if !fields?seq_contains("sx_fields.foreignkey_func") > -! echo "field sx_fields.foreignkey_func will be added" -! echo `date` +select now(),'field sx_fields.foreignkey_func will be added' +from xdummy; alter table sx_fields add ( foreignkey_func NVARCHAR(255) ); @@ -5532,8 +5894,8 @@ alter table sx_fields add ( foreignkey_func NVARCHAR(255) ); <#if !fields?seq_contains("sx_fields.check_integrity") > -! echo "field sx_fields.check_integrity will be added" -! echo `date` +select now(),'field sx_fields.check_integrity will be added' +from xdummy; alter table sx_fields add ( check_integrity SMALLINT default 0 ); @@ -5542,8 +5904,8 @@ alter table sx_fields add ( check_integrity SMALLINT default 0 ); <#if !fields?seq_contains("sx_fields.is_sum") > -! echo "field sx_fields.is_sum will be added" -! echo `date` +select now(),'field sx_fields.is_sum will be added' +from xdummy; alter table sx_fields add ( is_sum SMALLINT default 1 ); @@ -5552,8 +5914,8 @@ alter table sx_fields add ( is_sum SMALLINT default 1 ); <#if !fields?seq_contains("sx_fields.foreignkey_uniquename") > -! echo "field sx_fields.foreignkey_uniquename will be added" -! echo `date` +select now(),'field sx_fields.foreignkey_uniquename will be added' +from xdummy; alter table sx_fields add ( foreignkey_uniquename NVARCHAR(255) ); @@ -5562,8 +5924,8 @@ alter table sx_fields add ( foreignkey_uniquename NVARCHAR(255) ); <#if !fields?seq_contains("dimension_bp.tid") > -! echo "field dimension_bp.tid will be added" -! echo `date` +select now(),'field dimension_bp.tid will be added' +from xdummy; alter table dimension_bp add ( tid SERIAL not null); @@ -5572,8 +5934,8 @@ alter table dimension_bp add ( tid SERIAL not null); <#if !fields?seq_contains("dimension_bp.apnr") > -! echo "field dimension_bp.apnr will be added" -! echo `date` +select now(),'field dimension_bp.apnr will be added' +from xdummy; alter table dimension_bp add ( apnr NVARCHAR(255) not null); @@ -5582,8 +5944,8 @@ alter table dimension_bp add ( apnr NVARCHAR(255) not null); <#if !fields?seq_contains("dimension_bp.d_akt_von") > -! echo "field dimension_bp.d_akt_von will be added" -! echo `date` +select now(),'field dimension_bp.d_akt_von will be added' +from xdummy; alter table dimension_bp add ( d_akt_von DATE ); @@ -5592,8 +5954,8 @@ alter table dimension_bp add ( d_akt_von DATE ); <#if !fields?seq_contains("dimension_bp.d_akt_bis") > -! echo "field dimension_bp.d_akt_bis will be added" -! echo `date` +select now(),'field dimension_bp.d_akt_bis will be added' +from xdummy; alter table dimension_bp add ( d_akt_bis DATE ); @@ -5602,8 +5964,8 @@ alter table dimension_bp add ( d_akt_bis DATE ); <#if !fields?seq_contains("dimension_bp.kurz") > -! echo "field dimension_bp.kurz will be added" -! echo `date` +select now(),'field dimension_bp.kurz will be added' +from xdummy; alter table dimension_bp add ( kurz NVARCHAR(255) ); @@ -5612,8 +5974,8 @@ alter table dimension_bp add ( kurz NVARCHAR(255) ); <#if !fields?seq_contains("dimension_bp.druck") > -! echo "field dimension_bp.druck will be added" -! echo `date` +select now(),'field dimension_bp.druck will be added' +from xdummy; alter table dimension_bp add ( druck NVARCHAR(255) ); @@ -5622,8 +5984,8 @@ alter table dimension_bp add ( druck NVARCHAR(255) ); <#if !fields?seq_contains("dimension_bp.lang_1") > -! echo "field dimension_bp.lang_1 will be added" -! echo `date` +select now(),'field dimension_bp.lang_1 will be added' +from xdummy; alter table dimension_bp add ( lang_1 NVARCHAR(255) ); @@ -5632,8 +5994,8 @@ alter table dimension_bp add ( lang_1 NVARCHAR(255) ); <#if !fields?seq_contains("dimension_bp.lang_2") > -! echo "field dimension_bp.lang_2 will be added" -! echo `date` +select now(),'field dimension_bp.lang_2 will be added' +from xdummy; alter table dimension_bp add ( lang_2 NVARCHAR(255) ); @@ -5642,8 +6004,8 @@ alter table dimension_bp add ( lang_2 NVARCHAR(255) ); <#if !fields?seq_contains("dimension_bp.lang_3") > -! echo "field dimension_bp.lang_3 will be added" -! echo `date` +select now(),'field dimension_bp.lang_3 will be added' +from xdummy; alter table dimension_bp add ( lang_3 NVARCHAR(255) ); @@ -5652,8 +6014,8 @@ alter table dimension_bp add ( lang_3 NVARCHAR(255) ); <#if !fields?seq_contains("dimension_bp.keyfield") > -! echo "field dimension_bp.keyfield will be added" -! echo `date` +select now(),'field dimension_bp.keyfield will be added' +from xdummy; alter table dimension_bp add ( keyfield NVARCHAR(255) ); @@ -5662,8 +6024,8 @@ alter table dimension_bp add ( keyfield NVARCHAR(255) ); <#if !fields?seq_contains("dimension_bp.keyfieldtype") > -! echo "field dimension_bp.keyfieldtype will be added" -! echo `date` +select now(),'field dimension_bp.keyfieldtype will be added' +from xdummy; alter table dimension_bp add ( keyfieldtype NVARCHAR(255) ); @@ -5672,8 +6034,8 @@ alter table dimension_bp add ( keyfieldtype NVARCHAR(255) ); <#if !fields?seq_contains("dimension_bp.datatype") > -! echo "field dimension_bp.datatype will be added" -! echo `date` +select now(),'field dimension_bp.datatype will be added' +from xdummy; alter table dimension_bp add ( datatype NVARCHAR(255) ); @@ -5682,8 +6044,8 @@ alter table dimension_bp add ( datatype NVARCHAR(255) ); <#if !fields?seq_contains("dimension_bp.captionfield") > -! echo "field dimension_bp.captionfield will be added" -! echo `date` +select now(),'field dimension_bp.captionfield will be added' +from xdummy; alter table dimension_bp add ( captionfield NVARCHAR(255) ); @@ -5692,8 +6054,8 @@ alter table dimension_bp add ( captionfield NVARCHAR(255) ); <#if !fields?seq_contains("dimension_bp.sortfield") > -! echo "field dimension_bp.sortfield will be added" -! echo `date` +select now(),'field dimension_bp.sortfield will be added' +from xdummy; alter table dimension_bp add ( sortfield NVARCHAR(255) ); @@ -5702,8 +6064,8 @@ alter table dimension_bp add ( sortfield NVARCHAR(255) ); <#if !fields?seq_contains("dimension_bp.source") > -! echo "field dimension_bp.source will be added" -! echo `date` +select now(),'field dimension_bp.source will be added' +from xdummy; alter table dimension_bp add ( source NVARCHAR(255) ); @@ -5712,8 +6074,8 @@ alter table dimension_bp add ( source NVARCHAR(255) ); <#if !fields?seq_contains("dimension_bp.sourcefilter") > -! echo "field dimension_bp.sourcefilter will be added" -! echo `date` +select now(),'field dimension_bp.sourcefilter will be added' +from xdummy; alter table dimension_bp add ( sourcefilter NVARCHAR(255) ); @@ -5722,8 +6084,8 @@ alter table dimension_bp add ( sourcefilter NVARCHAR(255) ); <#if !fields?seq_contains("dimension_bp.system_key") > -! echo "field dimension_bp.system_key will be added" -! echo `date` +select now(),'field dimension_bp.system_key will be added' +from xdummy; alter table dimension_bp add ( system_key NVARCHAR(255) ); @@ -5732,8 +6094,8 @@ alter table dimension_bp add ( system_key NVARCHAR(255) ); <#if !fields?seq_contains("dimension.tid") > -! echo "field dimension.tid will be added" -! echo `date` +select now(),'field dimension.tid will be added' +from xdummy; alter table dimension add ( tid SERIAL not null); @@ -5742,8 +6104,8 @@ alter table dimension add ( tid SERIAL not null); <#if !fields?seq_contains("dimension.dimension_bp_id") > -! echo "field dimension.dimension_bp_id will be added" -! echo `date` +select now(),'field dimension.dimension_bp_id will be added' +from xdummy; alter table dimension add ( dimension_bp_id INTEGER not null); @@ -5752,8 +6114,8 @@ alter table dimension add ( dimension_bp_id INTEGER not null); <#if !fields?seq_contains("dimension.fact_table") > -! echo "field dimension.fact_table will be added" -! echo `date` +select now(),'field dimension.fact_table will be added' +from xdummy; alter table dimension add ( fact_table NVARCHAR(255) ); @@ -5762,8 +6124,8 @@ alter table dimension add ( fact_table NVARCHAR(255) ); <#if !fields?seq_contains("dimension.d_akt_von") > -! echo "field dimension.d_akt_von will be added" -! echo `date` +select now(),'field dimension.d_akt_von will be added' +from xdummy; alter table dimension add ( d_akt_von DATE ); @@ -5772,8 +6134,8 @@ alter table dimension add ( d_akt_von DATE ); <#if !fields?seq_contains("dimension.d_akt_bis") > -! echo "field dimension.d_akt_bis will be added" -! echo `date` +select now(),'field dimension.d_akt_bis will be added' +from xdummy; alter table dimension add ( d_akt_bis DATE ); @@ -5782,8 +6144,8 @@ alter table dimension add ( d_akt_bis DATE ); <#if !fields?seq_contains("dimension.name") > -! echo "field dimension.name will be added" -! echo `date` +select now(),'field dimension.name will be added' +from xdummy; alter table dimension add ( name NVARCHAR(255) ); @@ -5792,8 +6154,8 @@ alter table dimension add ( name NVARCHAR(255) ); <#if !fields?seq_contains("dimension.druck") > -! echo "field dimension.druck will be added" -! echo `date` +select now(),'field dimension.druck will be added' +from xdummy; alter table dimension add ( druck NVARCHAR(255) ); @@ -5802,8 +6164,8 @@ alter table dimension add ( druck NVARCHAR(255) ); <#if !fields?seq_contains("dimension.lang_1") > -! echo "field dimension.lang_1 will be added" -! echo `date` +select now(),'field dimension.lang_1 will be added' +from xdummy; alter table dimension add ( lang_1 NVARCHAR(255) ); @@ -5812,8 +6174,8 @@ alter table dimension add ( lang_1 NVARCHAR(255) ); <#if !fields?seq_contains("dimension.lang_2") > -! echo "field dimension.lang_2 will be added" -! echo `date` +select now(),'field dimension.lang_2 will be added' +from xdummy; alter table dimension add ( lang_2 NVARCHAR(255) ); @@ -5822,8 +6184,8 @@ alter table dimension add ( lang_2 NVARCHAR(255) ); <#if !fields?seq_contains("dimension.lang_3") > -! echo "field dimension.lang_3 will be added" -! echo `date` +select now(),'field dimension.lang_3 will be added' +from xdummy; alter table dimension add ( lang_3 NVARCHAR(255) ); @@ -5832,8 +6194,8 @@ alter table dimension add ( lang_3 NVARCHAR(255) ); <#if !fields?seq_contains("dimension.sourcefilter") > -! echo "field dimension.sourcefilter will be added" -! echo `date` +select now(),'field dimension.sourcefilter will be added' +from xdummy; alter table dimension add ( sourcefilter NVARCHAR(255) ); @@ -5842,8 +6204,8 @@ alter table dimension add ( sourcefilter NVARCHAR(255) ); <#if !fields?seq_contains("dimension.system_key") > -! echo "field dimension.system_key will be added" -! echo `date` +select now(),'field dimension.system_key will be added' +from xdummy; alter table dimension add ( system_key NVARCHAR(255) ); @@ -5852,8 +6214,8 @@ alter table dimension add ( system_key NVARCHAR(255) ); <#if !fields?seq_contains("dim_bp_apnr.dimension_bp_id") > -! echo "field dim_bp_apnr.dimension_bp_id will be added" -! echo `date` +select now(),'field dim_bp_apnr.dimension_bp_id will be added' +from xdummy; alter table dim_bp_apnr add ( dimension_bp_id INTEGER not null); @@ -5862,8 +6224,8 @@ alter table dim_bp_apnr add ( dimension_bp_id INTEGER not null); <#if !fields?seq_contains("dim_bp_apnr.apnr") > -! echo "field dim_bp_apnr.apnr will be added" -! echo `date` +select now(),'field dim_bp_apnr.apnr will be added' +from xdummy; alter table dim_bp_apnr add ( apnr INTEGER not null); @@ -5872,8 +6234,8 @@ alter table dim_bp_apnr add ( apnr INTEGER not null); <#if !fields?seq_contains("dim_bp_apnr.parent") > -! echo "field dim_bp_apnr.parent will be added" -! echo `date` +select now(),'field dim_bp_apnr.parent will be added' +from xdummy; alter table dim_bp_apnr add ( parent INTEGER ); @@ -5882,8 +6244,8 @@ alter table dim_bp_apnr add ( parent INTEGER ); <#if !fields?seq_contains("dim_bp_apnr.druck") > -! echo "field dim_bp_apnr.druck will be added" -! echo `date` +select now(),'field dim_bp_apnr.druck will be added' +from xdummy; alter table dim_bp_apnr add ( druck NVARCHAR(255) ); @@ -5892,8 +6254,8 @@ alter table dim_bp_apnr add ( druck NVARCHAR(255) ); <#if !fields?seq_contains("dim_bp_apnr.systeminfo_id") > -! echo "field dim_bp_apnr.systeminfo_id will be added" -! echo `date` +select now(),'field dim_bp_apnr.systeminfo_id will be added' +from xdummy; alter table dim_bp_apnr add ( systeminfo_id INTEGER ); @@ -5902,8 +6264,8 @@ alter table dim_bp_apnr add ( systeminfo_id INTEGER ); <#if !fields?seq_contains("dim_bp_apnr.kurztext") > -! echo "field dim_bp_apnr.kurztext will be added" -! echo `date` +select now(),'field dim_bp_apnr.kurztext will be added' +from xdummy; alter table dim_bp_apnr add ( kurztext NVARCHAR(255) ); @@ -5912,8 +6274,8 @@ alter table dim_bp_apnr add ( kurztext NVARCHAR(255) ); <#if !fields?seq_contains("dim_bp_apnr.langtext") > -! echo "field dim_bp_apnr.langtext will be added" -! echo `date` +select now(),'field dim_bp_apnr.langtext will be added' +from xdummy; alter table dim_bp_apnr add ( langtext NVARCHAR(255) ); @@ -5922,8 +6284,8 @@ alter table dim_bp_apnr add ( langtext NVARCHAR(255) ); <#if !fields?seq_contains("dim_bp_apnr.uniquename") > -! echo "field dim_bp_apnr.uniquename will be added" -! echo `date` +select now(),'field dim_bp_apnr.uniquename will be added' +from xdummy; alter table dim_bp_apnr add ( uniquename NCHAR(255) ); @@ -5932,8 +6294,8 @@ alter table dim_bp_apnr add ( uniquename NCHAR(255) ); <#if !fields?seq_contains("dim_bp_apnr.level1_int") > -! echo "field dim_bp_apnr.level1_int will be added" -! echo `date` +select now(),'field dim_bp_apnr.level1_int will be added' +from xdummy; alter table dim_bp_apnr add ( level1_int INTEGER ); @@ -5942,8 +6304,8 @@ alter table dim_bp_apnr add ( level1_int INTEGER ); <#if !fields?seq_contains("dim_bp_apnr.level1_char") > -! echo "field dim_bp_apnr.level1_char will be added" -! echo `date` +select now(),'field dim_bp_apnr.level1_char will be added' +from xdummy; alter table dim_bp_apnr add ( level1_char NCHAR(255) ); @@ -5952,8 +6314,8 @@ alter table dim_bp_apnr add ( level1_char NCHAR(255) ); <#if !fields?seq_contains("dim_bp_apnr.level1_str") > -! echo "field dim_bp_apnr.level1_str will be added" -! echo `date` +select now(),'field dim_bp_apnr.level1_str will be added' +from xdummy; alter table dim_bp_apnr add ( level1_str NCHAR(255) ); @@ -5962,8 +6324,8 @@ alter table dim_bp_apnr add ( level1_str NCHAR(255) ); <#if !fields?seq_contains("dim_bp_apnr.level2_int") > -! echo "field dim_bp_apnr.level2_int will be added" -! echo `date` +select now(),'field dim_bp_apnr.level2_int will be added' +from xdummy; alter table dim_bp_apnr add ( level2_int INTEGER ); @@ -5972,8 +6334,8 @@ alter table dim_bp_apnr add ( level2_int INTEGER ); <#if !fields?seq_contains("dim_bp_apnr.level2_char") > -! echo "field dim_bp_apnr.level2_char will be added" -! echo `date` +select now(),'field dim_bp_apnr.level2_char will be added' +from xdummy; alter table dim_bp_apnr add ( level2_char NCHAR(255) ); @@ -5982,8 +6344,8 @@ alter table dim_bp_apnr add ( level2_char NCHAR(255) ); <#if !fields?seq_contains("dim_bp_apnr.level2_str") > -! echo "field dim_bp_apnr.level2_str will be added" -! echo `date` +select now(),'field dim_bp_apnr.level2_str will be added' +from xdummy; alter table dim_bp_apnr add ( level2_str NCHAR(255) ); @@ -5992,8 +6354,8 @@ alter table dim_bp_apnr add ( level2_str NCHAR(255) ); <#if !fields?seq_contains("dim_bp_apnr.level3_int") > -! echo "field dim_bp_apnr.level3_int will be added" -! echo `date` +select now(),'field dim_bp_apnr.level3_int will be added' +from xdummy; alter table dim_bp_apnr add ( level3_int INTEGER ); @@ -6002,8 +6364,8 @@ alter table dim_bp_apnr add ( level3_int INTEGER ); <#if !fields?seq_contains("dim_bp_apnr.level3_char") > -! echo "field dim_bp_apnr.level3_char will be added" -! echo `date` +select now(),'field dim_bp_apnr.level3_char will be added' +from xdummy; alter table dim_bp_apnr add ( level3_char NCHAR(255) ); @@ -6012,8 +6374,8 @@ alter table dim_bp_apnr add ( level3_char NCHAR(255) ); <#if !fields?seq_contains("dim_bp_apnr.level3_str") > -! echo "field dim_bp_apnr.level3_str will be added" -! echo `date` +select now(),'field dim_bp_apnr.level3_str will be added' +from xdummy; alter table dim_bp_apnr add ( level3_str NCHAR(255) ); @@ -6022,8 +6384,8 @@ alter table dim_bp_apnr add ( level3_str NCHAR(255) ); <#if !fields?seq_contains("dim_bp_apnr.sortorder") > -! echo "field dim_bp_apnr.sortorder will be added" -! echo `date` +select now(),'field dim_bp_apnr.sortorder will be added' +from xdummy; alter table dim_bp_apnr add ( sortorder INTEGER ); @@ -6032,8 +6394,8 @@ alter table dim_bp_apnr add ( sortorder INTEGER ); <#if !fields?seq_contains("dim_bp_altsicht_apnr.hierarchie_id") > -! echo "field dim_bp_altsicht_apnr.hierarchie_id will be added" -! echo `date` +select now(),'field dim_bp_altsicht_apnr.hierarchie_id will be added' +from xdummy; alter table dim_bp_altsicht_apnr add ( hierarchie_id NVARCHAR(200) not null); @@ -6042,8 +6404,8 @@ alter table dim_bp_altsicht_apnr add ( hierarchie_id NVARCHAR(200) not null); <#if !fields?seq_contains("dim_bp_altsicht_apnr.apnrchar") > -! echo "field dim_bp_altsicht_apnr.apnrchar will be added" -! echo `date` +select now(),'field dim_bp_altsicht_apnr.apnrchar will be added' +from xdummy; alter table dim_bp_altsicht_apnr add ( apnrchar NVARCHAR(255) ); @@ -6052,8 +6414,8 @@ alter table dim_bp_altsicht_apnr add ( apnrchar NVARCHAR(255) ); <#if !fields?seq_contains("dim_bp_altsicht_apnr.apnr") > -! echo "field dim_bp_altsicht_apnr.apnr will be added" -! echo `date` +select now(),'field dim_bp_altsicht_apnr.apnr will be added' +from xdummy; alter table dim_bp_altsicht_apnr add ( apnr INTEGER ); @@ -6062,8 +6424,8 @@ alter table dim_bp_altsicht_apnr add ( apnr INTEGER ); <#if !fields?seq_contains("dim_bp_altsicht_apnr.parentchar") > -! echo "field dim_bp_altsicht_apnr.parentchar will be added" -! echo `date` +select now(),'field dim_bp_altsicht_apnr.parentchar will be added' +from xdummy; alter table dim_bp_altsicht_apnr add ( parentchar NVARCHAR(255) ); @@ -6072,8 +6434,8 @@ alter table dim_bp_altsicht_apnr add ( parentchar NVARCHAR(255) ); <#if !fields?seq_contains("dim_bp_altsicht_apnr.parent") > -! echo "field dim_bp_altsicht_apnr.parent will be added" -! echo `date` +select now(),'field dim_bp_altsicht_apnr.parent will be added' +from xdummy; alter table dim_bp_altsicht_apnr add ( parent INTEGER ); @@ -6082,8 +6444,8 @@ alter table dim_bp_altsicht_apnr add ( parent INTEGER ); <#if !fields?seq_contains("dim_bp_altsicht_apnr.druck") > -! echo "field dim_bp_altsicht_apnr.druck will be added" -! echo `date` +select now(),'field dim_bp_altsicht_apnr.druck will be added' +from xdummy; alter table dim_bp_altsicht_apnr add ( druck NVARCHAR(255) ); @@ -6092,8 +6454,8 @@ alter table dim_bp_altsicht_apnr add ( druck NVARCHAR(255) ); <#if !fields?seq_contains("dim_bp_altsicht_apnr.systeminfo_id") > -! echo "field dim_bp_altsicht_apnr.systeminfo_id will be added" -! echo `date` +select now(),'field dim_bp_altsicht_apnr.systeminfo_id will be added' +from xdummy; alter table dim_bp_altsicht_apnr add ( systeminfo_id INTEGER ); @@ -6102,8 +6464,8 @@ alter table dim_bp_altsicht_apnr add ( systeminfo_id INTEGER ); <#if !fields?seq_contains("dim_closure.dimension_bp_id") > -! echo "field dim_closure.dimension_bp_id will be added" -! echo `date` +select now(),'field dim_closure.dimension_bp_id will be added' +from xdummy; alter table dim_closure add ( dimension_bp_id INTEGER ); @@ -6112,8 +6474,8 @@ alter table dim_closure add ( dimension_bp_id INTEGER ); <#if !fields?seq_contains("dim_closure.hierarchie_id") > -! echo "field dim_closure.hierarchie_id will be added" -! echo `date` +select now(),'field dim_closure.hierarchie_id will be added' +from xdummy; alter table dim_closure add ( hierarchie_id NVARCHAR(200) ); @@ -6122,8 +6484,8 @@ alter table dim_closure add ( hierarchie_id NVARCHAR(200) ); <#if !fields?seq_contains("dim_closure.key") > -! echo "field dim_closure.key will be added" -! echo `date` +select now(),'field dim_closure.key will be added' +from xdummy; alter table dim_closure add ( key INTEGER not null); @@ -6132,8 +6494,8 @@ alter table dim_closure add ( key INTEGER not null); <#if !fields?seq_contains("dim_closure.parent") > -! echo "field dim_closure.parent will be added" -! echo `date` +select now(),'field dim_closure.parent will be added' +from xdummy; alter table dim_closure add ( parent INTEGER not null); @@ -6142,8 +6504,8 @@ alter table dim_closure add ( parent INTEGER not null); <#if !fields?seq_contains("dim_closure.distance") > -! echo "field dim_closure.distance will be added" -! echo `date` +select now(),'field dim_closure.distance will be added' +from xdummy; alter table dim_closure add ( distance INTEGER ); @@ -6152,8 +6514,8 @@ alter table dim_closure add ( distance INTEGER ); <#if !fields?seq_contains("mondrian_schema.id") > -! echo "field mondrian_schema.id will be added" -! echo `date` +select now(),'field mondrian_schema.id will be added' +from xdummy; alter table mondrian_schema add ( id SERIAL ); @@ -6162,8 +6524,8 @@ alter table mondrian_schema add ( id SERIAL ); <#if !fields?seq_contains("mondrian_schema.schema") > -! echo "field mondrian_schema.schema will be added" -! echo `date` +select now(),'field mondrian_schema.schema will be added' +from xdummy; alter table mondrian_schema add ( schema TEXT ); @@ -6172,8 +6534,8 @@ alter table mondrian_schema add ( schema TEXT ); <#if !fields?seq_contains("mondrian_schema.original_schema") > -! echo "field mondrian_schema.original_schema will be added" -! echo `date` +select now(),'field mondrian_schema.original_schema will be added' +from xdummy; alter table mondrian_schema add ( original_schema TEXT ); @@ -6182,8 +6544,8 @@ alter table mondrian_schema add ( original_schema TEXT ); <#if !fields?seq_contains("mondrian_schema.customization") > -! echo "field mondrian_schema.customization will be added" -! echo `date` +select now(),'field mondrian_schema.customization will be added' +from xdummy; alter table mondrian_schema add ( customization TEXT ); @@ -6192,8 +6554,8 @@ alter table mondrian_schema add ( customization TEXT ); <#if !fields?seq_contains("mondrian_schema.created") > -! echo "field mondrian_schema.created will be added" -! echo `date` +select now(),'field mondrian_schema.created will be added' +from xdummy; alter table mondrian_schema add ( created datetime year to second ); @@ -6202,8 +6564,8 @@ alter table mondrian_schema add ( created datetime year to second ); <#if !fields?seq_contains("mondrian_schema.node") > -! echo "field mondrian_schema.node will be added" -! echo `date` +select now(),'field mondrian_schema.node will be added' +from xdummy; alter table mondrian_schema add ( node NVARCHAR(255) ); @@ -6212,8 +6574,8 @@ alter table mondrian_schema add ( node NVARCHAR(255) ); <#if !fields?seq_contains("trans_dim_bp_apnr.dimension_bp_id") > -! echo "field trans_dim_bp_apnr.dimension_bp_id will be added" -! echo `date` +select now(),'field trans_dim_bp_apnr.dimension_bp_id will be added' +from xdummy; alter table trans_dim_bp_apnr add ( dimension_bp_id INTEGER not null); @@ -6222,8 +6584,8 @@ alter table trans_dim_bp_apnr add ( dimension_bp_id INTEGER not null); <#if !fields?seq_contains("trans_dim_bp_apnr.apnr") > -! echo "field trans_dim_bp_apnr.apnr will be added" -! echo `date` +select now(),'field trans_dim_bp_apnr.apnr will be added' +from xdummy; alter table trans_dim_bp_apnr add ( apnr INTEGER not null); @@ -6232,8 +6594,8 @@ alter table trans_dim_bp_apnr add ( apnr INTEGER not null); <#if !fields?seq_contains("trans_dim_bp_apnr.sourcesystem_id") > -! echo "field trans_dim_bp_apnr.sourcesystem_id will be added" -! echo `date` +select now(),'field trans_dim_bp_apnr.sourcesystem_id will be added' +from xdummy; alter table trans_dim_bp_apnr add ( sourcesystem_id NVARCHAR(255) ); @@ -6242,8 +6604,8 @@ alter table trans_dim_bp_apnr add ( sourcesystem_id NVARCHAR(255) ); <#if !fields?seq_contains("trans_dim_bp_apnr.systeminfo_id") > -! echo "field trans_dim_bp_apnr.systeminfo_id will be added" -! echo `date` +select now(),'field trans_dim_bp_apnr.systeminfo_id will be added' +from xdummy; alter table trans_dim_bp_apnr add ( systeminfo_id INTEGER ); @@ -6252,8 +6614,8 @@ alter table trans_dim_bp_apnr add ( systeminfo_id INTEGER ); <#if !fields?seq_contains("masken_protokoll.tid") > -! echo "field masken_protokoll.tid will be added" -! echo `date` +select now(),'field masken_protokoll.tid will be added' +from xdummy; alter table masken_protokoll add ( tid SERIAL not null); @@ -6262,8 +6624,8 @@ alter table masken_protokoll add ( tid SERIAL not null); <#if !fields?seq_contains("masken_protokoll.maskeninfo_id") > -! echo "field masken_protokoll.maskeninfo_id will be added" -! echo `date` +select now(),'field masken_protokoll.maskeninfo_id will be added' +from xdummy; alter table masken_protokoll add ( maskeninfo_id INTEGER not null); @@ -6272,8 +6634,8 @@ alter table masken_protokoll add ( maskeninfo_id INTEGER not null); <#if !fields?seq_contains("masken_protokoll.user_id") > -! echo "field masken_protokoll.user_id will be added" -! echo `date` +select now(),'field masken_protokoll.user_id will be added' +from xdummy; alter table masken_protokoll add ( user_id INTEGER not null); @@ -6282,8 +6644,8 @@ alter table masken_protokoll add ( user_id INTEGER not null); <#if !fields?seq_contains("masken_protokoll.zeitpunkt") > -! echo "field masken_protokoll.zeitpunkt will be added" -! echo `date` +select now(),'field masken_protokoll.zeitpunkt will be added' +from xdummy; alter table masken_protokoll add ( zeitpunkt datetime year to second not null); @@ -6292,8 +6654,8 @@ alter table masken_protokoll add ( zeitpunkt datetime year to second not null); <#if !fields?seq_contains("masken_protokoll.kommentar") > -! echo "field masken_protokoll.kommentar will be added" -! echo `date` +select now(),'field masken_protokoll.kommentar will be added' +from xdummy; alter table masken_protokoll add ( kommentar NVARCHAR(255) ); @@ -6302,8 +6664,8 @@ alter table masken_protokoll add ( kommentar NVARCHAR(255) ); <#if !fields?seq_contains("masken_prot_feld.tid") > -! echo "field masken_prot_feld.tid will be added" -! echo `date` +select now(),'field masken_prot_feld.tid will be added' +from xdummy; alter table masken_prot_feld add ( tid SERIAL not null); @@ -6312,8 +6674,8 @@ alter table masken_prot_feld add ( tid SERIAL not null); <#if !fields?seq_contains("masken_prot_feld.protokoll_id") > -! echo "field masken_prot_feld.protokoll_id will be added" -! echo `date` +select now(),'field masken_prot_feld.protokoll_id will be added' +from xdummy; alter table masken_prot_feld add ( protokoll_id INTEGER not null); @@ -6322,8 +6684,8 @@ alter table masken_prot_feld add ( protokoll_id INTEGER not null); <#if !fields?seq_contains("masken_prot_feld.felderinfo_id") > -! echo "field masken_prot_feld.felderinfo_id will be added" -! echo `date` +select now(),'field masken_prot_feld.felderinfo_id will be added' +from xdummy; alter table masken_prot_feld add ( felderinfo_id INTEGER not null); @@ -6332,8 +6694,8 @@ alter table masken_prot_feld add ( felderinfo_id INTEGER not null); <#if !fields?seq_contains("masken_prot_feld.wert") > -! echo "field masken_prot_feld.wert will be added" -! echo `date` +select now(),'field masken_prot_feld.wert will be added' +from xdummy; alter table masken_prot_feld add ( wert NVARCHAR(255) not null); @@ -6342,8 +6704,8 @@ alter table masken_prot_feld add ( wert NVARCHAR(255) not null); <#if !fields?seq_contains("masken_prot_feld.type") > -! echo "field masken_prot_feld.type will be added" -! echo `date` +select now(),'field masken_prot_feld.type will be added' +from xdummy; alter table masken_prot_feld add ( type VARCHAR(20) not null); @@ -6352,8 +6714,8 @@ alter table masken_prot_feld add ( type VARCHAR(20) not null); <#if !fields?seq_contains("masken_prot_feld.caption") > -! echo "field masken_prot_feld.caption will be added" -! echo `date` +select now(),'field masken_prot_feld.caption will be added' +from xdummy; alter table masken_prot_feld add ( caption NVARCHAR(255) ); @@ -6362,8 +6724,8 @@ alter table masken_prot_feld add ( caption NVARCHAR(255) ); <#if !fields?seq_contains("data_upload.tid") > -! echo "field data_upload.tid will be added" -! echo `date` +select now(),'field data_upload.tid will be added' +from xdummy; alter table data_upload add ( tid SERIAL not null); @@ -6372,8 +6734,8 @@ alter table data_upload add ( tid SERIAL not null); <#if !fields?seq_contains("data_upload.tablename") > -! echo "field data_upload.tablename will be added" -! echo `date` +select now(),'field data_upload.tablename will be added' +from xdummy; alter table data_upload add ( tablename NVARCHAR(255) not null); @@ -6382,8 +6744,8 @@ alter table data_upload add ( tablename NVARCHAR(255) not null); <#if !fields?seq_contains("data_upload.filename") > -! echo "field data_upload.filename will be added" -! echo `date` +select now(),'field data_upload.filename will be added' +from xdummy; alter table data_upload add ( filename char(255) ); @@ -6392,8 +6754,8 @@ alter table data_upload add ( filename char(255) ); <#if !fields?seq_contains("data_upload.datatype") > -! echo "field data_upload.datatype will be added" -! echo `date` +select now(),'field data_upload.datatype will be added' +from xdummy; alter table data_upload add ( datatype NVARCHAR(255) ); @@ -6402,8 +6764,8 @@ alter table data_upload add ( datatype NVARCHAR(255) ); <#if !fields?seq_contains("data_upload.datadelimiter") > -! echo "field data_upload.datadelimiter will be added" -! echo `date` +select now(),'field data_upload.datadelimiter will be added' +from xdummy; alter table data_upload add ( datadelimiter NVARCHAR(255) ); @@ -6412,8 +6774,8 @@ alter table data_upload add ( datadelimiter NVARCHAR(255) ); <#if !fields?seq_contains("data_upload.dataencoding") > -! echo "field data_upload.dataencoding will be added" -! echo `date` +select now(),'field data_upload.dataencoding will be added' +from xdummy; alter table data_upload add ( dataencoding NVARCHAR(255) ); @@ -6422,8 +6784,8 @@ alter table data_upload add ( dataencoding NVARCHAR(255) ); <#if !fields?seq_contains("data_upload.withheader") > -! echo "field data_upload.withheader will be added" -! echo `date` +select now(),'field data_upload.withheader will be added' +from xdummy; alter table data_upload add ( withheader SMALLINT default 0 ); @@ -6432,8 +6794,8 @@ alter table data_upload add ( withheader SMALLINT default 0 ); <#if !fields?seq_contains("data_upload.rownumber") > -! echo "field data_upload.rownumber will be added" -! echo `date` +select now(),'field data_upload.rownumber will be added' +from xdummy; alter table data_upload add ( rownumber INTEGER ); @@ -6442,8 +6804,8 @@ alter table data_upload add ( rownumber INTEGER ); <#if !fields?seq_contains("data_upload.zipped") > -! echo "field data_upload.zipped will be added" -! echo `date` +select now(),'field data_upload.zipped will be added' +from xdummy; alter table data_upload add ( zipped SMALLINT default 0 ); @@ -6452,8 +6814,8 @@ alter table data_upload add ( zipped SMALLINT default 0 ); <#if !fields?seq_contains("data_upload.ch110_institut") > -! echo "field data_upload.ch110_institut will be added" -! echo `date` +select now(),'field data_upload.ch110_institut will be added' +from xdummy; alter table data_upload add ( ch110_institut CHAR(10) ); @@ -6462,8 +6824,8 @@ alter table data_upload add ( ch110_institut CHAR(10) ); <#if !fields?seq_contains("data_upload.submission_userid") > -! echo "field data_upload.submission_userid will be added" -! echo `date` +select now(),'field data_upload.submission_userid will be added' +from xdummy; alter table data_upload add ( submission_userid INTEGER ); @@ -6472,8 +6834,8 @@ alter table data_upload add ( submission_userid INTEGER ); <#if !fields?seq_contains("data_upload.submission_email") > -! echo "field data_upload.submission_email will be added" -! echo `date` +select now(),'field data_upload.submission_email will be added' +from xdummy; alter table data_upload add ( submission_email NVARCHAR(255) ); @@ -6482,8 +6844,8 @@ alter table data_upload add ( submission_email NVARCHAR(255) ); <#if !fields?seq_contains("data_upload.submission_date") > -! echo "field data_upload.submission_date will be added" -! echo `date` +select now(),'field data_upload.submission_date will be added' +from xdummy; alter table data_upload add ( submission_date datetime year to second ); @@ -6492,8 +6854,8 @@ alter table data_upload add ( submission_date datetime year to second ); <#if !fields?seq_contains("data_upload.submission_mode") > -! echo "field data_upload.submission_mode will be added" -! echo `date` +select now(),'field data_upload.submission_mode will be added' +from xdummy; alter table data_upload add ( submission_mode SMALLINT ); @@ -6502,8 +6864,8 @@ alter table data_upload add ( submission_mode SMALLINT ); <#if !fields?seq_contains("data_upload.submission_comm") > -! echo "field data_upload.submission_comm will be added" -! echo `date` +select now(),'field data_upload.submission_comm will be added' +from xdummy; alter table data_upload add ( submission_comm TEXT ); @@ -6512,8 +6874,8 @@ alter table data_upload add ( submission_comm TEXT ); <#if !fields?seq_contains("data_upload.submission_noted") > -! echo "field data_upload.submission_noted will be added" -! echo `date` +select now(),'field data_upload.submission_noted will be added' +from xdummy; alter table data_upload add ( submission_noted SMALLINT default 0 ); @@ -6522,8 +6884,8 @@ alter table data_upload add ( submission_noted SMALLINT default 0 ); <#if !fields?seq_contains("data_upload.uploaded") > -! echo "field data_upload.uploaded will be added" -! echo `date` +select now(),'field data_upload.uploaded will be added' +from xdummy; alter table data_upload add ( uploaded SMALLINT default 0 ); @@ -6532,8 +6894,8 @@ alter table data_upload add ( uploaded SMALLINT default 0 ); <#if !fields?seq_contains("data_upload.processed") > -! echo "field data_upload.processed will be added" -! echo `date` +select now(),'field data_upload.processed will be added' +from xdummy; alter table data_upload add ( processed SMALLINT default 0 ); @@ -6542,8 +6904,8 @@ alter table data_upload add ( processed SMALLINT default 0 ); <#if !fields?seq_contains("data_upload.processor_email") > -! echo "field data_upload.processor_email will be added" -! echo `date` +select now(),'field data_upload.processor_email will be added' +from xdummy; alter table data_upload add ( processor_email NVARCHAR(255) ); @@ -6552,8 +6914,8 @@ alter table data_upload add ( processor_email NVARCHAR(255) ); <#if !fields?seq_contains("data_upload.processed_date") > -! echo "field data_upload.processed_date will be added" -! echo `date` +select now(),'field data_upload.processed_date will be added' +from xdummy; alter table data_upload add ( processed_date DATE ); @@ -6562,8 +6924,8 @@ alter table data_upload add ( processed_date DATE ); <#if !fields?seq_contains("data_upload.processed_noted") > -! echo "field data_upload.processed_noted will be added" -! echo `date` +select now(),'field data_upload.processed_noted will be added' +from xdummy; alter table data_upload add ( processed_noted SMALLINT default 0 ); @@ -6572,8 +6934,8 @@ alter table data_upload add ( processed_noted SMALLINT default 0 ); <#if !fields?seq_contains("update_prot.tid") > -! echo "field update_prot.tid will be added" -! echo `date` +select now(),'field update_prot.tid will be added' +from xdummy; alter table update_prot add ( tid SERIAL not null); @@ -6582,8 +6944,8 @@ alter table update_prot add ( tid SERIAL not null); <#if !fields?seq_contains("update_prot.systeminfo_id") > -! echo "field update_prot.systeminfo_id will be added" -! echo `date` +select now(),'field update_prot.systeminfo_id will be added' +from xdummy; alter table update_prot add ( systeminfo_id INTEGER default 0 not null); @@ -6592,8 +6954,8 @@ alter table update_prot add ( systeminfo_id INTEGER default 0 not null); <#if !fields?seq_contains("update_prot.update_entity") > -! echo "field update_prot.update_entity will be added" -! echo `date` +select now(),'field update_prot.update_entity will be added' +from xdummy; alter table update_prot add ( update_entity CHAR(40) ); @@ -6602,8 +6964,8 @@ alter table update_prot add ( update_entity CHAR(40) ); <#if !fields?seq_contains("update_prot.update_id") > -! echo "field update_prot.update_id will be added" -! echo `date` +select now(),'field update_prot.update_id will be added' +from xdummy; alter table update_prot add ( update_id INTEGER default 10 ); @@ -6612,8 +6974,8 @@ alter table update_prot add ( update_id INTEGER default 10 ); <#if !fields?seq_contains("update_prot.updated_at") > -! echo "field update_prot.updated_at will be added" -! echo `date` +select now(),'field update_prot.updated_at will be added' +from xdummy; alter table update_prot add ( updated_at datetime year to second ); @@ -6622,8 +6984,8 @@ alter table update_prot add ( updated_at datetime year to second ); <#if !fields?seq_contains("update_prot.update_time") > -! echo "field update_prot.update_time will be added" -! echo `date` +select now(),'field update_prot.update_time will be added' +from xdummy; alter table update_prot add ( update_time datetime year to second ); @@ -6632,8 +6994,8 @@ alter table update_prot add ( update_time datetime year to second ); <#if !fields?seq_contains("update_prot_neu.systeminfo_id") > -! echo "field update_prot_neu.systeminfo_id will be added" -! echo `date` +select now(),'field update_prot_neu.systeminfo_id will be added' +from xdummy; alter table update_prot_neu add ( systeminfo_id INTEGER default 0 not null); @@ -6642,8 +7004,8 @@ alter table update_prot_neu add ( systeminfo_id INTEGER default 0 not null); <#if !fields?seq_contains("update_prot_neu.update_entity") > -! echo "field update_prot_neu.update_entity will be added" -! echo `date` +select now(),'field update_prot_neu.update_entity will be added' +from xdummy; alter table update_prot_neu add ( update_entity CHAR(40) ); @@ -6652,8 +7014,8 @@ alter table update_prot_neu add ( update_entity CHAR(40) ); <#if !fields?seq_contains("update_prot_neu.update_id") > -! echo "field update_prot_neu.update_id will be added" -! echo `date` +select now(),'field update_prot_neu.update_id will be added' +from xdummy; alter table update_prot_neu add ( update_id INTEGER default 10 ); @@ -6662,8 +7024,8 @@ alter table update_prot_neu add ( update_id INTEGER default 10 ); <#if !fields?seq_contains("update_prot_neu.updated_at") > -! echo "field update_prot_neu.updated_at will be added" -! echo `date` +select now(),'field update_prot_neu.updated_at will be added' +from xdummy; alter table update_prot_neu add ( updated_at datetime year to second ); @@ -6672,8 +7034,8 @@ alter table update_prot_neu add ( updated_at datetime year to second ); <#if !fields?seq_contains("personattribute_neu.id") > -! echo "field personattribute_neu.id will be added" -! echo `date` +select now(),'field personattribute_neu.id will be added' +from xdummy; alter table personattribute_neu add ( id INTEGER not null); @@ -6682,8 +7044,8 @@ alter table personattribute_neu add ( id INTEGER not null); <#if !fields?seq_contains("personattribute_neu.person_id") > -! echo "field personattribute_neu.person_id will be added" -! echo `date` +select now(),'field personattribute_neu.person_id will be added' +from xdummy; alter table personattribute_neu add ( person_id INTEGER not null); @@ -6692,8 +7054,8 @@ alter table personattribute_neu add ( person_id INTEGER not null); <#if !fields?seq_contains("personattribute_neu.matrikel_nr") > -! echo "field personattribute_neu.matrikel_nr will be added" -! echo `date` +select now(),'field personattribute_neu.matrikel_nr will be added' +from xdummy; alter table personattribute_neu add ( matrikel_nr INTEGER not null); @@ -6702,8 +7064,8 @@ alter table personattribute_neu add ( matrikel_nr INTEGER not null); <#if !fields?seq_contains("personattribute_neu.systeminfo_id") > -! echo "field personattribute_neu.systeminfo_id will be added" -! echo `date` +select now(),'field personattribute_neu.systeminfo_id will be added' +from xdummy; alter table personattribute_neu add ( systeminfo_id INTEGER default 0 not null); @@ -6712,8 +7074,8 @@ alter table personattribute_neu add ( systeminfo_id INTEGER default 0 not null <#if !fields?seq_contains("personattribute_neu.personattributetype_id") > -! echo "field personattribute_neu.personattributetype_id will be added" -! echo `date` +select now(),'field personattribute_neu.personattributetype_id will be added' +from xdummy; alter table personattribute_neu add ( personattributetype_id INTEGER not null); @@ -6722,8 +7084,8 @@ alter table personattribute_neu add ( personattributetype_id INTEGER not null); <#if !fields?seq_contains("personattribute_neu.attributevalue") > -! echo "field personattribute_neu.attributevalue will be added" -! echo `date` +select now(),'field personattribute_neu.attributevalue will be added' +from xdummy; alter table personattribute_neu add ( attributevalue NVARCHAR(255) ); @@ -6732,8 +7094,8 @@ alter table personattribute_neu add ( attributevalue NVARCHAR(255) ); <#if !fields?seq_contains("personattribute_neu.valid_from") > -! echo "field personattribute_neu.valid_from will be added" -! echo `date` +select now(),'field personattribute_neu.valid_from will be added' +from xdummy; alter table personattribute_neu add ( valid_from DATE ); @@ -6742,8 +7104,8 @@ alter table personattribute_neu add ( valid_from DATE ); <#if !fields?seq_contains("personattribute_neu.valid_to") > -! echo "field personattribute_neu.valid_to will be added" -! echo `date` +select now(),'field personattribute_neu.valid_to will be added' +from xdummy; alter table personattribute_neu add ( valid_to DATE ); @@ -6752,8 +7114,8 @@ alter table personattribute_neu add ( valid_to DATE ); <#if !fields?seq_contains("personattribute_neu.semester_von") > -! echo "field personattribute_neu.semester_von will be added" -! echo `date` +select now(),'field personattribute_neu.semester_von will be added' +from xdummy; alter table personattribute_neu add ( semester_von INTEGER ); @@ -6762,8 +7124,8 @@ alter table personattribute_neu add ( semester_von INTEGER ); <#if !fields?seq_contains("personattribute_neu.semester_bis") > -! echo "field personattribute_neu.semester_bis will be added" -! echo `date` +select now(),'field personattribute_neu.semester_bis will be added' +from xdummy; alter table personattribute_neu add ( semester_bis INTEGER ); @@ -6772,8 +7134,8 @@ alter table personattribute_neu add ( semester_bis INTEGER ); <#if !fields?seq_contains("personattribute.person_id") > -! echo "field personattribute.person_id will be added" -! echo `date` +select now(),'field personattribute.person_id will be added' +from xdummy; alter table personattribute add ( person_id INTEGER not null); @@ -6782,8 +7144,8 @@ alter table personattribute add ( person_id INTEGER not null); <#if !fields?seq_contains("personattribute.matrikel_nr") > -! echo "field personattribute.matrikel_nr will be added" -! echo `date` +select now(),'field personattribute.matrikel_nr will be added' +from xdummy; alter table personattribute add ( matrikel_nr INTEGER not null); @@ -6792,8 +7154,8 @@ alter table personattribute add ( matrikel_nr INTEGER not null); <#if !fields?seq_contains("personattribute.systeminfo_id") > -! echo "field personattribute.systeminfo_id will be added" -! echo `date` +select now(),'field personattribute.systeminfo_id will be added' +from xdummy; alter table personattribute add ( systeminfo_id INTEGER default 0 not null); @@ -6802,8 +7164,8 @@ alter table personattribute add ( systeminfo_id INTEGER default 0 not null); <#if !fields?seq_contains("personattribute.personattributetype_id") > -! echo "field personattribute.personattributetype_id will be added" -! echo `date` +select now(),'field personattribute.personattributetype_id will be added' +from xdummy; alter table personattribute add ( personattributetype_id INTEGER not null); @@ -6812,8 +7174,8 @@ alter table personattribute add ( personattributetype_id INTEGER not null); <#if !fields?seq_contains("personattribute.attributevalue") > -! echo "field personattribute.attributevalue will be added" -! echo `date` +select now(),'field personattribute.attributevalue will be added' +from xdummy; alter table personattribute add ( attributevalue NVARCHAR(255) ); @@ -6822,8 +7184,8 @@ alter table personattribute add ( attributevalue NVARCHAR(255) ); <#if !fields?seq_contains("personattribute.valid_from") > -! echo "field personattribute.valid_from will be added" -! echo `date` +select now(),'field personattribute.valid_from will be added' +from xdummy; alter table personattribute add ( valid_from DATE ); @@ -6832,8 +7194,8 @@ alter table personattribute add ( valid_from DATE ); <#if !fields?seq_contains("personattribute.valid_to") > -! echo "field personattribute.valid_to will be added" -! echo `date` +select now(),'field personattribute.valid_to will be added' +from xdummy; alter table personattribute add ( valid_to DATE ); @@ -6842,8 +7204,8 @@ alter table personattribute add ( valid_to DATE ); <#if !fields?seq_contains("personattribute.semester_von") > -! echo "field personattribute.semester_von will be added" -! echo `date` +select now(),'field personattribute.semester_von will be added' +from xdummy; alter table personattribute add ( semester_von INTEGER ); @@ -6852,8 +7214,8 @@ alter table personattribute add ( semester_von INTEGER ); <#if !fields?seq_contains("personattribute.semester_bis") > -! echo "field personattribute.semester_bis will be added" -! echo `date` +select now(),'field personattribute.semester_bis will be added' +from xdummy; alter table personattribute add ( semester_bis INTEGER ); @@ -6862,8 +7224,8 @@ alter table personattribute add ( semester_bis INTEGER ); <#if !fields?seq_contains("personattributetype.personattributetype_id") > -! echo "field personattributetype.personattributetype_id will be added" -! echo `date` +select now(),'field personattributetype.personattributetype_id will be added' +from xdummy; alter table personattributetype add ( personattributetype_id INTEGER not null); @@ -6872,8 +7234,8 @@ alter table personattributetype add ( personattributetype_id INTEGER not null); <#if !fields?seq_contains("personattributetype.attributevalue") > -! echo "field personattributetype.attributevalue will be added" -! echo `date` +select now(),'field personattributetype.attributevalue will be added' +from xdummy; alter table personattributetype add ( attributevalue NVARCHAR(255) ); @@ -6882,8 +7244,8 @@ alter table personattributetype add ( attributevalue NVARCHAR(255) ); <#if !fields?seq_contains("personattribute_value_list.personattributetype_id") > -! echo "field personattribute_value_list.personattributetype_id will be added" -! echo `date` +select now(),'field personattribute_value_list.personattributetype_id will be added' +from xdummy; alter table personattribute_value_list add ( personattributetype_id INTEGER not null); @@ -6892,8 +7254,8 @@ alter table personattribute_value_list add ( personattributetype_id INTEGER not <#if !fields?seq_contains("personattribute_value_list.attributevalue") > -! echo "field personattribute_value_list.attributevalue will be added" -! echo `date` +select now(),'field personattribute_value_list.attributevalue will be added' +from xdummy; alter table personattribute_value_list add ( attributevalue NVARCHAR(255) ); @@ -6902,8 +7264,8 @@ alter table personattribute_value_list add ( attributevalue NVARCHAR(255) ); <#if !fields?seq_contains("personattribute_value_list.shorttext") > -! echo "field personattribute_value_list.shorttext will be added" -! echo `date` +select now(),'field personattribute_value_list.shorttext will be added' +from xdummy; alter table personattribute_value_list add ( shorttext NVARCHAR(255) ); @@ -6912,8 +7274,8 @@ alter table personattribute_value_list add ( shorttext NVARCHAR(255) ); <#if !fields?seq_contains("personattribute_value_list.defaulttext") > -! echo "field personattribute_value_list.defaulttext will be added" -! echo `date` +select now(),'field personattribute_value_list.defaulttext will be added' +from xdummy; alter table personattribute_value_list add ( defaulttext NVARCHAR(255) ); @@ -6922,8 +7284,8 @@ alter table personattribute_value_list add ( defaulttext NVARCHAR(255) ); <#if !fields?seq_contains("personattribute_value_list.longtext") > -! echo "field personattribute_value_list.longtext will be added" -! echo `date` +select now(),'field personattribute_value_list.longtext will be added' +from xdummy; alter table personattribute_value_list add ( longtext NVARCHAR(255) ); @@ -6932,8 +7294,8 @@ alter table personattribute_value_list add ( longtext NVARCHAR(255) ); <#if !fields?seq_contains("user_preset_values.userinfo_id") > -! echo "field user_preset_values.userinfo_id will be added" -! echo `date` +select now(),'field user_preset_values.userinfo_id will be added' +from xdummy; alter table user_preset_values add ( userinfo_id INTEGER ); @@ -6942,8 +7304,8 @@ alter table user_preset_values add ( userinfo_id INTEGER ); <#if !fields?seq_contains("user_preset_values.felderinfo_id") > -! echo "field user_preset_values.felderinfo_id will be added" -! echo `date` +select now(),'field user_preset_values.felderinfo_id will be added' +from xdummy; alter table user_preset_values add ( felderinfo_id INTEGER ); @@ -6952,8 +7314,8 @@ alter table user_preset_values add ( felderinfo_id INTEGER ); <#if !fields?seq_contains("user_preset_values.field_value") > -! echo "field user_preset_values.field_value will be added" -! echo `date` +select now(),'field user_preset_values.field_value will be added' +from xdummy; alter table user_preset_values add ( field_value NVARCHAR(255) ); @@ -6962,8 +7324,8 @@ alter table user_preset_values add ( field_value NVARCHAR(255) ); <#if !fields?seq_contains("sx_portlet.tid") > -! echo "field sx_portlet.tid will be added" -! echo `date` +select now(),'field sx_portlet.tid will be added' +from xdummy; alter table sx_portlet add ( tid SERIAL not null); @@ -6972,8 +7334,8 @@ alter table sx_portlet add ( tid SERIAL not null); <#if !fields?seq_contains("sx_portlet.name") > -! echo "field sx_portlet.name will be added" -! echo `date` +select now(),'field sx_portlet.name will be added' +from xdummy; alter table sx_portlet add ( name NVARCHAR(255) ); @@ -6982,8 +7344,8 @@ alter table sx_portlet add ( name NVARCHAR(255) ); <#if !fields?seq_contains("sx_portlet.type") > -! echo "field sx_portlet.type will be added" -! echo `date` +select now(),'field sx_portlet.type will be added' +from xdummy; alter table sx_portlet add ( type NVARCHAR(255) ); @@ -6992,8 +7354,8 @@ alter table sx_portlet add ( type NVARCHAR(255) ); <#if !fields?seq_contains("sx_portlet.class") > -! echo "field sx_portlet.class will be added" -! echo `date` +select now(),'field sx_portlet.class will be added' +from xdummy; alter table sx_portlet add ( class NVARCHAR(255) ); @@ -7002,8 +7364,8 @@ alter table sx_portlet add ( class NVARCHAR(255) ); <#if !fields?seq_contains("sx_portlet.icon") > -! echo "field sx_portlet.icon will be added" -! echo `date` +select now(),'field sx_portlet.icon will be added' +from xdummy; alter table sx_portlet add ( icon NVARCHAR(255) ); @@ -7012,8 +7374,8 @@ alter table sx_portlet add ( icon NVARCHAR(255) ); <#if !fields?seq_contains("sx_portlet.content") > -! echo "field sx_portlet.content will be added" -! echo `date` +select now(),'field sx_portlet.content will be added' +from xdummy; alter table sx_portlet add ( content TEXT ); @@ -7022,8 +7384,8 @@ alter table sx_portlet add ( content TEXT ); <#if !fields?seq_contains("sx_portlet.sortnr_initial") > -! echo "field sx_portlet.sortnr_initial will be added" -! echo `date` +select now(),'field sx_portlet.sortnr_initial will be added' +from xdummy; alter table sx_portlet add ( sortnr_initial INTEGER ); @@ -7032,8 +7394,8 @@ alter table sx_portlet add ( sortnr_initial INTEGER ); <#if !fields?seq_contains("sx_portlet.visible") > -! echo "field sx_portlet.visible will be added" -! echo `date` +select now(),'field sx_portlet.visible will be added' +from xdummy; alter table sx_portlet add ( visible NVARCHAR(255) ); @@ -7042,8 +7404,8 @@ alter table sx_portlet add ( visible NVARCHAR(255) ); <#if !fields?seq_contains("sx_portlet.gueltig_von") > -! echo "field sx_portlet.gueltig_von will be added" -! echo `date` +select now(),'field sx_portlet.gueltig_von will be added' +from xdummy; alter table sx_portlet add ( gueltig_von DATE default '01.01.1900' not null); @@ -7052,8 +7414,8 @@ alter table sx_portlet add ( gueltig_von DATE default '01.01.1900' not null); <#if !fields?seq_contains("sx_portlet.gueltig_bis") > -! echo "field sx_portlet.gueltig_bis will be added" -! echo `date` +select now(),'field sx_portlet.gueltig_bis will be added' +from xdummy; alter table sx_portlet add ( gueltig_bis DATE default '01.01.3000' not null); @@ -7062,8 +7424,8 @@ alter table sx_portlet add ( gueltig_bis DATE default '01.01.3000' not null); <#if !fields?seq_contains("user_portlet_bez.userinfo_id") > -! echo "field user_portlet_bez.userinfo_id will be added" -! echo `date` +select now(),'field user_portlet_bez.userinfo_id will be added' +from xdummy; alter table user_portlet_bez add ( userinfo_id INTEGER ); @@ -7072,8 +7434,8 @@ alter table user_portlet_bez add ( userinfo_id INTEGER ); <#if !fields?seq_contains("user_portlet_bez.portlet_id") > -! echo "field user_portlet_bez.portlet_id will be added" -! echo `date` +select now(),'field user_portlet_bez.portlet_id will be added' +from xdummy; alter table user_portlet_bez add ( portlet_id INTEGER ); @@ -7082,8 +7444,8 @@ alter table user_portlet_bez add ( portlet_id INTEGER ); <#if !fields?seq_contains("group_portlet_bez.groupinfo_id") > -! echo "field group_portlet_bez.groupinfo_id will be added" -! echo `date` +select now(),'field group_portlet_bez.groupinfo_id will be added' +from xdummy; alter table group_portlet_bez add ( groupinfo_id INTEGER ); @@ -7092,238 +7454,448 @@ alter table group_portlet_bez add ( groupinfo_id INTEGER ); <#if !fields?seq_contains("group_portlet_bez.portlet_id") > -! echo "field group_portlet_bez.portlet_id will be added" -! echo `date` +select now(),'field group_portlet_bez.portlet_id will be added' +from xdummy; alter table group_portlet_bez add ( portlet_id INTEGER ); -<#if !fields?seq_contains("sieve.tid") > +<#if !fields?seq_contains("kern_cifx_neu.key") > -! echo "field sieve.tid will be added" -! echo `date` +select now(),'field kern_cifx_neu.key will be added' +from xdummy; -alter table sieve add ( tid SERIAL not null); +alter table kern_cifx_neu add ( key SMALLINT not null); -<#if !fields?seq_contains("sieve.name") > +<#if !fields?seq_contains("kern_cifx_neu.hs") > -! echo "field sieve.name will be added" -! echo `date` +select now(),'field kern_cifx_neu.hs will be added' +from xdummy; -alter table sieve add ( name NVARCHAR(255) not null); +alter table kern_cifx_neu add ( hs INTEGER not null); -<#if !fields?seq_contains("sieve.main_table") > +<#if !fields?seq_contains("kern_cifx_neu.apnr") > -! echo "field sieve.main_table will be added" -! echo `date` +select now(),'field kern_cifx_neu.apnr will be added' +from xdummy; -alter table sieve add ( main_table VARCHAR(50) not null); +alter table kern_cifx_neu add ( apnr NVARCHAR(255) ); -<#if !fields?seq_contains("sieve.order_by") > +<#if !fields?seq_contains("kern_cifx_neu.kurz") > -! echo "field sieve.order_by will be added" -! echo `date` +select now(),'field kern_cifx_neu.kurz will be added' +from xdummy; -alter table sieve add ( order_by NVARCHAR(255) ); +alter table kern_cifx_neu add ( kurz CHAR(10) ); -<#if !fields?seq_contains("sieve.sachgebiete_id") > +<#if !fields?seq_contains("kern_cifx_neu.druck") > -! echo "field sieve.sachgebiete_id will be added" -! echo `date` +select now(),'field kern_cifx_neu.druck will be added' +from xdummy; -alter table sieve add ( sachgebiete_id INTEGER not null); +alter table kern_cifx_neu add ( druck NVARCHAR(200) ); -<#if !fields?seq_contains("sieve.systeminfo_id") > +<#if !fields?seq_contains("kern_cifx_neu.lang_1") > -! echo "field sieve.systeminfo_id will be added" -! echo `date` +select now(),'field kern_cifx_neu.lang_1 will be added' +from xdummy; -alter table sieve add ( systeminfo_id INTEGER not null); +alter table kern_cifx_neu add ( lang_1 NCHAR(255) ); -<#if !fields?seq_contains("sieve.active") > +<#if !fields?seq_contains("kern_cifx_neu.astat") > -! echo "field sieve.active will be added" -! echo `date` +select now(),'field kern_cifx_neu.astat will be added' +from xdummy; -alter table sieve add ( active SMALLINT default 1 ); +alter table kern_cifx_neu add ( astat CHAR(50) ); -<#if !fields?seq_contains("sieve.hsnr") > +<#if !fields?seq_contains("kern_cifx_neu.parent") > -! echo "field sieve.hsnr will be added" -! echo `date` +select now(),'field kern_cifx_neu.parent will be added' +from xdummy; -alter table sieve add ( hsnr SMALLINT ); +alter table kern_cifx_neu add ( parent NVARCHAR(255) ); -<#if !fields?seq_contains("sieve_column_def.tid") > +<#if !fields?seq_contains("kern_cifx_neu.uniquename") > -! echo "field sieve_column_def.tid will be added" -! echo `date` +select now(),'field kern_cifx_neu.uniquename will be added' +from xdummy; -alter table sieve_column_def add ( tid SERIAL not null); +alter table kern_cifx_neu add ( uniquename NVARCHAR(255) ); -<#if !fields?seq_contains("sieve_column_def.m_id") > +<#if !fields?seq_contains("kern_cifx_neu.bund_apnr") > -! echo "field sieve_column_def.m_id will be added" -! echo `date` +select now(),'field kern_cifx_neu.bund_apnr will be added' +from xdummy; -alter table sieve_column_def add ( m_id NVARCHAR(255) ); +alter table kern_cifx_neu add ( bund_apnr CHAR(10) ); -<#if !fields?seq_contains("sieve_column_def.bi_table") > +<#if !fields?seq_contains("kern_cifx_neu.d_akt_von") > -! echo "field sieve_column_def.bi_table will be added" -! echo `date` +select now(),'field kern_cifx_neu.d_akt_von will be added' +from xdummy; -alter table sieve_column_def add ( bi_table NVARCHAR(255) ); +alter table kern_cifx_neu add ( d_akt_von DATE ); -<#if !fields?seq_contains("sieve_column_def.columnname") > +<#if !fields?seq_contains("kern_cifx_neu.d_akt_bis") > -! echo "field sieve_column_def.columnname will be added" -! echo `date` +select now(),'field kern_cifx_neu.d_akt_bis will be added' +from xdummy; -alter table sieve_column_def add ( columnname NVARCHAR(255) ); +alter table kern_cifx_neu add ( d_akt_bis DATE ); -<#if !fields?seq_contains("sieve_column_def.datatype") > +<#if !fields?seq_contains("kern_cifx_neu.sourcesystem_id") > -! echo "field sieve_column_def.datatype will be added" -! echo `date` +select now(),'field kern_cifx_neu.sourcesystem_id will be added' +from xdummy; -alter table sieve_column_def add ( datatype NVARCHAR(255) ); +alter table kern_cifx_neu add ( sourcesystem_id NVARCHAR(255) ); -<#if !fields?seq_contains("sieve_column_def.caption") > +<#if !fields?seq_contains("kern_cifx_neu.hiskey_id") > -! echo "field sieve_column_def.caption will be added" -! echo `date` +select now(),'field kern_cifx_neu.hiskey_id will be added' +from xdummy; -alter table sieve_column_def add ( caption NVARCHAR(255) ); +alter table kern_cifx_neu add ( hiskey_id NVARCHAR(255) ); -<#if !fields?seq_contains("sieve_column_def.explanation") > +<#if !fields?seq_contains("kern_cifx_neu.struktur_c") > -! echo "field sieve_column_def.explanation will be added" -! echo `date` +select now(),'field kern_cifx_neu.struktur_c will be added' +from xdummy; -alter table sieve_column_def add ( explanation NVARCHAR(255) ); +alter table kern_cifx_neu add ( struktur_c CHAR(50) ); -<#if !fields?seq_contains("sieve_column_def.xil_width") > +<#if !fields?seq_contains("kern_cifx_neu.lid") > -! echo "field sieve_column_def.xil_width will be added" -! echo `date` +select now(),'field kern_cifx_neu.lid will be added' +from xdummy; -alter table sieve_column_def add ( xil_width SMALLINT default 30 ); +alter table kern_cifx_neu add ( lid NVARCHAR(255) ); -<#if !fields?seq_contains("sieve_column_def.lookup_tab") > +<#if !fields?seq_contains("kern_cifx_neu.parent_lid") > -! echo "field sieve_column_def.lookup_tab will be added" -! echo `date` +select now(),'field kern_cifx_neu.parent_lid will be added' +from xdummy; -alter table sieve_column_def add ( lookup_tab NVARCHAR(255) ); +alter table kern_cifx_neu add ( parent_lid NVARCHAR(255) ); -<#if !fields?seq_contains("sieve_column_def.lookup_joinsource") > +<#if !fields?seq_contains("kern_cifx_neu.sortorder") > -! echo "field sieve_column_def.lookup_joinsource will be added" -! echo `date` +select now(),'field kern_cifx_neu.sortorder will be added' +from xdummy; -alter table sieve_column_def add ( lookup_joinsource NVARCHAR(255) ); +alter table kern_cifx_neu add ( sortorder INTEGER ); -<#if !fields?seq_contains("sieve_column_def.lookup_jointarget") > +<#if !fields?seq_contains("sieve.tid") > -! echo "field sieve_column_def.lookup_jointarget will be added" -! echo `date` +select now(),'field sieve.tid will be added' +from xdummy; -alter table sieve_column_def add ( lookup_jointarget NVARCHAR(255) ); +alter table sieve add ( tid SERIAL not null); -<#if !fields?seq_contains("sieve_column_def.lookup_target") > +<#if !fields?seq_contains("sieve.name") > -! echo "field sieve_column_def.lookup_target will be added" -! echo `date` +select now(),'field sieve.name will be added' +from xdummy; -alter table sieve_column_def add ( lookup_target NVARCHAR(255) ); +alter table sieve add ( name NVARCHAR(255) not null); -<#if !fields?seq_contains("sieve_column_def.lookup_cond") > +<#if !fields?seq_contains("sieve.main_table") > -! echo "field sieve_column_def.lookup_cond will be added" -! echo `date` +select now(),'field sieve.main_table will be added' +from xdummy; -alter table sieve_column_def add ( lookup_cond TEXT ); +alter table sieve add ( main_table VARCHAR(50) not null); -<#if !fields?seq_contains("sieve_column_def.lookup_func") > +<#if !fields?seq_contains("sieve.order_by") > -! echo "field sieve_column_def.lookup_func will be added" -! echo `date` +select now(),'field sieve.order_by will be added' +from xdummy; -alter table sieve_column_def add ( lookup_func NVARCHAR(255) ); +alter table sieve add ( order_by NVARCHAR(255) ); -<#if !fields?seq_contains("sieve_column_def.hinweis") > +<#if !fields?seq_contains("sieve.sachgebiete_id") > + + +select now(),'field sieve.sachgebiete_id will be added' +from xdummy; + +alter table sieve add ( sachgebiete_id INTEGER not null); + + + +<#if !fields?seq_contains("sieve.systeminfo_id") > + + +select now(),'field sieve.systeminfo_id will be added' +from xdummy; + +alter table sieve add ( systeminfo_id INTEGER not null); + + + +<#if !fields?seq_contains("sieve.post_processing") > + + +select now(),'field sieve.post_processing will be added' +from xdummy; + +alter table sieve add ( post_processing TEXT ); + + + +<#if !fields?seq_contains("sieve.post_insert") > + + +select now(),'field sieve.post_insert will be added' +from xdummy; + +alter table sieve add ( post_insert TEXT ); + + + +<#if !fields?seq_contains("sieve.finalize") > + + +select now(),'field sieve.finalize will be added' +from xdummy; + +alter table sieve add ( finalize TEXT ); + + + +<#if !fields?seq_contains("sieve.active") > + + +select now(),'field sieve.active will be added' +from xdummy; + +alter table sieve add ( active SMALLINT default 1 ); + + + +<#if !fields?seq_contains("sieve.hsnr") > + + +select now(),'field sieve.hsnr will be added' +from xdummy; + +alter table sieve add ( hsnr SMALLINT ); + + + +<#if !fields?seq_contains("sieve_column_def.tid") > + + +select now(),'field sieve_column_def.tid will be added' +from xdummy; + +alter table sieve_column_def add ( tid SERIAL not null); + + + +<#if !fields?seq_contains("sieve_column_def.m_id") > + + +select now(),'field sieve_column_def.m_id will be added' +from xdummy; + +alter table sieve_column_def add ( m_id NVARCHAR(255) ); + + + +<#if !fields?seq_contains("sieve_column_def.bi_table") > + + +select now(),'field sieve_column_def.bi_table will be added' +from xdummy; + +alter table sieve_column_def add ( bi_table NVARCHAR(255) ); + + + +<#if !fields?seq_contains("sieve_column_def.columnname") > + + +select now(),'field sieve_column_def.columnname will be added' +from xdummy; + +alter table sieve_column_def add ( columnname NVARCHAR(255) ); + + + +<#if !fields?seq_contains("sieve_column_def.datatype") > + + +select now(),'field sieve_column_def.datatype will be added' +from xdummy; + +alter table sieve_column_def add ( datatype NVARCHAR(255) ); + + + +<#if !fields?seq_contains("sieve_column_def.caption") > + + +select now(),'field sieve_column_def.caption will be added' +from xdummy; + +alter table sieve_column_def add ( caption NVARCHAR(255) ); + + + +<#if !fields?seq_contains("sieve_column_def.explanation") > + + +select now(),'field sieve_column_def.explanation will be added' +from xdummy; + +alter table sieve_column_def add ( explanation NVARCHAR(255) ); + + + +<#if !fields?seq_contains("sieve_column_def.xil_width") > + + +select now(),'field sieve_column_def.xil_width will be added' +from xdummy; + +alter table sieve_column_def add ( xil_width SMALLINT default 30 ); + + + +<#if !fields?seq_contains("sieve_column_def.lookup_tab") > + + +select now(),'field sieve_column_def.lookup_tab will be added' +from xdummy; + +alter table sieve_column_def add ( lookup_tab NVARCHAR(255) ); + + + +<#if !fields?seq_contains("sieve_column_def.lookup_joinsource") > + + +select now(),'field sieve_column_def.lookup_joinsource will be added' +from xdummy; + +alter table sieve_column_def add ( lookup_joinsource NVARCHAR(255) ); + + + +<#if !fields?seq_contains("sieve_column_def.lookup_jointarget") > + + +select now(),'field sieve_column_def.lookup_jointarget will be added' +from xdummy; + +alter table sieve_column_def add ( lookup_jointarget NVARCHAR(255) ); + + + +<#if !fields?seq_contains("sieve_column_def.lookup_target") > + + +select now(),'field sieve_column_def.lookup_target will be added' +from xdummy; + +alter table sieve_column_def add ( lookup_target NVARCHAR(255) ); + + + +<#if !fields?seq_contains("sieve_column_def.lookup_cond") > + + +select now(),'field sieve_column_def.lookup_cond will be added' +from xdummy; + +alter table sieve_column_def add ( lookup_cond NVARCHAR(255) ); + + + +<#if !fields?seq_contains("sieve_column_def.lookup_func") > + + +select now(),'field sieve_column_def.lookup_func will be added' +from xdummy; + +alter table sieve_column_def add ( lookup_func NVARCHAR(255) ); + + + +<#if !fields?seq_contains("sieve_column_def.hinweis") > -! echo "field sieve_column_def.hinweis will be added" -! echo `date` +select now(),'field sieve_column_def.hinweis will be added' +from xdummy; alter table sieve_column_def add ( hinweis NVARCHAR(255) ); @@ -7332,8 +7904,8 @@ alter table sieve_column_def add ( hinweis NVARCHAR(255) ); <#if !fields?seq_contains("sieve_column.tid") > -! echo "field sieve_column.tid will be added" -! echo `date` +select now(),'field sieve_column.tid will be added' +from xdummy; alter table sieve_column add ( tid SERIAL not null); @@ -7342,8 +7914,8 @@ alter table sieve_column add ( tid SERIAL not null); <#if !fields?seq_contains("sieve_column.sieve_id") > -! echo "field sieve_column.sieve_id will be added" -! echo `date` +select now(),'field sieve_column.sieve_id will be added' +from xdummy; alter table sieve_column add ( sieve_id INTEGER ); @@ -7352,8 +7924,8 @@ alter table sieve_column add ( sieve_id INTEGER ); <#if !fields?seq_contains("sieve_column.def_id") > -! echo "field sieve_column.def_id will be added" -! echo `date` +select now(),'field sieve_column.def_id will be added' +from xdummy; alter table sieve_column add ( def_id INTEGER ); @@ -7362,8 +7934,8 @@ alter table sieve_column add ( def_id INTEGER ); <#if !fields?seq_contains("sieve_column.in_output") > -! echo "field sieve_column.in_output will be added" -! echo `date` +select now(),'field sieve_column.in_output will be added' +from xdummy; alter table sieve_column add ( in_output SMALLINT default 1 ); @@ -7372,8 +7944,8 @@ alter table sieve_column add ( in_output SMALLINT default 1 ); <#if !fields?seq_contains("sieve_column.sortnr") > -! echo "field sieve_column.sortnr will be added" -! echo `date` +select now(),'field sieve_column.sortnr will be added' +from xdummy; alter table sieve_column add ( sortnr INTEGER ); @@ -7382,8 +7954,8 @@ alter table sieve_column add ( sortnr INTEGER ); <#if !fields?seq_contains("sieve_column.active") > -! echo "field sieve_column.active will be added" -! echo `date` +select now(),'field sieve_column.active will be added' +from xdummy; alter table sieve_column add ( active SMALLINT default 1 ); @@ -7392,8 +7964,8 @@ alter table sieve_column add ( active SMALLINT default 1 ); <#if !fields?seq_contains("sieve_field.tid") > -! echo "field sieve_field.tid will be added" -! echo `date` +select now(),'field sieve_field.tid will be added' +from xdummy; alter table sieve_field add ( tid SERIAL not null); @@ -7402,8 +7974,8 @@ alter table sieve_field add ( tid SERIAL not null); <#if !fields?seq_contains("sieve_field.sieve_id") > -! echo "field sieve_field.sieve_id will be added" -! echo `date` +select now(),'field sieve_field.sieve_id will be added' +from xdummy; alter table sieve_field add ( sieve_id INTEGER not null); @@ -7412,8 +7984,8 @@ alter table sieve_field add ( sieve_id INTEGER not null); <#if !fields?seq_contains("sieve_field.felderinfo_id") > -! echo "field sieve_field.felderinfo_id will be added" -! echo `date` +select now(),'field sieve_field.felderinfo_id will be added' +from xdummy; alter table sieve_field add ( felderinfo_id INTEGER not null); @@ -7422,8 +7994,8 @@ alter table sieve_field add ( felderinfo_id INTEGER not null); <#if !fields?seq_contains("sieve_field.obligatorisch") > -! echo "field sieve_field.obligatorisch will be added" -! echo `date` +select now(),'field sieve_field.obligatorisch will be added' +from xdummy; alter table sieve_field add ( obligatorisch SMALLINT not null); @@ -7432,8 +8004,8 @@ alter table sieve_field add ( obligatorisch SMALLINT not null); <#if !fields?seq_contains("sieve_field.nummer") > -! echo "field sieve_field.nummer will be added" -! echo `date` +select now(),'field sieve_field.nummer will be added' +from xdummy; alter table sieve_field add ( nummer INTEGER ); @@ -7442,8 +8014,8 @@ alter table sieve_field add ( nummer INTEGER ); <#if !fields?seq_contains("sieve_field.restriction_maintable") > -! echo "field sieve_field.restriction_maintable will be added" -! echo `date` +select now(),'field sieve_field.restriction_maintable will be added' +from xdummy; alter table sieve_field add ( restriction_maintable TEXT ); @@ -7452,8 +8024,8 @@ alter table sieve_field add ( restriction_maintable TEXT ); <#if !fields?seq_contains("sieve_field.restriction_othertable") > -! echo "field sieve_field.restriction_othertable will be added" -! echo `date` +select now(),'field sieve_field.restriction_othertable will be added' +from xdummy; alter table sieve_field add ( restriction_othertable TEXT ); @@ -7462,8 +8034,8 @@ alter table sieve_field add ( restriction_othertable TEXT ); <#if !fields?seq_contains("sieve_field.active") > -! echo "field sieve_field.active will be added" -! echo `date` +select now(),'field sieve_field.active will be added' +from xdummy; alter table sieve_field add ( active SMALLINT default 1 ); @@ -7472,8 +8044,8 @@ alter table sieve_field add ( active SMALLINT default 1 ); <#if !fields?seq_contains("sx_jobs.tid") > -! echo "field sx_jobs.tid will be added" -! echo `date` +select now(),'field sx_jobs.tid will be added' +from xdummy; alter table sx_jobs add ( tid SERIAL not null); @@ -7482,8 +8054,8 @@ alter table sx_jobs add ( tid SERIAL not null); <#if !fields?seq_contains("sx_jobs.uniquename") > -! echo "field sx_jobs.uniquename will be added" -! echo `date` +select now(),'field sx_jobs.uniquename will be added' +from xdummy; alter table sx_jobs add ( uniquename NVARCHAR(255) ); @@ -7492,8 +8064,8 @@ alter table sx_jobs add ( uniquename NVARCHAR(255) ); <#if !fields?seq_contains("sx_jobs.caption") > -! echo "field sx_jobs.caption will be added" -! echo `date` +select now(),'field sx_jobs.caption will be added' +from xdummy; alter table sx_jobs add ( caption NVARCHAR(255) ); @@ -7502,8 +8074,8 @@ alter table sx_jobs add ( caption NVARCHAR(255) ); <#if !fields?seq_contains("sx_jobs.filepath") > -! echo "field sx_jobs.filepath will be added" -! echo `date` +select now(),'field sx_jobs.filepath will be added' +from xdummy; alter table sx_jobs add ( filepath NVARCHAR(255) not null); @@ -7512,8 +8084,8 @@ alter table sx_jobs add ( filepath NVARCHAR(255) not null); <#if !fields?seq_contains("sx_jobs.sachgebiete_id") > -! echo "field sx_jobs.sachgebiete_id will be added" -! echo `date` +select now(),'field sx_jobs.sachgebiete_id will be added' +from xdummy; alter table sx_jobs add ( sachgebiete_id INTEGER default 0 not null); @@ -7522,8 +8094,8 @@ alter table sx_jobs add ( sachgebiete_id INTEGER default 0 not null); <#if !fields?seq_contains("sx_jobs.kenn_profil") > -! echo "field sx_jobs.kenn_profil will be added" -! echo `date` +select now(),'field sx_jobs.kenn_profil will be added' +from xdummy; alter table sx_jobs add ( kenn_profil INTEGER ); @@ -7532,8 +8104,8 @@ alter table sx_jobs add ( kenn_profil INTEGER ); <#if !fields?seq_contains("sx_jobs.hs_nr") > -! echo "field sx_jobs.hs_nr will be added" -! echo `date` +select now(),'field sx_jobs.hs_nr will be added' +from xdummy; alter table sx_jobs add ( hs_nr INTEGER ); @@ -7542,8 +8114,8 @@ alter table sx_jobs add ( hs_nr INTEGER ); <#if !fields?seq_contains("sx_jobs.modus_supported") > -! echo "field sx_jobs.modus_supported will be added" -! echo `date` +select now(),'field sx_jobs.modus_supported will be added' +from xdummy; alter table sx_jobs add ( modus_supported SMALLINT default 0 ); @@ -7552,8 +8124,8 @@ alter table sx_jobs add ( modus_supported SMALLINT default 0 ); <#if !fields?seq_contains("sx_jobs.params") > -! echo "field sx_jobs.params will be added" -! echo `date` +select now(),'field sx_jobs.params will be added' +from xdummy; alter table sx_jobs add ( params NVARCHAR(255) ); @@ -7562,18 +8134,1138 @@ alter table sx_jobs add ( params NVARCHAR(255) ); <#if !fields?seq_contains("sx_jobs.check_sql") > -! echo "field sx_jobs.check_sql will be added" -! echo `date` +select now(),'field sx_jobs.check_sql will be added' +from xdummy; alter table sx_jobs add ( check_sql TEXT ); +<#if !fields?seq_contains("orgunit_mapping.apnr") > + + +select now(),'field orgunit_mapping.apnr will be added' +from xdummy; + +alter table orgunit_mapping add ( apnr NVARCHAR(255) ); + + + +<#if !fields?seq_contains("orgunit_mapping.mapped_id") > + + +select now(),'field orgunit_mapping.mapped_id will be added' +from xdummy; + +alter table orgunit_mapping add ( mapped_id NVARCHAR(255) ); + + + +<#if !fields?seq_contains("orgunit_mapping.uniquename") > + + +select now(),'field orgunit_mapping.uniquename will be added' +from xdummy; + +alter table orgunit_mapping add ( uniquename NVARCHAR(255) not null); + + + +<#if !fields?seq_contains("orgunit_mapping.lid") > + + +select now(),'field orgunit_mapping.lid will be added' +from xdummy; + +alter table orgunit_mapping add ( lid NVARCHAR(255) ); + + + +<#if !fields?seq_contains("implicit_orgunit_rights.userinfo_id") > + + +select now(),'field implicit_orgunit_rights.userinfo_id will be added' +from xdummy; + +alter table implicit_orgunit_rights add ( userinfo_id INTEGER ); + + + +<#if !fields?seq_contains("implicit_orgunit_rights.apnr") > + + +select now(),'field implicit_orgunit_rights.apnr will be added' +from xdummy; + +alter table implicit_orgunit_rights add ( apnr NVARCHAR(255) ); + + + +<#if !fields?seq_contains("implicit_orgunit_rights.uniquename") > + + +select now(),'field implicit_orgunit_rights.uniquename will be added' +from xdummy; + +alter table implicit_orgunit_rights add ( uniquename NVARCHAR(255) not null); + + + +<#if !fields?seq_contains("implicit_orgunit_rights.lid") > + + +select now(),'field implicit_orgunit_rights.lid will be added' +from xdummy; + +alter table implicit_orgunit_rights add ( lid NVARCHAR(255) ); + + + +<#if !fields?seq_contains("kern_pruefrout.tid") > + + +select now(),'field kern_pruefrout.tid will be added' +from xdummy; + +alter table kern_pruefrout add ( tid SERIAL ); + + + +<#if !fields?seq_contains("kern_pruefrout.datum") > + + +select now(),'field kern_pruefrout.datum will be added' +from xdummy; + +alter table kern_pruefrout add ( datum DATE ); + + + +<#if !fields?seq_contains("kern_pruefrout.gueltig_von") > + + +select now(),'field kern_pruefrout.gueltig_von will be added' +from xdummy; + +alter table kern_pruefrout add ( gueltig_von DATE ); + + + +<#if !fields?seq_contains("kern_pruefrout.gueltig_bis") > + + +select now(),'field kern_pruefrout.gueltig_bis will be added' +from xdummy; + +alter table kern_pruefrout add ( gueltig_bis DATE ); + + + +<#if !fields?seq_contains("kern_pruefrout.tabelle_quelle") > + + +select now(),'field kern_pruefrout.tabelle_quelle will be added' +from xdummy; + +alter table kern_pruefrout add ( tabelle_quelle CHAR(18) ); + + + +<#if !fields?seq_contains("kern_pruefrout.tabelle") > + + +select now(),'field kern_pruefrout.tabelle will be added' +from xdummy; + +alter table kern_pruefrout add ( tabelle CHAR(18) ); + + + +<#if !fields?seq_contains("kern_pruefrout.problem") > + + +select now(),'field kern_pruefrout.problem will be added' +from xdummy; + +alter table kern_pruefrout add ( problem NCHAR(255) ); + + + +<#if !fields?seq_contains("kern_pruefrout.aktion") > + + +select now(),'field kern_pruefrout.aktion will be added' +from xdummy; + +alter table kern_pruefrout add ( aktion NCHAR(255) ); + + + +<#if !fields?seq_contains("masken_statistik.id") > + + +select now(),'field masken_statistik.id will be added' +from xdummy; + +alter table masken_statistik add ( id SERIAL not null); + + + +<#if !fields?seq_contains("masken_statistik.tid") > + + +select now(),'field masken_statistik.tid will be added' +from xdummy; + +alter table masken_statistik add ( tid INTEGER not null); + + + +<#if !fields?seq_contains("masken_statistik.counter") > + + +select now(),'field masken_statistik.counter will be added' +from xdummy; + +alter table masken_statistik add ( counter INTEGER ); + + + +<#if !fields?seq_contains("masken_statistik.first_call") > + + +select now(),'field masken_statistik.first_call will be added' +from xdummy; + +alter table masken_statistik add ( first_call DATE ); + + + +<#if !fields?seq_contains("masken_statistik.last_call") > + + +select now(),'field masken_statistik.last_call will be added' +from xdummy; + +alter table masken_statistik add ( last_call DATE ); + + + +<#if !fields?seq_contains("dim_datum.id") > + + +select now(),'field dim_datum.id will be added' +from xdummy; + +alter table dim_datum add ( id INTEGER not null); + + + +<#if !fields?seq_contains("dim_datum.year") > + + +select now(),'field dim_datum.year will be added' +from xdummy; + +alter table dim_datum add ( year INTEGER ); + + + +<#if !fields?seq_contains("dim_datum.month") > + + +select now(),'field dim_datum.month will be added' +from xdummy; + +alter table dim_datum add ( month INTEGER ); + + + +<#if !fields?seq_contains("dim_datum.day_of_month") > + + +select now(),'field dim_datum.day_of_month will be added' +from xdummy; + +alter table dim_datum add ( day_of_month INTEGER ); + + + +<#if !fields?seq_contains("dim_datum.day_of_week") > + + +select now(),'field dim_datum.day_of_week will be added' +from xdummy; + +alter table dim_datum add ( day_of_week INTEGER ); + + + +<#if !fields?seq_contains("dim_datum.day_of_year") > + + +select now(),'field dim_datum.day_of_year will be added' +from xdummy; + +alter table dim_datum add ( day_of_year INTEGER ); + + + +<#if !fields?seq_contains("dim_datum.week_of_year") > + + +select now(),'field dim_datum.week_of_year will be added' +from xdummy; + +alter table dim_datum add ( week_of_year INTEGER ); + + + +<#if !fields?seq_contains("dim_datum.day_name") > + + +select now(),'field dim_datum.day_name will be added' +from xdummy; + +alter table dim_datum add ( day_name VARCHAR(25) ); + + + +<#if !fields?seq_contains("dim_datum.month_name") > + + +select now(),'field dim_datum.month_name will be added' +from xdummy; + +alter table dim_datum add ( month_name VARCHAR(25) ); + + + +<#if !fields?seq_contains("dim_datum.quarter") > + + +select now(),'field dim_datum.quarter will be added' +from xdummy; + +alter table dim_datum add ( quarter INTEGER ); + + + +<#if !fields?seq_contains("dim_datum.weekend_ind") > + + +select now(),'field dim_datum.weekend_ind will be added' +from xdummy; + +alter table dim_datum add ( weekend_ind CHAR(1) ); + + + +<#if !fields?seq_contains("dim_datum.days_in_month") > + + +select now(),'field dim_datum.days_in_month will be added' +from xdummy; + +alter table dim_datum add ( days_in_month INTEGER ); + + + +<#if !fields?seq_contains("dim_datum.day_desc") > + + +select now(),'field dim_datum.day_desc will be added' +from xdummy; + +alter table dim_datum add ( day_desc VARCHAR(25) ); + + + +<#if !fields?seq_contains("dim_datum.day_date") > + + +select now(),'field dim_datum.day_date will be added' +from xdummy; + +alter table dim_datum add ( day_date DATE ); + + + +<#if !fields?seq_contains("dim_datum.semester") > + + +select now(),'field dim_datum.semester will be added' +from xdummy; + +alter table dim_datum add ( semester VARCHAR(25) ); + + + +<#if !fields?seq_contains("dim_datum.semester_key") > + + +select now(),'field dim_datum.semester_key will be added' +from xdummy; + +alter table dim_datum add ( semester_key INTEGER ); + + + +<#if !fields?seq_contains("hisinone_deleted_entity.person_id") > + + +select now(),'field hisinone_deleted_entity.person_id will be added' +from xdummy; + +alter table hisinone_deleted_entity add ( person_id INTEGER ); + + + +<#if !fields?seq_contains("hisinone_deleted_entity.matrikel_nr") > + + +select now(),'field hisinone_deleted_entity.matrikel_nr will be added' +from xdummy; + +alter table hisinone_deleted_entity add ( matrikel_nr INTEGER ); + + + +<#if !fields?seq_contains("hisinone_deleted_entity.entity") > + + +select now(),'field hisinone_deleted_entity.entity will be added' +from xdummy; + +alter table hisinone_deleted_entity add ( entity NVARCHAR(255) ); + + + +<#if !fields?seq_contains("hisinone_deleted_entity.deleted_in_hisinone") > + + +select now(),'field hisinone_deleted_entity.deleted_in_hisinone will be added' +from xdummy; + +alter table hisinone_deleted_entity add ( deleted_in_hisinone datetime year to second ); + + + +<#if !fields?seq_contains("hisinone_deleted_entity.deleted_in_bi") > + + +select now(),'field hisinone_deleted_entity.deleted_in_bi will be added' +from xdummy; + +alter table hisinone_deleted_entity add ( deleted_in_bi datetime year to second ); + + + +<#if !fields?seq_contains("hisinone_deleted_entity.job") > + + +select now(),'field hisinone_deleted_entity.job will be added' +from xdummy; + +alter table hisinone_deleted_entity add ( job NVARCHAR(255) ); + + + +<#if !fields?seq_contains("etl_step.tid") > + + +select now(),'field etl_step.tid will be added' +from xdummy; + +alter table etl_step add ( tid SERIAL not null); + + + +<#if !fields?seq_contains("etl_step.uniquename") > + + +select now(),'field etl_step.uniquename will be added' +from xdummy; + +alter table etl_step add ( uniquename NVARCHAR(255) not null); + + + +<#if !fields?seq_contains("etl_step.caption") > + + +select now(),'field etl_step.caption will be added' +from xdummy; + +alter table etl_step add ( caption NVARCHAR(255) ); + + + +<#if !fields?seq_contains("etl_step.systeminfo_id") > + + +select now(),'field etl_step.systeminfo_id will be added' +from xdummy; + +alter table etl_step add ( systeminfo_id INTEGER not null); + + + +<#if !fields?seq_contains("etl_step.step_type_id") > + + +select now(),'field etl_step.step_type_id will be added' +from xdummy; + +alter table etl_step add ( step_type_id INTEGER not null); + + + +<#if !fields?seq_contains("etl_step.logfile") > + + +select now(),'field etl_step.logfile will be added' +from xdummy; + +alter table etl_step add ( logfile NVARCHAR(255) ); + + + +<#if !fields?seq_contains("etl_step.custom_step") > + + +select now(),'field etl_step.custom_step will be added' +from xdummy; + +alter table etl_step add ( custom_step SMALLINT default 1 ); + + + +<#if !fields?seq_contains("etl_step_type.tid") > + + +select now(),'field etl_step_type.tid will be added' +from xdummy; + +alter table etl_step_type add ( tid SERIAL not null); + + + +<#if !fields?seq_contains("etl_step_type.uniquename") > + + +select now(),'field etl_step_type.uniquename will be added' +from xdummy; + +alter table etl_step_type add ( uniquename NVARCHAR(255) not null); + + + +<#if !fields?seq_contains("etl_step_type.caption") > + + +select now(),'field etl_step_type.caption will be added' +from xdummy; + +alter table etl_step_type add ( caption NVARCHAR(255) ); + + + +<#if !fields?seq_contains("etl_step_type.handler") > + + +select now(),'field etl_step_type.handler will be added' +from xdummy; + +alter table etl_step_type add ( handler NVARCHAR(255) ); + + + +<#if !fields?seq_contains("etl_step_type_param.tid") > + + +select now(),'field etl_step_type_param.tid will be added' +from xdummy; + +alter table etl_step_type_param add ( tid SERIAL not null); + + + +<#if !fields?seq_contains("etl_step_type_param.etl_step_type_id") > + + +select now(),'field etl_step_type_param.etl_step_type_id will be added' +from xdummy; + +alter table etl_step_type_param add ( etl_step_type_id INTEGER not null); + + + +<#if !fields?seq_contains("etl_step_type_param.uniquename") > + + +select now(),'field etl_step_type_param.uniquename will be added' +from xdummy; + +alter table etl_step_type_param add ( uniquename NVARCHAR(255) not null); + + + +<#if !fields?seq_contains("etl_step_type_param.name") > + + +select now(),'field etl_step_type_param.name will be added' +from xdummy; + +alter table etl_step_type_param add ( name NVARCHAR(255) ); + + + +<#if !fields?seq_contains("etl_step_type_param.param_default") > + + +select now(),'field etl_step_type_param.param_default will be added' +from xdummy; + +alter table etl_step_type_param add ( param_default NVARCHAR(255) ); + + + +<#if !fields?seq_contains("etl_step_property.tid") > + + +select now(),'field etl_step_property.tid will be added' +from xdummy; + +alter table etl_step_property add ( tid SERIAL not null); + + + +<#if !fields?seq_contains("etl_step_property.etl_step_id") > + + +select now(),'field etl_step_property.etl_step_id will be added' +from xdummy; + +alter table etl_step_property add ( etl_step_id INTEGER not null); + + + +<#if !fields?seq_contains("etl_step_property.prop_name") > + + +select now(),'field etl_step_property.prop_name will be added' +from xdummy; + +alter table etl_step_property add ( prop_name NVARCHAR(255) ); + + + +<#if !fields?seq_contains("etl_step_property.prop_value") > + + +select now(),'field etl_step_property.prop_value will be added' +from xdummy; + +alter table etl_step_property add ( prop_value TEXT ); + + + +<#if !fields?seq_contains("etl_step_relation.tid") > + + +select now(),'field etl_step_relation.tid will be added' +from xdummy; + +alter table etl_step_relation add ( tid SERIAL not null); + + + +<#if !fields?seq_contains("etl_step_relation.step_id") > + + +select now(),'field etl_step_relation.step_id will be added' +from xdummy; + +alter table etl_step_relation add ( step_id INTEGER not null); + + + +<#if !fields?seq_contains("etl_step_relation.parent_step_id") > + + +select now(),'field etl_step_relation.parent_step_id will be added' +from xdummy; + +alter table etl_step_relation add ( parent_step_id INTEGER ); + + + +<#if !fields?seq_contains("etl_step_relation.job_id") > + + +select now(),'field etl_step_relation.job_id will be added' +from xdummy; + +alter table etl_step_relation add ( job_id INTEGER not null); + + + +<#if !fields?seq_contains("etl_step_relation.force_continue") > + + +select now(),'field etl_step_relation.force_continue will be added' +from xdummy; + +alter table etl_step_relation add ( force_continue SMALLINT default 1 ); + + + +<#if !fields?seq_contains("etl_step_relation.step_active") > + + +select now(),'field etl_step_relation.step_active will be added' +from xdummy; + +alter table etl_step_relation add ( step_active SMALLINT default 1 ); + + + +<#if !fields?seq_contains("etl_step_relation.sortnr") > + + +select now(),'field etl_step_relation.sortnr will be added' +from xdummy; + +alter table etl_step_relation add ( sortnr INTEGER default 1 ); + + + +<#if !fields?seq_contains("etl_step_relation.custom_step") > + + +select now(),'field etl_step_relation.custom_step will be added' +from xdummy; + +alter table etl_step_relation add ( custom_step SMALLINT default 1 ); + + + +<#if !fields?seq_contains("etl_job.tid") > + + +select now(),'field etl_job.tid will be added' +from xdummy; + +alter table etl_job add ( tid SERIAL not null); + + + +<#if !fields?seq_contains("etl_job.uniquename") > + + +select now(),'field etl_job.uniquename will be added' +from xdummy; + +alter table etl_job add ( uniquename NVARCHAR(255) not null); + + + +<#if !fields?seq_contains("etl_job.caption") > + + +select now(),'field etl_job.caption will be added' +from xdummy; + +alter table etl_job add ( caption NVARCHAR(255) ); + + + +<#if !fields?seq_contains("etl_job.systeminfo_id") > + + +select now(),'field etl_job.systeminfo_id will be added' +from xdummy; + +alter table etl_job add ( systeminfo_id INTEGER not null); + + + +<#if !fields?seq_contains("etl_job.logfile") > + + +select now(),'field etl_job.logfile will be added' +from xdummy; + +alter table etl_job add ( logfile NVARCHAR(255) ); + + + +<#if !fields?seq_contains("etl_job.custom_job") > + + +select now(),'field etl_job.custom_job will be added' +from xdummy; + +alter table etl_job add ( custom_job SMALLINT default 1 ); + + + +<#if !fields?seq_contains("etl_job_param.tid") > + + +select now(),'field etl_job_param.tid will be added' +from xdummy; + +alter table etl_job_param add ( tid SERIAL not null); + + + +<#if !fields?seq_contains("etl_job_param.etl_job_id") > + + +select now(),'field etl_job_param.etl_job_id will be added' +from xdummy; + +alter table etl_job_param add ( etl_job_id INTEGER not null); + + + +<#if !fields?seq_contains("etl_job_param.uniquename") > + + +select now(),'field etl_job_param.uniquename will be added' +from xdummy; + +alter table etl_job_param add ( uniquename NVARCHAR(255) not null); + + + +<#if !fields?seq_contains("etl_job_param.name") > + + +select now(),'field etl_job_param.name will be added' +from xdummy; + +alter table etl_job_param add ( name NVARCHAR(255) ); + + + +<#if !fields?seq_contains("etl_job_param.param_default") > + + +select now(),'field etl_job_param.param_default will be added' +from xdummy; + +alter table etl_job_param add ( param_default NVARCHAR(255) ); + + + +<#if !fields?seq_contains("k_astat_studienfach_land.schluessel") > + + +select now(),'field k_astat_studienfach_land.schluessel will be added' +from xdummy; + +alter table k_astat_studienfach_land add ( schluessel NVARCHAR(255) ); + + + +<#if !fields?seq_contains("k_astat_studienfach_land.gueltig_ab") > + + +select now(),'field k_astat_studienfach_land.gueltig_ab will be added' +from xdummy; + +alter table k_astat_studienfach_land add ( gueltig_ab INTEGER ); + + + +<#if !fields?seq_contains("k_astat_studienfach_land.land") > + + +select now(),'field k_astat_studienfach_land.land will be added' +from xdummy; + +alter table k_astat_studienfach_land add ( land INTEGER ); + + + +<#if !fields?seq_contains("k_astat_studienfach_land.version") > + + +select now(),'field k_astat_studienfach_land.version will be added' +from xdummy; + +alter table k_astat_studienfach_land add ( version INTEGER ); + + + +<#if !fields?seq_contains("k_astat_studienfach_land.sortkey") > + + +select now(),'field k_astat_studienfach_land.sortkey will be added' +from xdummy; + +alter table k_astat_studienfach_land add ( sortkey INTEGER ); + + + +<#if !fields?seq_contains("k_astat_studienfach_land.gueltig_bis") > + + +select now(),'field k_astat_studienfach_land.gueltig_bis will be added' +from xdummy; + +alter table k_astat_studienfach_land add ( gueltig_bis INTEGER ); + + + +<#if !fields?seq_contains("k_astat_studienfach_land.name") > + + +select now(),'field k_astat_studienfach_land.name will be added' +from xdummy; + +alter table k_astat_studienfach_land add ( name NVARCHAR(255) ); + + + +<#if !fields?seq_contains("k_astat_studienfach_land.isced") > + + +select now(),'field k_astat_studienfach_land.isced will be added' +from xdummy; + +alter table k_astat_studienfach_land add ( isced NVARCHAR(255) ); + + + +<#if !fields?seq_contains("k_astat_studienfach_land.keybund") > + + +select now(),'field k_astat_studienfach_land.keybund will be added' +from xdummy; + +alter table k_astat_studienfach_land add ( keybund NVARCHAR(255) ); + + + +<#if !fields?seq_contains("k_astat_abschluss3steller_land.schluessel") > + + +select now(),'field k_astat_abschluss3steller_land.schluessel will be added' +from xdummy; + +alter table k_astat_abschluss3steller_land add ( schluessel NVARCHAR(255) not null); + + + +<#if !fields?seq_contains("k_astat_abschluss3steller_land.gueltig_ab") > + + +select now(),'field k_astat_abschluss3steller_land.gueltig_ab will be added' +from xdummy; + +alter table k_astat_abschluss3steller_land add ( gueltig_ab INTEGER ); + + + +<#if !fields?seq_contains("k_astat_abschluss3steller_land.land") > + + +select now(),'field k_astat_abschluss3steller_land.land will be added' +from xdummy; + +alter table k_astat_abschluss3steller_land add ( land INTEGER ); + + + +<#if !fields?seq_contains("k_astat_abschluss3steller_land.version") > + + +select now(),'field k_astat_abschluss3steller_land.version will be added' +from xdummy; + +alter table k_astat_abschluss3steller_land add ( version INTEGER ); + + + +<#if !fields?seq_contains("k_astat_abschluss3steller_land.sortkey") > + + +select now(),'field k_astat_abschluss3steller_land.sortkey will be added' +from xdummy; + +alter table k_astat_abschluss3steller_land add ( sortkey INTEGER ); + + + +<#if !fields?seq_contains("k_astat_abschluss3steller_land.gueltig_bis") > + + +select now(),'field k_astat_abschluss3steller_land.gueltig_bis will be added' +from xdummy; + +alter table k_astat_abschluss3steller_land add ( gueltig_bis INTEGER ); + + + +<#if !fields?seq_contains("k_astat_abschluss3steller_land.name") > + + +select now(),'field k_astat_abschluss3steller_land.name will be added' +from xdummy; + +alter table k_astat_abschluss3steller_land add ( name NVARCHAR(255) ); + + + +<#if !fields?seq_contains("k_astat_abschluss3steller_land.sig2steller") > + + +select now(),'field k_astat_abschluss3steller_land.sig2steller will be added' +from xdummy; + +alter table k_astat_abschluss3steller_land add ( sig2steller NVARCHAR(255) ); + + + +<#if !fields?seq_contains("k_astat_abschluss3steller_land.keybund") > + + +select now(),'field k_astat_abschluss3steller_land.keybund will be added' +from xdummy; + +alter table k_astat_abschluss3steller_land add ( keybund NVARCHAR(255) ); + + + +<#if !fields?seq_contains("k_astat_abschluss2steller.schluessel") > + + +select now(),'field k_astat_abschluss2steller.schluessel will be added' +from xdummy; + +alter table k_astat_abschluss2steller add ( schluessel NVARCHAR(255) not null); + + + +<#if !fields?seq_contains("k_astat_abschluss2steller.name") > + + +select now(),'field k_astat_abschluss2steller.name will be added' +from xdummy; + +alter table k_astat_abschluss2steller add ( name NVARCHAR(255) ); + + + +<#if !fields?seq_contains("k_astat_studienbereich.schluessel") > + + +select now(),'field k_astat_studienbereich.schluessel will be added' +from xdummy; + +alter table k_astat_studienbereich add ( schluessel NVARCHAR(255) not null); + + + +<#if !fields?seq_contains("k_astat_studienbereich.name") > + + +select now(),'field k_astat_studienbereich.name will be added' +from xdummy; + +alter table k_astat_studienbereich add ( name NVARCHAR(255) ); + + + +<#if !fields?seq_contains("k_astat_studienbereich.fgr") > + + +select now(),'field k_astat_studienbereich.fgr will be added' +from xdummy; + +alter table k_astat_studienbereich add ( fgr NVARCHAR(255) ); + + + +<#if !fields?seq_contains("k_astat_studienfach.schluessel") > + + +select now(),'field k_astat_studienfach.schluessel will be added' +from xdummy; + +alter table k_astat_studienfach add ( schluessel NVARCHAR(255) not null); + + + +<#if !fields?seq_contains("k_astat_studienfach.name") > + + +select now(),'field k_astat_studienfach.name will be added' +from xdummy; + +alter table k_astat_studienfach add ( name NVARCHAR(255) ); + + + +<#if !fields?seq_contains("k_astat_studienfach.sb") > + + +select now(),'field k_astat_studienfach.sb will be added' +from xdummy; + +alter table k_astat_studienfach add ( sb NVARCHAR(255) ); + + + +<#if !fields?seq_contains("colorscheme.id") > + + +select now(),'field colorscheme.id will be added' +from xdummy; + +alter table colorscheme add ( id SERIAL not null); + + + +<#if !fields?seq_contains("colorscheme.caption") > + + +select now(),'field colorscheme.caption will be added' +from xdummy; + +alter table colorscheme add ( caption NVARCHAR(255) ); + + + +<#if !fields?seq_contains("colorscheme.sortorder") > + + +select now(),'field colorscheme.sortorder will be added' +from xdummy; + +alter table colorscheme add ( sortorder INTEGER ); + + + +<#if !fields?seq_contains("colorscheme.colors") > + + +select now(),'field colorscheme.colors will be added' +from xdummy; + +alter table colorscheme add ( colors NVARCHAR(255) ); + + + <#if !fields?seq_contains("sx_mail.tid") > -! echo "field sx_mail.tid will be added" -! echo `date` +select now(),'field sx_mail.tid will be added' +from xdummy; alter table sx_mail add ( tid SERIAL not null); @@ -7582,8 +9274,8 @@ alter table sx_mail add ( tid SERIAL not null); <#if !fields?seq_contains("sx_mail.pop3_host") > -! echo "field sx_mail.pop3_host will be added" -! echo `date` +select now(),'field sx_mail.pop3_host will be added' +from xdummy; alter table sx_mail add ( pop3_host NVARCHAR(255) ); @@ -7592,8 +9284,8 @@ alter table sx_mail add ( pop3_host NVARCHAR(255) ); <#if !fields?seq_contains("sx_mail.pop3_port") > -! echo "field sx_mail.pop3_port will be added" -! echo `date` +select now(),'field sx_mail.pop3_port will be added' +from xdummy; alter table sx_mail add ( pop3_port SMALLINT ); @@ -7602,8 +9294,8 @@ alter table sx_mail add ( pop3_port SMALLINT ); <#if !fields?seq_contains("sx_mail.pop3_starttls_enable") > -! echo "field sx_mail.pop3_starttls_enable will be added" -! echo `date` +select now(),'field sx_mail.pop3_starttls_enable will be added' +from xdummy; alter table sx_mail add ( pop3_starttls_enable SMALLINT ); @@ -7612,8 +9304,8 @@ alter table sx_mail add ( pop3_starttls_enable SMALLINT ); <#if !fields?seq_contains("sx_mail.smtp_host") > -! echo "field sx_mail.smtp_host will be added" -! echo `date` +select now(),'field sx_mail.smtp_host will be added' +from xdummy; alter table sx_mail add ( smtp_host NVARCHAR(255) ); @@ -7622,8 +9314,8 @@ alter table sx_mail add ( smtp_host NVARCHAR(255) ); <#if !fields?seq_contains("sx_mail.smtp_port") > -! echo "field sx_mail.smtp_port will be added" -! echo `date` +select now(),'field sx_mail.smtp_port will be added' +from xdummy; alter table sx_mail add ( smtp_port SMALLINT ); @@ -7632,8 +9324,8 @@ alter table sx_mail add ( smtp_port SMALLINT ); <#if !fields?seq_contains("sx_mail.smtp_auth") > -! echo "field sx_mail.smtp_auth will be added" -! echo `date` +select now(),'field sx_mail.smtp_auth will be added' +from xdummy; alter table sx_mail add ( smtp_auth SMALLINT ); @@ -7642,8 +9334,8 @@ alter table sx_mail add ( smtp_auth SMALLINT ); <#if !fields?seq_contains("sx_mail.smtp_starttls_enable") > -! echo "field sx_mail.smtp_starttls_enable will be added" -! echo `date` +select now(),'field sx_mail.smtp_starttls_enable will be added' +from xdummy; alter table sx_mail add ( smtp_starttls_enable SMALLINT ); @@ -7652,8 +9344,8 @@ alter table sx_mail add ( smtp_starttls_enable SMALLINT ); <#if !fields?seq_contains("sx_mail.username") > -! echo "field sx_mail.username will be added" -! echo `date` +select now(),'field sx_mail.username will be added' +from xdummy; alter table sx_mail add ( username NVARCHAR(255) ); @@ -7662,8 +9354,8 @@ alter table sx_mail add ( username NVARCHAR(255) ); <#if !fields?seq_contains("sx_mail.password") > -! echo "field sx_mail.password will be added" -! echo `date` +select now(),'field sx_mail.password will be added' +from xdummy; alter table sx_mail add ( password NVARCHAR(255) ); @@ -7672,8 +9364,8 @@ alter table sx_mail add ( password NVARCHAR(255) ); <#if !fields?seq_contains("sx_mail.userinfo_id") > -! echo "field sx_mail.userinfo_id will be added" -! echo `date` +select now(),'field sx_mail.userinfo_id will be added' +from xdummy; alter table sx_mail add ( userinfo_id INTEGER ); @@ -7682,8 +9374,8 @@ alter table sx_mail add ( userinfo_id INTEGER ); <#if !fields?seq_contains("sx_mail.type") > -! echo "field sx_mail.type will be added" -! echo `date` +select now(),'field sx_mail.type will be added' +from xdummy; alter table sx_mail add ( type NVARCHAR(255) ); @@ -7692,8 +9384,8 @@ alter table sx_mail add ( type NVARCHAR(255) ); <#if !fields?seq_contains("sx_mail.daemon1") > -! echo "field sx_mail.daemon1 will be added" -! echo `date` +select now(),'field sx_mail.daemon1 will be added' +from xdummy; alter table sx_mail add ( daemon1 NVARCHAR(255) ); @@ -7702,8 +9394,8 @@ alter table sx_mail add ( daemon1 NVARCHAR(255) ); <#if !fields?seq_contains("sx_mail.daemon1_interval") > -! echo "field sx_mail.daemon1_interval will be added" -! echo `date` +select now(),'field sx_mail.daemon1_interval will be added' +from xdummy; alter table sx_mail add ( daemon1_interval INTEGER ); @@ -7712,8 +9404,8 @@ alter table sx_mail add ( daemon1_interval INTEGER ); <#if !fields?seq_contains("sx_mail.daemon1_loglevel") > -! echo "field sx_mail.daemon1_loglevel will be added" -! echo `date` +select now(),'field sx_mail.daemon1_loglevel will be added' +from xdummy; alter table sx_mail add ( daemon1_loglevel NVARCHAR(255) ); @@ -7722,8 +9414,8 @@ alter table sx_mail add ( daemon1_loglevel NVARCHAR(255) ); <#if !fields?seq_contains("sx_mail.daemon2") > -! echo "field sx_mail.daemon2 will be added" -! echo `date` +select now(),'field sx_mail.daemon2 will be added' +from xdummy; alter table sx_mail add ( daemon2 NVARCHAR(255) ); @@ -7732,8 +9424,8 @@ alter table sx_mail add ( daemon2 NVARCHAR(255) ); <#if !fields?seq_contains("sx_mail.daemon2_interval") > -! echo "field sx_mail.daemon2_interval will be added" -! echo `date` +select now(),'field sx_mail.daemon2_interval will be added' +from xdummy; alter table sx_mail add ( daemon2_interval INTEGER ); @@ -7742,8 +9434,8 @@ alter table sx_mail add ( daemon2_interval INTEGER ); <#if !fields?seq_contains("sx_mail.daemon3") > -! echo "field sx_mail.daemon3 will be added" -! echo `date` +select now(),'field sx_mail.daemon3 will be added' +from xdummy; alter table sx_mail add ( daemon3 NVARCHAR(255) ); @@ -7752,8 +9444,8 @@ alter table sx_mail add ( daemon3 NVARCHAR(255) ); <#if !fields?seq_contains("sx_mail.daemon3_interval") > -! echo "field sx_mail.daemon3_interval will be added" -! echo `date` +select now(),'field sx_mail.daemon3_interval will be added' +from xdummy; alter table sx_mail add ( daemon3_interval INTEGER ); diff --git a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_fields_pg.sql b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_fields_pg.sql index 41b5f98..f139e9f 100644 --- a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_fields_pg.sql +++ b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_fields_pg.sql @@ -3156,7 +3156,7 @@ alter table dbconnections add column testsql VARCHAR(255) ; select now(),'field organigramm.tid will be added' from xdummy; -alter table organigramm add column tid INTEGER not null; +alter table organigramm add column tid SERIAL not null; @@ -3186,7 +3186,7 @@ alter table organigramm add column parent CHAR(10) ; select now(),'field organigramm.drucktext will be added' from xdummy; -alter table organigramm add column drucktext CHAR(50) ; +alter table organigramm add column drucktext VARCHAR(255) ; @@ -3196,7 +3196,7 @@ alter table organigramm add column drucktext CHAR(50) ; select now(),'field organigramm.name will be added' from xdummy; -alter table organigramm add column name CHAR(150) ; +alter table organigramm add column name VARCHAR(255) ; @@ -3356,7 +3356,7 @@ alter table organigramm_bak add column parent CHAR(10) ; select now(),'field organigramm_bak.drucktext will be added' from xdummy; -alter table organigramm_bak add column drucktext CHAR(50) ; +alter table organigramm_bak add column drucktext VARCHAR(255) ; @@ -3366,7 +3366,7 @@ alter table organigramm_bak add column drucktext CHAR(50) ; select now(),'field organigramm_bak.name will be added' from xdummy; -alter table organigramm_bak add column name CHAR(150) ; +alter table organigramm_bak add column name VARCHAR(255) ; diff --git a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_functions_ids.sql b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_functions_ids.sql index 29ca471..90ba710 100644 --- a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_functions_ids.sql +++ b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_functions_ids.sql @@ -3,65 +3,65 @@ --Funktion / Prozedur sp_user_themen -! echo "Erzeuge Funktion sp_user_themen" -! echo `date` +select now(),'Erzeuge Funktion sp_user_themen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_sp_user_themen_ids.sql --Funktion / Prozedur sp_user_orga -! echo "Erzeuge Funktion sp_user_orga" -! echo `date` +select now(),'Erzeuge Funktion sp_user_orga' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_sp_user_orga_ids.sql --Funktion / Prozedur sp_user_orga_child -! echo "Erzeuge Funktion sp_user_orga_child" -! echo `date` +select now(),'Erzeuge Funktion sp_user_orga_child' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_sp_user_orga_child_ids.sql --Funktion / Prozedur day -! echo "Erzeuge Funktion day" -! echo `date` +select now(),'Erzeuge Funktion day' +from xdummy; --Funktion / Prozedur day -! echo "Erzeuge Funktion day" -! echo `date` +select now(),'Erzeuge Funktion day' +from xdummy; --Funktion / Prozedur month -! echo "Erzeuge Funktion month" -! echo `date` +select now(),'Erzeuge Funktion month' +from xdummy; --Funktion / Prozedur month -! echo "Erzeuge Funktion month" -! echo `date` +select now(),'Erzeuge Funktion month' +from xdummy; --Funktion / Prozedur year -! echo "Erzeuge Funktion year" -! echo `date` +select now(),'Erzeuge Funktion year' +from xdummy; --Funktion / Prozedur year -! echo "Erzeuge Funktion year" -! echo `date` +select now(),'Erzeuge Funktion year' +from xdummy; --Funktion / Prozedur week -! echo "Erzeuge Funktion week" -! echo `date` +select now(),'Erzeuge Funktion week' +from xdummy; CREATE FUNCTION week(dt date) @@ -81,86 +81,86 @@ END FUNCTION; --Funktion / Prozedur week -! echo "Erzeuge Funktion week" -! echo `date` +select now(),'Erzeuge Funktion week' +from xdummy; --Funktion / Prozedur second -! echo "Erzeuge Funktion second" -! echo `date` +select now(),'Erzeuge Funktion second' +from xdummy; --Funktion / Prozedur second -! echo "Erzeuge Funktion second" -! echo `date` +select now(),'Erzeuge Funktion second' +from xdummy; --Funktion / Prozedur minute -! echo "Erzeuge Funktion minute" -! echo `date` +select now(),'Erzeuge Funktion minute' +from xdummy; --Funktion / Prozedur minute -! echo "Erzeuge Funktion minute" -! echo `date` +select now(),'Erzeuge Funktion minute' +from xdummy; --Funktion / Prozedur hour -! echo "Erzeuge Funktion hour" -! echo `date` +select now(),'Erzeuge Funktion hour' +from xdummy; --Funktion / Prozedur hour -! echo "Erzeuge Funktion hour" -! echo `date` +select now(),'Erzeuge Funktion hour' +from xdummy; --Funktion / Prozedur current -! echo "Erzeuge Funktion current" -! echo `date` +select now(),'Erzeuge Funktion current' +from xdummy; --Funktion / Prozedur today -! echo "Erzeuge Funktion today" -! echo `date` +select now(),'Erzeuge Funktion today' +from xdummy; --Funktion / Prozedur suchen_ersetzen -! echo "Erzeuge Funktion suchen_ersetzen" -! echo `date` +select now(),'Erzeuge Funktion suchen_ersetzen' +from xdummy; --Funktion / Prozedur weekday -! echo "Erzeuge Funktion weekday" -! echo `date` +select now(),'Erzeuge Funktion weekday' +from xdummy; --Funktion / Prozedur weekday -! echo "Erzeuge Funktion weekday" -! echo `date` +select now(),'Erzeuge Funktion weekday' +from xdummy; --Funktion / Prozedur time_stamp -! echo "Erzeuge Funktion time_stamp" -! echo `date` +select now(),'Erzeuge Funktion time_stamp' +from xdummy; --Funktion / Prozedur date_val -! echo "Erzeuge Funktion date_val" -! echo `date` +select now(),'Erzeuge Funktion date_val' +from xdummy; create procedure date_val(datstr char(100)) returning date; @@ -172,50 +172,50 @@ END FUNCTION; --Funktion / Prozedur date -! echo "Erzeuge Funktion date" -! echo `date` +select now(),'Erzeuge Funktion date' +from xdummy; --Funktion / Prozedur nvl -! echo "Erzeuge Funktion nvl" -! echo `date` +select now(),'Erzeuge Funktion nvl' +from xdummy; --Funktion / Prozedur nvl -! echo "Erzeuge Funktion nvl" -! echo `date` +select now(),'Erzeuge Funktion nvl' +from xdummy; --Funktion / Prozedur nvl -! echo "Erzeuge Funktion nvl" -! echo `date` +select now(),'Erzeuge Funktion nvl' +from xdummy; --Funktion / Prozedur nvl -! echo "Erzeuge Funktion nvl" -! echo `date` +select now(),'Erzeuge Funktion nvl' +from xdummy; --Funktion / Prozedur nvl -! echo "Erzeuge Funktion nvl" -! echo `date` +select now(),'Erzeuge Funktion nvl' +from xdummy; --Funktion / Prozedur nvl -! echo "Erzeuge Funktion nvl" -! echo `date` +select now(),'Erzeuge Funktion nvl' +from xdummy; --Funktion / Prozedur now -! echo "Erzeuge Funktion now" -! echo `date` +select now(),'Erzeuge Funktion now' +from xdummy; create procedure now() returning datetime year to second; @@ -225,14 +225,14 @@ end procedure; --Funktion / Prozedur timestamp_to_date -! echo "Erzeuge Funktion timestamp_to_date" -! echo `date` +select now(),'Erzeuge Funktion timestamp_to_date' +from xdummy; --Funktion / Prozedur string_not_null -! echo "Erzeuge Funktion string_not_null" -! echo `date` +select now(),'Erzeuge Funktion string_not_null' +from xdummy; create procedure string_not_null(p_str char(255)) returning char(255); @@ -242,32 +242,32 @@ end procedure; --Funktion / Prozedur string_not_null -! echo "Erzeuge Funktion string_not_null" -! echo `date` +select now(),'Erzeuge Funktion string_not_null' +from xdummy; --Funktion / Prozedur string_not_null -! echo "Erzeuge Funktion string_not_null" -! echo `date` +select now(),'Erzeuge Funktion string_not_null' +from xdummy; --Funktion / Prozedur string_not_null -! echo "Erzeuge Funktion string_not_null" -! echo `date` +select now(),'Erzeuge Funktion string_not_null' +from xdummy; --Funktion / Prozedur timestamp_str -! echo "Erzeuge Funktion timestamp_str" -! echo `date` +select now(),'Erzeuge Funktion timestamp_str' +from xdummy; --Funktion / Prozedur date_str -! echo "Erzeuge Funktion date_str" -! echo `date` +select now(),'Erzeuge Funktion date_str' +from xdummy; CREATE procedure date_str(datum date) RETURNING varchar(255); return '' || datum; @@ -275,14 +275,14 @@ end procedure; --Funktion / Prozedur val -! echo "Erzeuge Funktion val" -! echo `date` +select now(),'Erzeuge Funktion val' +from xdummy; --Funktion / Prozedur val -! echo "Erzeuge Funktion val" -! echo `date` +select now(),'Erzeuge Funktion val' +from xdummy; create procedure val(p_str char(255)) @@ -294,26 +294,26 @@ end procedure; --Funktion / Prozedur val -! echo "Erzeuge Funktion val" -! echo `date` +select now(),'Erzeuge Funktion val' +from xdummy; --Funktion / Prozedur val -! echo "Erzeuge Funktion val" -! echo `date` +select now(),'Erzeuge Funktion val' +from xdummy; --Funktion / Prozedur val -! echo "Erzeuge Funktion val" -! echo `date` +select now(),'Erzeuge Funktion val' +from xdummy; --Funktion / Prozedur decval -! echo "Erzeuge Funktion decval" -! echo `date` +select now(),'Erzeuge Funktion decval' +from xdummy; create procedure decval(p_str varchar(255)) @@ -324,14 +324,14 @@ end procedure; --Funktion / Prozedur decval -! echo "Erzeuge Funktion decval" -! echo `date` +select now(),'Erzeuge Funktion decval' +from xdummy; --Funktion / Prozedur decval -! echo "Erzeuge Funktion decval" -! echo `date` +select now(),'Erzeuge Funktion decval' +from xdummy; create procedure decval(p_str char(255)) @@ -342,134 +342,147 @@ end procedure; --Funktion / Prozedur sp_filter_orga -! echo "Erzeuge Funktion sp_filter_orga" -! echo `date` +select now(),'Erzeuge Funktion sp_filter_orga' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_sp_filter_orga_ids.sql --Funktion / Prozedur sp_update_sequence -! echo "Erzeuge Funktion sp_update_sequence" -! echo `date` +select now(),'Erzeuge Funktion sp_update_sequence' +from xdummy; --Funktion / Prozedur sp_bool_to_smallint -! echo "Erzeuge Funktion sp_bool_to_smallint" -! echo `date` +select now(),'Erzeuge Funktion sp_bool_to_smallint' +from xdummy; --Funktion / Prozedur nvl -! echo "Erzeuge Funktion nvl" -! echo `date` +select now(),'Erzeuge Funktion nvl' +from xdummy; --Funktion / Prozedur nvl -! echo "Erzeuge Funktion nvl" -! echo `date` +select now(),'Erzeuge Funktion nvl' +from xdummy; --Funktion / Prozedur nvl -! echo "Erzeuge Funktion nvl" -! echo `date` +select now(),'Erzeuge Funktion nvl' +from xdummy; --Funktion / Prozedur nvl -! echo "Erzeuge Funktion nvl" -! echo `date` +select now(),'Erzeuge Funktion nvl' +from xdummy; --Funktion / Prozedur sp_get_subquery_str -! echo "Erzeuge Funktion sp_get_subquery_str" -! echo `date` +select now(),'Erzeuge Funktion sp_get_subquery_str' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_get_subquery_str_ids.sql --Funktion / Prozedur sp_get_keylist_str -! echo "Erzeuge Funktion sp_get_keylist_str" -! echo `date` +select now(),'Erzeuge Funktion sp_get_keylist_str' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_get_keylist_str_ids.sql --Funktion / Prozedur sp_get_keylist_str -! echo "Erzeuge Funktion sp_get_keylist_str" -! echo `date` +select now(),'Erzeuge Funktion sp_get_keylist_str' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_get_keylist_str_short_ids.sql --Funktion / Prozedur sp_get_benutzer -! echo "Erzeuge Funktion sp_get_benutzer" -! echo `date` +select now(),'Erzeuge Funktion sp_get_benutzer' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_get_benutzer_ids.sql --Funktion / Prozedur sp_trunc_string -! echo "Erzeuge Funktion sp_trunc_string" -! echo `date` +select now(),'Erzeuge Funktion sp_trunc_string' +from xdummy; --Funktion / Prozedur sp_trunc_string -! echo "Erzeuge Funktion sp_trunc_string" -! echo `date` +select now(),'Erzeuge Funktion sp_trunc_string' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_trunc_string_ids.sql --Funktion / Prozedur sp_table_exists -! echo "Erzeuge Funktion sp_table_exists" -! echo `date` +select now(),'Erzeuge Funktion sp_table_exists' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_sp_table_exists_ids.sql --Funktion / Prozedur sp_view_exists -! echo "Erzeuge Funktion sp_view_exists" -! echo `date` +select now(),'Erzeuge Funktion sp_view_exists' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_sp_view_exists_ids.sql --Funktion / Prozedur today -! echo "Erzeuge Funktion today" -! echo `date` +select now(),'Erzeuge Funktion today' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_today_ids.sql --Funktion / Prozedur to_number -! echo "Erzeuge Funktion to_number" -! echo `date` +select now(),'Erzeuge Funktion to_number' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_to_number_ids.sql --Funktion / Prozedur sp_get_dbform_right -! echo "Erzeuge Funktion sp_get_dbform_right" -! echo `date` +select now(),'Erzeuge Funktion sp_get_dbform_right' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_get_dbform_right_ids.sql - --Funktion / Prozedur sp_set_organigramm_eb + --Funktion / Prozedur add_sem -! echo "Erzeuge Funktion sp_set_organigramm_eb" -! echo `date` +select now(),'Erzeuge Funktion add_sem' +from xdummy; + +--Funktion / Prozedur sp_set_organigramm_eb + + +select now(),'Erzeuge Funktion sp_set_organigramm_eb' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_set_organigramm_eb_ids.sql --Funktion / Prozedur sp_set_organigramm_lehr -! echo "Erzeuge Funktion sp_set_organigramm_lehr" -! echo `date` +select now(),'Erzeuge Funktion sp_set_organigramm_lehr' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/prozeduren/proc_set_organigramm_lehr_ids.sql + --Funktion / Prozedur trim_all_whitespace + + +select now(),'Erzeuge Funktion trim_all_whitespace' +from xdummy; + +! DOSQL $SUPERX_DIR/db/install/prozeduren/trim_all_whitespace_ids.sql \ No newline at end of file diff --git a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_ids.sql b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_ids.sql index 2036846..b223e7f 100644 --- a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_ids.sql +++ b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_ids.sql @@ -1,353 +1,396 @@ --SQL Script automatisch generiert von SuperX module_upgrade.xsl +! DOSQL $SUPERX_DIR/db/install/conf/sx_fields_fuellen.sql + -! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/macro_masken_bez_fuellen.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/macro_masken_bez_fuellen.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/macro_masken_bez_fuellen.sql -! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/dimension_view_droppen.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/dimension_view_droppen.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/dimension_view_droppen.sql -! echo "SQL-Script $SUPERX_DIR/db/install/schluesseltabellen/dimension_view_erzeugen_ids.sql ausführen" -! echo `date` +select now(),'SQL-Script $SUPERX_DIR/db/install/schluesseltabellen/dimension_view_erzeugen_ids.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/dimension_view_erzeugen_ids.sql -! echo "SQL-Ausdruck create table tmp_templates(tid integer, id char(200) not null, content text not null, description char(200) , comment char(200) , version integer ) ; ausführen" -! echo `date` +select now(),'SQL-Ausdruck create table tmp_templates(tid integer, id char(200) not null, content text not null, description char(200) , comment char(200) , version integer ) ; ausführen' +from xdummy; -create table tmp_templates(tid integer, id char(200) not null, content text not null, description char(200) , comment char(200) , version integer ) ; +create table tmp_templates(tid integer, id char(200) not null, content text not null, description char(200) , comment char(200) , version integer ) ; -! echo "SQL-Ausdruck CREATE TABLE tmp_menu_element ( id integer NOT NULL, element character(255), element_value character(255), description character(255), nature character(255), annotation character(255) ); ausführen" -! echo `date` +select now(),'SQL-Ausdruck CREATE TABLE tmp_menu_element ( id integer NOT NULL, element character(255), element_value character(255), description character(255), nature character(255), annotation character(255) ); ausführen' +from xdummy; CREATE TABLE tmp_menu_element ( id integer NOT NULL, element character(255), element_value character(255), description character(255), nature character(255), annotation character(255) ); -! echo "SQL-Ausdruck create table tmp_captions ( tid INTEGER, id CHAR(200) , table_name CHAR(200) , field_name CHAR(200) , record_no INTEGER , locale CHAR(10) , contents_short CHAR(255) , contents_long text , equalitystatus SMALLINT , sachgebiete_id INTEGER, doku_link VARCHAR, export_to_glossar INTEGER ); ausführen" -! echo `date` +select now(),'SQL-Ausdruck create table tmp_captions ( tid INTEGER, id CHAR(200) , table_name CHAR(200) , field_name CHAR(200) , record_no INTEGER , locale CHAR(10) , contents_short CHAR(255) , contents_long text , equalitystatus SMALLINT , sachgebiete_id INTEGER, doku_link VARCHAR, export_to_glossar INTEGER ); ausführen' +from xdummy; -create table tmp_captions ( tid INTEGER, id CHAR(200) , table_name CHAR(200) , field_name CHAR(200) , record_no INTEGER , locale CHAR(10) , contents_short CHAR(255) , contents_long text , equalitystatus SMALLINT , sachgebiete_id INTEGER, doku_link VARCHAR, export_to_glossar INTEGER ); +create table tmp_captions ( tid INTEGER, id CHAR(200) , table_name CHAR(200) , field_name CHAR(200) , record_no INTEGER , locale CHAR(10) , contents_short CHAR(255) , contents_long text , equalitystatus SMALLINT , sachgebiete_id INTEGER, doku_link VARCHAR, export_to_glossar INTEGER ); -! echo "SQL-Ausdruck create table tmp_repository( tid SERIAL not null, id CHAR(200) not null, content TEXT , caption CHAR(200) , comment TEXT , version SMALLINT , art CHAR(200) , art2 CHAR(200) , art3 CHAR(200) , sachgebiete_id INTEGER , sort1 INTEGER , sort2 INTEGER , sort3 INTEGER , geaendert_am DATE , aktiv smallint , gueltig_seit DATE , gueltig_bis DATE ); ausführen" -! echo `date` +select now(),'SQL-Ausdruck create table tmp_repository( tid SERIAL not null, id CHAR(200) not null, content TEXT , caption CHAR(200) , comment TEXT , version SMALLINT , art CHAR(200) , art2 CHAR(200) , art3 CHAR(200) , sachgebiete_id INTEGER , sort1 INTEGER , sort2 INTEGER , sort3 INTEGER , geaendert_am DATE , aktiv smallint , gueltig_seit DATE , gueltig_bis DATE ); ausführen' +from xdummy; -create table tmp_repository( tid SERIAL not null, id CHAR(200) not null, content TEXT , caption CHAR(200) , comment TEXT , version SMALLINT , art CHAR(200) , art2 CHAR(200) , art3 CHAR(200) , sachgebiete_id INTEGER , sort1 INTEGER , sort2 INTEGER , sort3 INTEGER , geaendert_am DATE , aktiv smallint , gueltig_seit DATE , gueltig_bis DATE ); +create table tmp_repository( tid SERIAL not null, id CHAR(200) not null, content TEXT , caption CHAR(200) , comment TEXT , version SMALLINT , art CHAR(200) , art2 CHAR(200) , art3 CHAR(200) , sachgebiete_id INTEGER , sort1 INTEGER , sort2 INTEGER , sort3 INTEGER , geaendert_am DATE , aktiv smallint , gueltig_seit DATE , gueltig_bis DATE ); -! echo "Lade Tabelle tmp_templates" -! echo `date` +select now(),'Lade Tabelle tmp_templates' +from xdummy; !sx_auto_upload_table.x tmp_templates $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/fm_templates.unl -! echo "Lade Tabelle tmp_menu_element" -! echo `date` +select now(),'Lade Tabelle tmp_menu_element' +from xdummy; !sx_upload_records.x tmp_menu_element $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/menu_element.unl -! echo "Lade Tabelle tmp_captions" -! echo `date` +select now(),'Lade Tabelle tmp_captions' +from xdummy; !sx_auto_upload_table.x tmp_captions $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/sx_captions.unl -! echo "SQL-Script $SUPERX_DIR/db/install/upgrade/kern_drop_views_ids.sql ausführen" -! echo `date` +select now(),'Lade Tabelle k_astat_studienfach_land' +from xdummy; + +!sx_auto_upload_table.x k_astat_studienfach_land $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/k_astat_studienfach_land.unl + + +select now(),'Lade Tabelle k_astat_abschluss3steller_land' +from xdummy; + +!sx_auto_upload_table.x k_astat_abschluss3steller_land $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/k_astat_abschluss3steller_land.unl + + +select now(),'Lade Tabelle k_astat_abschluss2steller' +from xdummy; + +!sx_auto_upload_table.x k_astat_abschluss2steller $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/k_astat_abschluss2steller.unl + + +select now(),'Lade Tabelle k_astat_studienfach' +from xdummy; + +!sx_auto_upload_table.x k_astat_studienfach $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/k_astat_studienfach.unl + + +select now(),'Lade Tabelle k_astat_studienbereich' +from xdummy; + +!sx_auto_upload_table.x k_astat_studienbereich $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/k_astat_studienbereich.unl + + +select now(),'SQL-Script $SUPERX_DIR/db/install/upgrade/kern_drop_views_ids.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/upgrade/kern_drop_views_ids.sql -! echo "Scriptfile $SUPERX_DIR/db/install/upgrade/kernmodul_upgrade_man.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/upgrade/kernmodul_upgrade_man.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/upgrade/kernmodul_upgrade_man.sql -! echo "SQL-Script $SUPERX_DIR/db/install/upgrade/kern_upgrade_views_ids.sql ausführen" -! echo `date` +select now(),'SQL-Script $SUPERX_DIR/db/install/upgrade/kern_upgrade_views_ids.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/upgrade/kern_upgrade_views_ids.sql -! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/fm_templates_fuellen.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/fm_templates_fuellen.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/fm_templates_fuellen.sql -! echo "SQL-Ausdruck drop table tmp_templates; ausführen" -! echo `date` +select now(),'SQL-Ausdruck drop table tmp_templates; ausführen' +from xdummy; drop table tmp_templates; -! echo "Scriptfile $SUPERX_DIR/db/install/upgrade/sx_caption_hs_name.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/upgrade/sx_caption_hs_name.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/upgrade/sx_caption_hs_name.sql -! echo "Scriptfile $SUPERX_DIR/db/install/upgrade/hinweise_entfernen.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/upgrade/hinweise_entfernen.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/upgrade/hinweise_entfernen.sql -! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/kern_feste_konstanten_fuellen.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/kern_feste_konstanten_fuellen.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/kern_feste_konstanten_fuellen.sql -! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/proto_funktion_fuellen.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/proto_funktion_fuellen.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/proto_funktion_fuellen.sql -! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/dbforms_fuellen.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/dbforms_fuellen.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/dbforms_fuellen.sql -! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/kern_stylesheet_upgrade.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/kern_stylesheet_upgrade.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/kern_stylesheet_upgrade.sql -! echo "Scriptfile $SUPERX_DIR/db/install/upgrade/alter_tid_integer_to_serial.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/upgrade/alter_tid_integer_to_serial.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/upgrade/alter_tid_integer_to_serial.sql -! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/sichten_fuellen.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/sichten_fuellen.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/sichten_fuellen.sql -! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/captions_fuellen.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/captions_fuellen.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/captions_fuellen.sql -! echo "SQL-Ausdruck alter table groupinfo modify (name char(255)); ausführen" -! echo `date` +select now(),'SQL-Ausdruck alter table groupinfo modify (name char(255)); ausführen' +from xdummy; alter table groupinfo modify (name char(255)); -! echo "SQL-Ausdruck alter table db_tabellen modify (name char(50)); ausführen" -! echo `date` +select now(),'SQL-Ausdruck alter table db_tabellen modify (name char(50)); ausführen' +from xdummy; alter table db_tabellen modify (name char(50)); -! echo "SQL-Ausdruck alter table sx_fields modify (is_primarykey integer default 0); ausführen" -! echo `date` +select now(),'SQL-Ausdruck alter table sx_fields modify (is_primarykey integer default 0); ausführen' +from xdummy; alter table sx_fields modify (is_primarykey integer default 0); -! echo "SQL-Ausdruck create table tmp_cifx_load ( tid INTEGER not null, hs INTEGER not null, key SMALLINT not null, apnr CHAR(10) not null, d_akt_von DATE , d_akt_bis DATE , kurz CHAR(10) , druck CHAR(100) , lang_1 CHAR(100) , lang_2 CHAR(150) , lang_3 CHAR(250) , parent CHAR(10) , parent_int integer, filter CHAR(10) , refapnr CHAR(10) , astat CHAR(10) , bund_apnr CHAR(10) , land_apnr CHAR(10) , hiskey_id VARCHAR(255) , uniquename VARCHAR(255) , sort1 INTEGER , sort2 INTEGER , sort3 INTEGER , sortc1 CHAR(10) , sortc2 CHAR(10) , sourcesystem integer , sourcesystem_id VARCHAR(255) , intern_int INTEGER , intern_c CHAR(10) , sprache CHAR(3) , struktur_int INTEGER , struktur_c CHAR(50) , ebene INTEGER, lid VARCHAR(255), parent_lid VARCHAR(255) ); ausführen" -! echo `date` +select now(),'SQL-Ausdruck create table tmp_cifx_load ( tid INTEGER not null, hs INTEGER not null, key SMALLINT not null, apnr CHAR(10) not null, d_akt_von DATE , d_akt_bis DATE , kurz CHAR(10) , druck CHAR(100) , lang_1 CHAR(100) , lang_2 CHAR(150) , lang_3 CHAR(250) , parent CHAR(10) , parent_int integer, filter CHAR(10) , refapnr CHAR(10) , astat CHAR(10) , bund_apnr CHAR(10) , land_apnr CHAR(10) , hiskey_id VARCHAR(255) , uniquename VARCHAR(255) , sort1 INTEGER , sort2 INTEGER , sort3 INTEGER , sortc1 CHAR(10) , sortc2 CHAR(10) , sourcesystem integer , sourcesystem_id VARCHAR(255) , intern_int INTEGER , intern_c CHAR(10) , sprache CHAR(3) , struktur_int INTEGER , struktur_c CHAR(50) , ebene INTEGER, lid VARCHAR(255), parent_lid VARCHAR(255) ); ausführen' +from xdummy; -create table tmp_cifx_load ( tid INTEGER not null, hs INTEGER not null, key SMALLINT not null, apnr CHAR(10) not null, d_akt_von DATE , d_akt_bis DATE , kurz CHAR(10) , druck CHAR(100) , lang_1 CHAR(100) , lang_2 CHAR(150) , lang_3 CHAR(250) , parent CHAR(10) , parent_int integer, filter CHAR(10) , refapnr CHAR(10) , astat CHAR(10) , bund_apnr CHAR(10) , land_apnr CHAR(10) , hiskey_id VARCHAR(255) , uniquename VARCHAR(255) , sort1 INTEGER , sort2 INTEGER , sort3 INTEGER , sortc1 CHAR(10) , sortc2 CHAR(10) , sourcesystem integer , sourcesystem_id VARCHAR(255) , intern_int INTEGER , intern_c CHAR(10) , sprache CHAR(3) , struktur_int INTEGER , struktur_c CHAR(50) , ebene INTEGER, lid VARCHAR(255), parent_lid VARCHAR(255) ); +create table tmp_cifx_load ( tid INTEGER not null, hs INTEGER not null, key SMALLINT not null, apnr CHAR(10) not null, d_akt_von DATE , d_akt_bis DATE , kurz CHAR(10) , druck CHAR(100) , lang_1 CHAR(100) , lang_2 CHAR(150) , lang_3 CHAR(250) , parent CHAR(10) , parent_int integer, filter CHAR(10) , refapnr CHAR(10) , astat CHAR(10) , bund_apnr CHAR(10) , land_apnr CHAR(10) , hiskey_id VARCHAR(255) , uniquename VARCHAR(255) , sort1 INTEGER , sort2 INTEGER , sort3 INTEGER , sortc1 CHAR(10) , sortc2 CHAR(10) , sourcesystem integer , sourcesystem_id VARCHAR(255) , intern_int INTEGER , intern_c CHAR(10) , sprache CHAR(3) , struktur_int INTEGER , struktur_c CHAR(50) , ebene INTEGER, lid VARCHAR(255), parent_lid VARCHAR(255) ); -! echo "SQL-Ausdruck create table tmp_cif_load ( tid INTEGER not null, hs INTEGER not null, key SMALLINT not null, apnr INTEGER not null, d_akt_von DATE , d_akt_bis DATE , kurz CHAR(10) , druck CHAR(100) , lang_1 CHAR(100) , lang_2 CHAR(150) , lang_3 CHAR(250), sort1 INTEGER ) ; ausführen" -! echo `date` +select now(),'SQL-Ausdruck create table tmp_cif_load ( tid INTEGER not null, hs INTEGER not null, key SMALLINT not null, apnr INTEGER not null, d_akt_von DATE , d_akt_bis DATE , kurz CHAR(10) , druck CHAR(100) , lang_1 CHAR(100) , lang_2 CHAR(150) , lang_3 CHAR(250), sort1 INTEGER ) ; ausführen' +from xdummy; -create table tmp_cif_load ( tid INTEGER not null, hs INTEGER not null, key SMALLINT not null, apnr INTEGER not null, d_akt_von DATE , d_akt_bis DATE , kurz CHAR(10) , druck CHAR(100) , lang_1 CHAR(100) , lang_2 CHAR(150) , lang_3 CHAR(250), sort1 INTEGER ) ; +create table tmp_cif_load ( tid INTEGER not null, hs INTEGER not null, key SMALLINT not null, apnr INTEGER not null, d_akt_von DATE , d_akt_bis DATE , kurz CHAR(10) , druck CHAR(100) , lang_1 CHAR(100) , lang_2 CHAR(150) , lang_3 CHAR(250), sort1 INTEGER ) ; -! echo "SQL-Ausdruck create table tmp_portlet( tid SERIAL not null, name VARCHAR(255) , type VARCHAR(255) , class VARCHAR(255) , icon VARCHAR(255) , content TEXT , sortnr_initial INTEGER , visible VARCHAR(255) , gueltig_von DATE, gueltig_bis DATE ) ; ausführen" -! echo `date` +select now(),'SQL-Ausdruck create table tmp_portlet( tid SERIAL not null, name VARCHAR(255) , type VARCHAR(255) , class VARCHAR(255) , icon VARCHAR(255) , content TEXT , sortnr_initial INTEGER , visible VARCHAR(255) , gueltig_von DATE, gueltig_bis DATE ) ; ausführen' +from xdummy; -create table tmp_portlet( tid SERIAL not null, name VARCHAR(255) , type VARCHAR(255) , class VARCHAR(255) , icon VARCHAR(255) , content TEXT , sortnr_initial INTEGER , visible VARCHAR(255) , gueltig_von DATE, gueltig_bis DATE ) ; +create table tmp_portlet( tid SERIAL not null, name VARCHAR(255) , type VARCHAR(255) , class VARCHAR(255) , icon VARCHAR(255) , content TEXT , sortnr_initial INTEGER , visible VARCHAR(255) , gueltig_von DATE, gueltig_bis DATE ) ; -! echo "Lade Tabelle tmp_cifx_load" -! echo `date` +select now(),'Lade Tabelle tmp_cifx_load' +from xdummy; !sx_auto_upload_table.x tmp_cifx_load $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/cifx.unl -! echo "Lade Tabelle tmp_cif_load" -! echo `date` +select now(),'Lade Tabelle tmp_cif_load' +from xdummy; !sx_auto_upload_table.x tmp_cif_load $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/cif.unl -! echo "Lade Tabelle tmp_portlet" -! echo `date` +select now(),'Lade Tabelle tmp_portlet' +from xdummy; !sx_auto_upload_table.x tmp_portlet $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/sx_portlet.unl -! echo "Lade Tabelle tmp_repository" -! echo `date` +select now(),'Lade Tabelle tmp_repository' +from xdummy; !sx_auto_upload_table.x tmp_repository $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/sx_repository.unl -! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/cifx_fuellen.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/cifx_fuellen.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/cifx_fuellen.sql -! echo "SQL-Ausdruck alter table trans_inst modify (tid serial); ausführen" -! echo `date` +select now(),'SQL-Ausdruck alter table trans_inst modify (tid serial); ausführen' +from xdummy; alter table trans_inst modify (tid serial); -! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/sx_stylesheets_fuellen.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/sx_stylesheets_fuellen.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/sx_stylesheets_fuellen.sql -! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/sx_portlet_fuellen.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/sx_portlet_fuellen.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/sx_portlet_fuellen.sql -! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/menu_element_fuellen.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/menu_element_fuellen.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/menu_element_fuellen.sql -! echo "SQL-Ausdruck update sx_fields set is_primarykey=0 where is_primarykey is null; ausführen" -! echo `date` +select now(),'SQL-Ausdruck update sx_fields set is_primarykey=0 where is_primarykey is null; ausführen' +from xdummy; update sx_fields set is_primarykey=0 where is_primarykey is null; -! echo "SQL-Ausdruck drop table tmp_cifx_load; ausführen" -! echo `date` +select now(),'SQL-Ausdruck drop table tmp_cifx_load; ausführen' +from xdummy; drop table tmp_cifx_load; -! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/cif_fuellen.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/cif_fuellen.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/cif_fuellen.sql -! echo "Scriptfile $SUPERX_DIR/db/install/upgrade/menu_element_upgrade.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/upgrade/menu_element_upgrade.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/upgrade/menu_element_upgrade.sql -! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/sx_captions_fuellen.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/sx_captions_fuellen.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/sx_captions_fuellen.sql -! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/sx_repository_fuellen.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/sx_repository_fuellen.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/sx_repository_fuellen.sql -! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/sachgebiete_fuellen.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/sachgebiete_fuellen.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/sachgebiete_fuellen.sql -! echo "SQL-Ausdruck drop table tmp_cif_load; ausführen" -! echo `date` +select now(),'SQL-Ausdruck drop table tmp_cif_load; ausführen' +from xdummy; drop table tmp_cif_load; -! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/adapt_target_platform.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/adapt_target_platform.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/adapt_target_platform.sql -! echo "Scriptfile $SUPERX_DIR/db/install/masken/remove_obsolete_masks.sql ausführen" -! echo `date` +select now(),'Scriptfile $SUPERX_DIR/db/install/masken/remove_obsolete_masks.sql ausführen' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/masken/remove_obsolete_masks.sql -! echo "Fülle db_version" -! echo `date` +select now(),'Lade Tabelle dim_datum' +from xdummy; + +!sx_auto_upload_table.x dim_datum $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/dim_datum.unl + + +select now(),'Lade Tabelle aggre_bland' +from xdummy; + +!sx_auto_upload_table.x aggre_bland $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/aggre_bland.unl + + +select now(),'Fülle db_version' +from xdummy; delete from db_version where his_system='kern'; -insert into db_version (his_system,version) values('kern','4.9'); +insert into db_version (his_system,version,systeminfo_id) values('kern','5.0',9); -! echo "Fülle sx_tables, sx_fields und unload_params" -! echo `date` +select now(),'Fülle sx_tables und unload_params' +from xdummy; ! DOSQL $SUPERX_DIR/db/install/conf/sx_tables_fuellen.sql -! DOSQL $SUPERX_DIR/db/install/conf/sx_fields_fuellen.sql ! DOSQL $SUPERX_DIR/db/install/conf/unload_params_fuellen.sql -! echo "Fülle db_forms" -! echo `date` +select now(),'Fülle db_forms' +from xdummy; -! echo "db_forms einfügen" -! echo `date` +select now(),'db_forms einfügen' +from xdummy; CREATE temp TABLE tmp_db_forms ( @@ -359,109 +402,115 @@ CREATE temp TABLE tmp_db_forms ( description character(255) ); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sachgebiete','sachgebiete','/edit/kern/sachgebiete_edit.jsp','Sachgebiete verwalten','In diesem Formular können Sie Sachgebiete verwalten.'); +values ('sachgebiete','sachgebiete','/edit/kern/sachgebiete_edit.jsp','Sachgebiete verwalten'::varchar(200),'In diesem Formular können Sie Sachgebiete verwalten.'::varchar(255)); +insert into tmp_db_forms (name, tablename,form_path,caption,description) +values ('sx_stylesheets','sx_stylesheets','/edit/kern/sx_stylesheets_edit.jsp','Stylesheets verwalten'::varchar(200),'In diesem Formular können Sie XSL-Stylesheets verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_stylesheets','sx_stylesheets','/edit/kern/sx_stylesheets_edit.jsp','Stylesheets verwalten','In diesem Formular können Sie XSL-Stylesheets verwalten.'); +values ('organigramm','organigramm','/edit/kern/organigramm_edit.jsp','Organigramm verwalten'::varchar(200),'In diesem Formular können Sie Organisationseinheiten verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('organigramm','organigramm','/edit/kern/organigramm_edit.jsp','Organigramm verwalten','In diesem Formular können Sie Institutionen verwalten.'); +values ('organigramm_nodeattrib','organigramm','/edit/kern/organigramm_editnodeattrib.jsp','Organigramm Sichtbarkeit verwalten'::varchar(200),'In diesem Formular können Sie die Sichtbarkeit von Organisationseinheiten verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('organigramm_nodeattrib','organigramm','/edit/kern/organigramm_editnodeattrib.jsp','Organigramm Sichtbarkeit verwalten','In diesem Formular können Sie die Sichtbarkeit von Organisationseinheiten verwalten.'); +values ('maskeninfo','maskeninfo','/edit/kern/maskeninfo_edit.jsp','Maskeninfo verwalten'::varchar(200),'In diesem Formular können Sie Maskendefinitionen verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('maskeninfo','maskeninfo','/edit/kern/maskeninfo_edit.jsp','Maskeninfo verwalten','In diesem Formular können Sie Masken verwalten.'); +values ('macro_feld_wert_list','macro_feld_wert','/edit/kern/macro_feld_wert_list.jsp','Feld-Vorbelegung von Makro-Masken'::varchar(200),'In diesem Formular können Sie Feld-Vorbelegung von Makro-Masken verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('felderinfo','felderinfo','/edit/kern/felderinfo_edit.jsp','Felderinfo verwalten','In diesem Formular können Sie Felder verwalten.'); +values ('felderinfo','felderinfo','/edit/kern/felderinfo_edit.jsp','Felderinfo verwalten'::varchar(200),'In diesem Formular können Sie Felder verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('systeminfo','systeminfo','/edit/kern/systeminfo_edit.jsp','Systeminfo verwalten','In diesem Formular können Sie Quellsysteme verwalten.'); +values ('systeminfo','systeminfo','/edit/kern/systeminfo_edit.jsp','Systeminfo verwalten'::varchar(200),'In diesem Formular können Sie Quellsysteme verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('user_sachgeb_bez','user_sachgeb_bez','/edit/kern/user_sachgeb_bez_edit.jsp','Benutzer und Sachgebiete verwalten','In diesem Formular können Sie Benutzern Sachgebietsrechte geben. Achtung: Einträge von externem System (HisInOne) werden bei Neuanmeldung überschrieben'); +values ('user_sachgeb_bez','user_sachgeb_bez','/edit/kern/user_sachgeb_bez_edit.jsp','Benutzer und Sachgebiete verwalten'::varchar(200),'In diesem Formular können Sie Benutzern Sachgebietsrechte geben. Achtung: Einträge von externem System (HisInOne) werden bei Neuanmeldung überschrieben'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('user_group_bez','user_group_bez','/edit/kern/user_group_bez_edit.jsp','Benutzer und Gruppen verwalten','In diesem Formular können Sie Benutzer zu Gruppen zuordnen. Achtung: Zuordnung zur Gruppe Administratoren für admins von externem System (HisInOne) werden bei Neuanmeldung überschrieben'); +values ('user_group_bez','user_group_bez','/edit/kern/user_group_bez_edit.jsp','Benutzer und Gruppen verwalten'::varchar(200),'In diesem Formular können Sie Benutzer zu Gruppen zuordnen. Achtung: Zuordnung zur Gruppe Administratoren für admins von externem System (HisInOne) werden bei Neuanmeldung überschrieben'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('user_masken_bez','user_masken_bez','/edit/kern/user_masken_bez_edit.jsp','Maskenrechte von Benutzern','In diesem Formular können Sie Benutzern Rechte auf einzelne Masken geben.'); +values ('user_masken_bez','user_masken_bez','/edit/kern/user_masken_bez_edit.jsp','Maskenrechte von Benutzern'::varchar(200),'In diesem Formular können Sie Benutzern Rechte auf einzelne Masken geben.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('user_institution','user_institution','/edit/kern/user_institution_edit.jsp','Institutionsrechte von Benutzern','In diesem Formular können Sie Benutzern Rechte auf einzelne Insitutionen geben. Achtung: Einträge von externem System (HisInOne) werden bei Neuanmeldung überschrieben'); +values ('user_institution','user_institution','/edit/kern/user_institution_edit.jsp','Institutionsrechte von Benutzern'::varchar(200),'In diesem Formular können Sie Benutzern Rechte auf einzelne Insitutionen geben. Achtung: Einträge von externem System (HisInOne) werden bei Neuanmeldung überschrieben'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('themenbaum_edit','themenbaum','/edit/kern/themenbaum_edit.jsp','Themenbaum','In diesem Formular können Sie den Themenbaum bearbeiten. Bitte beachten Sie: bei Änderungen muss der Themenbaum neu geladen werden (SuperXManager)'); +values ('themenbaum_edit','themenbaum','/edit/kern/themenbaum_edit.jsp','Themenbaum'::varchar(200),'In diesem Formular können Sie den Themenbaum bearbeiten. Bitte beachten Sie: bei Änderungen muss der Themenbaum neu geladen werden (SuperXManager)'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sichten','sichten','/edit/kern/sichten_edit.jsp','Sichten','In diesem Formular können Sie Sichten auf das Organigramm verwalten.'); +values ('sichten','sichten','/edit/kern/sichten_edit.jsp','Sichten'::varchar(200),'In diesem Formular können Sie Sichten auf das Organigramm verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sachgeb_maske_bez','sachgeb_maske_bez','/edit/kern/sachgeb_maske_bez_edit.jsp','Masken und Sachgebiete','In diesem Formular können Sie Masken zu Sachgebieten zuordnen.'); +values ('sachgeb_maske_bez','sachgeb_maske_bez','/edit/kern/sachgeb_maske_bez_edit.jsp','Masken und Sachgebiete'::varchar(200),'In diesem Formular können Sie Masken zu Sachgebieten zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('masken_felder_bez','masken_felder_bez','/edit/kern/masken_felder_bez_edit.jsp','Masken und Felder','In diesem Formular können Sie Felder zu Masken zuordnen.'); +values ('masken_felder_bez','masken_felder_bez','/edit/kern/masken_felder_bez_edit.jsp','Masken und Felder'::varchar(200),'In diesem Formular können Sie Felder zu Masken zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('maske_system_bez','maske_system_bez','/edit/kern/maske_system_bez_edit.jsp','Masken und Systeme','In diesem Formular können Sie Masken zu Quellsystemen zuordnen.'); +values ('maske_system_bez','maske_system_bez','/edit/kern/maske_system_bez_edit.jsp','Masken und Systeme'::varchar(200),'In diesem Formular können Sie Masken zu Quellsystemen zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('macro_masken_bez','macro_masken_bez','/edit/kern/macro_masken_bez_edit.jsp','Masken und Makros (Einzelbearbeitung)','In diesem Formular können Sie Masken zu Makros zuordnen.'); +values ('macro_masken_bez','macro_masken_bez','/edit/kern/macro_masken_bez_edit.jsp','Masken und Makros'::varchar(200),'In diesem Formular können Sie Masken zu Makros zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('macro_masken_bez_list','macro_masken_bez','/edit/kern/macro_masken_bez_list.jsp','Masken und Makros (Liste)','In diesem Formular können Sie Masken zu Makros zuordnen.'); +values ('macro_masken_bez_list','macro_masken_bez','/edit/kern/macro_masken_bez_list.jsp','Masken und Makros'::varchar(200),'In diesem Formular können Sie Masken zu Makros zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('konstanten','konstanten','/edit/kern/konstanten_edit.jsp','Konstanten','In diesem Formular können Sie Konstanten verwalten.'); +values ('konstanten','konstanten','/edit/kern/konstanten_edit.jsp','Konstanten'::varchar(200),'In diesem Formular können Sie Konstanten verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('konstante','konstanten','/edit/kern/konstante_edit.jsp','Konstante verwalten',''); +values ('konstante','konstanten','/edit/kern/konstante_edit.jsp','Konstante verwalten'::varchar(200),''::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('hochschulinfo','hochschulinfo','/edit/kern/hochschulinfo_edit.jsp','Hochschulinfo','In diesem Formular können Infos zu Ihrer Hochschule speichern. Bitte ordnen Sie Ihre Hochschule im Feld Hochschulnummer (HIS) zu.'); +values ('hochschulinfo','hochschulinfo','/edit/kern/hochschulinfo_edit.jsp','Hochschulinfo'::varchar(200),'In diesem Formular können Infos zu Ihrer Hochschule speichern. Bitte ordnen Sie Ihre Hochschule im Feld Hochschulnummer (HIS) zu.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('group_sachgeb_bez','group_sachgeb_bez','/edit/kern/group_sachgeb_bez_edit.jsp','Gruppen und Sachgebiete','In diesem Formular können Sie Gruppen zu Sachgebieten zuordnen.'); +values ('group_sachgeb_bez','group_sachgeb_bez','/edit/kern/group_sachgeb_bez_edit.jsp','Gruppen und Sachgebiete'::varchar(200),'In diesem Formular können Sie Gruppen zu Sachgebieten zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('group_masken_bez','group_masken_bez','/edit/kern/group_masken_bez_edit.jsp','Gruppen und Masken','In diesem Formular können Sie Gruppen zu einzelnen Masken zuordnen.'); +values ('group_masken_bez','group_masken_bez','/edit/kern/group_masken_bez_edit.jsp','Gruppen und Masken'::varchar(200),'In diesem Formular können Sie Gruppen zu einzelnen Masken zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('group_masken_bez','group_masken_bez','/edit/kern/group_masken_bez_edit.jsp','Gruppen und Masken','In diesem Formular können Sie Gruppen zu einzelnen Masken zuordnen.'); +values ('group_masken_bez','group_masken_bez','/edit/kern/group_masken_bez_edit.jsp','Gruppen und Masken'::varchar(200),'In diesem Formular können Sie Gruppen zu einzelnen Masken zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('user_sichten','user_sichten','/edit/kern/user_sichten_edit.jsp','Benutzer und Sichten','In diesem Formular können Sie User-Rechte für Sichten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'); +values ('user_sichten','user_sichten','/edit/kern/user_sichten_edit.jsp','Benutzer und Sichten'::varchar(200),'In diesem Formular können Sie User-Rechte für Sichten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('group_sichten','group_sichten','/edit/kern/group_sichten_edit.jsp','Gruppen und Sichten','In diesem Formular können Sie Gruppen-Rechte für Sichten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'); +values ('group_sichten','group_sichten','/edit/kern/group_sichten_edit.jsp','Gruppen und Sichten'::varchar(200),'In diesem Formular können Sie Gruppen-Rechte für Sichten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_captions','sx_captions','/edit/kern/sx_captions_edit.jsp','Beschriftungen','In diesem Formular können Sie Beschriftungen bearbeiten. Für Masken- und Spalten- und Felderläuterungen.'); +values ('sx_captions','sx_captions','/edit/kern/sx_captions_edit.jsp','Beschriftungen'::varchar(200),'In diesem Formular können Sie Beschriftungen bearbeiten. Für Masken- und Spalten- und Felderläuterungen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('user_sichtarten','user_sichtarten','/edit/kern/user_sichtarten_edit.jsp','Benutzer und Sichtarten','In diesem Formular können Sie User-Rechte für Sichtarten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'); +values ('user_sichtarten','user_sichtarten','/edit/kern/user_sichtarten_edit.jsp','Benutzer und Sichtarten'::varchar(200),'In diesem Formular können Sie User-Rechte für Sichtarten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('group_sichtarten','group_sichtarten','/edit/kern/group_sichtarten_edit.jsp','Gruppen und Sichtarten','In diesem Formular können Sie Gruppen-Rechte für Sichtarten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'); +values ('group_sichtarten','group_sichtarten','/edit/kern/group_sichtarten_edit.jsp','Gruppen und Sichtarten'::varchar(200),'In diesem Formular können Sie Gruppen-Rechte für Sichtarten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_repository_edit','sx_repository','/edit/kern/sx_repository_edit.jsp','Hochschul-Repository','In diesem Formular können Sie hochschulspezifische Konstanten oder SQL-Ausdrücke bearbeiten.'); +values ('sx_repository_edit','sx_repository','/edit/kern/sx_repository_edit.jsp','Hochschul-Repository'::varchar(200),'In diesem Formular können Sie hochschulspezifische Konstanten oder SQL-Ausdrücke bearbeiten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_repository_list','sx_repository','/edit/kern/sx_repository_list.jsp','Hochschul-Repository','In diesem Formular können Sie hochschulspezifische Konstanten oder SQL-Ausdrücke bearbeiten.'); +values ('sx_repository_list','sx_repository','/edit/kern/sx_repository_list.jsp','Hochschul-Repository'::varchar(200),'In diesem Formular können Sie hochschulspezifische Konstanten oder SQL-Ausdrücke bearbeiten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_downloads','sx_downloads','/edit/kern/sx_downloads_edit.jsp','Downloads','In diesem Formular können Sie Downloads bearbeiten. '); +values ('sx_downloads','sx_downloads','/edit/kern/sx_downloads_edit.jsp','Downloads'::varchar(200),'In diesem Formular können Sie Downloads bearbeiten. '::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_keywords','sx_keywords','/edit/kern/sx_keywords_edit.jsp','Stichworte','In diesem Formular können Sie Stichworte bearbeiten. '); +values ('sx_keywords','sx_keywords','/edit/kern/sx_keywords_edit.jsp','Stichworte'::varchar(200),'In diesem Formular können Sie Stichworte bearbeiten. '::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sachgeb_sichten','sachgeb_sichten','/edit/kern/sachgeb_sichten_edit.jsp','Zuordnung Sichten zu Sachgebieten','In diesem Formular können Sie Sichten zu Sachgebieten zuordnen. '); +values ('sachgeb_sichten','sachgeb_sichten','/edit/kern/sachgeb_sichten_edit.jsp','Zuordnung Sichten zu Sachgebieten'::varchar(200),'In diesem Formular können Sie Sichten zu Sachgebieten zuordnen. '::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sachgeb_sichtarten','sachgeb_sichtarten','/edit/kern/sachgeb_sichtarten_edit.jsp','Zuordnung Sichtarten zu Sachgebieten','In diesem Formular können Sie Sichtarten zu Sachgebieten zuordnen. '); +values ('sachgeb_sichtarten','sachgeb_sichtarten','/edit/kern/sachgeb_sichtarten_edit.jsp','Zuordnung Sichtarten zu Sachgebieten'::varchar(200),'In diesem Formular können Sie Sichtarten zu Sachgebieten zuordnen. '::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('unload_params','unload_params','/edit/kern/unload_params_edit.jsp','Entladeparameter verwalten',''); +values ('unload_params','unload_params','/edit/kern/unload_params_edit.jsp','Entladeparameter verwalten'::varchar(200),''::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('trans_inst_list','trans_inst','/edit/kern/trans_inst_list.jsp','Kostenstellen transformieren (Liste)','In diesem Formular können Sie Kostenstellen umschlüsseln.'); +values ('trans_inst_list','trans_inst','/edit/kern/trans_inst_list.jsp','Kostenstellen transformieren (Liste)'::varchar(200),'In diesem Formular können Sie Kostenstellen umschlüsseln.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('trans_inst_edit','trans_inst','/edit/kern/trans_inst_edit.jsp','Kostenstellen transformieren (Details)','In diesem Formular können Sie Kostenstellen umschlüsseln.'); +values ('trans_inst_edit','trans_inst','/edit/kern/trans_inst_edit.jsp','Kostenstellen transformieren (Details)'::varchar(200),'In diesem Formular können Sie Kostenstellen umschlüsseln.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('data_upload_edit','data_upload','/edit/kern/data_upload_edit.jsp','Verzeichnis der Datei-Uploads','In diesem Formular können Sie Uploads bearbeiten. '); +values ('data_upload_edit','data_upload','/edit/kern/data_upload_edit.jsp','Verzeichnis der Datei-Uploads'::varchar(200),'In diesem Formular können Sie Uploads bearbeiten. '::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('stylesheet_field_edit','stylesheet_field','/edit/kern/stylesheet_field_edit.jsp','Stylesheets und zugehörige Felder','In diesem Formular können Sie von Stylesheets benötigte Felder entsprechend zuordnen.'); +values ('stylesheet_field_edit','stylesheet_field','/edit/kern/stylesheet_field_edit.jsp','Stylesheets und zugehörige Felder'::varchar(200),'In diesem Formular können Sie von Stylesheets benötigte Felder entsprechend zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('stylesheet_field_list','stylesheet_field','/edit/kern/stylesheet_field_list.jsp','Stylesheets und zugehörige Felder','In diesem Formular können Sie von Stylesheets benötigte Felder entsprechend zuordnen.'); +values ('stylesheet_field_list','stylesheet_field','/edit/kern/stylesheet_field_list.jsp','Stylesheets und zugehörige Felder'::varchar(200),'In diesem Formular können Sie von Stylesheets benötigte Felder entsprechend zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('group_field_pref_edit','group_field_pref','/edit/kern/group_field_pref_edit.jsp','Gruppen Feldattribute zuweisen','In diesem Formular können Sie Feldern in Masken für bestimmte Gruppen Attribute wie Verstecken zuweisen.'); +values ('group_field_pref_edit','group_field_pref','/edit/kern/group_field_pref_edit.jsp','Gruppen Feldattribute zuweisen'::varchar(200),'In diesem Formular können Sie Feldern in Masken für bestimmte Gruppen Attribute wie Verstecken zuweisen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('group_field_pref_list','group_field_pref','/edit/kern/group_field_pref_list.jsp','Gruppen Felderattribute zuweisen','In diesem Formular können Sie Feldern in Masken für bestimmte Gruppen Attribute wie Verstecken zuweisen.'); +values ('group_field_pref_list','group_field_pref','/edit/kern/group_field_pref_list.jsp','Gruppen Felderattribute zuweisen'::varchar(200),'In diesem Formular können Sie Feldern in Masken für bestimmte Gruppen Attribute wie Verstecken zuweisen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('fm_templates_list','fm_templates','/edit/kern/fm_templates_list.jsp','Freemarker-Templates bearbeiten','In diesem Formular können Sie Freemarker-Templates verwalten.'); +values ('fm_templates_list','fm_templates','/edit/kern/fm_templates_list.jsp','Freemarker-Templates bearbeiten'::varchar(200),'In diesem Formular können Sie Freemarker-Templates verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('fm_templates_edit','fm_templates','/edit/kern/fm_templates_edit.jsp','Freemarker-Templates bearbeiten','In diesem Formular können Sie Freemarker-Templates verwalten.'); +values ('fm_templates_edit','fm_templates','/edit/kern/fm_templates_edit.jsp','Freemarker-Templates bearbeiten'::varchar(200),'In diesem Formular können Sie Freemarker-Templates verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('dbconnections_list','dbconnections','/edit/kern/dbconnections_list.jsp','DB-Connections','In diesem Formular können Sie DB Connections bearbeiten.'); +values ('dbconnections_list','dbconnections','/edit/kern/dbconnections_list.jsp','DB-Connections'::varchar(200),'In diesem Formular können Sie DB Connections bearbeiten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('portlets_list','sx_portlet','/edit/kern/portlets_list.jsp','Portlets','In diesem Formular können Sie Portlets bearbeiten.'); +values ('portlets_list','sx_portlet','/edit/kern/portlets_list.jsp','Portlets'::varchar(200),'In diesem Formular können Sie Portlets bearbeiten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sichtart_rechttabelle_list','sichtart_rechttabelle','/edit/kern/sichtart_rechttabelle_list.jsp','Spezielle Sichtart-Rechte','In diesem Formular können Sie Rechtetabellen für Sichtarten bearbeiten.'); +values ('sichtart_rechttabelle_list','sichtart_rechttabelle','/edit/kern/sichtart_rechttabelle_list.jsp','Spezielle Sichtart-Rechte'::varchar(200),'In diesem Formular können Sie Rechtetabellen für Sichtarten bearbeiten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sichtart_rechttabelle_edit','sichtart_rechttabelle','/edit/kern/sichtart_rechttabelle_edit.jsp','Spezielle Sichtart-Rechte Einzelbarbeitung','In diesem Formular können Sie Rechtetabellen für Sichtarten bearbeiten.'); +values ('sichtart_rechttabelle_edit','sichtart_rechttabelle','/edit/kern/sichtart_rechttabelle_edit.jsp','Spezielle Sichtart-Rechte Einzelbarbeitung'::varchar(200),'In diesem Formular können Sie Rechtetabellen für Sichtarten bearbeiten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_jobs_edit','sx_jobs','/edit/kern/sx_jobs_edit.jsp','Ladejobs verwalten','In diesem Formular können Sie Ladejobs verwalten'); +values ('sx_jobs_edit','sx_jobs','/edit/kern/sx_jobs_edit.jsp','Ladejobs verwalten'::varchar(200),'In diesem Formular können Sie Ladejobs verwalten'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sx_jobs_list','sx_jobs','/edit/kern/sx_jobs_list.jsp','Ladejobs verwalten','In diesem Formular können Sie Ladejobs verwalten'); +values ('sx_jobs_list','sx_jobs','/edit/kern/sx_jobs_list.jsp','Ladejobs verwalten'::varchar(200),'In diesem Formular können Sie Ladejobs verwalten'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('organigramm_list','organigramm','/edit/kern/organigramm_list.jsp','Organigramm','In diesem Formular können Sie das Organigramm aufrufen'); +values ('organigramm_list','organigramm','/edit/kern/organigramm_list.jsp','Organigramm'::varchar(200),'In diesem Formular können Sie das Organigramm aufrufen'::varchar(255)); +insert into tmp_db_forms (name, tablename,form_path,caption,description) +values ('sx_stylesheet_param_edit','sx_stylesheet_param','/edit/kern/sx_stylesheet_param_edit.jsp','Stylesheet-Parameter'::varchar(200),'In diesem Formular können Sie Stylesheet-Parameter bearbeiten.'::varchar(255)); +insert into tmp_db_forms (name, tablename,form_path,caption,description) +values ('sx_stylesheet_param_list','sx_stylesheet_param','/edit/kern/sx_stylesheet_param_list.jsp','Stylesheet-Parameter'::varchar(200),'In diesem Formular können Sie Stylesheet-Parameter bearbeiten.'::varchar(255)); create temp table tmp_hilf(tid integer); insert into tmp_hilf select max(tid) from db_forms; @@ -475,5 +524,3 @@ from tmp_db_forms D, tmp_hilf H; drop table tmp_hilf; drop table tmp_db_forms; - -! DOSQL $SUPERX_DIR/db/install/kern_install_custom.sql diff --git a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_indexes_ids.sql b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_indexes_ids.sql index 09ebeca..2e9ea29 100644 --- a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_indexes_ids.sql +++ b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_indexes_ids.sql @@ -38,6 +38,7 @@ and (systables.tabname 'cifx', 'trans_cifx', 'trans_cif', +'cifx_customize', 'felderinfo', 'hochschulinfo', 'maske_system_bez', @@ -63,6 +64,7 @@ and (systables.tabname 'lehreinheit_inst', 'sx_stylesheets', 'sx_mask_style', +'sx_stylesheet_param', 'sx_captions', 'fm_templates', 'user_sichten', @@ -107,18 +109,38 @@ and (systables.tabname 'sx_portlet', 'user_portlet_bez', 'group_portlet_bez', +'kern_cifx_neu', 'sieve', 'sieve_column_def', 'sieve_column', 'sieve_field', 'sx_jobs', +'orgunit_mapping', +'implicit_orgunit_rights', +'kern_pruefrout', +'masken_statistik', +'dim_datum', +'hisinone_deleted_entity', +'etl_step', +'etl_step_type', +'etl_step_type_param', +'etl_step_property', +'etl_step_relation', +'etl_job', +'etl_job_param', +'k_astat_studienfach_land', +'k_astat_abschluss3steller_land', +'k_astat_abschluss2steller', +'k_astat_studienbereich', +'k_astat_studienfach', +'colorscheme', 'sx_mail' )); -! echo "Checking indexes" -! echo `date` +select now(),'Checking indexes' +from xdummy; <#assign exists="false" /> @@ -131,15 +153,15 @@ and (systables.tabname <#if exists="true" > -! echo "index ix_group_felder2 exists - fine" -! echo `date` +select now(),'index ix_group_felder2 exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_group_felder2" -! echo `date` +select now(),'Erzeuge Index ix_group_felder2' +from xdummy; create index ix_group_felder2 on group_field_pref (groupinfo_id ); @@ -155,15 +177,15 @@ create index ix_group_felder2 on group_field_pref (groupinfo_id ); <#if exists="true" > -! echo "index ix_style_feld2 exists - fine" -! echo `date` +select now(),'index ix_style_feld2 exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_style_feld2" -! echo `date` +select now(),'Erzeuge Index ix_style_feld2' +from xdummy; create index ix_style_feld2 on stylesheet_field (stylesheet_id ); @@ -179,15 +201,15 @@ create index ix_style_feld2 on stylesheet_field (stylesheet_id ); <#if exists="true" > -! echo "index uxdb_tabellen_name exists - fine" -! echo `date` +select now(),'index uxdb_tabellen_name exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index uxdb_tabellen_name" -! echo `date` +select now(),'Erzeuge Index uxdb_tabellen_name' +from xdummy; create unique index uxdb_tabellen_name on db_tabellen (name ); @@ -203,20 +225,44 @@ create unique index uxdb_tabellen_name on db_tabellen (name ); <#if exists="true" > -! echo "index xdb_tabellen_efm exists - fine" -! echo `date` +select now(),'index xdb_tabellen_efm exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index xdb_tabellen_efm" -! echo `date` +select now(),'Erzeuge Index xdb_tabellen_efm' +from xdummy; create index xdb_tabellen_efm on db_tabellen (db_einfuegemarke ); +<#assign exists="false" /> +<#list indexes as i> +<#if i.getName()="uxdb_version"> +<#assign exists="true" /> + + + +<#if exists="true" > + + +select now(),'index uxdb_version exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Index uxdb_version' +from xdummy; + +create unique index uxdb_version on db_version (his_system ); + + + <#assign exists="false" /> <#list indexes as i> <#if i.getName()="xdb_version_efm"> @@ -227,15 +273,15 @@ create index xdb_tabellen_efm on db_tabellen (db_einfuegemarke ); <#if exists="true" > -! echo "index xdb_version_efm exists - fine" -! echo `date` +select now(),'index xdb_version_efm exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index xdb_version_efm" -! echo `date` +select now(),'Erzeuge Index xdb_version_efm' +from xdummy; create index xdb_version_efm on db_version (db_einfuegemarke ); @@ -251,15 +297,15 @@ create index xdb_version_efm on db_version (db_einfuegemarke ); <#if exists="true" > -! echo "index ix_name_intern exists - fine" -! echo `date` +select now(),'index ix_name_intern exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_name_intern" -! echo `date` +select now(),'Erzeuge Index ix_name_intern' +from xdummy; create unique index ix_name_intern on sichten (name_intern ); @@ -275,15 +321,15 @@ create unique index ix_name_intern on sichten (name_intern ); <#if exists="true" > -! echo "index cif_ind exists - fine" -! echo `date` +select now(),'index cif_ind exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index cif_ind" -! echo `date` +select now(),'Erzeuge Index cif_ind' +from xdummy; create unique index cif_ind on cif (hs, key, @@ -301,15 +347,15 @@ apnr ); <#if exists="true" > -! echo "index cifx_ind exists - fine" -! echo `date` +select now(),'index cifx_ind exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index cifx_ind" -! echo `date` +select now(),'Erzeuge Index cifx_ind' +from xdummy; create unique index cifx_ind on cifx (hs, key, @@ -327,15 +373,15 @@ apnr ); <#if exists="true" > -! echo "index cifx_ind2 exists - fine" -! echo `date` +select now(),'index cifx_ind2 exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index cifx_ind2" -! echo `date` +select now(),'Erzeuge Index cifx_ind2' +from xdummy; create index cifx_ind2 on cifx (uniquename ); @@ -351,15 +397,15 @@ create index cifx_ind2 on cifx (uniquename ); <#if exists="true" > -! echo "index trans_cifx_ind exists - fine" -! echo `date` +select now(),'index trans_cifx_ind exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index trans_cifx_ind" -! echo `date` +select now(),'Erzeuge Index trans_cifx_ind' +from xdummy; create index trans_cifx_ind on trans_cifx (sourcesystem_id ); @@ -375,15 +421,15 @@ create index trans_cifx_ind on trans_cifx (sourcesystem_id ); <#if exists="true" > -! echo "index trans_cif_ind exists - fine" -! echo `date` +select now(),'index trans_cif_ind exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index trans_cif_ind" -! echo `date` +select now(),'Erzeuge Index trans_cif_ind' +from xdummy; create index trans_cif_ind on trans_cif (sourcesystem_id ); @@ -399,15 +445,15 @@ create index trans_cif_ind on trans_cif (sourcesystem_id ); <#if exists="true" > -! echo "index i_userinfo exists - fine" -! echo `date` +select now(),'index i_userinfo exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index i_userinfo" -! echo `date` +select now(),'Erzeuge Index i_userinfo' +from xdummy; create unique index i_userinfo on userinfo (benutzer ); @@ -423,15 +469,15 @@ create unique index i_userinfo on userinfo (benutzer ); <#if exists="true" > -! echo "index i_orga exists - fine" -! echo `date` +select now(),'index i_orga exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index i_orga" -! echo `date` +select now(),'Erzeuge Index i_orga' +from xdummy; create unique index i_orga on organigramm (key_apnr, gueltig_seit, @@ -449,15 +495,15 @@ gueltig_bis ); <#if exists="true" > -! echo "index ix130_3 exists - fine" -! echo `date` +select now(),'index ix130_3 exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix130_3" -! echo `date` +select now(),'Erzeuge Index ix130_3' +from xdummy; create index ix130_3 on organigramm (parent ); @@ -473,15 +519,15 @@ create index ix130_3 on organigramm (parent ); <#if exists="true" > -! echo "index i_orga_bak exists - fine" -! echo `date` +select now(),'index i_orga_bak exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index i_orga_bak" -! echo `date` +select now(),'Erzeuge Index i_orga_bak' +from xdummy; create unique index i_orga_bak on organigramm_bak (key_apnr, gueltig_seit, @@ -499,15 +545,15 @@ gueltig_bis ); <#if exists="true" > -! echo "index ix_user_inst1 exists - fine" -! echo `date` +select now(),'index ix_user_inst1 exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_user_inst1" -! echo `date` +select now(),'Erzeuge Index ix_user_inst1' +from xdummy; create index ix_user_inst1 on user_institution (ch110_institut ); @@ -523,15 +569,15 @@ create index ix_user_inst1 on user_institution (ch110_institut ); <#if exists="true" > -! echo "index ix_user_inst2 exists - fine" -! echo `date` +select now(),'index ix_user_inst2 exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_user_inst2" -! echo `date` +select now(),'Erzeuge Index ix_user_inst2' +from xdummy; create index ix_user_inst2 on user_institution (userid ); @@ -547,15 +593,15 @@ create index ix_user_inst2 on user_institution (userid ); <#if exists="true" > -! echo "index ix_user_inst3 exists - fine" -! echo `date` +select now(),'index ix_user_inst3 exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_user_inst3" -! echo `date` +select now(),'Erzeuge Index ix_user_inst3' +from xdummy; create index ix_user_inst3 on user_institution (gueltig_seit, gueltig_bis ); @@ -572,15 +618,15 @@ gueltig_bis ); <#if exists="true" > -! echo "index kostentr_ixktr exists - fine" -! echo `date` +select now(),'index kostentr_ixktr exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index kostentr_ixktr" -! echo `date` +select now(),'Erzeuge Index kostentr_ixktr' +from xdummy; create index kostentr_ixktr on kostentraeger (key_apnr ); @@ -596,15 +642,15 @@ create index kostentr_ixktr on kostentraeger (key_apnr ); <#if exists="true" > -! echo "index ix_user_ktr exists - fine" -! echo `date` +select now(),'index ix_user_ktr exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_user_ktr" -! echo `date` +select now(),'Erzeuge Index ix_user_ktr' +from xdummy; create index ix_user_ktr on user_kostentraeger (key_apnr ); @@ -620,15 +666,15 @@ create index ix_user_ktr on user_kostentraeger (key_apnr ); <#if exists="true" > -! echo "index ix_user_ktr2 exists - fine" -! echo `date` +select now(),'index ix_user_ktr2 exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_user_ktr2" -! echo `date` +select now(),'Erzeuge Index ix_user_ktr2' +from xdummy; create index ix_user_ktr2 on user_kostentraeger (userid ); @@ -644,15 +690,15 @@ create index ix_user_ktr2 on user_kostentraeger (userid ); <#if exists="true" > -! echo "index ix_kotr_to_inst1 exists - fine" -! echo `date` +select now(),'index ix_kotr_to_inst1 exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_kotr_to_inst1" -! echo `date` +select now(),'Erzeuge Index ix_kotr_to_inst1' +from xdummy; create index ix_kotr_to_inst1 on kotr_to_inst (projnr ); @@ -668,15 +714,15 @@ create index ix_kotr_to_inst1 on kotr_to_inst (projnr ); <#if exists="true" > -! echo "index ix_sx_captions exists - fine" -! echo `date` +select now(),'index ix_sx_captions exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_sx_captions" -! echo `date` +select now(),'Erzeuge Index ix_sx_captions' +from xdummy; create index ix_sx_captions on sx_captions (field_name ); @@ -692,15 +738,15 @@ create index ix_sx_captions on sx_captions (field_name ); <#if exists="true" > -! echo "index ix_sx_captions2 exists - fine" -! echo `date` +select now(),'index ix_sx_captions2 exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_sx_captions2" -! echo `date` +select now(),'Erzeuge Index ix_sx_captions2' +from xdummy; create index ix_sx_captions2 on sx_captions (table_name ); @@ -716,15 +762,15 @@ create index ix_sx_captions2 on sx_captions (table_name ); <#if exists="true" > -! echo "index ix_sx_captions3 exists - fine" -! echo `date` +select now(),'index ix_sx_captions3 exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_sx_captions3" -! echo `date` +select now(),'Erzeuge Index ix_sx_captions3' +from xdummy; create index ix_sx_captions3 on sx_captions (record_no ); @@ -740,15 +786,15 @@ create index ix_sx_captions3 on sx_captions (record_no ); <#if exists="true" > -! echo "index ix_sx_captions4 exists - fine" -! echo `date` +select now(),'index ix_sx_captions4 exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_sx_captions4" -! echo `date` +select now(),'Erzeuge Index ix_sx_captions4' +from xdummy; create index ix_sx_captions4 on sx_captions (locale ); @@ -764,15 +810,15 @@ create index ix_sx_captions4 on sx_captions (locale ); <#if exists="true" > -! echo "index ix_fm_templates_tid exists - fine" -! echo `date` +select now(),'index ix_fm_templates_tid exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_fm_templates_tid" -! echo `date` +select now(),'Erzeuge Index ix_fm_templates_tid' +from xdummy; create unique index ix_fm_templates_tid on fm_templates (id ); @@ -788,15 +834,15 @@ create unique index ix_fm_templates_tid on fm_templates (id ); <#if exists="true" > -! echo "index ix_sx_down_inst exists - fine" -! echo `date` +select now(),'index ix_sx_down_inst exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_sx_down_inst" -! echo `date` +select now(),'Erzeuge Index ix_sx_down_inst' +from xdummy; create index ix_sx_down_inst on sx_downloads (ch110_institut ); @@ -812,15 +858,15 @@ create index ix_sx_down_inst on sx_downloads (ch110_institut ); <#if exists="true" > -! echo "index ix_sx_down_dbat exists - fine" -! echo `date` +select now(),'index ix_sx_down_dbat exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_sx_down_dbat" -! echo `date` +select now(),'Erzeuge Index ix_sx_down_dbat' +from xdummy; create index ix_sx_down_dbat on sx_downloads (bezugsdatum, gueltig_seit, @@ -838,15 +884,15 @@ gueltig_bis ); <#if exists="true" > -! echo "index ix_ussp exists - fine" -! echo `date` +select now(),'index ix_ussp exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_ussp" -! echo `date` +select now(),'Erzeuge Index ix_ussp' +from xdummy; create index ix_ussp on user_startpage (userid ); @@ -862,15 +908,15 @@ create index ix_ussp on user_startpage (userid ); <#if exists="true" > -! echo "index ix_ussf exists - fine" -! echo `date` +select now(),'index ix_ussf exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_ussf" -! echo `date` +select now(),'Erzeuge Index ix_ussf' +from xdummy; create index ix_ussf on user_startfields (userid ); @@ -886,15 +932,15 @@ create index ix_ussf on user_startfields (userid ); <#if exists="true" > -! echo "index ix_sx_tables exists - fine" -! echo `date` +select now(),'index ix_sx_tables exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_sx_tables" -! echo `date` +select now(),'Erzeuge Index ix_sx_tables' +from xdummy; create unique index ix_sx_tables on sx_tables (name ); @@ -910,15 +956,15 @@ create unique index ix_sx_tables on sx_tables (name ); <#if exists="true" > -! echo "index ix_dim_bp_apnr exists - fine" -! echo `date` +select now(),'index ix_dim_bp_apnr exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_dim_bp_apnr" -! echo `date` +select now(),'Erzeuge Index ix_dim_bp_apnr' +from xdummy; create unique index ix_dim_bp_apnr on dim_bp_apnr (dimension_bp_id, apnr ); @@ -935,15 +981,15 @@ apnr ); <#if exists="true" > -! echo "index ix_dim_bp_apnr2 exists - fine" -! echo `date` +select now(),'index ix_dim_bp_apnr2 exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_dim_bp_apnr2" -! echo `date` +select now(),'Erzeuge Index ix_dim_bp_apnr2' +from xdummy; create index ix_dim_bp_apnr2 on dim_bp_apnr (systeminfo_id ); @@ -959,15 +1005,15 @@ create index ix_dim_bp_apnr2 on dim_bp_apnr (systeminfo_id ); <#if exists="true" > -! echo "index ix_level1_int1 exists - fine" -! echo `date` +select now(),'index ix_level1_int1 exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_level1_int1" -! echo `date` +select now(),'Erzeuge Index ix_level1_int1' +from xdummy; create index ix_level1_int1 on dim_bp_apnr (level1_int, level1_char ); @@ -984,15 +1030,15 @@ level1_char ); <#if exists="true" > -! echo "index ix_level1_int2 exists - fine" -! echo `date` +select now(),'index ix_level1_int2 exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_level1_int2" -! echo `date` +select now(),'Erzeuge Index ix_level1_int2' +from xdummy; create index ix_level1_int2 on dim_bp_apnr (level2_int, level2_char ); @@ -1009,15 +1055,15 @@ level2_char ); <#if exists="true" > -! echo "index ix_level3_int1 exists - fine" -! echo `date` +select now(),'index ix_level3_int1 exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_level3_int1" -! echo `date` +select now(),'Erzeuge Index ix_level3_int1' +from xdummy; create index ix_level3_int1 on dim_bp_apnr (level3_int, level3_char ); @@ -1034,15 +1080,15 @@ level3_char ); <#if exists="true" > -! echo "index ix_dim_bp_alts1 exists - fine" -! echo `date` +select now(),'index ix_dim_bp_alts1 exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_dim_bp_alts1" -! echo `date` +select now(),'Erzeuge Index ix_dim_bp_alts1' +from xdummy; create index ix_dim_bp_alts1 on dim_bp_altsicht_apnr (hierarchie_id ); @@ -1058,15 +1104,15 @@ create index ix_dim_bp_alts1 on dim_bp_altsicht_apnr (hierarchie_id ); <#if exists="true" > -! echo "index ix_dim_c1 exists - fine" -! echo `date` +select now(),'index ix_dim_c1 exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_dim_c1" -! echo `date` +select now(),'Erzeuge Index ix_dim_c1' +from xdummy; create index ix_dim_c1 on dim_closure (hierarchie_id, key ); @@ -1083,15 +1129,15 @@ key ); <#if exists="true" > -! echo "index ix_dim_c2 exists - fine" -! echo `date` +select now(),'index ix_dim_c2 exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_dim_c2" -! echo `date` +select now(),'Erzeuge Index ix_dim_c2' +from xdummy; create index ix_dim_c2 on dim_closure (hierarchie_id, parent, @@ -1109,15 +1155,15 @@ key ); <#if exists="true" > -! echo "index ix_tr_dim_bp_apnr exists - fine" -! echo `date` +select now(),'index ix_tr_dim_bp_apnr exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_tr_dim_bp_apnr" -! echo `date` +select now(),'Erzeuge Index ix_tr_dim_bp_apnr' +from xdummy; create index ix_tr_dim_bp_apnr on trans_dim_bp_apnr (dimension_bp_id, sourcesystem_id, @@ -1125,6 +1171,30 @@ systeminfo_id ); +<#assign exists="false" /> +<#list indexes as i> +<#if i.getName()="ix_sieve_column_defm"> +<#assign exists="true" /> + + + +<#if exists="true" > + + +select now(),'index ix_sieve_column_defm exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Index ix_sieve_column_defm' +from xdummy; + +create unique index ix_sieve_column_defm on sieve_column_def (m_id ); + + + <#assign exists="false" /> <#list indexes as i> <#if i.getName()="ix_sx_jobs_un"> @@ -1135,16 +1205,88 @@ systeminfo_id ); <#if exists="true" > -! echo "index ix_sx_jobs_un exists - fine" -! echo `date` +select now(),'index ix_sx_jobs_un exists - fine' +from xdummy; <#else> -! echo "Erzeuge Index ix_sx_jobs_un" -! echo `date` +select now(),'Erzeuge Index ix_sx_jobs_un' +from xdummy; create unique index ix_sx_jobs_un on sx_jobs (uniquename ); + +<#assign exists="false" /> +<#list indexes as i> +<#if i.getName()="ix_implicit_orgrights1"> +<#assign exists="true" /> + + + +<#if exists="true" > + + +select now(),'index ix_implicit_orgrights1 exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Index ix_implicit_orgrights1' +from xdummy; + +create index ix_implicit_orgrights1 on implicit_orgunit_rights (userinfo_id ); + + + +<#assign exists="false" /> +<#list indexes as i> +<#if i.getName()="ix_dim_datum_day_date"> +<#assign exists="true" /> + + + +<#if exists="true" > + + +select now(),'index ix_dim_datum_day_date exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Index ix_dim_datum_day_date' +from xdummy; + +create index ix_dim_datum_day_date on dim_datum (day_date ); + + + +<#assign exists="false" /> +<#list indexes as i> +<#if i.getName()="ix_etl_job1"> +<#assign exists="true" /> + + + +<#if exists="true" > + + +select now(),'index ix_etl_job1 exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Index ix_etl_job1' +from xdummy; + +create unique index ix_etl_job1 on etl_job (uniquename ); + + diff --git a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_tables_ids.sql b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_tables_ids.sql index 92ac666..76a0fd0 100644 --- a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_tables_ids.sql +++ b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_tables_ids.sql @@ -34,6 +34,7 @@ tabid,tabname as tabelle from systables where tabname 'cifx', 'trans_cifx', 'trans_cif', +'cifx_customize', 'felderinfo', 'hochschulinfo', 'maske_system_bez', @@ -59,6 +60,7 @@ tabid,tabname as tabelle from systables where tabname 'lehreinheit_inst', 'sx_stylesheets', 'sx_mask_style', +'sx_stylesheet_param', 'sx_captions', 'fm_templates', 'user_sichten', @@ -103,44 +105,69 @@ tabid,tabname as tabelle from systables where tabname 'sx_portlet', 'user_portlet_bez', 'group_portlet_bez', +'kern_cifx_neu', 'sieve', 'sieve_column_def', 'sieve_column', 'sieve_field', 'sx_jobs', +'orgunit_mapping', +'implicit_orgunit_rights', +'kern_pruefrout', +'masken_statistik', +'dim_datum', +'hisinone_deleted_entity', +'etl_step', +'etl_step_type', +'etl_step_type_param', +'etl_step_property', +'etl_step_relation', +'etl_job', +'etl_job_param', +'k_astat_studienfach_land', +'k_astat_abschluss3steller_land', +'k_astat_abschluss2steller', +'k_astat_studienbereich', +'k_astat_studienfach', +'colorscheme', 'sx_mail' ); <#assign deleted_tables = []> -<#if tables?seq_contains("update_prot_neu") > +<#if tables?is_sequence && tables?seq_contains("update_prot_neu") > drop table update_prot_neu; <#assign deleted_tables = deleted_tables + ["update_prot_neu"]> -<#if tables?seq_contains("personattribute_neu") > +<#if tables?is_sequence && tables?seq_contains("personattribute_neu") > drop table personattribute_neu; <#assign deleted_tables = deleted_tables + ["personattribute_neu"]> +<#if tables?is_sequence && tables?seq_contains("kern_cifx_neu") > +drop table kern_cifx_neu; +<#assign deleted_tables = deleted_tables + ["kern_cifx_neu"]> + + -! echo "Checking tables" -! echo `date` +select now(),'Checking tables' +from xdummy; -<#if !deleted_tables?seq_contains("sichtart_rechttabelle") && tables?seq_contains("sichtart_rechttabelle") > +<#if !deleted_tables?seq_contains("sichtart_rechttabelle") && tables?is_sequence && tables?seq_contains("sichtart_rechttabelle") > -! echo "table sichtart_rechttabelle exists - fine" -! echo `date` +select now(),'table sichtart_rechttabelle exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle sichtart_rechttabelle" -! echo `date` +select now(),'Erzeuge Tabelle sichtart_rechttabelle' +from xdummy; create table sichtart_rechttabelle( tid serial , @@ -160,18 +187,18 @@ fallback_user_inst char(1) default '0' , delete from db_tabellen where name='sichtart_rechttabelle'; insert into db_tabellen (name,protokollierung) values('sichtart_rechttabelle',0); -<#if !deleted_tables?seq_contains("group_field_pref") && tables?seq_contains("group_field_pref") > +<#if !deleted_tables?seq_contains("group_field_pref") && tables?is_sequence && tables?seq_contains("group_field_pref") > -! echo "table group_field_pref exists - fine" -! echo `date` +select now(),'table group_field_pref exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle group_field_pref" -! echo `date` +select now(),'Erzeuge Tabelle group_field_pref' +from xdummy; create table group_field_pref( tid serial , @@ -186,8 +213,8 @@ pref NVARCHAR(255) , -! echo "Erzeuge Index ix_group_felder2" -! echo `date` +select now(),'Erzeuge Index ix_group_felder2' +from xdummy; create index ix_group_felder2 on group_field_pref (groupinfo_id ); @@ -195,18 +222,18 @@ create index ix_group_felder2 on group_field_pref (groupinfo_id ); delete from db_tabellen where name='group_field_pref'; insert into db_tabellen (name,protokollierung) values('group_field_pref',0); -<#if !deleted_tables?seq_contains("stylesheet_field") && tables?seq_contains("stylesheet_field") > +<#if !deleted_tables?seq_contains("stylesheet_field") && tables?is_sequence && tables?seq_contains("stylesheet_field") > -! echo "table stylesheet_field exists - fine" -! echo `date` +select now(),'table stylesheet_field exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle stylesheet_field" -! echo `date` +select now(),'Erzeuge Tabelle stylesheet_field' +from xdummy; create table stylesheet_field( tid serial , @@ -221,8 +248,8 @@ fieldname NVARCHAR(255) , -! echo "Erzeuge Index ix_style_feld2" -! echo `date` +select now(),'Erzeuge Index ix_style_feld2' +from xdummy; create index ix_style_feld2 on stylesheet_field (stylesheet_id ); @@ -230,18 +257,18 @@ create index ix_style_feld2 on stylesheet_field (stylesheet_id ); delete from db_tabellen where name='stylesheet_field'; insert into db_tabellen (name,protokollierung) values('stylesheet_field',0); -<#if !deleted_tables?seq_contains("db_tabellen") && tables?seq_contains("db_tabellen") > +<#if !deleted_tables?seq_contains("db_tabellen") && tables?is_sequence && tables?seq_contains("db_tabellen") > -! echo "table db_tabellen exists - fine" -! echo `date` +select now(),'table db_tabellen exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle db_tabellen" -! echo `date` +select now(),'Erzeuge Tabelle db_tabellen' +from xdummy; create table db_tabellen( db_einfuegemarke CHAR(6) , @@ -256,14 +283,14 @@ protokollierung SMALLINT , -! echo "Erzeuge Index uxdb_tabellen_name" -! echo `date` +select now(),'Erzeuge Index uxdb_tabellen_name' +from xdummy; create unique index uxdb_tabellen_name on db_tabellen (name ); -! echo "Erzeuge Index xdb_tabellen_efm" -! echo `date` +select now(),'Erzeuge Index xdb_tabellen_efm' +from xdummy; create index xdb_tabellen_efm on db_tabellen (db_einfuegemarke ); @@ -271,18 +298,18 @@ create index xdb_tabellen_efm on db_tabellen (db_einfuegemarke ); delete from db_tabellen where name='db_tabellen'; insert into db_tabellen (name,protokollierung) values('db_tabellen',0); -<#if !deleted_tables?seq_contains("db_forms") && tables?seq_contains("db_forms") > +<#if !deleted_tables?seq_contains("db_forms") && tables?is_sequence && tables?seq_contains("db_forms") > -! echo "table db_forms exists - fine" -! echo `date` +select now(),'table db_forms exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle db_forms" -! echo `date` +select now(),'Erzeuge Tabelle db_forms' +from xdummy; create table db_forms( tid INTEGER not null, @@ -302,22 +329,22 @@ description NCHAR(255) , delete from db_tabellen where name='db_forms'; insert into db_tabellen (name,protokollierung) values('db_forms',0); -<#if !deleted_tables?seq_contains("db_version") && tables?seq_contains("db_version") > +<#if !deleted_tables?seq_contains("db_version") && tables?is_sequence && tables?seq_contains("db_version") > -! echo "table db_version exists - fine" -! echo `date` +select now(),'table db_version exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle db_version" -! echo `date` +select now(),'Erzeuge Tabelle db_version' +from xdummy; create table db_version( - db_einfuegemarke CHAR(6) , -his_system CHAR(20) , + db_einfuegemarke NVARCHAR(255) , +his_system NVARCHAR(255) , version CHAR(8) , kern_system CHAR(1) , version_hash VARCHAR(32) , @@ -330,8 +357,14 @@ systeminfo_id INTEGER , -! echo "Erzeuge Index xdb_version_efm" -! echo `date` +select now(),'Erzeuge Index uxdb_version' +from xdummy; + +create unique index uxdb_version on db_version (his_system ); + + +select now(),'Erzeuge Index xdb_version_efm' +from xdummy; create index xdb_version_efm on db_version (db_einfuegemarke ); @@ -339,18 +372,18 @@ create index xdb_version_efm on db_version (db_einfuegemarke ); delete from db_tabellen where name='db_version'; insert into db_tabellen (name,protokollierung) values('db_version',0); -<#if !deleted_tables?seq_contains("aggregierung") && tables?seq_contains("aggregierung") > +<#if !deleted_tables?seq_contains("aggregierung") && tables?is_sequence && tables?seq_contains("aggregierung") > -! echo "table aggregierung exists - fine" -! echo `date` +select now(),'table aggregierung exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle aggregierung" -! echo `date` +select now(),'Erzeuge Tabelle aggregierung' +from xdummy; create table aggregierung( tid INTEGER not null, @@ -369,18 +402,18 @@ wert NCHAR(255) , delete from db_tabellen where name='aggregierung'; insert into db_tabellen (name,protokollierung) values('aggregierung',0); -<#if !deleted_tables?seq_contains("sichten") && tables?seq_contains("sichten") > +<#if !deleted_tables?seq_contains("sichten") && tables?is_sequence && tables?seq_contains("sichten") > -! echo "table sichten exists - fine" -! echo `date` +select now(),'table sichten exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle sichten" -! echo `date` +select now(),'Erzeuge Tabelle sichten' +from xdummy; create table sichten( tid SERIAL not null, @@ -419,8 +452,8 @@ aktiv SMALLINT default 1 , -! echo "Erzeuge Index ix_name_intern" -! echo `date` +select now(),'Erzeuge Index ix_name_intern' +from xdummy; create unique index ix_name_intern on sichten (name_intern ); @@ -428,18 +461,18 @@ create unique index ix_name_intern on sichten (name_intern ); delete from db_tabellen where name='sichten'; insert into db_tabellen (name,protokollierung) values('sichten',0); -<#if !deleted_tables?seq_contains("lehr_orga_bez") && tables?seq_contains("lehr_orga_bez") > +<#if !deleted_tables?seq_contains("lehr_orga_bez") && tables?is_sequence && tables?seq_contains("lehr_orga_bez") > -! echo "table lehr_orga_bez exists - fine" -! echo `date` +select now(),'table lehr_orga_bez exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle lehr_orga_bez" -! echo `date` +select now(),'Erzeuge Tabelle lehr_orga_bez' +from xdummy; create table lehr_orga_bez( lehr_id CHAR(10) , @@ -456,18 +489,18 @@ gueltig_bis DATE delete from db_tabellen where name='lehr_orga_bez'; insert into db_tabellen (name,protokollierung) values('lehr_orga_bez',0); -<#if !deleted_tables?seq_contains("masken_felder_bez") && tables?seq_contains("masken_felder_bez") > +<#if !deleted_tables?seq_contains("masken_felder_bez") && tables?is_sequence && tables?seq_contains("masken_felder_bez") > -! echo "table masken_felder_bez exists - fine" -! echo `date` +select now(),'table masken_felder_bez exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle masken_felder_bez" -! echo `date` +select now(),'Erzeuge Tabelle masken_felder_bez' +from xdummy; create table masken_felder_bez( maskeninfo_id INTEGER , @@ -483,18 +516,18 @@ felderinfo_id INTEGER , delete from db_tabellen where name='masken_felder_bez'; insert into db_tabellen (name,protokollierung) values('masken_felder_bez',0); -<#if !deleted_tables?seq_contains("sachgebiete") && tables?seq_contains("sachgebiete") > +<#if !deleted_tables?seq_contains("sachgebiete") && tables?is_sequence && tables?seq_contains("sachgebiete") > -! echo "table sachgebiete exists - fine" -! echo `date` +select now(),'table sachgebiete exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle sachgebiete" -! echo `date` +select now(),'Erzeuge Tabelle sachgebiete' +from xdummy; create table sachgebiete( tid INTEGER , @@ -511,18 +544,18 @@ rightname NVARCHAR(255) , delete from db_tabellen where name='sachgebiete'; insert into db_tabellen (name,protokollierung) values('sachgebiete',0); -<#if !deleted_tables?seq_contains("sachgeb_maske_bez") && tables?seq_contains("sachgeb_maske_bez") > +<#if !deleted_tables?seq_contains("sachgeb_maske_bez") && tables?is_sequence && tables?seq_contains("sachgeb_maske_bez") > -! echo "table sachgeb_maske_bez exists - fine" -! echo `date` +select now(),'table sachgeb_maske_bez exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle sachgeb_maske_bez" -! echo `date` +select now(),'Erzeuge Tabelle sachgeb_maske_bez' +from xdummy; create table sachgeb_maske_bez( sachgebiete_id INTEGER , @@ -538,18 +571,18 @@ maskeninfo_id INTEGER , delete from db_tabellen where name='sachgeb_maske_bez'; insert into db_tabellen (name,protokollierung) values('sachgeb_maske_bez',0); -<#if !deleted_tables?seq_contains("sachgeb_dbform_bez") && tables?seq_contains("sachgeb_dbform_bez") > +<#if !deleted_tables?seq_contains("sachgeb_dbform_bez") && tables?is_sequence && tables?seq_contains("sachgeb_dbform_bez") > -! echo "table sachgeb_dbform_bez exists - fine" -! echo `date` +select now(),'table sachgeb_dbform_bez exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle sachgeb_dbform_bez" -! echo `date` +select now(),'Erzeuge Tabelle sachgeb_dbform_bez' +from xdummy; create table sachgeb_dbform_bez( sachgebiete_id INTEGER , @@ -565,18 +598,18 @@ dbform_id INTEGER , delete from db_tabellen where name='sachgeb_dbform_bez'; insert into db_tabellen (name,protokollierung) values('sachgeb_dbform_bez',0); -<#if !deleted_tables?seq_contains("user_masken_bez") && tables?seq_contains("user_masken_bez") > +<#if !deleted_tables?seq_contains("user_masken_bez") && tables?is_sequence && tables?seq_contains("user_masken_bez") > -! echo "table user_masken_bez exists - fine" -! echo `date` +select now(),'table user_masken_bez exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle user_masken_bez" -! echo `date` +select now(),'Erzeuge Tabelle user_masken_bez' +from xdummy; create table user_masken_bez( userinfo_id INTEGER , @@ -593,18 +626,18 @@ external_entry smallint default 0 , delete from db_tabellen where name='user_masken_bez'; insert into db_tabellen (name,protokollierung) values('user_masken_bez',0); -<#if !deleted_tables?seq_contains("user_sachgeb_bez") && tables?seq_contains("user_sachgeb_bez") > +<#if !deleted_tables?seq_contains("user_sachgeb_bez") && tables?is_sequence && tables?seq_contains("user_sachgeb_bez") > -! echo "table user_sachgeb_bez exists - fine" -! echo `date` +select now(),'table user_sachgeb_bez exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle user_sachgeb_bez" -! echo `date` +select now(),'Erzeuge Tabelle user_sachgeb_bez' +from xdummy; create table user_sachgeb_bez( userinfo_id INTEGER , @@ -621,18 +654,18 @@ external_entry smallint default 0 , delete from db_tabellen where name='user_sachgeb_bez'; insert into db_tabellen (name,protokollierung) values('user_sachgeb_bez',0); -<#if !deleted_tables?seq_contains("xdummy") && tables?seq_contains("xdummy") > +<#if !deleted_tables?seq_contains("xdummy") && tables?is_sequence && tables?seq_contains("xdummy") > -! echo "table xdummy exists - fine" -! echo `date` +select now(),'table xdummy exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle xdummy" -! echo `date` +select now(),'Erzeuge Tabelle xdummy' +from xdummy; create table xdummy( c CHAR(1) @@ -645,18 +678,18 @@ create table xdummy( delete from db_tabellen where name='xdummy'; insert into db_tabellen (name,protokollierung) values('xdummy',0); -<#if !deleted_tables?seq_contains("macro_masken_bez") && tables?seq_contains("macro_masken_bez") > +<#if !deleted_tables?seq_contains("macro_masken_bez") && tables?is_sequence && tables?seq_contains("macro_masken_bez") > -! echo "table macro_masken_bez exists - fine" -! echo `date` +select now(),'table macro_masken_bez exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle macro_masken_bez" -! echo `date` +select now(),'Erzeuge Tabelle macro_masken_bez' +from xdummy; create table macro_masken_bez( maskeninfo_id1 INTEGER not null, @@ -680,18 +713,18 @@ aktion NCHAR(255) , delete from db_tabellen where name='macro_masken_bez'; insert into db_tabellen (name,protokollierung) values('macro_masken_bez',0); -<#if !deleted_tables?seq_contains("graphicformat") && tables?seq_contains("graphicformat") > +<#if !deleted_tables?seq_contains("graphicformat") && tables?is_sequence && tables?seq_contains("graphicformat") > -! echo "table graphicformat exists - fine" -! echo `date` +select now(),'table graphicformat exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle graphicformat" -! echo `date` +select now(),'Erzeuge Tabelle graphicformat' +from xdummy; create table graphicformat( id NCHAR(100) not null, @@ -716,18 +749,18 @@ moreattribs TEXT , delete from db_tabellen where name='graphicformat'; insert into db_tabellen (name,protokollierung) values('graphicformat',0); -<#if !deleted_tables?seq_contains("macro_feld_wert") && tables?seq_contains("macro_feld_wert") > +<#if !deleted_tables?seq_contains("macro_feld_wert") && tables?is_sequence && tables?seq_contains("macro_feld_wert") > -! echo "table macro_feld_wert exists - fine" -! echo `date` +select now(),'table macro_feld_wert exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle macro_feld_wert" -! echo `date` +select now(),'Erzeuge Tabelle macro_feld_wert' +from xdummy; create table macro_feld_wert( macro INTEGER not null, @@ -748,18 +781,18 @@ active INTEGER default 1 not null delete from db_tabellen where name='macro_feld_wert'; insert into db_tabellen (name,protokollierung) values('macro_feld_wert',0); -<#if !deleted_tables?seq_contains("groupinfo") && tables?seq_contains("groupinfo") > +<#if !deleted_tables?seq_contains("groupinfo") && tables?is_sequence && tables?seq_contains("groupinfo") > -! echo "table groupinfo exists - fine" -! echo `date` +select now(),'table groupinfo exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle groupinfo" -! echo `date` +select now(),'Erzeuge Tabelle groupinfo' +from xdummy; create table groupinfo( tid INTEGER , @@ -775,18 +808,18 @@ name NCHAR(255) , delete from db_tabellen where name='groupinfo'; insert into db_tabellen (name,protokollierung) values('groupinfo',0); -<#if !deleted_tables?seq_contains("user_group_bez") && tables?seq_contains("user_group_bez") > +<#if !deleted_tables?seq_contains("user_group_bez") && tables?is_sequence && tables?seq_contains("user_group_bez") > -! echo "table user_group_bez exists - fine" -! echo `date` +select now(),'table user_group_bez exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle user_group_bez" -! echo `date` +select now(),'Erzeuge Tabelle user_group_bez' +from xdummy; create table user_group_bez( userinfo_id INTEGER , @@ -803,18 +836,18 @@ external_entry SMALLINT default 0 , delete from db_tabellen where name='user_group_bez'; insert into db_tabellen (name,protokollierung) values('user_group_bez',0); -<#if !deleted_tables?seq_contains("group_sachgeb_bez") && tables?seq_contains("group_sachgeb_bez") > +<#if !deleted_tables?seq_contains("group_sachgeb_bez") && tables?is_sequence && tables?seq_contains("group_sachgeb_bez") > -! echo "table group_sachgeb_bez exists - fine" -! echo `date` +select now(),'table group_sachgeb_bez exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle group_sachgeb_bez" -! echo `date` +select now(),'Erzeuge Tabelle group_sachgeb_bez' +from xdummy; create table group_sachgeb_bez( groupinfo_id INTEGER , @@ -830,18 +863,18 @@ sachgebiete_id INTEGER , delete from db_tabellen where name='group_sachgeb_bez'; insert into db_tabellen (name,protokollierung) values('group_sachgeb_bez',0); -<#if !deleted_tables?seq_contains("group_masken_bez") && tables?seq_contains("group_masken_bez") > +<#if !deleted_tables?seq_contains("group_masken_bez") && tables?is_sequence && tables?seq_contains("group_masken_bez") > -! echo "table group_masken_bez exists - fine" -! echo `date` +select now(),'table group_masken_bez exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle group_masken_bez" -! echo `date` +select now(),'Erzeuge Tabelle group_masken_bez' +from xdummy; create table group_masken_bez( groupinfo_id INTEGER , @@ -857,18 +890,18 @@ maskeninfo_id INTEGER , delete from db_tabellen where name='group_masken_bez'; insert into db_tabellen (name,protokollierung) values('group_masken_bez',0); -<#if !deleted_tables?seq_contains("aggre_bland") && tables?seq_contains("aggre_bland") > +<#if !deleted_tables?seq_contains("aggre_bland") && tables?is_sequence && tables?seq_contains("aggre_bland") > -! echo "table aggre_bland exists - fine" -! echo `date` +select now(),'table aggre_bland exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle aggre_bland" -! echo `date` +select now(),'Erzeuge Tabelle aggre_bland' +from xdummy; create table aggre_bland( tid INTEGER , @@ -885,18 +918,18 @@ text CHAR(40) not null, delete from db_tabellen where name='aggre_bland'; insert into db_tabellen (name,protokollierung) values('aggre_bland',0); -<#if !deleted_tables?seq_contains("cif") && tables?seq_contains("cif") > +<#if !deleted_tables?seq_contains("cif") && tables?is_sequence && tables?seq_contains("cif") > -! echo "table cif exists - fine" -! echo `date` +select now(),'table cif exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle cif" -! echo `date` +select now(),'Erzeuge Tabelle cif' +from xdummy; create table cif( tid INTEGER not null, @@ -910,7 +943,8 @@ druck NCHAR(100) , lang_1 NCHAR(100) , lang_2 NCHAR(150) , lang_3 NCHAR(250) , -sort1 INTEGER , +sort1 INTEGER , +uniquename NVARCHAR(255) , primary key (tid) constraint c_cif ) @@ -919,8 +953,8 @@ sort1 INTEGER , -! echo "Erzeuge Index cif_ind" -! echo `date` +select now(),'Erzeuge Index cif_ind' +from xdummy; create unique index cif_ind on cif (hs, key, @@ -930,18 +964,18 @@ apnr ); delete from db_tabellen where name='cif'; insert into db_tabellen (name,protokollierung) values('cif',0); -<#if !deleted_tables?seq_contains("cifx") && tables?seq_contains("cifx") > +<#if !deleted_tables?seq_contains("cifx") && tables?is_sequence && tables?seq_contains("cifx") > -! echo "table cifx exists - fine" -! echo `date` +select now(),'table cifx exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle cifx" -! echo `date` +select now(),'Erzeuge Tabelle cifx' +from xdummy; create table cifx( tid INTEGER not null, @@ -987,16 +1021,16 @@ parent_lid NVARCHAR(255) , -! echo "Erzeuge Index cifx_ind" -! echo `date` +select now(),'Erzeuge Index cifx_ind' +from xdummy; create unique index cifx_ind on cifx (hs, key, apnr ); -! echo "Erzeuge Index cifx_ind2" -! echo `date` +select now(),'Erzeuge Index cifx_ind2' +from xdummy; create index cifx_ind2 on cifx (uniquename ); @@ -1004,18 +1038,18 @@ create index cifx_ind2 on cifx (uniquename ); delete from db_tabellen where name='cifx'; insert into db_tabellen (name,protokollierung) values('cifx',0); -<#if !deleted_tables?seq_contains("trans_cifx") && tables?seq_contains("trans_cifx") > +<#if !deleted_tables?seq_contains("trans_cifx") && tables?is_sequence && tables?seq_contains("trans_cifx") > -! echo "table trans_cifx exists - fine" -! echo `date` +select now(),'table trans_cifx exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle trans_cifx" -! echo `date` +select now(),'Erzeuge Tabelle trans_cifx' +from xdummy; create table trans_cifx( key SMALLINT not null, @@ -1030,8 +1064,8 @@ systeminfo_id INTEGER -! echo "Erzeuge Index trans_cifx_ind" -! echo `date` +select now(),'Erzeuge Index trans_cifx_ind' +from xdummy; create index trans_cifx_ind on trans_cifx (sourcesystem_id ); @@ -1039,18 +1073,18 @@ create index trans_cifx_ind on trans_cifx (sourcesystem_id ); delete from db_tabellen where name='trans_cifx'; insert into db_tabellen (name,protokollierung) values('trans_cifx',0); -<#if !deleted_tables?seq_contains("trans_cif") && tables?seq_contains("trans_cif") > +<#if !deleted_tables?seq_contains("trans_cif") && tables?is_sequence && tables?seq_contains("trans_cif") > -! echo "table trans_cif exists - fine" -! echo `date` +select now(),'table trans_cif exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle trans_cif" -! echo `date` +select now(),'Erzeuge Tabelle trans_cif' +from xdummy; create table trans_cif( key SMALLINT not null, @@ -1065,8 +1099,8 @@ systeminfo_id INTEGER -! echo "Erzeuge Index trans_cif_ind" -! echo `date` +select now(),'Erzeuge Index trans_cif_ind' +from xdummy; create index trans_cif_ind on trans_cif (sourcesystem_id ); @@ -1074,18 +1108,51 @@ create index trans_cif_ind on trans_cif (sourcesystem_id ); delete from db_tabellen where name='trans_cif'; insert into db_tabellen (name,protokollierung) values('trans_cif',0); -<#if !deleted_tables?seq_contains("felderinfo") && tables?seq_contains("felderinfo") > +<#if !deleted_tables?seq_contains("cifx_customize") && tables?is_sequence && tables?seq_contains("cifx_customize") > + + +select now(),'table cifx_customize exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Tabelle cifx_customize' +from xdummy; + +create table cifx_customize( + tid SERIAL not null, +cifx_table NVARCHAR(255) not null, +key SMALLINT not null, +apnr CHAR(10) not null, +kurz NVARCHAR(255) , +druck NVARCHAR(255) default 'Drucktext' , +lang_1 NVARCHAR(255) , +uniquename NVARCHAR(255) , + primary key (tid) + constraint c_cifx_customize +) +; + + + + +delete from db_tabellen where name='cifx_customize'; +insert into db_tabellen (name,protokollierung) values('cifx_customize',0); + +<#if !deleted_tables?seq_contains("felderinfo") && tables?is_sequence && tables?seq_contains("felderinfo") > -! echo "table felderinfo exists - fine" -! echo `date` +select now(),'table felderinfo exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle felderinfo" -! echo `date` +select now(),'Erzeuge Tabelle felderinfo' +from xdummy; create table felderinfo( tid INTEGER not null, @@ -1114,18 +1181,18 @@ defaultwert NCHAR(255) , delete from db_tabellen where name='felderinfo'; insert into db_tabellen (name,protokollierung) values('felderinfo',0); -<#if !deleted_tables?seq_contains("hochschulinfo") && tables?seq_contains("hochschulinfo") > +<#if !deleted_tables?seq_contains("hochschulinfo") && tables?is_sequence && tables?seq_contains("hochschulinfo") > -! echo "table hochschulinfo exists - fine" -! echo `date` +select now(),'table hochschulinfo exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle hochschulinfo" -! echo `date` +select now(),'Erzeuge Tabelle hochschulinfo' +from xdummy; create table hochschulinfo( name NCHAR(100) not null, @@ -1146,18 +1213,18 @@ passwd CHAR(16) , delete from db_tabellen where name='hochschulinfo'; insert into db_tabellen (name,protokollierung) values('hochschulinfo',0); -<#if !deleted_tables?seq_contains("maske_system_bez") && tables?seq_contains("maske_system_bez") > +<#if !deleted_tables?seq_contains("maske_system_bez") && tables?is_sequence && tables?seq_contains("maske_system_bez") > -! echo "table maske_system_bez exists - fine" -! echo `date` +select now(),'table maske_system_bez exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle maske_system_bez" -! echo `date` +select now(),'Erzeuge Tabelle maske_system_bez' +from xdummy; create table maske_system_bez( maskeninfo_id INTEGER not null, @@ -1173,18 +1240,18 @@ systeminfo_id INTEGER not null, delete from db_tabellen where name='maske_system_bez'; insert into db_tabellen (name,protokollierung) values('maske_system_bez',0); -<#if !deleted_tables?seq_contains("maskeninfo") && tables?seq_contains("maskeninfo") > +<#if !deleted_tables?seq_contains("maskeninfo") && tables?is_sequence && tables?seq_contains("maskeninfo") > -! echo "table maskeninfo exists - fine" -! echo `date` +select now(),'table maskeninfo exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle maskeninfo" -! echo `date` +select now(),'Erzeuge Tabelle maskeninfo' +from xdummy; create table maskeninfo( tid INTEGER not null, @@ -1213,18 +1280,18 @@ hinweis text , delete from db_tabellen where name='maskeninfo'; insert into db_tabellen (name,protokollierung) values('maskeninfo',0); -<#if !deleted_tables?seq_contains("proto_funktion") && tables?seq_contains("proto_funktion") > +<#if !deleted_tables?seq_contains("proto_funktion") && tables?is_sequence && tables?seq_contains("proto_funktion") > -! echo "table proto_funktion exists - fine" -! echo `date` +select now(),'table proto_funktion exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle proto_funktion" -! echo `date` +select now(),'Erzeuge Tabelle proto_funktion' +from xdummy; create table proto_funktion( proto_fkt_id SMALLINT not null, @@ -1240,23 +1307,23 @@ proto_fkt CHAR(20) not null, delete from db_tabellen where name='proto_funktion'; insert into db_tabellen (name,protokollierung) values('proto_funktion',0); -<#if !deleted_tables?seq_contains("systeminfo") && tables?seq_contains("systeminfo") > +<#if !deleted_tables?seq_contains("systeminfo") && tables?is_sequence && tables?seq_contains("systeminfo") > -! echo "table systeminfo exists - fine" -! echo `date` +select now(),'table systeminfo exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle systeminfo" -! echo `date` +select now(),'Erzeuge Tabelle systeminfo' +from xdummy; create table systeminfo( tid INTEGER not null, name CHAR(50) not null, -datum DATE , +datum datetime year to second , primary key (tid) constraint c_systeminfo ) @@ -1268,18 +1335,18 @@ datum DATE , delete from db_tabellen where name='systeminfo'; insert into db_tabellen (name,protokollierung) values('systeminfo',0); -<#if !deleted_tables?seq_contains("user_einstellungen") && tables?seq_contains("user_einstellungen") > +<#if !deleted_tables?seq_contains("user_einstellungen") && tables?is_sequence && tables?seq_contains("user_einstellungen") > -! echo "table user_einstellungen exists - fine" -! echo `date` +select now(),'table user_einstellungen exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle user_einstellungen" -! echo `date` +select now(),'Erzeuge Tabelle user_einstellungen' +from xdummy; create table user_einstellungen( tid INTEGER not null, @@ -1295,18 +1362,18 @@ arbeitsverzeichnis NCHAR(255) , delete from db_tabellen where name='user_einstellungen'; insert into db_tabellen (name,protokollierung) values('user_einstellungen',0); -<#if !deleted_tables?seq_contains("userinfo") && tables?seq_contains("userinfo") > +<#if !deleted_tables?seq_contains("userinfo") && tables?is_sequence && tables?seq_contains("userinfo") > -! echo "table userinfo exists - fine" -! echo `date` +select now(),'table userinfo exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle userinfo" -! echo `date` +select now(),'Erzeuge Tabelle userinfo' +from xdummy; create table userinfo( tid INTEGER not null, @@ -1322,7 +1389,8 @@ passwd_sha NCHAR(255) , info NCHAR(255) , extern_account_id NVARCHAR(255) , extern_person_id NVARCHAR(255) , -sieht_projekte SMALLINT default 0 , +sieht_projekte SMALLINT default 0 , +extern_role_id INTEGER , primary key (tid) constraint c_userinfo ) @@ -1331,8 +1399,8 @@ sieht_projekte SMALLINT default 0 , -! echo "Erzeuge Index i_userinfo" -! echo `date` +select now(),'Erzeuge Index i_userinfo' +from xdummy; create unique index i_userinfo on userinfo (benutzer ); @@ -1340,18 +1408,18 @@ create unique index i_userinfo on userinfo (benutzer ); delete from db_tabellen where name='userinfo'; insert into db_tabellen (name,protokollierung) values('userinfo',0); -<#if !deleted_tables?seq_contains("themenbaum") && tables?seq_contains("themenbaum") > +<#if !deleted_tables?seq_contains("themenbaum") && tables?is_sequence && tables?seq_contains("themenbaum") > -! echo "table themenbaum exists - fine" -! echo `date` +select now(),'table themenbaum exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle themenbaum" -! echo `date` +select now(),'Erzeuge Tabelle themenbaum' +from xdummy; create table themenbaum( tid SERIAL , @@ -1374,18 +1442,18 @@ css_class NVARCHAR(255) , delete from db_tabellen where name='themenbaum'; insert into db_tabellen (name,protokollierung) values('themenbaum',0); -<#if !deleted_tables?seq_contains("themenbaum_bak") && tables?seq_contains("themenbaum_bak") > +<#if !deleted_tables?seq_contains("themenbaum_bak") && tables?is_sequence && tables?seq_contains("themenbaum_bak") > -! echo "table themenbaum_bak exists - fine" -! echo `date` +select now(),'table themenbaum_bak exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle themenbaum_bak" -! echo `date` +select now(),'Erzeuge Tabelle themenbaum_bak' +from xdummy; create table themenbaum_bak( tid INTEGER , @@ -1404,18 +1472,18 @@ erlaeuterung NCHAR(240) delete from db_tabellen where name='themenbaum_bak'; insert into db_tabellen (name,protokollierung) values('themenbaum_bak',0); -<#if !deleted_tables?seq_contains("nachricht") && tables?seq_contains("nachricht") > +<#if !deleted_tables?seq_contains("nachricht") && tables?is_sequence && tables?seq_contains("nachricht") > -! echo "table nachricht exists - fine" -! echo `date` +select now(),'table nachricht exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle nachricht" -! echo `date` +select now(),'Erzeuge Tabelle nachricht' +from xdummy; create table nachricht( aktuell NCHAR(255) @@ -1428,18 +1496,18 @@ create table nachricht( delete from db_tabellen where name='nachricht'; insert into db_tabellen (name,protokollierung) values('nachricht',0); -<#if !deleted_tables?seq_contains("menu_element") && tables?seq_contains("menu_element") > +<#if !deleted_tables?seq_contains("menu_element") && tables?is_sequence && tables?seq_contains("menu_element") > -! echo "table menu_element exists - fine" -! echo `date` +select now(),'table menu_element exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle menu_element" -! echo `date` +select now(),'Erzeuge Tabelle menu_element' +from xdummy; create table menu_element( id INTEGER not null, @@ -1459,18 +1527,18 @@ annotation NVARCHAR(255) , delete from db_tabellen where name='menu_element'; insert into db_tabellen (name,protokollierung) values('menu_element',0); -<#if !deleted_tables?seq_contains("dbconnections") && tables?seq_contains("dbconnections") > +<#if !deleted_tables?seq_contains("dbconnections") && tables?is_sequence && tables?seq_contains("dbconnections") > -! echo "table dbconnections exists - fine" -! echo `date` +select now(),'table dbconnections exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle dbconnections" -! echo `date` +select now(),'Erzeuge Tabelle dbconnections' +from xdummy; create table dbconnections( id NVARCHAR(255) not null, @@ -1494,25 +1562,25 @@ testsql NVARCHAR(255) , delete from db_tabellen where name='dbconnections'; insert into db_tabellen (name,protokollierung) values('dbconnections',0); -<#if !deleted_tables?seq_contains("organigramm") && tables?seq_contains("organigramm") > +<#if !deleted_tables?seq_contains("organigramm") && tables?is_sequence && tables?seq_contains("organigramm") > -! echo "table organigramm exists - fine" -! echo `date` +select now(),'table organigramm exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle organigramm" -! echo `date` +select now(),'Erzeuge Tabelle organigramm' +from xdummy; create table organigramm( - tid INTEGER not null, + tid SERIAL not null, key_apnr CHAR(10) , parent CHAR(10) , -drucktext CHAR(50) , -name NCHAR(150) , +drucktext NVARCHAR(255) , +name NVARCHAR(255) , ebene INTEGER , lehre SMALLINT not null, gueltig_seit DATE not null, @@ -1531,16 +1599,16 @@ nodeattrib SMALLINT -! echo "Erzeuge Index i_orga" -! echo `date` +select now(),'Erzeuge Index i_orga' +from xdummy; create unique index i_orga on organigramm (key_apnr, gueltig_seit, gueltig_bis ); -! echo "Erzeuge Index ix130_3" -! echo `date` +select now(),'Erzeuge Index ix130_3' +from xdummy; create index ix130_3 on organigramm (parent ); @@ -1548,38 +1616,45 @@ create index ix130_3 on organigramm (parent ); delete from db_tabellen where name='organigramm'; insert into db_tabellen (name,protokollierung) values('organigramm',0); -<#if !deleted_tables?seq_contains("organigramm_bak") && tables?seq_contains("organigramm_bak") > +<#if !deleted_tables?seq_contains("organigramm_bak") && tables?is_sequence && tables?seq_contains("organigramm_bak") > -! echo "table organigramm_bak exists - fine" -! echo `date` +select now(),'table organigramm_bak exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle organigramm_bak" -! echo `date` +select now(),'Erzeuge Tabelle organigramm_bak' +from xdummy; create table organigramm_bak( tid INTEGER not null, key_apnr CHAR(10) , parent CHAR(10) , -drucktext CHAR(50) , -name NCHAR(150) , +drucktext NVARCHAR(255) , +name NVARCHAR(255) , ebene INTEGER , -lehre SMALLINT , +lehre SMALLINT not null, gueltig_seit DATE not null, gueltig_bis DATE not null, -orgstruktur INTEGER +orgstruktur INTEGER , +lid NVARCHAR(255) , +parent_lid NVARCHAR(255) , +uniquename NVARCHAR(255) , +sourcesystem INTEGER , +sourcesystem_id NVARCHAR(255) , +systeminfo_id INTEGER , +nodeattrib SMALLINT ) ; -! echo "Erzeuge Index i_orga_bak" -! echo `date` +select now(),'Erzeuge Index i_orga_bak' +from xdummy; create unique index i_orga_bak on organigramm_bak (key_apnr, gueltig_seit, @@ -1589,18 +1664,18 @@ gueltig_bis ); delete from db_tabellen where name='organigramm_bak'; insert into db_tabellen (name,protokollierung) values('organigramm_bak',0); -<#if !deleted_tables?seq_contains("user_institution") && tables?seq_contains("user_institution") > +<#if !deleted_tables?seq_contains("user_institution") && tables?is_sequence && tables?seq_contains("user_institution") > -! echo "table user_institution exists - fine" -! echo `date` +select now(),'table user_institution exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle user_institution" -! echo `date` +select now(),'Erzeuge Tabelle user_institution' +from xdummy; create table user_institution( userid INTEGER not null, @@ -1620,20 +1695,20 @@ externalid NVARCHAR(200) , -! echo "Erzeuge Index ix_user_inst1" -! echo `date` +select now(),'Erzeuge Index ix_user_inst1' +from xdummy; create index ix_user_inst1 on user_institution (ch110_institut ); -! echo "Erzeuge Index ix_user_inst2" -! echo `date` +select now(),'Erzeuge Index ix_user_inst2' +from xdummy; create index ix_user_inst2 on user_institution (userid ); -! echo "Erzeuge Index ix_user_inst3" -! echo `date` +select now(),'Erzeuge Index ix_user_inst3' +from xdummy; create index ix_user_inst3 on user_institution (gueltig_seit, gueltig_bis ); @@ -1642,18 +1717,18 @@ gueltig_bis ); delete from db_tabellen where name='user_institution'; insert into db_tabellen (name,protokollierung) values('user_institution',0); -<#if !deleted_tables?seq_contains("kostentraeger") && tables?seq_contains("kostentraeger") > +<#if !deleted_tables?seq_contains("kostentraeger") && tables?is_sequence && tables?seq_contains("kostentraeger") > -! echo "table kostentraeger exists - fine" -! echo `date` +select now(),'table kostentraeger exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle kostentraeger" -! echo `date` +select now(),'Erzeuge Tabelle kostentraeger' +from xdummy; create table kostentraeger( key_apnr CHAR(50) , @@ -1674,8 +1749,8 @@ info NVARCHAR(215) -! echo "Erzeuge Index kostentr_ixktr" -! echo `date` +select now(),'Erzeuge Index kostentr_ixktr' +from xdummy; create index kostentr_ixktr on kostentraeger (key_apnr ); @@ -1683,18 +1758,18 @@ create index kostentr_ixktr on kostentraeger (key_apnr ); delete from db_tabellen where name='kostentraeger'; insert into db_tabellen (name,protokollierung) values('kostentraeger',0); -<#if !deleted_tables?seq_contains("user_kostentraeger") && tables?seq_contains("user_kostentraeger") > +<#if !deleted_tables?seq_contains("user_kostentraeger") && tables?is_sequence && tables?seq_contains("user_kostentraeger") > -! echo "table user_kostentraeger exists - fine" -! echo `date` +select now(),'table user_kostentraeger exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle user_kostentraeger" -! echo `date` +select now(),'Erzeuge Tabelle user_kostentraeger' +from xdummy; create table user_kostentraeger( userid INTEGER not null, @@ -1712,14 +1787,14 @@ externalid NVARCHAR(200) , -! echo "Erzeuge Index ix_user_ktr" -! echo `date` +select now(),'Erzeuge Index ix_user_ktr' +from xdummy; create index ix_user_ktr on user_kostentraeger (key_apnr ); -! echo "Erzeuge Index ix_user_ktr2" -! echo `date` +select now(),'Erzeuge Index ix_user_ktr2' +from xdummy; create index ix_user_ktr2 on user_kostentraeger (userid ); @@ -1727,18 +1802,18 @@ create index ix_user_ktr2 on user_kostentraeger (userid ); delete from db_tabellen where name='user_kostentraeger'; insert into db_tabellen (name,protokollierung) values('user_kostentraeger',0); -<#if !deleted_tables?seq_contains("kotr_to_inst") && tables?seq_contains("kotr_to_inst") > +<#if !deleted_tables?seq_contains("kotr_to_inst") && tables?is_sequence && tables?seq_contains("kotr_to_inst") > -! echo "table kotr_to_inst exists - fine" -! echo `date` +select now(),'table kotr_to_inst exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle kotr_to_inst" -! echo `date` +select now(),'Erzeuge Tabelle kotr_to_inst' +from xdummy; create table kotr_to_inst( projnr CHAR(24) , @@ -1750,8 +1825,8 @@ haupt_kst_kz CHAR(1) -! echo "Erzeuge Index ix_kotr_to_inst1" -! echo `date` +select now(),'Erzeuge Index ix_kotr_to_inst1' +from xdummy; create index ix_kotr_to_inst1 on kotr_to_inst (projnr ); @@ -1759,18 +1834,18 @@ create index ix_kotr_to_inst1 on kotr_to_inst (projnr ); delete from db_tabellen where name='kotr_to_inst'; insert into db_tabellen (name,protokollierung) values('kotr_to_inst',0); -<#if !deleted_tables?seq_contains("protokoll") && tables?seq_contains("protokoll") > +<#if !deleted_tables?seq_contains("protokoll") && tables?is_sequence && tables?seq_contains("protokoll") > -! echo "table protokoll exists - fine" -! echo `date` +select now(),'table protokoll exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle protokoll" -! echo `date` +select now(),'Erzeuge Tabelle protokoll' +from xdummy; create table protokoll( protokoll_id SERIAL not null, @@ -1791,18 +1866,18 @@ kommentar NVARCHAR(255) , delete from db_tabellen where name='protokoll'; insert into db_tabellen (name,protokollierung) values('protokoll',0); -<#if !deleted_tables?seq_contains("trans_inst") && tables?seq_contains("trans_inst") > +<#if !deleted_tables?seq_contains("trans_inst") && tables?is_sequence && tables?seq_contains("trans_inst") > -! echo "table trans_inst exists - fine" -! echo `date` +select now(),'table trans_inst exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle trans_inst" -! echo `date` +select now(),'Erzeuge Tabelle trans_inst' +from xdummy; create table trans_inst( tid SERIAL not null, @@ -1823,21 +1898,21 @@ systeminfo_id INTEGER , delete from db_tabellen where name='trans_inst'; insert into db_tabellen (name,protokollierung) values('trans_inst',0); -<#if !deleted_tables?seq_contains("konstanten") && tables?seq_contains("konstanten") > +<#if !deleted_tables?seq_contains("konstanten") && tables?is_sequence && tables?seq_contains("konstanten") > -! echo "table konstanten exists - fine" -! echo `date` +select now(),'table konstanten exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle konstanten" -! echo `date` +select now(),'Erzeuge Tabelle konstanten' +from xdummy; create table konstanten( - tid INTEGER not null, + tid serial not null, apnr INTEGER , beschreibung NVARCHAR(255) , defaultvalue INTEGER , @@ -1848,7 +1923,9 @@ doku_link NVARCHAR(255) , read_only INTEGER , wertebereich NVARCHAR(255) , ab_version VARCHAR(20) , -gruppe NVARCHAR(100) , +gruppe NVARCHAR(100) , +priority INTEGER , +sourcesystem INTEGER , primary key (tid) constraint co_konstanten ) @@ -1860,18 +1937,18 @@ gruppe NVARCHAR(100) , delete from db_tabellen where name='konstanten'; insert into db_tabellen (name,protokollierung) values('konstanten',0); -<#if !deleted_tables?seq_contains("lehreinheit_inst") && tables?seq_contains("lehreinheit_inst") > +<#if !deleted_tables?seq_contains("lehreinheit_inst") && tables?is_sequence && tables?seq_contains("lehreinheit_inst") > -! echo "table lehreinheit_inst exists - fine" -! echo `date` +select now(),'table lehreinheit_inst exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle lehreinheit_inst" -! echo `date` +select now(),'Erzeuge Tabelle lehreinheit_inst' +from xdummy; create table lehreinheit_inst( key_apnr CHAR(10) , @@ -1889,18 +1966,18 @@ gueltig_bis DATE delete from db_tabellen where name='lehreinheit_inst'; insert into db_tabellen (name,protokollierung) values('lehreinheit_inst',0); -<#if !deleted_tables?seq_contains("sx_stylesheets") && tables?seq_contains("sx_stylesheets") > +<#if !deleted_tables?seq_contains("sx_stylesheets") && tables?is_sequence && tables?seq_contains("sx_stylesheets") > -! echo "table sx_stylesheets exists - fine" -! echo `date` +select now(),'table sx_stylesheets exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle sx_stylesheets" -! echo `date` +select now(),'Erzeuge Tabelle sx_stylesheets' +from xdummy; create table sx_stylesheets( tid SERIAL not null, @@ -1910,7 +1987,11 @@ description NCHAR(255) , relation CHAR(10) , useragent NCHAR(255) , contenttype NCHAR(200) , -is_generic SMALLINT default 0 , +is_generic SMALLINT default 0 , +toolbar_icon_filepath NVARCHAR(255) , +usage_resultset_data CHAR(10) default 'T' , +stylesheet_type CHAR(10) default 'XSL' , +jr_datasource CHAR(10) , primary key (tid) constraint c_stylesheets ) @@ -1922,18 +2003,18 @@ is_generic SMALLINT default 0 , delete from db_tabellen where name='sx_stylesheets'; insert into db_tabellen (name,protokollierung) values('sx_stylesheets',0); -<#if !deleted_tables?seq_contains("sx_mask_style") && tables?seq_contains("sx_mask_style") > +<#if !deleted_tables?seq_contains("sx_mask_style") && tables?is_sequence && tables?seq_contains("sx_mask_style") > -! echo "table sx_mask_style exists - fine" -! echo `date` +select now(),'table sx_mask_style exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle sx_mask_style" -! echo `date` +select now(),'Erzeuge Tabelle sx_mask_style' +from xdummy; create table sx_mask_style( tid SERIAL not null, @@ -1951,18 +2032,49 @@ ord SMALLINT , delete from db_tabellen where name='sx_mask_style'; insert into db_tabellen (name,protokollierung) values('sx_mask_style',0); -<#if !deleted_tables?seq_contains("sx_captions") && tables?seq_contains("sx_captions") > +<#if !deleted_tables?seq_contains("sx_stylesheet_param") && tables?is_sequence && tables?seq_contains("sx_stylesheet_param") > -! echo "table sx_captions exists - fine" -! echo `date` +select now(),'table sx_stylesheet_param exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle sx_captions" -! echo `date` +select now(),'Erzeuge Tabelle sx_stylesheet_param' +from xdummy; + +create table sx_stylesheet_param( + tid SERIAL not null, +stylesheet_id INTEGER not null, +param_name NVARCHAR(255) not null, +default_val NVARCHAR(255) , +description NVARCHAR(255) , +wertebereich NVARCHAR(255) , + primary key (tid) + constraint c_stylesheet_param +) +; + + + + +delete from db_tabellen where name='sx_stylesheet_param'; +insert into db_tabellen (name,protokollierung) values('sx_stylesheet_param',0); + +<#if !deleted_tables?seq_contains("sx_captions") && tables?is_sequence && tables?seq_contains("sx_captions") > + + +select now(),'table sx_captions exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Tabelle sx_captions' +from xdummy; create table sx_captions( tid SERIAL not null, @@ -1985,26 +2097,26 @@ export_to_glossar INTEGER , -! echo "Erzeuge Index ix_sx_captions" -! echo `date` +select now(),'Erzeuge Index ix_sx_captions' +from xdummy; create index ix_sx_captions on sx_captions (field_name ); -! echo "Erzeuge Index ix_sx_captions2" -! echo `date` +select now(),'Erzeuge Index ix_sx_captions2' +from xdummy; create index ix_sx_captions2 on sx_captions (table_name ); -! echo "Erzeuge Index ix_sx_captions3" -! echo `date` +select now(),'Erzeuge Index ix_sx_captions3' +from xdummy; create index ix_sx_captions3 on sx_captions (record_no ); -! echo "Erzeuge Index ix_sx_captions4" -! echo `date` +select now(),'Erzeuge Index ix_sx_captions4' +from xdummy; create index ix_sx_captions4 on sx_captions (locale ); @@ -2012,18 +2124,18 @@ create index ix_sx_captions4 on sx_captions (locale ); delete from db_tabellen where name='sx_captions'; insert into db_tabellen (name,protokollierung) values('sx_captions',0); -<#if !deleted_tables?seq_contains("fm_templates") && tables?seq_contains("fm_templates") > +<#if !deleted_tables?seq_contains("fm_templates") && tables?is_sequence && tables?seq_contains("fm_templates") > -! echo "table fm_templates exists - fine" -! echo `date` +select now(),'table fm_templates exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle fm_templates" -! echo `date` +select now(),'Erzeuge Tabelle fm_templates' +from xdummy; create table fm_templates( tid SERIAL not null, @@ -2040,8 +2152,8 @@ version integer default 1 , -! echo "Erzeuge Index ix_fm_templates_tid" -! echo `date` +select now(),'Erzeuge Index ix_fm_templates_tid' +from xdummy; create unique index ix_fm_templates_tid on fm_templates (id ); @@ -2049,18 +2161,18 @@ create unique index ix_fm_templates_tid on fm_templates (id ); delete from db_tabellen where name='fm_templates'; insert into db_tabellen (name,protokollierung) values('fm_templates',0); -<#if !deleted_tables?seq_contains("user_sichten") && tables?seq_contains("user_sichten") > +<#if !deleted_tables?seq_contains("user_sichten") && tables?is_sequence && tables?seq_contains("user_sichten") > -! echo "table user_sichten exists - fine" -! echo `date` +select now(),'table user_sichten exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle user_sichten" -! echo `date` +select now(),'Erzeuge Tabelle user_sichten' +from xdummy; create table user_sichten( userinfo_id INTEGER not null, @@ -2077,18 +2189,18 @@ external_entry smallint default 0 , delete from db_tabellen where name='user_sichten'; insert into db_tabellen (name,protokollierung) values('user_sichten',0); -<#if !deleted_tables?seq_contains("user_sichtarten") && tables?seq_contains("user_sichtarten") > +<#if !deleted_tables?seq_contains("user_sichtarten") && tables?is_sequence && tables?seq_contains("user_sichtarten") > -! echo "table user_sichtarten exists - fine" -! echo `date` +select now(),'table user_sichtarten exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle user_sichtarten" -! echo `date` +select now(),'Erzeuge Tabelle user_sichtarten' +from xdummy; create table user_sichtarten( userinfo_id INTEGER not null, @@ -2105,18 +2217,18 @@ external_entry smallint default 0 , delete from db_tabellen where name='user_sichtarten'; insert into db_tabellen (name,protokollierung) values('user_sichtarten',0); -<#if !deleted_tables?seq_contains("group_sichten") && tables?seq_contains("group_sichten") > +<#if !deleted_tables?seq_contains("group_sichten") && tables?is_sequence && tables?seq_contains("group_sichten") > -! echo "table group_sichten exists - fine" -! echo `date` +select now(),'table group_sichten exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle group_sichten" -! echo `date` +select now(),'Erzeuge Tabelle group_sichten' +from xdummy; create table group_sichten( groupinfo_id INTEGER , @@ -2132,18 +2244,18 @@ sicht_name_intern NCHAR(200) , delete from db_tabellen where name='group_sichten'; insert into db_tabellen (name,protokollierung) values('group_sichten',0); -<#if !deleted_tables?seq_contains("group_sichtarten") && tables?seq_contains("group_sichtarten") > +<#if !deleted_tables?seq_contains("group_sichtarten") && tables?is_sequence && tables?seq_contains("group_sichtarten") > -! echo "table group_sichtarten exists - fine" -! echo `date` +select now(),'table group_sichtarten exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle group_sichtarten" -! echo `date` +select now(),'Erzeuge Tabelle group_sichtarten' +from xdummy; create table group_sichtarten( groupinfo_id INTEGER , @@ -2159,18 +2271,18 @@ sichtart NCHAR(255) , delete from db_tabellen where name='group_sichtarten'; insert into db_tabellen (name,protokollierung) values('group_sichtarten',0); -<#if !deleted_tables?seq_contains("sachgeb_sichten") && tables?seq_contains("sachgeb_sichten") > +<#if !deleted_tables?seq_contains("sachgeb_sichten") && tables?is_sequence && tables?seq_contains("sachgeb_sichten") > -! echo "table sachgeb_sichten exists - fine" -! echo `date` +select now(),'table sachgeb_sichten exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle sachgeb_sichten" -! echo `date` +select now(),'Erzeuge Tabelle sachgeb_sichten' +from xdummy; create table sachgeb_sichten( sachgebiete_id INTEGER , @@ -2186,18 +2298,18 @@ sicht_name_intern NCHAR(200) , delete from db_tabellen where name='sachgeb_sichten'; insert into db_tabellen (name,protokollierung) values('sachgeb_sichten',0); -<#if !deleted_tables?seq_contains("sachgeb_sichtarten") && tables?seq_contains("sachgeb_sichtarten") > +<#if !deleted_tables?seq_contains("sachgeb_sichtarten") && tables?is_sequence && tables?seq_contains("sachgeb_sichtarten") > -! echo "table sachgeb_sichtarten exists - fine" -! echo `date` +select now(),'table sachgeb_sichtarten exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle sachgeb_sichtarten" -! echo `date` +select now(),'Erzeuge Tabelle sachgeb_sichtarten' +from xdummy; create table sachgeb_sichtarten( sachgebiete_id INTEGER , @@ -2213,18 +2325,18 @@ sichtart NCHAR(255) , delete from db_tabellen where name='sachgeb_sichtarten'; insert into db_tabellen (name,protokollierung) values('sachgeb_sichtarten',0); -<#if !deleted_tables?seq_contains("sx_repository") && tables?seq_contains("sx_repository") > +<#if !deleted_tables?seq_contains("sx_repository") && tables?is_sequence && tables?seq_contains("sx_repository") > -! echo "table sx_repository exists - fine" -! echo `date` +select now(),'table sx_repository exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle sx_repository" -! echo `date` +select now(),'Erzeuge Tabelle sx_repository' +from xdummy; create table sx_repository( tid SERIAL not null, @@ -2255,18 +2367,18 @@ gueltig_bis DATE default '01.01.3000' not null, delete from db_tabellen where name='sx_repository'; insert into db_tabellen (name,protokollierung) values('sx_repository',0); -<#if !deleted_tables?seq_contains("user_pw") && tables?seq_contains("user_pw") > +<#if !deleted_tables?seq_contains("user_pw") && tables?is_sequence && tables?seq_contains("user_pw") > -! echo "table user_pw exists - fine" -! echo `date` +select now(),'table user_pw exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle user_pw" -! echo `date` +select now(),'Erzeuge Tabelle user_pw' +from xdummy; create table user_pw( userinfo_id INTEGER not null, @@ -2297,18 +2409,18 @@ zeitpunkt7 datetime year to second , delete from db_tabellen where name='user_pw'; insert into db_tabellen (name,protokollierung) values('user_pw',0); -<#if !deleted_tables?seq_contains("sx_downloads") && tables?seq_contains("sx_downloads") > +<#if !deleted_tables?seq_contains("sx_downloads") && tables?is_sequence && tables?seq_contains("sx_downloads") > -! echo "table sx_downloads exists - fine" -! echo `date` +select now(),'table sx_downloads exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle sx_downloads" -! echo `date` +select now(),'Erzeuge Tabelle sx_downloads' +from xdummy; create table sx_downloads( tid SERIAL not null, @@ -2330,14 +2442,14 @@ gueltig_bis DATE default '01.01.3000' not null, -! echo "Erzeuge Index ix_sx_down_inst" -! echo `date` +select now(),'Erzeuge Index ix_sx_down_inst' +from xdummy; create index ix_sx_down_inst on sx_downloads (ch110_institut ); -! echo "Erzeuge Index ix_sx_down_dbat" -! echo `date` +select now(),'Erzeuge Index ix_sx_down_dbat' +from xdummy; create index ix_sx_down_dbat on sx_downloads (bezugsdatum, gueltig_seit, @@ -2347,18 +2459,18 @@ gueltig_bis ); delete from db_tabellen where name='sx_downloads'; insert into db_tabellen (name,protokollierung) values('sx_downloads',0); -<#if !deleted_tables?seq_contains("download_group_bez") && tables?seq_contains("download_group_bez") > +<#if !deleted_tables?seq_contains("download_group_bez") && tables?is_sequence && tables?seq_contains("download_group_bez") > -! echo "table download_group_bez exists - fine" -! echo `date` +select now(),'table download_group_bez exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle download_group_bez" -! echo `date` +select now(),'Erzeuge Tabelle download_group_bez' +from xdummy; create table download_group_bez( groupinfo_id INTEGER , @@ -2374,18 +2486,18 @@ download_id INTEGER , delete from db_tabellen where name='download_group_bez'; insert into db_tabellen (name,protokollierung) values('download_group_bez',0); -<#if !deleted_tables?seq_contains("download_user_bez") && tables?seq_contains("download_user_bez") > +<#if !deleted_tables?seq_contains("download_user_bez") && tables?is_sequence && tables?seq_contains("download_user_bez") > -! echo "table download_user_bez exists - fine" -! echo `date` +select now(),'table download_user_bez exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle download_user_bez" -! echo `date` +select now(),'Erzeuge Tabelle download_user_bez' +from xdummy; create table download_user_bez( userinfo_id INTEGER , @@ -2401,18 +2513,18 @@ download_id INTEGER , delete from db_tabellen where name='download_user_bez'; insert into db_tabellen (name,protokollierung) values('download_user_bez',0); -<#if !deleted_tables?seq_contains("download_keyw_bez") && tables?seq_contains("download_keyw_bez") > +<#if !deleted_tables?seq_contains("download_keyw_bez") && tables?is_sequence && tables?seq_contains("download_keyw_bez") > -! echo "table download_keyw_bez exists - fine" -! echo `date` +select now(),'table download_keyw_bez exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle download_keyw_bez" -! echo `date` +select now(),'Erzeuge Tabelle download_keyw_bez' +from xdummy; create table download_keyw_bez( keyword_id INTEGER , @@ -2428,18 +2540,18 @@ download_id INTEGER , delete from db_tabellen where name='download_keyw_bez'; insert into db_tabellen (name,protokollierung) values('download_keyw_bez',0); -<#if !deleted_tables?seq_contains("sx_keywords") && tables?seq_contains("sx_keywords") > +<#if !deleted_tables?seq_contains("sx_keywords") && tables?is_sequence && tables?seq_contains("sx_keywords") > -! echo "table sx_keywords exists - fine" -! echo `date` +select now(),'table sx_keywords exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle sx_keywords" -! echo `date` +select now(),'Erzeuge Tabelle sx_keywords' +from xdummy; create table sx_keywords( tid SERIAL , @@ -2456,18 +2568,18 @@ parent INTEGER , delete from db_tabellen where name='sx_keywords'; insert into db_tabellen (name,protokollierung) values('sx_keywords',0); -<#if !deleted_tables?seq_contains("user_startpage") && tables?seq_contains("user_startpage") > +<#if !deleted_tables?seq_contains("user_startpage") && tables?is_sequence && tables?seq_contains("user_startpage") > -! echo "table user_startpage exists - fine" -! echo `date` +select now(),'table user_startpage exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle user_startpage" -! echo `date` +select now(),'Erzeuge Tabelle user_startpage' +from xdummy; create table user_startpage( tid serial not null, @@ -2491,8 +2603,8 @@ active integer not null, -! echo "Erzeuge Index ix_ussp" -! echo `date` +select now(),'Erzeuge Index ix_ussp' +from xdummy; create index ix_ussp on user_startpage (userid ); @@ -2500,18 +2612,18 @@ create index ix_ussp on user_startpage (userid ); delete from db_tabellen where name='user_startpage'; insert into db_tabellen (name,protokollierung) values('user_startpage',0); -<#if !deleted_tables?seq_contains("user_startfields") && tables?seq_contains("user_startfields") > +<#if !deleted_tables?seq_contains("user_startfields") && tables?is_sequence && tables?seq_contains("user_startfields") > -! echo "table user_startfields exists - fine" -! echo `date` +select now(),'table user_startfields exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle user_startfields" -! echo `date` +select now(),'Erzeuge Tabelle user_startfields' +from xdummy; create table user_startfields( tid serial not null, @@ -2527,8 +2639,8 @@ active integer not null, -! echo "Erzeuge Index ix_ussf" -! echo `date` +select now(),'Erzeuge Index ix_ussf' +from xdummy; create index ix_ussf on user_startfields (userid ); @@ -2536,18 +2648,18 @@ create index ix_ussf on user_startfields (userid ); delete from db_tabellen where name='user_startfields'; insert into db_tabellen (name,protokollierung) values('user_startfields',0); -<#if !deleted_tables?seq_contains("user_dialog") && tables?seq_contains("user_dialog") > +<#if !deleted_tables?seq_contains("user_dialog") && tables?is_sequence && tables?seq_contains("user_dialog") > -! echo "table user_dialog exists - fine" -! echo `date` +select now(),'table user_dialog exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle user_dialog" -! echo `date` +select now(),'Erzeuge Tabelle user_dialog' +from xdummy; create table user_dialog( id SERIAL not null, @@ -2577,18 +2689,18 @@ attrib3 NVARCHAR(255) , delete from db_tabellen where name='user_dialog'; insert into db_tabellen (name,protokollierung) values('user_dialog',0); -<#if !deleted_tables?seq_contains("user_dialog_accept") && tables?seq_contains("user_dialog_accept") > +<#if !deleted_tables?seq_contains("user_dialog_accept") && tables?is_sequence && tables?seq_contains("user_dialog_accept") > -! echo "table user_dialog_accept exists - fine" -! echo `date` +select now(),'table user_dialog_accept exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle user_dialog_accept" -! echo `date` +select now(),'Erzeuge Tabelle user_dialog_accept' +from xdummy; create table user_dialog_accept( id SERIAL not null, @@ -2608,18 +2720,18 @@ timestamp datetime year to second not null, delete from db_tabellen where name='user_dialog_accept'; insert into db_tabellen (name,protokollierung) values('user_dialog_accept',0); -<#if !deleted_tables?seq_contains("user_hinweis") && tables?seq_contains("user_hinweis") > +<#if !deleted_tables?seq_contains("user_hinweis") && tables?is_sequence && tables?seq_contains("user_hinweis") > -! echo "table user_hinweis exists - fine" -! echo `date` +select now(),'table user_hinweis exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle user_hinweis" -! echo `date` +select now(),'Erzeuge Tabelle user_hinweis' +from xdummy; create table user_hinweis( userinfo_id INTEGER not null, @@ -2635,18 +2747,18 @@ hinweise_id integer not null, delete from db_tabellen where name='user_hinweis'; insert into db_tabellen (name,protokollierung) values('user_hinweis',0); -<#if !deleted_tables?seq_contains("group_hinweis") && tables?seq_contains("group_hinweis") > +<#if !deleted_tables?seq_contains("group_hinweis") && tables?is_sequence && tables?seq_contains("group_hinweis") > -! echo "table group_hinweis exists - fine" -! echo `date` +select now(),'table group_hinweis exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle group_hinweis" -! echo `date` +select now(),'Erzeuge Tabelle group_hinweis' +from xdummy; create table group_hinweis( groupinfo_id INTEGER not null, @@ -2662,18 +2774,18 @@ hinweise_id integer not null, delete from db_tabellen where name='group_hinweis'; insert into db_tabellen (name,protokollierung) values('group_hinweis',0); -<#if !deleted_tables?seq_contains("unload_params") && tables?seq_contains("unload_params") > +<#if !deleted_tables?seq_contains("unload_params") && tables?is_sequence && tables?seq_contains("unload_params") > -! echo "table unload_params exists - fine" -! echo `date` +select now(),'table unload_params exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle unload_params" -! echo `date` +select now(),'Erzeuge Tabelle unload_params' +from xdummy; create table unload_params( tid SERIAL not null, @@ -2681,7 +2793,12 @@ param_id NVARCHAR(255) not null, param_val NVARCHAR(255) , default_val NVARCHAR(255) , description NVARCHAR(255) , -systeminfo_id INTEGER , +systeminfo_id INTEGER , +priority INTEGER , +sourcesystem INTEGER , +wertebereich NVARCHAR(255) , +ab_version VARCHAR(20) , +gruppe NVARCHAR(100) , primary key (tid) constraint c_unload_params ) @@ -2693,18 +2810,18 @@ systeminfo_id INTEGER , delete from db_tabellen where name='unload_params'; insert into db_tabellen (name,protokollierung) values('unload_params',0); -<#if !deleted_tables?seq_contains("sx_tables") && tables?seq_contains("sx_tables") > +<#if !deleted_tables?seq_contains("sx_tables") && tables?is_sequence && tables?seq_contains("sx_tables") > -! echo "table sx_tables exists - fine" -! echo `date` +select now(),'table sx_tables exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle sx_tables" -! echo `date` +select now(),'Erzeuge Tabelle sx_tables' +from xdummy; create table sx_tables( tid SERIAL not null, @@ -2724,8 +2841,8 @@ sachgebiete_id NVARCHAR(255) , -! echo "Erzeuge Index ix_sx_tables" -! echo `date` +select now(),'Erzeuge Index ix_sx_tables' +from xdummy; create unique index ix_sx_tables on sx_tables (name ); @@ -2733,18 +2850,18 @@ create unique index ix_sx_tables on sx_tables (name ); delete from db_tabellen where name='sx_tables'; insert into db_tabellen (name,protokollierung) values('sx_tables',0); -<#if !deleted_tables?seq_contains("sx_fields") && tables?seq_contains("sx_fields") > +<#if !deleted_tables?seq_contains("sx_fields") && tables?is_sequence && tables?seq_contains("sx_fields") > -! echo "table sx_fields exists - fine" -! echo `date` +select now(),'table sx_fields exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle sx_fields" -! echo `date` +select now(),'Erzeuge Tabelle sx_fields' +from xdummy; create table sx_fields( tid SERIAL not null, @@ -2777,18 +2894,18 @@ foreignkey_uniquename NVARCHAR(255) , delete from db_tabellen where name='sx_fields'; insert into db_tabellen (name,protokollierung) values('sx_fields',0); -<#if !deleted_tables?seq_contains("dimension_bp") && tables?seq_contains("dimension_bp") > +<#if !deleted_tables?seq_contains("dimension_bp") && tables?is_sequence && tables?seq_contains("dimension_bp") > -! echo "table dimension_bp exists - fine" -! echo `date` +select now(),'table dimension_bp exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle dimension_bp" -! echo `date` +select now(),'Erzeuge Tabelle dimension_bp' +from xdummy; create table dimension_bp( tid SERIAL not null, @@ -2819,18 +2936,18 @@ system_key NVARCHAR(255) , delete from db_tabellen where name='dimension_bp'; insert into db_tabellen (name,protokollierung) values('dimension_bp',0); -<#if !deleted_tables?seq_contains("dimension") && tables?seq_contains("dimension") > +<#if !deleted_tables?seq_contains("dimension") && tables?is_sequence && tables?seq_contains("dimension") > -! echo "table dimension exists - fine" -! echo `date` +select now(),'table dimension exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle dimension" -! echo `date` +select now(),'Erzeuge Tabelle dimension' +from xdummy; create table dimension( tid SERIAL not null, @@ -2856,18 +2973,18 @@ system_key NVARCHAR(255) , delete from db_tabellen where name='dimension'; insert into db_tabellen (name,protokollierung) values('dimension',0); -<#if !deleted_tables?seq_contains("dim_bp_apnr") && tables?seq_contains("dim_bp_apnr") > +<#if !deleted_tables?seq_contains("dim_bp_apnr") && tables?is_sequence && tables?seq_contains("dim_bp_apnr") > -! echo "table dim_bp_apnr exists - fine" -! echo `date` +select now(),'table dim_bp_apnr exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle dim_bp_apnr" -! echo `date` +select now(),'Erzeuge Tabelle dim_bp_apnr' +from xdummy; create table dim_bp_apnr( dimension_bp_id INTEGER not null, @@ -2894,35 +3011,35 @@ sortorder INTEGER -! echo "Erzeuge Index ix_dim_bp_apnr" -! echo `date` +select now(),'Erzeuge Index ix_dim_bp_apnr' +from xdummy; create unique index ix_dim_bp_apnr on dim_bp_apnr (dimension_bp_id, apnr ); -! echo "Erzeuge Index ix_dim_bp_apnr2" -! echo `date` +select now(),'Erzeuge Index ix_dim_bp_apnr2' +from xdummy; create index ix_dim_bp_apnr2 on dim_bp_apnr (systeminfo_id ); -! echo "Erzeuge Index ix_level1_int1" -! echo `date` +select now(),'Erzeuge Index ix_level1_int1' +from xdummy; create index ix_level1_int1 on dim_bp_apnr (level1_int, level1_char ); -! echo "Erzeuge Index ix_level1_int2" -! echo `date` +select now(),'Erzeuge Index ix_level1_int2' +from xdummy; create index ix_level1_int2 on dim_bp_apnr (level2_int, level2_char ); -! echo "Erzeuge Index ix_level3_int1" -! echo `date` +select now(),'Erzeuge Index ix_level3_int1' +from xdummy; create index ix_level3_int1 on dim_bp_apnr (level3_int, level3_char ); @@ -2931,18 +3048,18 @@ level3_char ); delete from db_tabellen where name='dim_bp_apnr'; insert into db_tabellen (name,protokollierung) values('dim_bp_apnr',0); -<#if !deleted_tables?seq_contains("dim_bp_altsicht_apnr") && tables?seq_contains("dim_bp_altsicht_apnr") > +<#if !deleted_tables?seq_contains("dim_bp_altsicht_apnr") && tables?is_sequence && tables?seq_contains("dim_bp_altsicht_apnr") > -! echo "table dim_bp_altsicht_apnr exists - fine" -! echo `date` +select now(),'table dim_bp_altsicht_apnr exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle dim_bp_altsicht_apnr" -! echo `date` +select now(),'Erzeuge Tabelle dim_bp_altsicht_apnr' +from xdummy; create table dim_bp_altsicht_apnr( hierarchie_id NVARCHAR(200) not null, @@ -2958,8 +3075,8 @@ systeminfo_id INTEGER -! echo "Erzeuge Index ix_dim_bp_alts1" -! echo `date` +select now(),'Erzeuge Index ix_dim_bp_alts1' +from xdummy; create index ix_dim_bp_alts1 on dim_bp_altsicht_apnr (hierarchie_id ); @@ -2967,18 +3084,18 @@ create index ix_dim_bp_alts1 on dim_bp_altsicht_apnr (hierarchie_id ); delete from db_tabellen where name='dim_bp_altsicht_apnr'; insert into db_tabellen (name,protokollierung) values('dim_bp_altsicht_apnr',0); -<#if !deleted_tables?seq_contains("dim_closure") && tables?seq_contains("dim_closure") > +<#if !deleted_tables?seq_contains("dim_closure") && tables?is_sequence && tables?seq_contains("dim_closure") > -! echo "table dim_closure exists - fine" -! echo `date` +select now(),'table dim_closure exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle dim_closure" -! echo `date` +select now(),'Erzeuge Tabelle dim_closure' +from xdummy; create table dim_closure( dimension_bp_id INTEGER , @@ -2992,15 +3109,15 @@ distance INTEGER -! echo "Erzeuge Index ix_dim_c1" -! echo `date` +select now(),'Erzeuge Index ix_dim_c1' +from xdummy; create index ix_dim_c1 on dim_closure (hierarchie_id, key ); -! echo "Erzeuge Index ix_dim_c2" -! echo `date` +select now(),'Erzeuge Index ix_dim_c2' +from xdummy; create index ix_dim_c2 on dim_closure (hierarchie_id, parent, @@ -3010,18 +3127,18 @@ key ); delete from db_tabellen where name='dim_closure'; insert into db_tabellen (name,protokollierung) values('dim_closure',0); -<#if !deleted_tables?seq_contains("mondrian_schema") && tables?seq_contains("mondrian_schema") > +<#if !deleted_tables?seq_contains("mondrian_schema") && tables?is_sequence && tables?seq_contains("mondrian_schema") > -! echo "table mondrian_schema exists - fine" -! echo `date` +select now(),'table mondrian_schema exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle mondrian_schema" -! echo `date` +select now(),'Erzeuge Tabelle mondrian_schema' +from xdummy; create table mondrian_schema( id SERIAL , @@ -3041,18 +3158,18 @@ node NVARCHAR(255) , delete from db_tabellen where name='mondrian_schema'; insert into db_tabellen (name,protokollierung) values('mondrian_schema',0); -<#if !deleted_tables?seq_contains("trans_dim_bp_apnr") && tables?seq_contains("trans_dim_bp_apnr") > +<#if !deleted_tables?seq_contains("trans_dim_bp_apnr") && tables?is_sequence && tables?seq_contains("trans_dim_bp_apnr") > -! echo "table trans_dim_bp_apnr exists - fine" -! echo `date` +select now(),'table trans_dim_bp_apnr exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle trans_dim_bp_apnr" -! echo `date` +select now(),'Erzeuge Tabelle trans_dim_bp_apnr' +from xdummy; create table trans_dim_bp_apnr( dimension_bp_id INTEGER not null, @@ -3065,8 +3182,8 @@ systeminfo_id INTEGER -! echo "Erzeuge Index ix_tr_dim_bp_apnr" -! echo `date` +select now(),'Erzeuge Index ix_tr_dim_bp_apnr' +from xdummy; create index ix_tr_dim_bp_apnr on trans_dim_bp_apnr (dimension_bp_id, sourcesystem_id, @@ -3076,18 +3193,18 @@ systeminfo_id ); delete from db_tabellen where name='trans_dim_bp_apnr'; insert into db_tabellen (name,protokollierung) values('trans_dim_bp_apnr',0); -<#if !deleted_tables?seq_contains("masken_protokoll") && tables?seq_contains("masken_protokoll") > +<#if !deleted_tables?seq_contains("masken_protokoll") && tables?is_sequence && tables?seq_contains("masken_protokoll") > -! echo "table masken_protokoll exists - fine" -! echo `date` +select now(),'table masken_protokoll exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle masken_protokoll" -! echo `date` +select now(),'Erzeuge Tabelle masken_protokoll' +from xdummy; create table masken_protokoll( tid SERIAL not null, @@ -3104,18 +3221,18 @@ kommentar NVARCHAR(255) delete from db_tabellen where name='masken_protokoll'; insert into db_tabellen (name,protokollierung) values('masken_protokoll',0); -<#if !deleted_tables?seq_contains("masken_prot_feld") && tables?seq_contains("masken_prot_feld") > +<#if !deleted_tables?seq_contains("masken_prot_feld") && tables?is_sequence && tables?seq_contains("masken_prot_feld") > -! echo "table masken_prot_feld exists - fine" -! echo `date` +select now(),'table masken_prot_feld exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle masken_prot_feld" -! echo `date` +select now(),'Erzeuge Tabelle masken_prot_feld' +from xdummy; create table masken_prot_feld( tid SERIAL not null, @@ -3133,18 +3250,18 @@ caption NVARCHAR(255) delete from db_tabellen where name='masken_prot_feld'; insert into db_tabellen (name,protokollierung) values('masken_prot_feld',0); -<#if !deleted_tables?seq_contains("data_upload") && tables?seq_contains("data_upload") > +<#if !deleted_tables?seq_contains("data_upload") && tables?is_sequence && tables?seq_contains("data_upload") > -! echo "table data_upload exists - fine" -! echo `date` +select now(),'table data_upload exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle data_upload" -! echo `date` +select now(),'Erzeuge Tabelle data_upload' +from xdummy; create table data_upload( tid SERIAL not null, @@ -3179,18 +3296,18 @@ processed_noted SMALLINT default 0 , delete from db_tabellen where name='data_upload'; insert into db_tabellen (name,protokollierung) values('data_upload',0); -<#if !deleted_tables?seq_contains("update_prot") && tables?seq_contains("update_prot") > +<#if !deleted_tables?seq_contains("update_prot") && tables?is_sequence && tables?seq_contains("update_prot") > -! echo "table update_prot exists - fine" -! echo `date` +select now(),'table update_prot exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle update_prot" -! echo `date` +select now(),'Erzeuge Tabelle update_prot' +from xdummy; create table update_prot( tid SERIAL not null, @@ -3210,18 +3327,18 @@ update_time datetime year to second , delete from db_tabellen where name='update_prot'; insert into db_tabellen (name,protokollierung) values('update_prot',0); -<#if !deleted_tables?seq_contains("update_prot_neu") && tables?seq_contains("update_prot_neu") > +<#if !deleted_tables?seq_contains("update_prot_neu") && tables?is_sequence && tables?seq_contains("update_prot_neu") > -! echo "table update_prot_neu exists - fine" -! echo `date` +select now(),'table update_prot_neu exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle update_prot_neu" -! echo `date` +select now(),'Erzeuge Tabelle update_prot_neu' +from xdummy; create table update_prot_neu( systeminfo_id INTEGER default 0 not null, @@ -3237,18 +3354,18 @@ updated_at datetime year to second delete from db_tabellen where name='update_prot_neu'; insert into db_tabellen (name,protokollierung) values('update_prot_neu',0); -<#if !deleted_tables?seq_contains("personattribute_neu") && tables?seq_contains("personattribute_neu") > +<#if !deleted_tables?seq_contains("personattribute_neu") && tables?is_sequence && tables?seq_contains("personattribute_neu") > -! echo "table personattribute_neu exists - fine" -! echo `date` +select now(),'table personattribute_neu exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle personattribute_neu" -! echo `date` +select now(),'Erzeuge Tabelle personattribute_neu' +from xdummy; create table personattribute_neu( id INTEGER not null, @@ -3270,18 +3387,18 @@ semester_bis INTEGER delete from db_tabellen where name='personattribute_neu'; insert into db_tabellen (name,protokollierung) values('personattribute_neu',0); -<#if !deleted_tables?seq_contains("personattribute") && tables?seq_contains("personattribute") > +<#if !deleted_tables?seq_contains("personattribute") && tables?is_sequence && tables?seq_contains("personattribute") > -! echo "table personattribute exists - fine" -! echo `date` +select now(),'table personattribute exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle personattribute" -! echo `date` +select now(),'Erzeuge Tabelle personattribute' +from xdummy; create table personattribute( person_id INTEGER not null, @@ -3302,18 +3419,18 @@ semester_bis INTEGER delete from db_tabellen where name='personattribute'; insert into db_tabellen (name,protokollierung) values('personattribute',0); -<#if !deleted_tables?seq_contains("personattributetype") && tables?seq_contains("personattributetype") > +<#if !deleted_tables?seq_contains("personattributetype") && tables?is_sequence && tables?seq_contains("personattributetype") > -! echo "table personattributetype exists - fine" -! echo `date` +select now(),'table personattributetype exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle personattributetype" -! echo `date` +select now(),'Erzeuge Tabelle personattributetype' +from xdummy; create table personattributetype( personattributetype_id INTEGER not null, @@ -3327,18 +3444,18 @@ attributevalue NVARCHAR(255) delete from db_tabellen where name='personattributetype'; insert into db_tabellen (name,protokollierung) values('personattributetype',0); -<#if !deleted_tables?seq_contains("personattribute_value_list") && tables?seq_contains("personattribute_value_list") > +<#if !deleted_tables?seq_contains("personattribute_value_list") && tables?is_sequence && tables?seq_contains("personattribute_value_list") > -! echo "table personattribute_value_list exists - fine" -! echo `date` +select now(),'table personattribute_value_list exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle personattribute_value_list" -! echo `date` +select now(),'Erzeuge Tabelle personattribute_value_list' +from xdummy; create table personattribute_value_list( personattributetype_id INTEGER not null, @@ -3355,18 +3472,18 @@ longtext NVARCHAR(255) delete from db_tabellen where name='personattribute_value_list'; insert into db_tabellen (name,protokollierung) values('personattribute_value_list',0); -<#if !deleted_tables?seq_contains("user_preset_values") && tables?seq_contains("user_preset_values") > +<#if !deleted_tables?seq_contains("user_preset_values") && tables?is_sequence && tables?seq_contains("user_preset_values") > -! echo "table user_preset_values exists - fine" -! echo `date` +select now(),'table user_preset_values exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle user_preset_values" -! echo `date` +select now(),'Erzeuge Tabelle user_preset_values' +from xdummy; create table user_preset_values( userinfo_id INTEGER , @@ -3383,18 +3500,18 @@ field_value NVARCHAR(255) , delete from db_tabellen where name='user_preset_values'; insert into db_tabellen (name,protokollierung) values('user_preset_values',0); -<#if !deleted_tables?seq_contains("sx_portlet") && tables?seq_contains("sx_portlet") > +<#if !deleted_tables?seq_contains("sx_portlet") && tables?is_sequence && tables?seq_contains("sx_portlet") > -! echo "table sx_portlet exists - fine" -! echo `date` +select now(),'table sx_portlet exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle sx_portlet" -! echo `date` +select now(),'Erzeuge Tabelle sx_portlet' +from xdummy; create table sx_portlet( tid SERIAL not null, @@ -3418,18 +3535,18 @@ gueltig_bis DATE default '01.01.3000' not null, delete from db_tabellen where name='sx_portlet'; insert into db_tabellen (name,protokollierung) values('sx_portlet',0); -<#if !deleted_tables?seq_contains("user_portlet_bez") && tables?seq_contains("user_portlet_bez") > +<#if !deleted_tables?seq_contains("user_portlet_bez") && tables?is_sequence && tables?seq_contains("user_portlet_bez") > -! echo "table user_portlet_bez exists - fine" -! echo `date` +select now(),'table user_portlet_bez exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle user_portlet_bez" -! echo `date` +select now(),'Erzeuge Tabelle user_portlet_bez' +from xdummy; create table user_portlet_bez( userinfo_id INTEGER , @@ -3445,18 +3562,18 @@ portlet_id INTEGER , delete from db_tabellen where name='user_portlet_bez'; insert into db_tabellen (name,protokollierung) values('user_portlet_bez',0); -<#if !deleted_tables?seq_contains("group_portlet_bez") && tables?seq_contains("group_portlet_bez") > +<#if !deleted_tables?seq_contains("group_portlet_bez") && tables?is_sequence && tables?seq_contains("group_portlet_bez") > -! echo "table group_portlet_bez exists - fine" -! echo `date` +select now(),'table group_portlet_bez exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle group_portlet_bez" -! echo `date` +select now(),'Erzeuge Tabelle group_portlet_bez' +from xdummy; create table group_portlet_bez( groupinfo_id INTEGER , @@ -3472,18 +3589,59 @@ portlet_id INTEGER , delete from db_tabellen where name='group_portlet_bez'; insert into db_tabellen (name,protokollierung) values('group_portlet_bez',0); -<#if !deleted_tables?seq_contains("sieve") && tables?seq_contains("sieve") > +<#if !deleted_tables?seq_contains("kern_cifx_neu") && tables?is_sequence && tables?seq_contains("kern_cifx_neu") > + + +select now(),'table kern_cifx_neu exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Tabelle kern_cifx_neu' +from xdummy; + +create table kern_cifx_neu( + key SMALLINT not null, +hs INTEGER not null, +apnr NVARCHAR(255) , +kurz CHAR(10) , +druck NVARCHAR(200) , +lang_1 NCHAR(255) , +astat CHAR(50) , +parent NVARCHAR(255) , +uniquename NVARCHAR(255) , +bund_apnr CHAR(10) , +d_akt_von DATE , +d_akt_bis DATE , +sourcesystem_id NVARCHAR(255) , +hiskey_id NVARCHAR(255) , +struktur_c CHAR(50) , +lid NVARCHAR(255) , +parent_lid NVARCHAR(255) , +sortorder INTEGER +) +; + -! echo "table sieve exists - fine" -! echo `date` + +delete from db_tabellen where name='kern_cifx_neu'; +insert into db_tabellen (name,protokollierung) values('kern_cifx_neu',0); + +<#if !deleted_tables?seq_contains("sieve") && tables?is_sequence && tables?seq_contains("sieve") > + + +select now(),'table sieve exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle sieve" -! echo `date` +select now(),'Erzeuge Tabelle sieve' +from xdummy; create table sieve( tid SERIAL not null, @@ -3492,6 +3650,9 @@ main_table VARCHAR(50) not null, order_by NVARCHAR(255) , sachgebiete_id INTEGER not null, systeminfo_id INTEGER not null, +post_processing TEXT , +post_insert TEXT , +finalize TEXT , active SMALLINT default 1 , hsnr SMALLINT , primary key (tid) @@ -3505,18 +3666,18 @@ hsnr SMALLINT , delete from db_tabellen where name='sieve'; insert into db_tabellen (name,protokollierung) values('sieve',0); -<#if !deleted_tables?seq_contains("sieve_column_def") && tables?seq_contains("sieve_column_def") > +<#if !deleted_tables?seq_contains("sieve_column_def") && tables?is_sequence && tables?seq_contains("sieve_column_def") > -! echo "table sieve_column_def exists - fine" -! echo `date` +select now(),'table sieve_column_def exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle sieve_column_def" -! echo `date` +select now(),'Erzeuge Tabelle sieve_column_def' +from xdummy; create table sieve_column_def( tid SERIAL not null, @@ -3531,7 +3692,7 @@ lookup_tab NVARCHAR(255) , lookup_joinsource NVARCHAR(255) , lookup_jointarget NVARCHAR(255) , lookup_target NVARCHAR(255) , -lookup_cond TEXT , +lookup_cond NVARCHAR(255) , lookup_func NVARCHAR(255) , hinweis NVARCHAR(255) , primary key (tid) @@ -3541,22 +3702,28 @@ hinweis NVARCHAR(255) , + +select now(),'Erzeuge Index ix_sieve_column_defm' +from xdummy; + +create unique index ix_sieve_column_defm on sieve_column_def (m_id ); + delete from db_tabellen where name='sieve_column_def'; insert into db_tabellen (name,protokollierung) values('sieve_column_def',0); -<#if !deleted_tables?seq_contains("sieve_column") && tables?seq_contains("sieve_column") > +<#if !deleted_tables?seq_contains("sieve_column") && tables?is_sequence && tables?seq_contains("sieve_column") > -! echo "table sieve_column exists - fine" -! echo `date` +select now(),'table sieve_column exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle sieve_column" -! echo `date` +select now(),'Erzeuge Tabelle sieve_column' +from xdummy; create table sieve_column( tid SERIAL not null, @@ -3576,18 +3743,18 @@ active SMALLINT default 1 , delete from db_tabellen where name='sieve_column'; insert into db_tabellen (name,protokollierung) values('sieve_column',0); -<#if !deleted_tables?seq_contains("sieve_field") && tables?seq_contains("sieve_field") > +<#if !deleted_tables?seq_contains("sieve_field") && tables?is_sequence && tables?seq_contains("sieve_field") > -! echo "table sieve_field exists - fine" -! echo `date` +select now(),'table sieve_field exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle sieve_field" -! echo `date` +select now(),'Erzeuge Tabelle sieve_field' +from xdummy; create table sieve_field( tid SERIAL not null, @@ -3609,18 +3776,18 @@ active SMALLINT default 1 , delete from db_tabellen where name='sieve_field'; insert into db_tabellen (name,protokollierung) values('sieve_field',0); -<#if !deleted_tables?seq_contains("sx_jobs") && tables?seq_contains("sx_jobs") > +<#if !deleted_tables?seq_contains("sx_jobs") && tables?is_sequence && tables?seq_contains("sx_jobs") > -! echo "table sx_jobs exists - fine" -! echo `date` +select now(),'table sx_jobs exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle sx_jobs" -! echo `date` +select now(),'Erzeuge Tabelle sx_jobs' +from xdummy; create table sx_jobs( tid SERIAL not null, @@ -3641,8 +3808,8 @@ check_sql TEXT , -! echo "Erzeuge Index ix_sx_jobs_un" -! echo `date` +select now(),'Erzeuge Index ix_sx_jobs_un' +from xdummy; create unique index ix_sx_jobs_un on sx_jobs (uniquename ); @@ -3650,18 +3817,605 @@ create unique index ix_sx_jobs_un on sx_jobs (uniquename ); delete from db_tabellen where name='sx_jobs'; insert into db_tabellen (name,protokollierung) values('sx_jobs',0); -<#if !deleted_tables?seq_contains("sx_mail") && tables?seq_contains("sx_mail") > +<#if !deleted_tables?seq_contains("orgunit_mapping") && tables?is_sequence && tables?seq_contains("orgunit_mapping") > + + +select now(),'table orgunit_mapping exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Tabelle orgunit_mapping' +from xdummy; + +create table orgunit_mapping( + apnr NVARCHAR(255) , +mapped_id NVARCHAR(255) , +uniquename NVARCHAR(255) not null, +lid NVARCHAR(255) +) +; + + + + +delete from db_tabellen where name='orgunit_mapping'; +insert into db_tabellen (name,protokollierung) values('orgunit_mapping',0); + +<#if !deleted_tables?seq_contains("implicit_orgunit_rights") && tables?is_sequence && tables?seq_contains("implicit_orgunit_rights") > + + +select now(),'table implicit_orgunit_rights exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Tabelle implicit_orgunit_rights' +from xdummy; + +create table implicit_orgunit_rights( + userinfo_id INTEGER , +apnr NVARCHAR(255) , +uniquename NVARCHAR(255) not null, +lid NVARCHAR(255) +) +; + + + + +select now(),'Erzeuge Index ix_implicit_orgrights1' +from xdummy; + +create index ix_implicit_orgrights1 on implicit_orgunit_rights (userinfo_id ); + + +delete from db_tabellen where name='implicit_orgunit_rights'; +insert into db_tabellen (name,protokollierung) values('implicit_orgunit_rights',0); + +<#if !deleted_tables?seq_contains("kern_pruefrout") && tables?is_sequence && tables?seq_contains("kern_pruefrout") > + + +select now(),'table kern_pruefrout exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Tabelle kern_pruefrout' +from xdummy; + +create table kern_pruefrout( + tid SERIAL , +datum DATE , +gueltig_von DATE , +gueltig_bis DATE , +tabelle_quelle CHAR(18) , +tabelle CHAR(18) , +problem NCHAR(255) , +aktion NCHAR(255) , + primary key (tid) + constraint ix_kern_pruef_tid +) +; + + + + +delete from db_tabellen where name='kern_pruefrout'; +insert into db_tabellen (name,protokollierung) values('kern_pruefrout',0); + +<#if !deleted_tables?seq_contains("masken_statistik") && tables?is_sequence && tables?seq_contains("masken_statistik") > + + +select now(),'table masken_statistik exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Tabelle masken_statistik' +from xdummy; + +create table masken_statistik( + id SERIAL not null, +tid INTEGER not null, +counter INTEGER , +first_call DATE , +last_call DATE , + primary key (id) + constraint masken_statistik_id +) +; + + + + +delete from db_tabellen where name='masken_statistik'; +insert into db_tabellen (name,protokollierung) values('masken_statistik',0); + +<#if !deleted_tables?seq_contains("dim_datum") && tables?is_sequence && tables?seq_contains("dim_datum") > + + +select now(),'table dim_datum exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Tabelle dim_datum' +from xdummy; + +create table dim_datum( + id INTEGER not null, +year INTEGER , +month INTEGER , +day_of_month INTEGER , +day_of_week INTEGER , +day_of_year INTEGER , +week_of_year INTEGER , +day_name VARCHAR(25) , +month_name VARCHAR(25) , +quarter INTEGER , +weekend_ind CHAR(1) , +days_in_month INTEGER , +day_desc VARCHAR(25) , +day_date DATE , +semester VARCHAR(25) , +semester_key INTEGER , + primary key (id) + constraint dim_datum_id +) +; + + + + +select now(),'Erzeuge Index ix_dim_datum_day_date' +from xdummy; + +create index ix_dim_datum_day_date on dim_datum (day_date ); + + +delete from db_tabellen where name='dim_datum'; +insert into db_tabellen (name,protokollierung) values('dim_datum',0); + +<#if !deleted_tables?seq_contains("hisinone_deleted_entity") && tables?is_sequence && tables?seq_contains("hisinone_deleted_entity") > + + +select now(),'table hisinone_deleted_entity exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Tabelle hisinone_deleted_entity' +from xdummy; + +create table hisinone_deleted_entity( + person_id INTEGER , +matrikel_nr INTEGER , +entity NVARCHAR(255) , +deleted_in_hisinone datetime year to second , +deleted_in_bi datetime year to second , +job NVARCHAR(255) +) +; + + + + +delete from db_tabellen where name='hisinone_deleted_entity'; +insert into db_tabellen (name,protokollierung) values('hisinone_deleted_entity',0); + +<#if !deleted_tables?seq_contains("etl_step") && tables?is_sequence && tables?seq_contains("etl_step") > + + +select now(),'table etl_step exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Tabelle etl_step' +from xdummy; + +create table etl_step( + tid SERIAL not null, +uniquename NVARCHAR(255) not null, +caption NVARCHAR(255) , +systeminfo_id INTEGER not null, +step_type_id INTEGER not null, +logfile NVARCHAR(255) , +custom_step SMALLINT default 1 , + primary key (tid) + constraint etl_step_pk +) +; + + + + +delete from db_tabellen where name='etl_step'; +insert into db_tabellen (name,protokollierung) values('etl_step',0); + +<#if !deleted_tables?seq_contains("etl_step_type") && tables?is_sequence && tables?seq_contains("etl_step_type") > + + +select now(),'table etl_step_type exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Tabelle etl_step_type' +from xdummy; + +create table etl_step_type( + tid SERIAL not null, +uniquename NVARCHAR(255) not null, +caption NVARCHAR(255) , +handler NVARCHAR(255) , + primary key (tid) + constraint etl_step_type_pk +) +; + + + + +delete from db_tabellen where name='etl_step_type'; +insert into db_tabellen (name,protokollierung) values('etl_step_type',0); + +<#if !deleted_tables?seq_contains("etl_step_type_param") && tables?is_sequence && tables?seq_contains("etl_step_type_param") > + + +select now(),'table etl_step_type_param exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Tabelle etl_step_type_param' +from xdummy; + +create table etl_step_type_param( + tid SERIAL not null, +etl_step_type_id INTEGER not null, +uniquename NVARCHAR(255) not null, +name NVARCHAR(255) , +param_default NVARCHAR(255) , + primary key (tid) + constraint etl_step_type_param_pk +) +; + + + + +delete from db_tabellen where name='etl_step_type_param'; +insert into db_tabellen (name,protokollierung) values('etl_step_type_param',0); + +<#if !deleted_tables?seq_contains("etl_step_property") && tables?is_sequence && tables?seq_contains("etl_step_property") > + + +select now(),'table etl_step_property exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Tabelle etl_step_property' +from xdummy; + +create table etl_step_property( + tid SERIAL not null, +etl_step_id INTEGER not null, +prop_name NVARCHAR(255) , +prop_value TEXT , + primary key (tid) + constraint etl_step_property_pk +) +; + + + + +delete from db_tabellen where name='etl_step_property'; +insert into db_tabellen (name,protokollierung) values('etl_step_property',0); + +<#if !deleted_tables?seq_contains("etl_step_relation") && tables?is_sequence && tables?seq_contains("etl_step_relation") > + + +select now(),'table etl_step_relation exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Tabelle etl_step_relation' +from xdummy; + +create table etl_step_relation( + tid SERIAL not null, +step_id INTEGER not null, +parent_step_id INTEGER , +job_id INTEGER not null, +force_continue SMALLINT default 1 , +step_active SMALLINT default 1 , +sortnr INTEGER default 1 , +custom_step SMALLINT default 1 , + primary key (tid) + constraint etl_step_relation_pk +) +; + + + + +delete from db_tabellen where name='etl_step_relation'; +insert into db_tabellen (name,protokollierung) values('etl_step_relation',0); + +<#if !deleted_tables?seq_contains("etl_job") && tables?is_sequence && tables?seq_contains("etl_job") > + + +select now(),'table etl_job exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Tabelle etl_job' +from xdummy; + +create table etl_job( + tid SERIAL not null, +uniquename NVARCHAR(255) not null, +caption NVARCHAR(255) , +systeminfo_id INTEGER not null, +logfile NVARCHAR(255) , +custom_job SMALLINT default 1 , + primary key (tid) + constraint etl_job_pk +) +; + + + + +select now(),'Erzeuge Index ix_etl_job1' +from xdummy; + +create unique index ix_etl_job1 on etl_job (uniquename ); + + +delete from db_tabellen where name='etl_job'; +insert into db_tabellen (name,protokollierung) values('etl_job',0); + +<#if !deleted_tables?seq_contains("etl_job_param") && tables?is_sequence && tables?seq_contains("etl_job_param") > + + +select now(),'table etl_job_param exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Tabelle etl_job_param' +from xdummy; + +create table etl_job_param( + tid SERIAL not null, +etl_job_id INTEGER not null, +uniquename NVARCHAR(255) not null, +name NVARCHAR(255) , +param_default NVARCHAR(255) , + primary key (tid) + constraint etl_job_param_pk +) +; + + + + +delete from db_tabellen where name='etl_job_param'; +insert into db_tabellen (name,protokollierung) values('etl_job_param',0); + +<#if !deleted_tables?seq_contains("k_astat_studienfach_land") && tables?is_sequence && tables?seq_contains("k_astat_studienfach_land") > + + +select now(),'table k_astat_studienfach_land exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Tabelle k_astat_studienfach_land' +from xdummy; + +create table k_astat_studienfach_land( + schluessel NVARCHAR(255) , +gueltig_ab INTEGER , +land INTEGER , +version INTEGER , +sortkey INTEGER , +gueltig_bis INTEGER , +name NVARCHAR(255) , +isced NVARCHAR(255) , +keybund NVARCHAR(255) +) +; + + + + +delete from db_tabellen where name='k_astat_studienfach_land'; +insert into db_tabellen (name,protokollierung) values('k_astat_studienfach_land',0); + +<#if !deleted_tables?seq_contains("k_astat_abschluss3steller_land") && tables?is_sequence && tables?seq_contains("k_astat_abschluss3steller_land") > + + +select now(),'table k_astat_abschluss3steller_land exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Tabelle k_astat_abschluss3steller_land' +from xdummy; + +create table k_astat_abschluss3steller_land( + schluessel NVARCHAR(255) not null, +gueltig_ab INTEGER , +land INTEGER , +version INTEGER , +sortkey INTEGER , +gueltig_bis INTEGER , +name NVARCHAR(255) , +sig2steller NVARCHAR(255) , +keybund NVARCHAR(255) +) +; + + + + +delete from db_tabellen where name='k_astat_abschluss3steller_land'; +insert into db_tabellen (name,protokollierung) values('k_astat_abschluss3steller_land',0); + +<#if !deleted_tables?seq_contains("k_astat_abschluss2steller") && tables?is_sequence && tables?seq_contains("k_astat_abschluss2steller") > + + +select now(),'table k_astat_abschluss2steller exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Tabelle k_astat_abschluss2steller' +from xdummy; + +create table k_astat_abschluss2steller( + schluessel NVARCHAR(255) not null, +name NVARCHAR(255) +) +; + + + + +delete from db_tabellen where name='k_astat_abschluss2steller'; +insert into db_tabellen (name,protokollierung) values('k_astat_abschluss2steller',0); + +<#if !deleted_tables?seq_contains("k_astat_studienbereich") && tables?is_sequence && tables?seq_contains("k_astat_studienbereich") > + + +select now(),'table k_astat_studienbereich exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Tabelle k_astat_studienbereich' +from xdummy; + +create table k_astat_studienbereich( + schluessel NVARCHAR(255) not null, +name NVARCHAR(255) , +fgr NVARCHAR(255) +) +; + + + + +delete from db_tabellen where name='k_astat_studienbereich'; +insert into db_tabellen (name,protokollierung) values('k_astat_studienbereich',0); + +<#if !deleted_tables?seq_contains("k_astat_studienfach") && tables?is_sequence && tables?seq_contains("k_astat_studienfach") > + + +select now(),'table k_astat_studienfach exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Tabelle k_astat_studienfach' +from xdummy; + +create table k_astat_studienfach( + schluessel NVARCHAR(255) not null, +name NVARCHAR(255) , +sb NVARCHAR(255) +) +; + + + + +delete from db_tabellen where name='k_astat_studienfach'; +insert into db_tabellen (name,protokollierung) values('k_astat_studienfach',0); + +<#if !deleted_tables?seq_contains("colorscheme") && tables?is_sequence && tables?seq_contains("colorscheme") > + + +select now(),'table colorscheme exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge Tabelle colorscheme' +from xdummy; + +create table colorscheme( + id SERIAL not null, +caption NVARCHAR(255) , +sortorder INTEGER , +colors NVARCHAR(255) +) +; + + + + +delete from db_tabellen where name='colorscheme'; +insert into db_tabellen (name,protokollierung) values('colorscheme',0); + +<#if !deleted_tables?seq_contains("sx_mail") && tables?is_sequence && tables?seq_contains("sx_mail") > -! echo "table sx_mail exists - fine" -! echo `date` +select now(),'table sx_mail exists - fine' +from xdummy; <#else> -! echo "Erzeuge Tabelle sx_mail" -! echo `date` +select now(),'Erzeuge Tabelle sx_mail' +from xdummy; create table sx_mail( tid SERIAL not null, diff --git a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_tables_pg.sql b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_tables_pg.sql index 2a0dfc8..459807d 100644 --- a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_tables_pg.sql +++ b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_tables_pg.sql @@ -1884,11 +1884,11 @@ select now(),'Erzeuge Tabelle organigramm' from xdummy; create table organigramm( - tid INTEGER not null, + tid SERIAL not null, key_apnr CHAR(10) , parent CHAR(10) , -drucktext CHAR(50) , -name CHAR(150) , +drucktext VARCHAR(255) , +name VARCHAR(255) , ebene INTEGER , lehre SMALLINT not null, gueltig_seit DATE not null, @@ -1975,8 +1975,8 @@ create table organigramm_bak( tid INTEGER not null, key_apnr CHAR(10) , parent CHAR(10) , -drucktext CHAR(50) , -name CHAR(150) , +drucktext VARCHAR(255) , +name VARCHAR(255) , ebene INTEGER , lehre SMALLINT not null, gueltig_seit DATE not null, diff --git a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_views_ids.sql b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_views_ids.sql index 66738ae..1d45d9b 100644 --- a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_views_ids.sql +++ b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_views_ids.sql @@ -19,13 +19,14 @@ tabid,tabname as tabelle from systables where tabname 'dim_stg', 'dim_abschluss', 'dim_kost', -'dim_kotr' +'dim_kotr', +'dim_kreis' ); -! echo "Checking views" -! echo `date` +select now(),'Checking views' +from xdummy; <#if views?has_content> @@ -33,15 +34,15 @@ tabid,tabname as tabelle from systables where tabname <#if views?seq_contains("user_groups") > -! echo "view user_groups exists - fine" -! echo `date` +select now(),'view user_groups exists - fine' +from xdummy; <#else> -! echo "Erzeuge View user_groups" -! echo `date` +select now(),'Erzeuge View user_groups' +from xdummy; create view user_groups( userinfo_id, @@ -58,15 +59,15 @@ and U.akt_versuch <= U.max_versuch ; <#if views?seq_contains("menu_element_fieldmode") > -! echo "view menu_element_fieldmode exists - fine" -! echo `date` +select now(),'view menu_element_fieldmode exists - fine' +from xdummy; <#else> -! echo "Erzeuge View menu_element_fieldmode" -! echo `date` +select now(),'Erzeuge View menu_element_fieldmode' +from xdummy; create view menu_element_fieldmode( id, @@ -90,15 +91,15 @@ annotation) as <#if views?seq_contains("menu_element_mandatory") > -! echo "view menu_element_mandatory exists - fine" -! echo `date` +select now(),'view menu_element_mandatory exists - fine' +from xdummy; <#else> -! echo "Erzeuge View menu_element_mandatory" -! echo `date` +select now(),'Erzeuge View menu_element_mandatory' +from xdummy; create view menu_element_mandatory( id, @@ -123,15 +124,15 @@ annotation) as <#if views?seq_contains("menu_element_nature") > -! echo "view menu_element_nature exists - fine" -! echo `date` +select now(),'view menu_element_nature exists - fine' +from xdummy; <#else> -! echo "Erzeuge View menu_element_nature" -! echo `date` +select now(),'Erzeuge View menu_element_nature' +from xdummy; create view menu_element_nature( id, @@ -156,23 +157,23 @@ annotation) as <#if views?seq_contains("menu_element_orgstructure") > -! echo "view menu_element_orgstructure exists - fine" -! echo `date` +select now(),'view menu_element_orgstructure exists - fine' +from xdummy; <#else> -! echo "Erzeuge View menu_element_orgstructure" -! echo `date` +select now(),'Erzeuge View menu_element_orgstructure' +from xdummy; create view menu_element_orgstructure( orgstruktur, description) as - select element as orgstruktur, description - from menu_element + select element as orgstruktur, description + from menu_element where element='orgstruktur' ; @@ -181,15 +182,15 @@ description) as <#if views?seq_contains("user_inst_org") > -! echo "view user_inst_org exists - fine" -! echo `date` +select now(),'view user_inst_org exists - fine' +from xdummy; <#else> -! echo "Erzeuge View user_inst_org" -! echo `date` +select now(),'Erzeuge View user_inst_org' +from xdummy; create view user_inst_org( userid, @@ -218,15 +219,15 @@ where O.key_apnr=U.ch110_institut <#if views?seq_contains("hochschulen") > -! echo "view hochschulen exists - fine" -! echo `date` +select now(),'view hochschulen exists - fine' +from xdummy; <#else> -! echo "Erzeuge View hochschulen" -! echo `date` +select now(),'Erzeuge View hochschulen' +from xdummy; create view hochschulen( hs_nr, @@ -253,15 +254,15 @@ or trim(substring(apnr from 4 for 1)) ='') <#if views?seq_contains("dimension_view") > -! echo "view dimension_view exists - fine" -! echo `date` +select now(),'view dimension_view exists - fine' +from xdummy; <#else> -! echo "Erzeuge View dimension_view" -! echo `date` +select now(),'Erzeuge View dimension_view' +from xdummy; create view dimension_view( id, @@ -296,10 +297,10 @@ SELECT D.tid as id, D.sourcefilter, D.system_key, ''::varchar(255) as view_reference, - ('select C.' || F.foreignkey_int || ' as id,T.sourcesystem_id, C.' || F.foreignkey_col || ' as apnr,C.' || F.foreignkey_cap || ' as name' + ('select C.' || F.foreignkey_int || ' as id,T.sourcesystem_id, C.' || F.foreignkey_col || ' as apnr,C.' || F.foreignkey_cap || ' as name' ||',' || D.system_key || '::integer as mschluessel,T.apnr as aschluessel,null::VARCHAR(255) as obj_guid ,null::integer as lock_version' || ' from ' || F.foreignkey_tab || ' C,trans_dim_bp_apnr T' - || ' where T.sourcesystem_id=C.' || F.foreignkey_col || '::varchar(255)' + || ' where T.sourcesystem_id=C.' || F.foreignkey_col || '::varchar(255)' || nvl(' and ' || F.foreignkey_cond || ' ','') || 'and ' || D.dimension_bp_id ||' =T.dimension_bp_id' )::lvarchar as sourcesql, @@ -324,10 +325,10 @@ SELECT D.tid as id, D.sourcefilter, D.system_key, ''::varchar(255) as view_reference, - ('select C.' || F.foreignkey_col || ' as id,T.sourcesystem_id, C.' || F.foreignkey_col || ' as apnr,C.' || F.foreignkey_cap || ' as name' + ('select C.' || F.foreignkey_col || ' as id,T.sourcesystem_id, C.' || F.foreignkey_col || ' as apnr,C.' || F.foreignkey_cap || ' as name' ||',' || D.system_key || '::integer as mschluessel,T.apnr as aschluessel,null::VARCHAR(255) as obj_guid ,null::integer as lock_version ' || 'from ' || F.foreignkey_tab || ' C,trans_dim_bp_apnr T ' - || 'where T.sourcesystem_id=C.' || F.foreignkey_col || '::varchar(255) ' + || 'where T.sourcesystem_id=C.' || F.foreignkey_col || '::varchar(255) ' || nvl(' and ' || F.foreignkey_cond || ' ','') || 'and ' || D.dimension_bp_id ||' =T.dimension_bp_id ' )::lvarchar as sourcesql, @@ -356,7 +357,7 @@ SELECT distinct T.tid+1000000 as id, null::VARCHAR(255) as obj_guid , null::integer as lock_version FROM dimension D inner join sx_tables T on (T.name=D.fact_table) - + union SELECT distinct T.tid+2000000 as id, D.dimension_bp_id, @@ -377,7 +378,7 @@ SELECT distinct T.tid+2000000 as id, null::integer as lock_version FROM dimension D inner join sx_tables T on (T.name=D.fact_table) where D.fact_table='sva_pers_cube' - and D.name='ca108_amtsbez' + and D.name='ca108_amtsbez' ; @@ -385,15 +386,15 @@ SELECT distinct T.tid+2000000 as id, <#if views?seq_contains("fact_table") > -! echo "view fact_table exists - fine" -! echo `date` +select now(),'view fact_table exists - fine' +from xdummy; <#else> -! echo "Erzeuge View fact_table" -! echo `date` +select now(),'Erzeuge View fact_table' +from xdummy; create view fact_table( id, @@ -424,15 +425,15 @@ where T.name in (select distinct fact_table from dimension) <#if views?seq_contains("dim_staat") > -! echo "view dim_staat exists - fine" -! echo `date` +select now(),'view dim_staat exists - fine' +from xdummy; <#else> -! echo "Erzeuge View dim_staat" -! echo `date` +select now(),'Erzeuge View dim_staat' +from xdummy; create view dim_staat( apnr, @@ -442,7 +443,7 @@ kontinent, inl_ausl_kurz, inl_ausl_lang) as -SELECT +SELECT apnr, druck, uniquename::integer as astat, @@ -461,15 +462,15 @@ and apnr !=0 --nur für Abwärtskompatibilität zu FLEDA <#if views?seq_contains("dim_stg") > -! echo "view dim_stg exists - fine" -! echo `date` +select now(),'view dim_stg exists - fine' +from xdummy; <#else> -! echo "Erzeuge View dim_stg" -! echo `date` +select now(),'Erzeuge View dim_stg' +from xdummy; create view dim_stg( apnr, @@ -480,7 +481,7 @@ stg_ltxt, stg_astgrp, stg_astgrp_str) as -SELECT +SELECT apnr, druck, uniquename as stg, @@ -500,15 +501,15 @@ where dimension_bp_id=(select D.tid from dimension_bp D where D.apnr='bluep_stg' <#if views?seq_contains("dim_abschluss") > -! echo "view dim_abschluss exists - fine" -! echo `date` +select now(),'view dim_abschluss exists - fine' +from xdummy; <#else> -! echo "Erzeuge View dim_abschluss" -! echo `date` +select now(),'Erzeuge View dim_abschluss' +from xdummy; create view dim_abschluss( apnr, @@ -523,7 +524,7 @@ abschlussart_str, abschluss_grp, abschluss_grp_str) as -SELECT +SELECT apnr, druck, uniquename as abschluss, @@ -547,15 +548,15 @@ where dimension_bp_id=(select D.tid from dimension_bp D where D.apnr='bluep_absc <#if views?seq_contains("dim_kost") > -! echo "view dim_kost exists - fine" -! echo `date` +select now(),'view dim_kost exists - fine' +from xdummy; <#else> -! echo "Erzeuge View dim_kost" -! echo `date` +select now(),'Erzeuge View dim_kost' +from xdummy; create view dim_kost( apnr, @@ -572,31 +573,56 @@ key) as <#if views?seq_contains("dim_kotr") > -! echo "view dim_kotr exists - fine" -! echo `date` +select now(),'view dim_kotr exists - fine' +from xdummy; <#else> -! echo "Erzeuge View dim_kotr" -! echo `date` +select now(),'Erzeuge View dim_kotr' +from xdummy; create view dim_kotr( apnr, druck, key) as - SELECT dim_bp_apnr.apnr, dim_bp_apnr.druck, dim_bp_apnr.uniquename AS key + SELECT dim_bp_apnr.apnr, dim_bp_apnr.druck, dim_bp_apnr.uniquename AS key FROM dim_bp_apnr WHERE dim_bp_apnr.dimension_bp_id = ( SELECT d.tid FROM dimension_bp d WHERE d.apnr = 'bluep_kotr'); +<#if views?seq_contains("dim_kreis") > + + +select now(),'view dim_kreis exists - fine' +from xdummy; + + +<#else> + + +select now(),'Erzeuge View dim_kreis' +from xdummy; + +create view dim_kreis( + apnr, +astat, +druck, +kfz, +bland_druck, +bland_kurz, +bland_astat) as + ; + + + <#else> -! echo "Erzeuge View user_groups" -! echo `date` +select now(),'Erzeuge View user_groups' +from xdummy; create view user_groups( userinfo_id, @@ -609,8 +635,8 @@ and G.tid=B.groupinfo_id and U.akt_versuch <= U.max_versuch ; -! echo "Erzeuge View menu_element_fieldmode" -! echo `date` +select now(),'Erzeuge View menu_element_fieldmode' +from xdummy; create view menu_element_fieldmode( id, @@ -630,8 +656,8 @@ annotation) as ; -! echo "Erzeuge View menu_element_mandatory" -! echo `date` +select now(),'Erzeuge View menu_element_mandatory' +from xdummy; create view menu_element_mandatory( id, @@ -652,8 +678,8 @@ annotation) as ; -! echo "Erzeuge View menu_element_nature" -! echo `date` +select now(),'Erzeuge View menu_element_nature' +from xdummy; create view menu_element_nature( id, @@ -674,22 +700,22 @@ annotation) as ; -! echo "Erzeuge View menu_element_orgstructure" -! echo `date` +select now(),'Erzeuge View menu_element_orgstructure' +from xdummy; create view menu_element_orgstructure( orgstruktur, description) as - select element as orgstruktur, description - from menu_element + select element as orgstruktur, description + from menu_element where element='orgstruktur' ; -! echo "Erzeuge View user_inst_org" -! echo `date` +select now(),'Erzeuge View user_inst_org' +from xdummy; create view user_inst_org( userid, @@ -714,8 +740,8 @@ where O.key_apnr=U.ch110_institut ; -! echo "Erzeuge View hochschulen" -! echo `date` +select now(),'Erzeuge View hochschulen' +from xdummy; create view hochschulen( hs_nr, @@ -738,8 +764,8 @@ or trim(substring(apnr from 4 for 1)) ='') ; -! echo "Erzeuge View dimension_view" -! echo `date` +select now(),'Erzeuge View dimension_view' +from xdummy; create view dimension_view( id, @@ -774,10 +800,10 @@ SELECT D.tid as id, D.sourcefilter, D.system_key, ''::varchar(255) as view_reference, - ('select C.' || F.foreignkey_int || ' as id,T.sourcesystem_id, C.' || F.foreignkey_col || ' as apnr,C.' || F.foreignkey_cap || ' as name' + ('select C.' || F.foreignkey_int || ' as id,T.sourcesystem_id, C.' || F.foreignkey_col || ' as apnr,C.' || F.foreignkey_cap || ' as name' ||',' || D.system_key || '::integer as mschluessel,T.apnr as aschluessel,null::VARCHAR(255) as obj_guid ,null::integer as lock_version' || ' from ' || F.foreignkey_tab || ' C,trans_dim_bp_apnr T' - || ' where T.sourcesystem_id=C.' || F.foreignkey_col || '::varchar(255)' + || ' where T.sourcesystem_id=C.' || F.foreignkey_col || '::varchar(255)' || nvl(' and ' || F.foreignkey_cond || ' ','') || 'and ' || D.dimension_bp_id ||' =T.dimension_bp_id' )::lvarchar as sourcesql, @@ -802,10 +828,10 @@ SELECT D.tid as id, D.sourcefilter, D.system_key, ''::varchar(255) as view_reference, - ('select C.' || F.foreignkey_col || ' as id,T.sourcesystem_id, C.' || F.foreignkey_col || ' as apnr,C.' || F.foreignkey_cap || ' as name' + ('select C.' || F.foreignkey_col || ' as id,T.sourcesystem_id, C.' || F.foreignkey_col || ' as apnr,C.' || F.foreignkey_cap || ' as name' ||',' || D.system_key || '::integer as mschluessel,T.apnr as aschluessel,null::VARCHAR(255) as obj_guid ,null::integer as lock_version ' || 'from ' || F.foreignkey_tab || ' C,trans_dim_bp_apnr T ' - || 'where T.sourcesystem_id=C.' || F.foreignkey_col || '::varchar(255) ' + || 'where T.sourcesystem_id=C.' || F.foreignkey_col || '::varchar(255) ' || nvl(' and ' || F.foreignkey_cond || ' ','') || 'and ' || D.dimension_bp_id ||' =T.dimension_bp_id ' )::lvarchar as sourcesql, @@ -834,7 +860,7 @@ SELECT distinct T.tid+1000000 as id, null::VARCHAR(255) as obj_guid , null::integer as lock_version FROM dimension D inner join sx_tables T on (T.name=D.fact_table) - + union SELECT distinct T.tid+2000000 as id, D.dimension_bp_id, @@ -855,12 +881,12 @@ SELECT distinct T.tid+2000000 as id, null::integer as lock_version FROM dimension D inner join sx_tables T on (T.name=D.fact_table) where D.fact_table='sva_pers_cube' - and D.name='ca108_amtsbez' + and D.name='ca108_amtsbez' ; -! echo "Erzeuge View fact_table" -! echo `date` +select now(),'Erzeuge View fact_table' +from xdummy; create view fact_table( id, @@ -887,8 +913,8 @@ where T.name in (select distinct fact_table from dimension) ; -! echo "Erzeuge View dim_staat" -! echo `date` +select now(),'Erzeuge View dim_staat' +from xdummy; create view dim_staat( apnr, @@ -898,7 +924,7 @@ kontinent, inl_ausl_kurz, inl_ausl_lang) as -SELECT +SELECT apnr, druck, uniquename::integer as astat, @@ -913,8 +939,8 @@ and apnr !=0 --nur für Abwärtskompatibilität zu FLEDA ; -! echo "Erzeuge View dim_stg" -! echo `date` +select now(),'Erzeuge View dim_stg' +from xdummy; create view dim_stg( apnr, @@ -925,7 +951,7 @@ stg_ltxt, stg_astgrp, stg_astgrp_str) as -SELECT +SELECT apnr, druck, uniquename as stg, @@ -941,8 +967,8 @@ where dimension_bp_id=(select D.tid from dimension_bp D where D.apnr='bluep_stg' ; -! echo "Erzeuge View dim_abschluss" -! echo `date` +select now(),'Erzeuge View dim_abschluss' +from xdummy; create view dim_abschluss( apnr, @@ -957,7 +983,7 @@ abschlussart_str, abschluss_grp, abschluss_grp_str) as -SELECT +SELECT apnr, druck, uniquename as abschluss, @@ -977,8 +1003,8 @@ where dimension_bp_id=(select D.tid from dimension_bp D where D.apnr='bluep_absc ; -! echo "Erzeuge View dim_kost" -! echo `date` +select now(),'Erzeuge View dim_kost' +from xdummy; create view dim_kost( apnr, @@ -991,15 +1017,29 @@ key) as ); -! echo "Erzeuge View dim_kotr" -! echo `date` +select now(),'Erzeuge View dim_kotr' +from xdummy; create view dim_kotr( apnr, druck, key) as - SELECT dim_bp_apnr.apnr, dim_bp_apnr.druck, dim_bp_apnr.uniquename AS key + SELECT dim_bp_apnr.apnr, dim_bp_apnr.druck, dim_bp_apnr.uniquename AS key FROM dim_bp_apnr WHERE dim_bp_apnr.dimension_bp_id = ( SELECT d.tid FROM dimension_bp d WHERE d.apnr = 'bluep_kotr'); + +select now(),'Erzeuge View dim_kreis' +from xdummy; + +create view dim_kreis( + apnr, +astat, +druck, +kfz, +bland_druck, +bland_kurz, +bland_astat) as + ; + diff --git a/superx/WEB-INF/conf/edustore/db/install/upgrade/kernmodul_upgrade_man.sql b/superx/WEB-INF/conf/edustore/db/install/upgrade/kernmodul_upgrade_man.sql index b690c3e..7ca58f0 100644 --- a/superx/WEB-INF/conf/edustore/db/install/upgrade/kernmodul_upgrade_man.sql +++ b/superx/WEB-INF/conf/edustore/db/install/upgrade/kernmodul_upgrade_man.sql @@ -1,4 +1,17 @@ --freemarker template + + +select apnr,beschreibung from konstanten + + +select sp_table_exists('organigramm_tid_seq') + + + + + + +--konstanten fuellen: select '${SQLdialect}' from xdummy; @@ -57,9 +70,15 @@ alter table user_pw alter column old_sha4 type char(255); alter table user_pw alter column old_sha5 type char(255); alter table user_pw alter column old_sha6 type char(255); alter table user_pw alter column old_sha7 type char(255); -alter table systeminfo alter column datum type timestamp; -alter table db_version alter column db_einfuegemarke type varchar(255); -alter table db_version alter column his_system type varchar(255); + +<#if organigramm_tid_seq_exists==0> +create sequence organigramm_tid_seq ; +select setval('organigramm_tid_seq',(select max(tid) from organigramm)); +alter table organigramm alter column tid set default nextval('organigramm_tid_seq'); + + +alter table organigramm_bak alter column drucktext type varchar(255); +alter table organigramm_bak alter column name type varchar(255); <#if '${SQLdialect}'='Informix' > @@ -79,6 +98,11 @@ alter table user_pw modify(old_sha5 char(255)); alter table user_pw modify(old_sha6 char(255)); alter table user_pw modify(old_sha7 char(255)); alter table systeminfo modify(datum datetime year to second); +alter table organigramm modify(tid serial); +alter table organigramm modify(drucktext VARCHAR(255)); +alter table organigramm modify(name VARCHAR(255)); +alter table organigramm_bak modify(drucktext VARCHAR(255)); +alter table organigramm_bak modify(name VARCHAR(255)); DELETE FROM menu_element WHERE element = 'contenttype' AND element_value = 'text/html; charset=ISO-8859-1'; diff --git a/superx/WEB-INF/kern_dbforms-config_ids.xml b/superx/WEB-INF/kern_dbforms-config_ids.xml new file mode 100644 index 0000000..f9a384c --- /dev/null +++ b/superx/WEB-INF/kern_dbforms-config_ids.xml @@ -0,0 +1,2952 @@ + +dd.MM.yyyy + +
+ + + + +
+ + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + +Bei ICE-Schlüsseln + + + + + + + +Bei GX der hiskey, bei HISINONE hiskey_id + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + +
+ + + + +Pfad zur Datei (relativ zu webapps/superx/WEB-INF/ ) + + + + +(Nur bei CSV-Format) + + +utf8,ISO-8859-1 (Nur bei Text-Format) + + +Enthält die Datei Spaltenüberschriften? 1=ja,0=nein + + + +Anzahl der gelieferten Datensätze + + +1=ja,0=nein + + + +Person, die den Download eingereicht hat + + +Spezielle Email-Adresse für die Protokollierung des Ladens + + + +Datum/Uhrzeit des Imports in die SuperX-Datenbank + + + +1=Hinzufügen,0=Alles Löschen und Hinzufügen + + +Kommentar für Website (Datenlegende o.ä.). + + +Lieferung bestätigt (per mail an submission_email) + + + +1=ja,0=nein + + +1=ja,0=nein + + +Email vom Adminstrator, der über die Datei informiert + werden soll + + +1=ja + + +1=ja, Verarbeitung bestätigt (per mail an submission_email + und processor_email) + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + +ggf. zusätzliche where-Bedingung für blueprint + + +wird von Anwendung gesetzt, darf nicht geändert werden + + + +
+ + + + + + + + + + + + + + + + + + +wird von Anwendung gesetzt, darf nicht geändert werden + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + + + + +1=ja, d.h. von der Hochschule angepaßt, 0=nein, d.h. + Auslieferung der Software + + +
+ + + + + + + +
+ + + + + + +1=Gruppierung, + 2=Loadtable,3=nativeaction,4=loadmask,5=select + + + +1=ja, d.h. von der Hochschule angepaßt, 0=nein, d.h. + Auslieferung der Software + + +
+ + + + + + +
+ + + + + + + + + +1=ja, d.h. von der Hochschule angepaßt, 0=nein, d.h. + Auslieferung der Software + + +
+ + + + + + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + +
+ + + + + + + + + + +
+ + + + +
+ + + + + + + + + + +
+ + + + + + + +
+ + + + + + + + + + + + + +
+ + + + +
+ + +person_id der gelöschten Entity + + +Matrikelnummer der gelöschten Entity + + +Entiy-Klasse des gelöschten Objekts in HisInOne + + +Zeitpunkt der Löschung in HISinOne + + +Zeitpunkt der Löschung in der BI + + +Job-Ausführung in HisInOne von der Delete-Event ausgelöst wird + + +
+ + + + + + + +(Obsolet) + + +(Obsolet) + + + + + +
+ + + + + + +
+ + + + +
+ + + + + + + + + +2-steller + + +3-steller + + +
+ + + + + +
+ + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + +
+ + + + + +
+ + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
+ + + + + + + +
+ + + + + + + + + + + +Applet=0, 1=Themenbaum_vom_XML-Frontend, 2=Alle, 3=XML_und_Angular, 4=Nur_Angular + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + +
+ + + +
+ + + + + + + + + + + +gem. COB-GX:30=Lehreinheit,20=Fakultät + + + + + +(referenziert BI-Tabelle cifx mit key=1) + + + +z.B. 10=Kostenrechnung,3=MBS vergl. BI-Tabelle systeminfo + + + + + + + + + +
+ + + + + + + + + + + +gem. COB-GX:30=Lehreinheit,20=Fakultät + + + + + +(referenziert BI-Tabelle cifx mit key=1) + + + +z.B. 10=Kostenrechnung,3=MBS vergl. BI-Tabelle systeminfo + + + +
+ + + + + + +
+ + + + +Querverweis zur Systeminfo + + + + + + + + +
+ + + + + +Querverweis zur Systeminfo + + + + + + + + +
+ + + + + + + +
+ + + + +
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + + + + + +
+ + + + + + + +
+ + + + + + + + + + +
+ + + + + +
+ + + + + + + +Wenn der jew. User keine sichtartspez. Rechte hat, gibt es einen Fallback zur normalen user_institution (1=ja, 0=nein) + + +
+ + + +Um zukünftig evtl. Hierarchien von Sichten abzubilden + + + +Querverweis zur Systeminfo + + + +10 ist standardsicht, 20 ist alt.Hierarchie + + +Es kann eine Kurzbeschreibung für interne Zwecke + hinterlegt werden + + +Bezeichnung der Sicht, die für User angezeigt wird + + + + +kann für Sortierungen benutzt werden + + +Angabe einer Tabelle mit + key,parent,name,gueltig_seit,gueltig_bis oder Prozedur, die mit + sp_ anfängt + + +id der alt.Hier in angegebenen Quelltabelle null bei + regulärer Hierarchie + + +Tabelle mit Infos zu TreeView aus Cob + + +id des benutzen trees aus Cob-Tabelle trees null bei + regulärer Hierachie + + +hauptsächl. für alte Organigramm-Sichten, hieß mal lehre + + + +sollen User Rechte berücksichtigt werden, derzeit von + Org.Sichten ausgewertet + + +zukünftig für erweiterte Rechtevergabe + + +zukünftig für erweiterte Rechtevergabe + + +soll der Stand geändert werden können + + +bei Bedarf noch Attribute der Sicht hinterlegt werden, auf + die man bei Bedarf Einschränkungen fahren kann + + +bei Bedarf noch Attribute der Sicht hinterlegt werden, auf + die man bei Bedarf Einschränkungen fahren kann + + +bei Bedarf noch Attribute der Sicht hinterlegt werden, auf + die man bei Bedarf Einschränkungen fahren kann + + +bei Bedarf noch Attribute der Sicht hinterlegt werden, auf + die man bei Bedarf Einschränkungen fahren kann + + +Max. Zeilen im Klappmenü + + + + +soll Sicht im Applet gecachet werden + + +soll Sicht im XML-Frontend gecachet werden + + + + + + +
+ + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + +Bei Maskenfeldern wird dieses Feld für Tooltips genutzt. + + + + + + + + + + + + + +
+ + + + + +Worauf bezieht sich der Download (für Ermittlung + Bezugsjahr,- Monat oder Sem.) + + +Datum des Imports in die SuperX-Datenbank + + +Kommentar für Website (Datenlegende o.ä.). + + +Verweis auf umfangreichere Anleitungen und Kommentare, + beginnend mit http:// oder relativ zu + http://superx-server:Port/superx/servlet + + +Mime-Type der Datei (für pdf z.B. application/pdf, html + etc). + + +Pfad zur Datei (relativ zu webapps/superx/WEB-INF/) + + + + + + + + +
+ + + + + + + + + +1=true + + +1=ja, 0=nein + + +1=ja, 0=nein + + + + +Für Ganzzahl-Transformation ICE + + + + + +1=ja, 0=nein. Wird beim CSV-Upload ausgewertet. + + +1=ja, 0=nein. Das Feld Semester ist z.B. nicht summierbar, + das Feld Geschlecht schon (für ICE Ausprägung alle) + + + +
+ + + + + + + + + + + + + + + +
+ + + + +Wird derzeit noch nicht ausgewertet. + + +
+ + + + + + + + + + + + + + +wird per Reflection aufgerufen + + + + +wird per Reflection aufgerufen + + + +wird per Reflection aufgerufen + + + +
+ + + + + +Das Stylesheet mit der kleinsten Nummer wird zuerst + aufgerufen + + + + + + + + +
+ + + + + +"green" oder "red" + + +z.B. "icon-user-plus" oder "icon-help-circled" + + + + +false=wird nicht ausgegeben, all=auch nicht angemeldete Personen sehen das Portlet. + + + + +
+ + + +Der Variablenname wird in Freemarker-Scripten, beginnend + mit Modulname-_..., z.B. SVA_Technisches_Personal + + + + + + + +(Für weitere Gruppierungsebenen) + + +(Für noch weitere Gruppierungsebenen) + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + +Pfad und Dateiname. Für XSL-Stylesheets relativ zum + Verzeichnis: webapps/superx/xml, für JasperReports-Templates + relativ zu webapps/superx/WEB-INF/reports + + +wird für Hyperlinks benutzt + + + +Gilt das Stylesheet für eine Maske oder eine Tabelle. Bei + JasperReports-Templates müssen Sie immer Tabelle wählen. + + + +z.B.: text/html; charset=ISO-8859-1. Bei XSL Stylesheets + ist dies das Ausgabeformat, bei JasperReports Templates ist dies + das default Ausgabeformat + + +Wird nur für Ergebnistabellen ausgewertet, nicht für Masken-Stylesheets. Wenn 1, dann ist das Stylesheet für alle Ergebnistabellen nutzbar + + +Pfad relativ zu webapps/superx + + +Welche Ergebniszeilen soll das Stylesheet verarbeiten. S=Nur Schema, T=Aktuelle Baumstruktur,A=Alle Daten + + +XSL,JRXML,XSL_JRXML,XSL_FO,XML,NATIVE,XLSX + + +Wird nur bei JR ausgewertet. Mögliche Werte: RS,XMLSOURCE + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +Voreinstellung bei Auslieferung + + + + +
+ + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + +Dieser Wert darf keinesfalls geändert werden + + + + + + + + + + +
+ + + +Querverweis zur Systeminfo + + +z.B. zul_bew für Bewerber aus ZUL/APP + + +10 ist standardsicht, 20 ist alt.Hierarchie + + + + +
+ + +Querverweis zur Systeminfo + + +z.B. zul_bew für Bewerber aus ZUL/APP + + +10 ist standardsicht, 20 ist alt.Hierarchie + + + +
+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + +
+ + + + + + + + + + + +
+ + + + +
+ + + +Nur deskriptiv + + + + +Ab Kern5.0 bezieht sich die Gültigkeit auf den Tag, ab dem eine Berechtigung gültig ist.(Vorher bezog sie sich darauf, welchen Stand man für eine Sicht einstellte). + + +Ab Kern5.0 bezieht sich die Gültigkeit auf den Tag, bis zu dem eine Berechtigung gültig ist.(Vorher bezog sie sich darauf, welchen Stand man für eine Sicht einstellte). + + + + + + + + + + + +
+ + + + +Nur deskriptiv + + + + + + +
+ + + + + + + + + + + +
+ + + + +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + +
+ + + +Rechte für eine einzelne Sicht geben + + + + + + + + + +
+ + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + + +
+ + + + +
+ + + + +
+ + + + + + + + +
+ + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + +ggf. zusätzliche where-Bedingung für blueprint + + +wird von Anwendung gesetzt, darf nicht geändert werden + + + +wird von Anwendung gesetzt, darf nicht geändert werden + + + +wird von Anwendung gesetzt, darf nicht geändert werden + + + + +
+ + + + + + + + + + +
+ + + +
+ + + + + + + +
+ + + + + + + +
+ + + + + + + +
+ + + +
+ + + + + +
+ + + + + + + + + +
+ + + + + +
+In diesem Formular können Sie Benutzer verwalten. +Sie können hier die Benutzerdaten wie Kennung, Name, E-Mail Adresse ... einsehen und auch verändern. +Sie Können das Passwort ändern, den Benutzer als Administrator setzten und auch den Benutzer dazu veranlassen +beim nächsten Login sein Passwort zu ändern. +Außerdem können Sie hier dem Benutzer Berechtigungen über Gruppen, Sachgebiete, Masken, Institutionen, Projekten (Kostenträgern), Sichten und Sichtarten geben und auch entziehen. + + +tid + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ In diesem Formular können Sie Gruppen verwalten. + + + Sie können hier einer Gruppe Berechtigungen über Sachgebiete, Masken, + Sichten und Sichtarten geben und auch entziehen. + Außerdem können Sie auch hier sehen, welche Benutzer der Gruppe zugehören + und auch neue Benutzer hinzufügen oder Gruppeninhaber aus der + Gruppe nehmen. + + tid + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+In diesem Formular können Sie Sachgebiete verwalten. + +name + + + + +
+In diesem Formular können Sie XSL-Stylesheets verwalten. + +filename + + + + + + + + + + + + + + + +
+In diesem Formular können Sie Organisationseinheiten verwalten. + +name +tid + + + + + + + + + + + + + + + + + + + + + + + +
+In diesem Formular können Sie die Sichtbarkeit von Organisationseinheiten verwalten. + +name +tid + + + + + + + + + + + + + + + + + + + + + + +
+In diesem Formular können Sie Maskendefinitionen verwalten. + +name + + + + + + + + + + + +
+In diesem Formular können Sie Maskendefinitionen verwalten. + +tid + + + + + + + + + + + +
+In diesem Formular können Sie Maskendefinitionen verwalten. + +tid + + + + + + + + + + + + + + +
+In diesem Formular können Sie Feld-Vorbelegung von Makro-Masken verwalten. + +macro + + + + + + + + + + + + +
+In diesem Formular können Sie Felder verwalten. + +tid + + + + + + + + + + + + + + + +
+In diesem Formular können Sie Quellsysteme verwalten. + +name + + + + +
+In diesem Formular können Sie Benutzern Sachgebietsrechte geben. Achtung: Einträge von externem System (HisInOne) werden bei Neuanmeldung überschrieben + +userinfo_id +sachgebiete_id + + + + +
+In diesem Formular können Sie Benutzer zu Gruppen zuordnen. Achtung: Zuordnung zur Gruppe Administratoren für admins von externem System (HisInOne) werden bei Neuanmeldung überschrieben + +userinfo_id +groupinfo_id + + + + +
+In diesem Formular können Sie Benutzern Rechte auf einzelne Masken geben. + +userinfo_id +maskeninfo_id + + + + +
+In diesem Formular können Sie Benutzern Rechte auf einzelne Insitutionen geben. Achtung: Einträge von externem System (HisInOne) werden bei Neuanmeldung überschrieben + + +ch110_institut + + + + +
+In diesem Formular können Sie den Themenbaum bearbeiten. Bitte beachten Sie: bei Änderungen muss der Themenbaum neu geladen werden (SuperXManager) + +maskeninfo_id +name + + + + + + + + + + + + + + +
+In diesem Formular können Sie Masken zu XSL-Stylesheets zuordnen. + +tid + + + + + + + + + + + + + + +
+In diesem Formular können Sie Sichten auf das Organigramm verwalten. + +art +name + + + + +
+In diesem Formular können Sie Masken zu Sachgebieten zuordnen. + +maskeninfo_id +sachgebiete_id + + + + +
+In diesem Formular können Sie Felder zu Masken zuordnen. + +maskeninfo_id +felderinfo_id + + + + +
+In diesem Formular können Sie Masken zu Quellsystemen zuordnen. + +maskeninfo_id +systeminfo_id + + + +
+In diesem Formular können Sie Masken zu Makros zuordnen. + +maskeninfo_id1 +maskeninfo_id2 + + + + +
+In diesem Formular können Sie Masken zu Makros zuordnen. + +maskeninfo_id1 + + + + + + + + + + + + + + + +
+In diesem Formular können Sie Konstanten verwalten. + +beschreibung + + + + +
+In diesem Formular können Sie eine Konstante bearbeiten verwalten. + + + + + + + + + + + + + +
+In diesem Formular können Infos zu Ihrer Hochschule speichern. Bitte ordnen Sie Ihre Hochschule im Feld Hochschulnummer (HIS) zu. + +name + + + + + + + + + +
+In diesem Formular können Sie Gruppen zu Sachgebieten zuordnen. + +groupinfo_id +sachgebiete_id + + + + +
+In diesem Formular können Sie Gruppen zu einzelnen Masken zuordnen. + +groupinfo_id +maskeninfo_id + + + + +
+In diesem Formular können Sie Gruppen zu einzelnen Masken zuordnen. + +groupinfo_id +maskeninfo_id + + + + +
+In diesem Formular können Sie User-Rechte für Sichten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager) + +sicht_name_intern + + + + +
+In diesem Formular können Sie Gruppen-Rechte für Sichten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager) + +sicht_name_intern + + + + +
+In diesem Formular können Sie Beschriftungen bearbeiten. Für Masken- und Spalten- und Felderläuterungen. + +tid + + + + + + + + + + + + + + + +
+In diesem Formular können Sie User-Rechte für Sichtarten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager) + +sichtart + + + + + +
+In diesem Formular können Sie Gruppen-Rechte für Sichtarten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager) + +sichtart + + + + + +
+In diesem Formular können Sie hochschulspezifische Konstanten oder SQL-Ausdrücke bearbeiten. +Nach Änderungen sollten Sie den Cache aktualisieren + +tid +sachgebiete_id + + + + + + + + + + + + + + + + + + +
+In diesem Formular können Sie hochschulspezifische Konstanten oder SQL-Ausdrücke bearbeiten. + +sachgebiete_id + + + + + + + + + + + +
+In diesem Formular können Sie Downloads bearbeiten. + +tid + + + + +
+In diesem Formular können Sie Stichworte bearbeiten. + + + + + + +
+In diesem Formular können Sie Sichten zu Sachgebieten zuordnen. + + + + + + +
+In diesem Formular können Sie Sichtarten zu Sachgebieten zuordnen. + + + + + + + + + +
+In diesem Formular können Sie Entladeparameter für das jew. Quellsystem verwalten. + + + + + + + + + +
+In diesem Formular können Sie Kostenstellen umschlüsseln. + +systeminfo_id + + + + + + + + +
+In diesem Formular können Sie Kostenstellen umschlüsseln. + +systeminfo_id + + + +
+In diesem Formular können Sie Uploads bearbeiten. + +tid + + + + + +
+In diesem Formular können Sie von Stylesheets benötigte Felder entsprechend zuordnen. + +tid +stylesheet_id + + + + + + + +
+In diesem Formular können Sie von Stylesheets benötigte Felder entsprechend zuordnen. + +stylesheet_id + + + + + + + + +
+In diesem Formular können Sie Feldern in Masken für bestimmte Gruppen Attribute wie Verstecken zuweisen. + + + + + + + + + +
+In diesem Formular können Sie Feldern in Masken für bestimmte Gruppen Attribute wie Verstecken zuweisen. + + + + + + + +
+In diesem Formular können Sie Freemarker-Templates verwalten. + + + + + + + +
+In diesem Formular können Sie Freemarker-Templates verwalten. + +tid + + + + + + + + +
+In diesem Formular können Sie DB Connections bearbeiten. + + + + + + + +
+In diesem Formular können Sie DB-Connections verwalten. + + + +id + + + + + + + + + + + + + + + + + +
+In diesem Formular können Sie Portlets bearbeiten. + + + + + + + + + + + + + + +
+In diesem Formular können Sie Portlets verwalten. + + + +tid + + + + + + + + + + + + + + +
+In diesem Formular können Sie Rechtetabellen für Sichtarten bearbeiten. + + + + + + + + +
+In diesem Formular können Sie Rechtetabellen für Sichtarten bearbeiten. + +tid + + + + + + + + + + + + +
+In diesem Formular können Sie Ladejobs verwalten + +tid + + + + + + + + + + + + + +
+In diesem Formular können Sie Ladejobs verwalten + + + + + + + + + + +
+In diesem Formular können Sie das Organigramm aufrufen + + + + + + +
+In diesem Formular können Sie Stylesheet-Parameter bearbeiten. + +tid + + + + + + + + + +
+In diesem Formular können Sie Stylesheet-Parameter bearbeiten. + +stylesheet_id + + + + + + + +
+In diesem Formular können Sie Stammdaten anpassen + +key + + + + + + + +
+In diesem Formular können Sie Stammdaten anpassen. Achtung: nach Änderung muss die jew. Hauptladeroutine laufen + +key +apnr +tid + + + + + + + + + + +
+ + + diff --git a/superx/WEB-INF/kern_dbforms-config_pg.xml b/superx/WEB-INF/kern_dbforms-config_pg.xml index e7fb85e..fd7e7a3 100644 --- a/superx/WEB-INF/kern_dbforms-config_pg.xml +++ b/superx/WEB-INF/kern_dbforms-config_pg.xml @@ -850,11 +850,11 @@ - + - - + + @@ -885,8 +885,8 @@ - - + + @@ -2153,23 +2153,24 @@ Außerdem können Sie hier dem Benutzer Berechtigungen über Gruppen, Sachgebiet -
+ In diesem Formular können Sie Organisationseinheiten verwalten. name tid - + - - - - - - + + + + + + + - + diff --git a/superx/WEB-INF/lib/superx5.0.jar b/superx/WEB-INF/lib/superx5.0.jar index cd25f0804484f09779eb0f4f2a4c2a9079656af7..e5c047c09d8e521963506d3427f23e3192590653 100644 GIT binary patch delta 52893 zcmZ6z1yqzz*f-23xzsM*Atf!P2#AzQO9%oY5)vXINV7Cb_X^S>2uMgQAPtftDF{e| zq_h$ue9PYd=Y5~=^&HOq+pFiAYi919nf3dyQJBPuVM zHB@I|Gl`euM2nHOi=sk~Zk;QsvQR&||G^P!NJprs)2Vr%Nph%bggaLq{pocukru^v z^QUgd{9!t47P+FfjZgeUPXl!A{F6RnR^M_elJXFySXMJ9xfSPpy9yVF7jn}`9Q58E zDq(I~LHYiQKJY~awMC7`CHB4?ijCt+o^ZVOneWjNf91{Q2OY>f_X%vVUe{eZ|51Z% z(gcFwBw|Wpsz%Baw%Um@#1G*V=8GRYabD?R!%Y9TEzrgviHsmt$mLTO!~-cSnN73; ziQ}Jpgs8+1ATB(924zm%0a4>I6wHr*ih`wpCr-`}Obfv!BvBNPiKuL!xQYBG zTsPx_Wpe~HxWlCE9?I^3{gS>yb&`(;s4{{Jt5%W6X7*HZI4hI|GY|c1OK!olEL>t z9+4>i^Ei<#{xgc08~>Cg7P@>^IS@Z2y{wa}9@Iw=zF_=l=kNq`x>Yb9++{QXKn`;! zUZl#F)eeG}9pf0mi@fKY12~b~EHFH$gue&Rc`3jK$AdSbJb*}>m@(d5B8$W-ohk5Rg(35L{2x zb>U7Ve@s-RVH8b>H}S(f6(4Jrr=e z;|KUs&guYIB)MQge9RPIUjxCv{bm3NAB-yk!qPL!fG_{WC4gnM{DcUv)w{(C#JsW7 z46sV}I>F?ZIr?fXaC(^|J8}$%IS7Rje#1yrm3!z1c;P%l0rJ=XHR37QV<;$@_|hmg zjvQ2tw~AGx2C?De#M+@ia`>qV`<@3>3UG}C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%>" javascriptFieldsArray="true" + >
@@ -117,28 +118,23 @@ dbConnectionName="<%= mandantenid %>" >
-<%@ include file="/edit/kern/organigramm_tid.inc" %> +
+ + + + - - - - - +<%@ include file="/edit/kern/organigramm_edit_parent.inc" %> @@ -146,7 +142,7 @@ dbConnectionName="<%= mandantenid %>" > diff --git a/superx/edit/kern/organigramm_edit_parent.inc b/superx/edit/kern/organigramm_edit_parent.inc new file mode 100644 index 0000000..b60009e --- /dev/null +++ b/superx/edit/kern/organigramm_edit_parent.inc @@ -0,0 +1,34 @@ + + + + + + diff --git a/superx/edit/kern/organigramm_parent_dialog.jsp b/superx/edit/kern/organigramm_parent_dialog.jsp new file mode 100644 index 0000000..54d1834 --- /dev/null +++ b/superx/edit/kern/organigramm_parent_dialog.jsp @@ -0,0 +1,146 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + + + +Formular Organigramm + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="organigramm"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

+Logo +
<% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

+ + + +
Tupelidentifier +
- -
- -<% sql = "select key_apnr::char(10), name from organigramm order by name;"; %> -
-
- +
- +
+ + + + + +<% +sql = "SELECT '0'::char(10),'Alle Institutionen'::char(255) from xdummy union SELECT key_apnr,trim(key_apnr) || '-' || name from organigramm order by 1; "; +%> + + + + +Auswählen + +
+ + + + + + + + + + + + + + + + + + + + + +
Filtern
+ + + +Übernehmen
0Alle Institutionen + + +  +
+ + + + " class="icon icon-left-big" style="color:blue;cursor: pointer;" title="Zuweisen und schließen">  +
+ + diff --git a/superx/xml/js/memtext/sx_functions.js b/superx/xml/js/memtext/sx_functions.js index daf7879..40f3a59 100644 --- a/superx/xml/js/memtext/sx_functions.js +++ b/superx/xml/js/memtext/sx_functions.js @@ -1830,10 +1830,10 @@ function maskSubmit(event) { //event.preventDefault(); } -$(document).ready(function() { +/*$(document).ready(function() { $("#SuperXMaske").submit(maskSubmit); }); - +*/ function toggleCheckbox(fldname) { //alert(fldname);