phpide-d10 verleihnix_0.1-2
authorMichael Wagner <info@wagnertech.de>
Sat, 12 Dec 2020 08:59:59 +0000 (09:59 +0100)
committerMichael Wagner <info@wagnertech.de>
Sat, 12 Dec 2020 08:59:59 +0000 (09:59 +0100)
verleihnix/Verleihnix/impl/data/schema.xml

index 07d47c0..8053f2e 100644 (file)
@@ -8,7 +8,11 @@
                <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"/>
+               <column name="class_key" type="integer" required="true" inheritance="single">
+                       <inheritance key="1" class="Krimi" extends="Medium"/>
+                       <inheritance key="2" class="Horbuch" extends="Medium"/>
+                       <inheritance key="3" class="Roman" extends="Medium"/>
+               </column>
        </table>
        <table name="werkzeug">
                <column name="id" type="integer" required="true" primaryKey="true" autoIncrement="true"/>