Permalink
Browse files

DDC-537 Add missing sequence-generator tag definition in doctrine-map…

…ping.xsd
  • Loading branch information...
1 parent 6c7aaa7 commit 987fbee75862b9235292b0219fb9ffe7dfd0347a @beberlei beberlei committed May 1, 2010
Showing with 7 additions and 0 deletions.
  1. +7 −0 doctrine-mapping.xsd
View
@@ -173,12 +173,19 @@
<xs:complexType name="id">
<xs:sequence>
<xs:element name="generator" type="orm:generator" minOccurs="0" />
+ <xs:element name="sequence-generator" type="orm:sequence-generator" minOccurs="0" maxOccurs="1" />
</xs:sequence>
<xs:attribute name="name" type="xs:NMTOKEN" use="required" />
<xs:attribute name="type" type="xs:NMTOKEN" use="required" />
<xs:attribute name="column" type="xs:NMTOKEN" />
</xs:complexType>
+ <xs:complexType name="sequence-generator">
+ <xs:attribute name="sequence-name" type="xs:NMTOKEN" use="required" />
+ <xs:attribute name="allocation-size" type="xs:integer" use="optional" default="1" />
+ <xs:attribute name="initial-value" type="xs:integer" use="optional" default="1" />
+ </xs:complexType>
+
<xs:complexType name="inverse-join-columns">
<xs:sequence>
<xs:element name="join-column" type="orm:join-column" minOccurs="1" maxOccurs="unbounded" />

0 comments on commit 987fbee

Please sign in to comment.