phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] Problems with drop column in wrong place i


From: Chris Weiss
Subject: Re: [Phpgroupware-developers] Problems with drop column in wrong place in upgrade scripts
Date: Thu, 23 Oct 2003 19:14:59 +0000

is leaving it there going to cause problems?

the problem is that the scripts have no way of know when all apps have upgraded
their data, or even what apps there are using the data.  So my suggestion is to 
just
leave it there if it doesn't hurt anything.

Jonathan Rivera (address@hidden) wrote:
>
>Hi everybody,
>
>
>I am working to add addessmaster account and create the contact for each
>account, but in my review of the tables_update.inc.php script i see that
>in the function phpgwapi_upgrade0_9_14_508()
>
>at the finish this has:
>
>$GLOBALS['phpgw_setup']->oProc->DropColumn(....)
>
>for delete the ab_id column from phpgw_contact, phpgw_contact_person and
>phpgw_contact_org tables, this "ab_id" column is used for migrate the
>addressbook to the new contacts backend, but i think this is wrong place
>for do this, because all others applications have to use this ab_id column
>for migrate his records, so i think this drop column would be run after
>all applicatios has been upgrade his data.
>
>This is a problem, but i think the solution is remove the calls to
>$GLOBALS['phpgw_setup']->oProc->DropColumn(....)
> from this function and do this after all applications has been upgraded.
>
>Please comment.
>
>
>
>
>_______________________________________________
>Phpgroupware-developers mailing list
>address@hidden
>http://mail.gnu.org/mailman/listinfo/phpgroupware-developers
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]