diff --git a/filemanager/setup/tables_current.inc.php b/filemanager/setup/tables_current.inc.php index 05990fef8d..f32096843e 100644 --- a/filemanager/setup/tables_current.inc.php +++ b/filemanager/setup/tables_current.inc.php @@ -47,7 +47,8 @@ $phpgw_baseline = array( 'collab_genesis_url' => array('type' => 'varchar','precision' => '512', 'comment' => 'Relative to owner documents storage /template.odt'), 'collab_genesis_hash' => array('type' => 'varchar','precision' => '128','nullable' => False, 'comment' => 'To be sure the genesis did not change'), 'collab_file_id' => array('type' => 'varchar','precision' => '512', 'comment' => 'Relative to storage e.g. /template.odt'), - 'account_id' => array('type' => 'int','meta' => 'user','precision' => '4','nullable' => False, 'comment' => 'user who created the session') + 'account_id' => array('type' => 'int','meta' => 'user','precision' => '4','nullable' => False, 'comment' => 'user who created the session'), + 'collab_last_save' => array('type' => 'int','meta' => 'timestamp','precision' => '8','comment' => 'timestamp of the last save') ), 'pk' => array('collab_es_id'), 'fk' => array(), diff --git a/filemanager/setup/tables_update.inc.php b/filemanager/setup/tables_update.inc.php index 48f6ee9d19..9bb2237888 100644 --- a/filemanager/setup/tables_update.inc.php +++ b/filemanager/setup/tables_update.inc.php @@ -52,7 +52,8 @@ function filemanager_upgrade16_1() 'collab_genesis_url' => array('type' => 'varchar','precision' => '512', 'comment' => 'Relative to owner documents storage /template.odt'), 'collab_genesis_hash' => array('type' => 'varchar','precision' => '128','nullable' => False, 'comment' => 'To be sure the genesis did not change'), 'collab_file_id' => array('type' => 'varchar','precision' => '512', 'comment' => 'Relative to storage e.g. /template.odt'), - 'account_id' => array('type' => 'int','meta' => 'user','precision' => '4','nullable' => False, 'comment' => 'user who created the session') + 'account_id' => array('type' => 'int','meta' => 'user','precision' => '4','nullable' => False, 'comment' => 'user who created the session'), + 'collab_last_save' => array('type' => 'int','meta' => 'timestamp','precision' => '8','comment' => 'timestamp of the last save') ), 'pk' => array('collab_es_id'), 'fk' => array(),