doctrine_migrations-3.0.xsd 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <xsd:schema xmlns="http://symfony.com/schema/dic/doctrine/migrations/3.0"
  3. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  4. targetNamespace="http://symfony.com/schema/dic/doctrine/migrations/3.0"
  5. elementFormDefault="qualified"
  6. >
  7. <xsd:element name="config">
  8. <xsd:complexType>
  9. <xsd:sequence>
  10. <xsd:element name="migrations-path" maxOccurs="unbounded">
  11. <xsd:complexType>
  12. <xsd:simpleContent>
  13. <xsd:extension base="xsd:string">
  14. <xsd:attribute name="namespace" type="xsd:string"/>
  15. </xsd:extension>
  16. </xsd:simpleContent>
  17. </xsd:complexType>
  18. </xsd:element>
  19. <xsd:element name="services" maxOccurs="unbounded" minOccurs="0">
  20. <xsd:complexType>
  21. <xsd:simpleContent>
  22. <xsd:extension base="xsd:string">
  23. <xsd:attribute name="service" type="xsd:string"/>
  24. </xsd:extension>
  25. </xsd:simpleContent>
  26. </xsd:complexType>
  27. </xsd:element>
  28. <xsd:element name="migration" type="xsd:string" maxOccurs="unbounded" minOccurs="0"/>
  29. <xsd:element name="storage" minOccurs="0">
  30. <xsd:complexType>
  31. <xsd:sequence>
  32. <xsd:element name="table-storage" minOccurs="0">
  33. <xsd:complexType>
  34. <xsd:attribute name="table-name" type="xsd:string"/>
  35. <xsd:attribute name="version-column-name" type="xsd:string"/>
  36. <xsd:attribute name="version-column-length" type="xsd:positiveInteger"/>
  37. <xsd:attribute name="executed-at-column-name" type="xsd:string"/>
  38. <xsd:attribute name="execution-time-column-name" type="xsd:string"/>
  39. </xsd:complexType>
  40. </xsd:element>
  41. </xsd:sequence>
  42. </xsd:complexType>
  43. </xsd:element>
  44. </xsd:sequence>
  45. <xsd:attribute name="name" type="xsd:string"/>
  46. <xsd:attribute name="em" type="xsd:string"/>
  47. <xsd:attribute name="connection" type="xsd:string"/>
  48. <xsd:attribute name="sorter" type="xsd:string"/>
  49. <xsd:attribute name="all_or_nothing" type="xsd:boolean"/>
  50. <xsd:attribute name="check_database_platform" type="xsd:boolean"/>
  51. <xsd:attribute name="custom_template" type="xsd:string"/>
  52. <xsd:attribute name="organize-migrations">
  53. <xsd:simpleType>
  54. <xsd:restriction base="xsd:string">
  55. <xsd:enumeration value="BY_YEAR"/>
  56. <xsd:enumeration value="BY_YEAR_AND_MONTH"/>
  57. <xsd:enumeration value="false"/>
  58. </xsd:restriction>
  59. </xsd:simpleType>
  60. </xsd:attribute>
  61. </xsd:complexType>
  62. </xsd:element>
  63. </xsd:schema>