From 933be217585d064fd137180fdd37024fab554d37 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 12 Jun 2013 18:11:11 +0000 Subject: [PATCH] link-table stores accounts for app="home-accounts" --- phpgwapi/setup/tables_current.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/setup/tables_current.inc.php b/phpgwapi/setup/tables_current.inc.php index 67f24f19b4..98ace0ae9b 100644 --- a/phpgwapi/setup/tables_current.inc.php +++ b/phpgwapi/setup/tables_current.inc.php @@ -265,9 +265,9 @@ $phpgw_baseline = array( 'fd' => array( 'link_id' => array('type' => 'auto','nullable' => False), 'link_app1' => array('type' => 'varchar','precision' => '25','nullable' => False), - 'link_id1' => array('type' => 'varchar','precision' => '50','nullable' => False), + 'link_id1' => array('type' => 'varchar','precision' => '50','nullable' => False,'meta' => array("link_app1='home-accounts'" => 'account')), 'link_app2' => array('type' => 'varchar','precision' => '25','nullable' => False), - 'link_id2' => array('type' => 'varchar','precision' => '50','nullable' => False), + 'link_id2' => array('type' => 'varchar','precision' => '50','nullable' => False,'meta' => array("link_app2='home-accounts'" => 'account')), 'link_remark' => array('type' => 'varchar','precision' => '100'), 'link_lastmod' => array('type' => 'int','meta' => 'timestamp','precision' => '8','nullable' => False), 'link_owner' => array('type' => 'int','meta' => 'account','precision' => '4','nullable' => False),