diff --git a/00_dbinfo.sql b/00_dbinfo.sql new file mode 100644 index 0000000..0207cb5 --- /dev/null +++ b/00_dbinfo.sql @@ -0,0 +1,15 @@ +-- +-- db info +-- +CREATE table public.sep3tools ( + part VARCHAR (100), + value VARCHAR (255) +); + +COPY public.sep3tools (part, value) +FROM 'db-1.properties' +DELIMITER '=' +QUOTE '@' +CSV +; + diff --git a/db.properties b/db-1.properties similarity index 100% rename from db.properties rename to db-1.properties diff --git a/db-2.properties b/db-2.properties new file mode 100644 index 0000000..926f9b8 --- /dev/null +++ b/db-2.properties @@ -0,0 +1,13 @@ +URL=jdbc:postgresql://localhost/petroparser +USER=petroparser +PASSWORD=petroparser +WOERTERBUCH=woerterbuch."Woerterbuch" +WBKUERZEL="Kuerzel" +WBKLARTEXT="Klartext" +WBTYP="Typ" +WBATTRIBUTE="Attribute" +SCHLUESSELTYPEN=woerterbuch."Schluesseltypen" +STNEBENTYPBEZ="Nebentypbez" +STDATENFELD="Datenfeld" +SCHLUESSELMAPPING=bml.bml_schluesselmapping +DATEFIELD=PETRO