]> Raphaël G. Git Repositories - airbundle/commitdiff
Switch to full locales
authorRaphaël Gertz <git@rapsys.eu>
Wed, 28 Jul 2021 07:19:03 +0000 (09:19 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 28 Jul 2021 07:19:03 +0000 (09:19 +0200)
Add short, rate and nullable description

Resources/config/doctrine/Snippet.orm.yml

index 85253f3232a182c8d28cc598ae9e96f208d051c7..d37862a253c2838ab3053dc7f2fe9038ce81f85c 100644 (file)
@@ -12,12 +12,21 @@ 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
         contact:
             type: string
             length: 254
         contact:
             type: string
             length: 254