Made it use the dbs timestamp field instead of int

This commit is contained in:
jengo 2001-08-05 08:05:11 +00:00
parent 3a4779f5ff
commit d6e74430bc
2 changed files with 4 additions and 4 deletions

View File

@ -262,7 +262,7 @@
'phpgw_log' => array( 'phpgw_log' => array(
'fd' => array( 'fd' => array(
'log_id' => array('type' => 'auto', 'precision' => 4, 'nullable' => False), 'log_id' => array('type' => 'auto', 'precision' => 4, 'nullable' => False),
'log_date' => array('type' => 'int', 'precision' => 4, 'nullable' => False), 'log_date' => array('type' => 'timestamp', 'nullable' => False),
'log_user' => array('type' => 'int', 'precision' => 4, 'nullable' => False), 'log_user' => array('type' => 'int', 'precision' => 4, 'nullable' => False),
'log_app' => array('type' => 'varchar', 'precision' => 50, 'nullable' => False), 'log_app' => array('type' => 'varchar', 'precision' => 50, 'nullable' => False),
'log_severity' => array('type' => 'char', 'precision' => 1, 'nullable' => False) 'log_severity' => array('type' => 'char', 'precision' => 1, 'nullable' => False)
@ -276,7 +276,7 @@
'fd' => array( 'fd' => array(
'log_msg_log_id' => array('type' => 'auto', 'precision' => 4, 'nullable' => False), 'log_msg_log_id' => array('type' => 'auto', 'precision' => 4, 'nullable' => False),
'log_msg_seq_no' => array('type' => 'int', 'precision' => 4, 'nullable' => False), 'log_msg_seq_no' => array('type' => 'int', 'precision' => 4, 'nullable' => False),
'log_msg_date' => array('type' => 'int', 'precision' => 4, 'nullable' => False), 'log_msg_date' => array('type' => 'timestamp', 'nullable' => False),
'log_msg_tx_fid' => array('type' => 'varchar', 'precision' => 4, 'nullable' => True), 'log_msg_tx_fid' => array('type' => 'varchar', 'precision' => 4, 'nullable' => True),
'log_msg_tx_id' => array('type' => 'varchar', 'precision' => 4, 'nullable' => True), 'log_msg_tx_id' => array('type' => 'varchar', 'precision' => 4, 'nullable' => True),
'log_msg_severity' => array('type' => 'char', 'precision' => 1, 'nullable' => False), 'log_msg_severity' => array('type' => 'char', 'precision' => 1, 'nullable' => False),

View File

@ -1988,7 +1988,7 @@
'phpgw_log', array( 'phpgw_log', array(
'fd' => array( 'fd' => array(
'log_id' => array('type' => 'auto', 'precision' => 4, 'nullable' => False), 'log_id' => array('type' => 'auto', 'precision' => 4, 'nullable' => False),
'log_date' => array('type' => 'int', 'precision' => 4, 'nullable' => False), 'log_date' => array('type' => 'timestamp', 'nullable' => False),
'log_user' => array('type' => 'int', 'precision' => 4, 'nullable' => False), 'log_user' => array('type' => 'int', 'precision' => 4, 'nullable' => False),
'log_app' => array('type' => 'varchar', 'precision' => 50, 'nullable' => False), 'log_app' => array('type' => 'varchar', 'precision' => 50, 'nullable' => False),
'log_severity' => array('type' => 'char', 'precision' => 1, 'nullable' => False) 'log_severity' => array('type' => 'char', 'precision' => 1, 'nullable' => False)
@ -2005,7 +2005,7 @@
'fd' => array( 'fd' => array(
'log_msg_log_id' => array('type' => 'auto', 'precision' => 4, 'nullable' => False), 'log_msg_log_id' => array('type' => 'auto', 'precision' => 4, 'nullable' => False),
'log_msg_seq_no' => array('type' => 'int', 'precision' => 4, 'nullable' => False), 'log_msg_seq_no' => array('type' => 'int', 'precision' => 4, 'nullable' => False),
'log_msg_date' => array('type' => 'int', 'precision' => 4, 'nullable' => False), 'log_msg_date' => array('type' => 'timestamp', 'nullable' => False),
'log_msg_tx_fid' => array('type' => 'varchar', 'precision' => 4, 'nullable' => True), 'log_msg_tx_fid' => array('type' => 'varchar', 'precision' => 4, 'nullable' => True),
'log_msg_tx_id' => array('type' => 'varchar', 'precision' => 4, 'nullable' => True), 'log_msg_tx_id' => array('type' => 'varchar', 'precision' => 4, 'nullable' => True),
'log_msg_severity' => array('type' => 'char', 'precision' => 1, 'nullable' => False), 'log_msg_severity' => array('type' => 'char', 'precision' => 1, 'nullable' => False),