[imp] testing a second version of Horde

Alain Fauconnet alain at ait.ac.th
Fri May 12 03:01:14 PDT 2006


On Fri, May 12, 2006 at 11:23:56AM +0200, lst_hoe01 at kwsoft.de wrote:
> Zitat von Alain Fauconnet <alain at ait.ac.th>:
> 
> >On Fri, May 12, 2006 at 11:04:30AM +0200, lst_hoe01 at kwsoft.de wrote:
> >>The change in Horde config files depend on the following :
> >>- If it is the same major release without changing DB structure you are 
> >>done
> >>- If it only use some extension you can use the same DB and extend the
> >>schema
> >>- If it is a major upgrade you should use a other DB (Schema)
> >
> >Yup. E.g. between 3.0 and 3.1: no joy, DB schema has changed, so you
> >need to have to use different DBs thus no common address book between
> >the two worlds, a major problem.
> 
> If the new version only *extends* the given tables or add some more you 
> can run the update script and use the same DB with both versions as the 
> old installation simply ignores the new rows/tables.

You sure?

Honesty, I haven't even tried but I certainly wouldn't bet my shirt on
this.

If you look at the code, there is a number of "INSERT ... VALUES
('blah', 'blah',...)" statements. These will definitely fail if the number of
columns in the table isn't the same.

Greets,
_A_


More information about the imp mailing list