Declaring required as false on timestamp fields causes allow null in new installs
authorEileen McNaughton <eileen@mcnaughty.com>
Mon, 23 May 2016 22:51:05 +0000 (10:51 +1200)
committerEileen McNaughton <eileen@mcnaughty.com>
Mon, 23 May 2016 22:51:05 +0000 (10:51 +1200)
Really this is kind of a GenCode bug - but this works...

xml/schema/ACL/Cache.xml

index 781ab64beed21f104447bcd9cfff901fc8de0bbe..d73ea8a08a583363516aae81d92e4d05af3c7595 100644 (file)
@@ -56,6 +56,7 @@
     <name>modified_date</name>
     <title>Cache Modified Date</title>
     <type>timestamp</type>
+    <required>false</required>
     <comment>When was this cache entry last modified</comment>
     <add>1.6</add>
   </field>