Add default of current timestamp to the create_date
authorEileen McNaughton <eileen@mcnaughty.com>
Sat, 2 May 2015 23:25:38 +0000 (11:25 +1200)
committerEileen McNaughton <eileen@mcnaughty.com>
Sat, 2 May 2015 23:25:38 +0000 (11:25 +1200)
xml/schema/Financial/PaymentToken.xml

index 04588aeba4ebf63b860c19a8ae0f778d5344dd52..fd7c2b60b8d47e67ad70b073881917174717e344 100644 (file)
@@ -62,7 +62,8 @@
     <name>created_date</name>
     <title>Created Date</title>
     <type>timestamp</type> 
-    <comment>Date created</comment> 
+    <comment>Date created</comment>
+    <default>CURRENT_TIMESTAMP</default>
     <add>4.6</add> 
   </field> 
   <field>