[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/setup tables_update.inc.php, 1.53.2.9.2.16,
From: |
Dave Hall <address@hidden> |
Subject: |
[Phpgroupware-cvs] phpgwapi/setup tables_update.inc.php, 1.53.2.9.2.16, 1.53.2.9.2.17 |
Date: |
Fri, 26 Sep 2003 00:03:11 +0000 |
Update of /cvsroot/phpgroupware/phpgwapi/setup
In directory subversions:/tmp/cvs-serv6407/setup
Modified Files:
Tag: Version-0_9_16-branch
tables_update.inc.php
Log Message:
Fixes for bugs 5144, 5148, 5518 - from eald
Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/tables_update.inc.php,v
retrieving revision 1.53.2.9.2.16
retrieving revision 1.53.2.9.2.17
diff -C2 -d -r1.53.2.9.2.16 -r1.53.2.9.2.17
*** tables_update.inc.php 9 Sep 2003 23:51:52 -0000 1.53.2.9.2.16
--- tables_update.inc.php 26 Sep 2003 00:03:08 -0000 1.53.2.9.2.17
***************
*** 1084,1098 ****
// add three columns to ease migration .. delete later
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_contact','ab_id',array(
! 'type' => 'varchar',
'precision' => '4',
'nullable' => True
));
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_contact_person','ab_id',array(
! 'type' => 'varchar',
'precision' => '4',
'nullable' => True
));
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_contact_org','ab_id',array(
! 'type' => 'varchar',
'precision' => '4',
'nullable' => True
--- 1084,1098 ----
// add three columns to ease migration .. delete later
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_contact','ab_id',array(
! 'type' => 'int',
'precision' => '4',
'nullable' => True
));
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_contact_person','ab_id',array(
! 'type' => 'int',
'precision' => '4',
'nullable' => True
));
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_contact_org','ab_id',array(
! 'type' => 'int',
'precision' => '4',
'nullable' => True
***************
*** 1216,1220 ****
$GLOBALS['phpgw_setup']->oProc->query("SELECT note_type_id FROM
phpgw_contact_note_type WHERE description='label'");
$GLOBALS['phpgw_setup']->oProc->next_record();
! $note_type_id =
$GLOBALS['phpgw_setup']->oProc->f('contact_type_id');
$GLOBALS['phpgw_setup']->oProc->query("SELECT ab.label,
o.org_id, o.created_on, o.created_by, o.modified_on, o.modified_by FROM
phpgw_addressbook AS ab
INNER JOIN phpgw_contact_org AS o ON ab.id = o.ab_id
WHERE NOT (ab.label IS NULL OR ab.label='');");
--- 1216,1220 ----
$GLOBALS['phpgw_setup']->oProc->query("SELECT note_type_id FROM
phpgw_contact_note_type WHERE description='label'");
$GLOBALS['phpgw_setup']->oProc->next_record();
! $note_type_id =
$GLOBALS['phpgw_setup']->oProc->f('note_type_id');
$GLOBALS['phpgw_setup']->oProc->query("SELECT ab.label,
o.org_id, o.created_on, o.created_by, o.modified_on, o.modified_by FROM
phpgw_addressbook AS ab
INNER JOIN phpgw_contact_org AS o ON ab.id = o.ab_id
WHERE NOT (ab.label IS NULL OR ab.label='');");
***************
*** 1288,1292 ****
. ", '" .
$db1->db_addslashes($GLOBALS['phpgw_setup']->oProc->f('adr_one_countryname'))
." '"
. ", " . intval($GLOBALS['phpgw_setup']->oProc->f('tz'))
! . ", " .
($GLOBALS['phpgw_setup']->oProc->f('addr_type_id') )?
$GLOBALS['phpgw_setup']->oProc->f('addr_type_id') : $addr_type
. ", " .
$GLOBALS['phpgw_setup']->oProc->f('created_on')
. ", " .
$GLOBALS['phpgw_setup']->oProc->f('created_by')
--- 1288,1292 ----
. ", '" .
$db1->db_addslashes($GLOBALS['phpgw_setup']->oProc->f('adr_one_countryname'))
." '"
. ", " . intval($GLOBALS['phpgw_setup']->oProc->f('tz'))
! . ", " .
($GLOBALS['phpgw_setup']->oProc->f('addr_type_id')?
$GLOBALS['phpgw_setup']->oProc->f('addr_type_id') : $addr_type)
. ", " .
$GLOBALS['phpgw_setup']->oProc->f('created_on')
. ", " .
$GLOBALS['phpgw_setup']->oProc->f('created_by')
***************
*** 1314,1318 ****
. ", '" .
$db1->db_addslashes($GLOBALS['phpgw_setup']->oProc->f('adr_two_countryname'))
." '"
. ", " . intval($GLOBALS['phpgw_setup']->oProc->f('tz'))
! . ", " .
($GLOBALS['phpgw_setup']->oProc->f('addr_type_id')) ?
$GLOBALS['phpgw_setup']->oProc->f('addr_type_id') : $addr_type
. ", " .
$GLOBALS['phpgw_setup']->oProc->f('created_on')
. ", " .
$GLOBALS['phpgw_setup']->oProc->f('created_by')
--- 1314,1318 ----
. ", '" .
$db1->db_addslashes($GLOBALS['phpgw_setup']->oProc->f('adr_two_countryname'))
." '"
. ", " . intval($GLOBALS['phpgw_setup']->oProc->f('tz'))
! . ", " .
($GLOBALS['phpgw_setup']->oProc->f('addr_type_id')?
$GLOBALS['phpgw_setup']->oProc->f('addr_type_id') : $addr_type)
. ", " .
$GLOBALS['phpgw_setup']->oProc->f('created_on')
. ", " .
$GLOBALS['phpgw_setup']->oProc->f('created_by')
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/setup tables_update.inc.php, 1.53.2.9.2.16, 1.53.2.9.2.17,
Dave Hall <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] phpgroupware/doc cvs_full_checkout.pl, 1.4.2.1, 1.4.2.1.2.1
- Next by Date:
[Phpgroupware-cvs] phpgwapi/inc class.sql_mssql.inc.php, NONE, 1.1.2.1 class.contact_addr.inc.php, 1.1.2.1, 1.1.2.2 class.contact_central.inc.php, 1.1.2.1, 1.1.2.2 class.contact_comm.inc.php, 1.1.2.1, 1.1.2.2 class.contact_person.inc.php, 1.1.2.1, 1.1.2.2 class.contacts_sql.inc.php, 1.17.2.2.2.6, 1.17.2.2.2.7 class.sql.inc.php, 1.1.2.2, 1.1.2.3 class.sql_builder.inc.php, 1.1.2.2, 1.1.2.3 class.sql_criteria.inc.php, 1.1.2.1, 1.1.2.2 class.sql_entity.inc.php, 1.1.2.4, 1.1.2.5 class.sql_mysql.inc.php, 1.1.2.1, 1.1.2.2 class.sql_pgsql.inc.php, 1.1.2.1, 1.1.2.2
- Previous by thread:
[Phpgroupware-cvs] phpgroupware/doc cvs_full_checkout.pl, 1.4.2.1, 1.4.2.1.2.1
- Next by thread:
[Phpgroupware-cvs] phpgwapi/inc class.sql_mssql.inc.php, NONE, 1.1.2.1 class.contact_addr.inc.php, 1.1.2.1, 1.1.2.2 class.contact_central.inc.php, 1.1.2.1, 1.1.2.2 class.contact_comm.inc.php, 1.1.2.1, 1.1.2.2 class.contact_person.inc.php, 1.1.2.1, 1.1.2.2 class.contacts_sql.inc.php, 1.17.2.2.2.6, 1.17.2.2.2.7 class.sql.inc.php, 1.1.2.2, 1.1.2.3 class.sql_builder.inc.php, 1.1.2.2, 1.1.2.3 class.sql_criteria.inc.php, 1.1.2.1, 1.1.2.2 class.sql_entity.inc.php, 1.1.2.4, 1.1.2.5 class.sql_mysql.inc.php, 1.1.2.1, 1.1.2.2 class.sql_pgsql.inc.php, 1.1.2.1, 1.1.2.2
- Index(es):