]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Resources/config/doctrine/Title.orm.yaml
Rename to yaml doctrine config files
[userbundle] / Resources / config / doctrine / Title.orm.yaml
diff --git a/Resources/config/doctrine/Title.orm.yaml b/Resources/config/doctrine/Title.orm.yaml
new file mode 100644 (file)
index 0000000..389e89d
--- /dev/null
@@ -0,0 +1,24 @@
+Rapsys\UserBundle\Entity\Title:
+    type: mappedSuperclass
+    id:
+        id:
+            type: integer
+            generator: 
+                strategy: AUTO
+            options:
+                unsigned: true
+    fields:
+        short:
+            type: string
+            length: 4
+        title:
+            type: string
+            length: 16
+        created:
+            type: datetime
+        updated:
+            type: datetime
+#    oneToMany:
+#        users:
+#            targetEntity: User
+#            mappedBy: title