]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Resources/config/doctrine/Group.orm.yml
Fix constructor prototype
[userbundle] / Resources / config / doctrine / Group.orm.yml
index 6dfe856db00c556b715d7adcce39172f0b3ff794..d05124f233e2b308496b0ece7eb31cf001533cea 100644 (file)
@@ -1,5 +1,6 @@
 Rapsys\UserBundle\Entity\Group:
     type: mappedSuperclass
 Rapsys\UserBundle\Entity\Group:
     type: mappedSuperclass
+#   table: groups
     id:
         id:
             type: integer
     id:
         id:
             type: integer
@@ -8,9 +9,9 @@ Rapsys\UserBundle\Entity\Group:
             options:
                 unsigned: true
     fields:
             options:
                 unsigned: true
     fields:
-        role:
+        title:
             type: string
             type: string
-            length: 20
+            length: 16
         created:
             type: datetime
         updated:
         created:
             type: datetime
         updated:
@@ -19,3 +20,5 @@ Rapsys\UserBundle\Entity\Group:
 #        users:
 #            targetEntity: User
 #            mappedBy: groups
 #        users:
 #            targetEntity: User
 #            mappedBy: groups
+    lifecycleCallbacks:
+        preUpdate: ['preUpdate']