phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] ged/setup tables_current.inc.php


From: Sigurd Nes
Subject: [Phpgroupware-cvs] ged/setup tables_current.inc.php
Date: Wed, 08 Nov 2006 10:32:03 +0000

CVSROOT:        /sources/phpgroupware
Module name:    ged
Changes by:     Sigurd Nes <sigurdne>   06/11/08 10:32:03

Modified files:
        setup          : tables_current.inc.php 

Log message:
        default current_timestamp

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/ged/setup/tables_current.inc.php?cvsroot=phpgroupware&r1=1.3&r2=1.4

Patches:
Index: tables_current.inc.php
===================================================================
RCS file: /sources/phpgroupware/ged/setup/tables_current.inc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- tables_current.inc.php      17 Jun 2006 18:25:07 -0000      1.3
+++ tables_current.inc.php      8 Nov 2006 10:32:03 -0000       1.4
@@ -18,7 +18,7 @@
                                
'comment_id'=>array('type'=>'auto','nullable'=>False),
                                'element_id'=>array('type'=>'int', 
'precision'=>4,'nullable'=>False,'default'=>'0'),
                                'account_id'=>array('type'=>'int', 
'precision'=>4,'nullable'=>False,'default'=>'0'),
-                               
'comment_date'=>array('type'=>'timestamp','nullable'=>False,'default'=>'0000-00-00
 00:00:00'),
+                               
'comment_date'=>array('type'=>'timestamp','nullable'=>False,'default'=>'current_timestamp'),
                                
'comment'=>array('type'=>'text','nullable'=>False)
                        ),
                        'pk'=>array('comment_id'),
@@ -58,7 +58,7 @@
                                
'details'=>array('type'=>'text','nullable'=>True),
                                'ip'=>array('type'=>'varchar', 
'precision'=>16,'nullable'=>True),
                                'agent'=>array('type'=>'varchar', 
'precision'=>100,'nullable'=>True),
-                               
'logdate'=>array('type'=>'timestamp','nullable'=>False,'default'=>'0000-00-00 
00:00:00'),
+                               
'logdate'=>array('type'=>'timestamp','nullable'=>False,'default'=>'current_timestamp'),
                                'type'=>array('type'=>'varchar', 
'precision'=>20,'nullable'=>True)
                        ),
                        'pk'=>array('history_id'),




reply via email to

[Prev in Thread] Current Thread [Next in Thread]