File tree Expand file tree Collapse file tree
src/Resources/config/doctrine Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <doctrine-mongo-mapping xmlns =" https://doctrine-project.org/schemas/odm/doctrine-mongo-mapping" xmlns : xsi =" https://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" https ://doctrine-project.org/schemas/odm/doctrine-mongo-mapping https://www.doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd" >
2+ <doctrine-mongo-mapping xmlns =" https://doctrine-project.org/schemas/odm/doctrine-mongo-mapping" xmlns : xsi =" https://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http ://doctrine-project.org/schemas/odm/doctrine-mongo-mapping https://www.doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd" >
33 <mapped-superclass name =" Sonata\ClassificationBundle\Document\BaseCategory" >
44 <field name =" name" type =" string" field-name =" name" />
5- <field name =" enabled" type =" boolean " field-name =" enabled" />
5+ <field name =" enabled" type =" bool " field-name =" enabled" />
66 <field name =" slug" type =" string" field-name =" slug" />
77 <field name =" description" type =" string" field-name =" description" />
88 <field name =" position" type =" integer" field-name =" position" />
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <doctrine-mongo-mapping xmlns =" https://doctrine-project.org/schemas/odm/doctrine-mongo-mapping" xmlns : xsi =" https://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" https ://doctrine-project.org/schemas/odm/doctrine-mongo-mapping https://www.doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd" >
2+ <doctrine-mongo-mapping xmlns =" https://doctrine-project.org/schemas/odm/doctrine-mongo-mapping" xmlns : xsi =" https://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http ://doctrine-project.org/schemas/odm/doctrine-mongo-mapping https://www.doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd" >
33 <mapped-superclass name =" Sonata\ClassificationBundle\Document\BaseContext" >
44 <field name =" name" type =" string" field-name =" name" />
5- <field name =" enabled" type =" boolean " field-name =" enabled" />
5+ <field name =" enabled" type =" bool " field-name =" enabled" />
66 <field name =" createdAt" type =" timestamp" field-name =" createdAt" />
77 <field name =" updatedAt" type =" timestamp" field-name =" updatedAt" />
88 <lifecycle-callbacks >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <doctrine-mongo-mapping xmlns =" https://doctrine-project.org/schemas/odm/doctrine-mongo-mapping" xmlns : xsi =" https://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" https ://doctrine-project.org/schemas/odm/doctrine-mongo-mapping https://www.doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd" >
2+ <doctrine-mongo-mapping xmlns =" https://doctrine-project.org/schemas/odm/doctrine-mongo-mapping" xmlns : xsi =" https://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http ://doctrine-project.org/schemas/odm/doctrine-mongo-mapping https://www.doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd" >
33 <mapped-superclass name =" Sonata\ClassificationBundle\Document\BaseTag" >
44 <field name =" name" type =" string" field-name =" name" />
5- <field name =" enabled" type =" boolean " field-name =" enabled" />
5+ <field name =" enabled" type =" bool " field-name =" enabled" />
66 <field name =" slug" type =" string" field-name =" slug" />
77 <field name =" createdAt" type =" timestamp" field-name =" createdAt" />
88 <field name =" updatedAt" type =" timestamp" field-name =" updatedAt" />
You can’t perform that action at this time.
0 commit comments