Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <association from="CoreBundle\Entity\Category" to="CoreBundle\Entity\Category" caption="root" inverse-alias="root" many-owner="true" many-inverse="false" uuid="3b534acc-0527-40fe-a0fc-e22bf786888f">
- <association-field from="root_id" to="id"/>
- <orm-attributes>
- <attribute name="on-delete">CASCADE</attribute>
- </orm-attributes>
- </association>
- <association from="CoreBundle\Entity\Category" to="CoreBundle\Entity\Category" caption="parent - children" owner-alias="children" inverse-alias="parent" many-owner="true" many-inverse="false" uuid="d56a24f7-8b1b-49de-b543-d08ab6595ed1">
- <association-field from="parent_id" to="id"/>
- <orm-attributes>
- <attribute name="on-delete">CASCADE</attribute>
- <attribute name="side-inverse">
- <attribute name="order-by">
- <attribute name="order-by-field">
- <attribute name="direction">ASC</attribute>
- <attribute name="field">left</attribute>
- </attribute>
- </attribute>
- </attribute>
- </orm-attributes>
- </association>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement