[horde] error in horde_history db upgrade

Rene Zeipelt zeipelt at uni-wuppertal.de
Fri Jun 21 11:26:07 UTC 2013


Hello,
last db schema upgrade for horde history fails with following error:

twebmail:/var/www/horde/imp/config# horde-db-migrate Horde_History
[  INFO  ] Migrating DB up.
[  INFO  ] Current Horde_History schema version: 2
Migrating to HordeHistoryAddModSeq (3)
== 3 HordeHistoryAddModSeq: migrating =========================================
-- createTable('horde_histories_modseq', array('autoincrementKey' => false))
    -> 0.0004s
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'horde_histories_modseq' already exists

Deleting the table horde_histories_modseq run into:

twebmail:/var/www/horde/imp/config# horde-db-migrate Horde_History
[  INFO  ] Migrating DB up.
[  INFO  ] Current Horde_History schema version: 2
Migrating to HordeHistoryAddModSeq (3)
== 3 HordeHistoryAddModSeq: migrating =========================================
-- createTable('horde_histories_modseq', array('autoincrementKey' => false))
    -> 0.0004s
-- addColumn('horde_histories', 'history_modseq', 'integer', array('default' => 0, 'null' => false))
SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'history_modseq'

What is going wrong? Thanks for help.
regards rene

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5011 bytes
Desc: S/MIME Kryptografische Unterschrift
URL: <http://lists.horde.org/archives/horde/attachments/20130621/0ca776fd/attachment-0001.bin>


More information about the horde mailing list