Explorar o código

lib/srdb1/schema: silo removed BLOB/TEXT defaults

From https://dev.mysql.com/doc/refman/5.0/en/blob.html
"BLOB and TEXT columns cannot have DEFAULT values."
Victor Seva %!s(int64=10) %!d(string=hai) anos
pai
achega
f5e02f7be4
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      lib/srdb1/schema/silo.xml

+ 2 - 2
lib/srdb1/schema/silo.xml

@@ -92,14 +92,14 @@
     <column>
         <name>body</name>
         <type>binary</type>
-        <default/>
+        <null/>
         <description>Body of the message</description>
     </column>
 
     <column>
         <name>extra_hdrs</name>
         <type>text</type>
-        <default/>
+        <null/>
         <description>Extra headers that must be restored</description>
     </column>