]> Raphaƫl G. Git Repositories - userbundle/blobdiff - config/doctrine/Group.orm.xml
Version 0.6.1
[userbundle] / config / doctrine / Group.orm.xml
index 441ad52f7664832288f684ffcb06bb5c22f194c0..5f373780391a7f0d769a967a959715e87308c224 100644 (file)
@@ -1,18 +1,18 @@
 <?xml version="1.0" encoding="utf-8"?>
 <doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
-  <mapped-superclass name="Rapsys\UserBundle\Entity\Group">
-    <id name="id" type="integer" column="id">
-               <generator strategy="AUTO" />
-               <options>
-                 <option name="unsigned">true</option>
-               </options>
-    </id>
-       <field name="title" type="string" length="16" />
-       <field name="created" type="datetime" />
-       <field name="updated" type="datetime" />
-       <many-to-many field="users" target-entity="Rapsys\UserBundle\Entity\User" inversed-by="groups" fetch="LAZY" />
-       <lifecycle-callbacks>
-      <lifecycle-callback type="preUpdate" method="preUpdate" />
-    </lifecycle-callbacks>
-  </mapped-superclass>
+       <mapped-superclass name="Rapsys\UserBundle\Entity\Group">
+               <id name="id" type="integer">
+                       <generator strategy="AUTO" />
+                       <options>
+                               <option name="unsigned">true</option>
+                       </options>
+               </id>
+               <field name="title" type="string" length="16" />
+               <field name="created" type="datetime" />
+               <field name="updated" type="datetime" />
+               <many-to-many field="users" target-entity="Rapsys\UserBundle\Entity\User" inversed-by="groups" fetch="LAZY" />
+               <lifecycle-callbacks>
+                       <lifecycle-callback type="preUpdate" method="preUpdate" />
+               </lifecycle-callbacks>
+       </mapped-superclass>
 </doctrine-mapping>