]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/doctrine/Snippet.orm.yml
Add dance doctrine config
[airbundle] / Resources / config / doctrine / Snippet.orm.yml
index 85253f3232a182c8d28cc598ae9e96f208d051c7..19db3499881f03d2f842498f65757a590ded9b1e 100644 (file)
@@ -12,12 +12,26 @@ Rapsys\AirBundle\Entity\Snippet:
     fields:
         locale:
             type: string
     fields:
         locale:
             type: string
-            length: 2
+            length: 5
         description:
             type: text
         description:
             type: text
+            nullable: true
         class:
             type: text
             nullable: true
         class:
             type: text
             nullable: true
+        short:
+            type: text
+            nullable: true
+        rate:
+            type: integer
+            nullable: true
+            options:
+                unsigned: true
+        hat:
+            type: boolean
+            nullable: true
+            options:
+                default: true
         contact:
             type: string
             length: 254
         contact:
             type: string
             length: 254