[horde] Whups H4 (2.0) (final)

Martin Kleinschmidt mk at theochem.uni-duesseldorf.de
Fri Oct 28 08:35:28 UTC 2011


Hi Jan,

On Fr, 28 Okt 2011, Jan Schneider wrote:

>
>Zitat von Martin Kleinschmidt <mk at theochem.uni-duesseldorf.de>:
>
>>Hi,
>>
>>I get an error when upgrading the database:
>>
>>$ horde-db-migrate whups
>>[...]
>>Migrating to WhupsAddAttributeIndex (8)
>>== 8 WhupsAddAttributeIndex: migrating
>>========================================
>>-- addPrimaryKey(whups_attributes, array(0 => 'ticket_id', 1 =>
>>'attribute_id'))
>>QUERY FAILED: Key column 'ticket_id' doesn't exist in table
>>
>>ALTER TABLE `whups_attributes` ADD PRIMARY KEY (ticket_id, attribute_id)
>>
>>any hints for solving this?
>
>There *is* a ticket_id column in whups_attributes, it's added in the
>1st migration step.

Thanks for your quick response!
I must admit, I do not understand it ;-)
what is the "first migration step"? something else than executing
horde-db-migrate whups?

anyway - as there was no relevant data in whups, I just dropped all
whups-related tables and re-created them by running horde-db-migrate...

thanks again and thanks for the great job the horde team is doing!



More information about the horde mailing list