Skip to content

Commit 73eac3a

Browse files
authored
make organize-migrations usable in XML configs
This fixes #175.
1 parent 2a595d6 commit 73eac3a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Resources/config/schema/doctrine_migrations-1.0.xsd

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@
1010
<xsd:attribute name="namespace" type="xsd:string" />
1111
<xsd:attribute name="table_name" type="xsd:string" />
1212
<xsd:attribute name="name" type="xsd:string" />
13+
<xsd:attribute name="organize-migrations">
14+
<xsd:simpleType>
15+
<xsd:restriction base="xsd:string">
16+
<xsd:enumeration value="BY_YEAR" />
17+
<xsd:enumeration value="BY_YEAR_AND_MONTH" />
18+
<xsd:enumeration value="false" />
19+
</xsd:restriction>
20+
</xsd:simpleType>
21+
</xsd:attribute>
1322
</xsd:complexType>
1423
</xsd:element>
1524
</xsd:schema>

0 commit comments

Comments
 (0)