phpide-d10
authorMichael Wagner <info@wagnertech.de>
Wed, 3 Jun 2020 10:01:50 +0000 (12:01 +0200)
committerMichael Wagner <info@wagnertech.de>
Wed, 3 Jun 2020 10:01:50 +0000 (12:01 +0200)
verleihnix/Verleihnix/impl/data/build.properties [new file with mode: 0644]
verleihnix/Verleihnix/impl/data/runtime-conf.xml [new file with mode: 0644]
verleihnix/Verleihnix/impl/data/schema.xml [new file with mode: 0644]

diff --git a/verleihnix/Verleihnix/impl/data/build.properties b/verleihnix/Verleihnix/impl/data/build.properties
new file mode 100644 (file)
index 0000000..82cc9ed
--- /dev/null
@@ -0,0 +1,5 @@
+# Database driver
+propel.database = mysql
+
+# Project name
+propel.project = propel
diff --git a/verleihnix/Verleihnix/impl/data/runtime-conf.xml b/verleihnix/Verleihnix/impl/data/runtime-conf.xml
new file mode 100644 (file)
index 0000000..25eec8f
--- /dev/null
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<config>
+  <!-- Uncomment this if you have PEAR Log installed -->
+  <!--log>
+    <type>file</type>
+    <name>/tmp/propel.log</name>
+    <ident>AlarmManagement</ident>
+    <level>7</level>
+  </log-->
+  <propel>
+    <datasources default="mkrimi">
+      <datasource id="mkrimi">
+        <adapter>mysql</adapter> <!-- sqlite, mysql, myssql, oracle, or pgsql -->
+        <connection>
+          <dsn>mysql:host=localhost;dbname=mkrimi</dsn>
+          <user>mkrimi</user>
+          <password>mkrimi</password>
+          <settings>
+            <setting id="charset">utf8</setting>
+          </settings>
+        </connection>
+      </datasource>
+    </datasources>
+  </propel>
+</config>
diff --git a/verleihnix/Verleihnix/impl/data/schema.xml b/verleihnix/Verleihnix/impl/data/schema.xml
new file mode 100644 (file)
index 0000000..07d47c0
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<database name="mkrimi" defaultIdMethod="native">
+       <table name="medium">
+               <column name="id" type="integer" required="true" primaryKey="true" autoIncrement="true"/>
+               <column name="mod" type="integer" required="true"/>
+               <column name="autor" type="varchar" size="100" required="true"/>
+               <column name="titel" type="varchar" size="100" required="true"/>
+               <column name="eigentumer" type="varchar" size="100" required="true"/>
+               <column name="zz_bei" type="varchar" size="100" required="true"/>
+               <column name="kommentar" type="varchar" size="100" required="true"/>
+               <column name="buch_typ" type="integer" required="true"/>
+       </table>
+       <table name="werkzeug">
+               <column name="id" type="integer" required="true" primaryKey="true" autoIncrement="true"/>
+               <column name="mod" type="integer" required="true"/>
+               <column name="typ" type="varchar" size="100" required="true"/>
+               <column name="beschreibung" type="varchar" size="100" required="true"/>
+               <column name="eigentumer" type="varchar" size="100" required="true"/>
+               <column name="zz_bei" type="varchar" size="100" required="true"/>
+       </table>
+</database>