123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <xsd:schema xmlns="http://www.symfony-project.org/schema/dic/doctrine"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- targetNamespace="http://www.symfony-project.org/schema/dic/doctrine"
- elementFormDefault="qualified">
- <xsd:element name="dbal" type="dbal" />
- <xsd:complexType name="dbal">
- <xsd:all>
- <xsd:element name="connections" type="connections" minOccurs="0" maxOccurs="1" />
- </xsd:all>
- <xsd:attribute name="default-connection" type="xsd:string" />
- <xsd:attribute name="dbname" type="xsd:string" />
- <xsd:attribute name="host" type="xsd:string" />
- <xsd:attribute name="port" type="xsd:integer" />
- <xsd:attribute name="user" type="xsd:string" />
- <xsd:attribute name="password" type="xsd:string" />
- <xsd:attribute name="driver" type="xsd:string" />
- <xsd:attribute name="driver-class" type="xsd:string" />
- <xsd:attribute name="options" type="xsd:string" />
- <xsd:attribute name="path" type="xsd:string" />
- <xsd:attribute name="unix-socket" type="xsd:string" />
- <xsd:attribute name="memory" type="xsd:boolean" />
- <xsd:attribute name="charset" type="xsd:string" />
- <xsd:attribute name="wrapper-class" type="xsd:string" />
- <xsd:attribute name="platform-service" type="xsd:string" />
- <xsd:attribute name="logging" type="xsd:string" default="false" />
- </xsd:complexType>
- <xsd:complexType name="connections">
- <xsd:choice minOccurs="1" maxOccurs="unbounded">
- <xsd:element name="connection" type="connection" />
- </xsd:choice>
- </xsd:complexType>
- <xsd:complexType name="connection">
- <xsd:attribute name="name" type="xsd:string" use="required" />
- <xsd:attribute name="dbname" type="xsd:string" use="required" />
- <xsd:attribute name="host" type="xsd:string" />
- <xsd:attribute name="port" type="xsd:integer" />
- <xsd:attribute name="user" type="xsd:string" />
- <xsd:attribute name="password" type="xsd:string" />
- <xsd:attribute name="driver" type="xsd:string" />
- <xsd:attribute name="driver-class" type="xsd:string" />
- <xsd:attribute name="options" type="xsd:string" />
- <xsd:attribute name="path" type="xsd:string" />
- <xsd:attribute name="unix-socket" type="xsd:string" />
- <xsd:attribute name="memory" type="xsd:boolean" />
- <xsd:attribute name="charset" type="xsd:string" />
- <xsd:attribute name="wrapper-class" type="xsd:string" />
- <xsd:attribute name="platform-service" type="xsd:string" />
- <xsd:attribute name="logging" type="xsd:string" default="false" />
- </xsd:complexType>
- <xsd:element name="orm" type="orm" />
- <xsd:complexType name="mapping">
- <xsd:attribute name="name" type="xsd:string" use="required" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="dir" type="xsd:string" />
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="prefix" type="xsd:string" />
- <xsd:attribute name="is-bundle" type="xsd:boolean" />
- </xsd:complexType>
- <xsd:complexType name="mappings">
- <xsd:choice minOccurs="1" maxOccurs="unbounded">
- <xsd:element name="mapping" type="mapping" />
- </xsd:choice>
- </xsd:complexType>
- <xsd:complexType name="orm">
- <xsd:all>
- <xsd:element name="entity-managers" type="entity_managers" minOccurs="0" maxOccurs="1" />
- <xsd:element name="mappings" type="mappings" minOccurs="0" maxOccurs="1" />
- </xsd:all>
- <xsd:attribute name="default-entity-manager" type="xsd:string" />
- <xsd:attribute name="default-connection" type="xsd:string" />
- <xsd:attribute name="auto-generate-proxy-classes" type="xsd:string" default="false" />
- <xsd:attribute name="result-cache-driver" type="xsd:string" />
- <xsd:attribute name="metadata-cache-driver" type="xsd:string" />
- <xsd:attribute name="query-cache-driver" type="xsd:string" />
- </xsd:complexType>
- <xsd:complexType name="entity_managers">
- <xsd:choice minOccurs="1" maxOccurs="unbounded">
- <xsd:element name="entity-manager" type="entity_manager" />
- </xsd:choice>
- </xsd:complexType>
- <xsd:complexType name="entity_manager">
- <xsd:all>
- <xsd:element name="mappings" type="mappings" minOccurs="0" maxOccurs="1" />
- </xsd:all>
- <xsd:attribute name="connection" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- <xsd:attribute name="result-cache-driver" type="xsd:string" />
- <xsd:attribute name="metadata-cache-driver" type="xsd:string" />
- <xsd:attribute name="query-cache-driver" type="xsd:string" />
- </xsd:complexType>
- </xsd:schema>
|