From a1f60d1ef21cef90c71de19c4e54a85ce84c8081 Mon Sep 17 00:00:00 2001 From: jengo Date: Sun, 5 Aug 2001 07:43:32 +0000 Subject: [PATCH] Fixed PostgreSQL issues with eventlog --- phpgwapi/setup/tables_current.inc.php | 2 +- phpgwapi/setup/tables_update.inc.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/setup/tables_current.inc.php b/phpgwapi/setup/tables_current.inc.php index 8a8773e227..ae8345c961 100644 --- a/phpgwapi/setup/tables_current.inc.php +++ b/phpgwapi/setup/tables_current.inc.php @@ -274,7 +274,7 @@ ), 'phpgw_log_msg' => array( 'fd' => array( - 'log_msg_log_id' => array('type' => 'int', '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_date' => array('type' => 'int', 'precision' => 4, 'nullable' => False), 'log_msg_tx_fid' => array('type' => 'varchar', 'precision' => 4, 'nullable' => True), diff --git a/phpgwapi/setup/tables_update.inc.php b/phpgwapi/setup/tables_update.inc.php index 1fdc5c9c78..af2a97c89d 100644 --- a/phpgwapi/setup/tables_update.inc.php +++ b/phpgwapi/setup/tables_update.inc.php @@ -2003,7 +2003,7 @@ $phpgw_setup->oProc->CreateTable( 'phpgw_log_msg', array( 'fd' => array( - 'log_msg_log_id' => array('type' => 'int', '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_date' => array('type' => 'int', 'precision' => 4, 'nullable' => False), 'log_msg_tx_fid' => array('type' => 'varchar', 'precision' => 4, 'nullable' => True),