I'm upgrading a site to D7. I get this error when I upgrade:
drush updb
The following updates are pending:
drupalchat module :
7000 -
7001 -Do you wish to run all pending updates? (y/n): y
Cannot add index<em class="placeholder">uid</em> to table <em class="placeholder">drupalchat_users</em>: index already exists. [error]
Performed update: drupalchat_update_7000 [ok]
Finished performing updates. [ok]
updatedb failed for drupalchat [error]
Setting priority to critical since this don't let you upgrade between versions.
Comments
Comment #1
darklrd commentedLooking into it now. Thanks.
Comment #2
darklrd commentedCould you please try the latest commit - http://drupalcode.org/project/drupalchat.git/commit/252fa26? Thanks.
Comment #3
darklrd commentedMarking this as fixed.
Comment #4
edgar saumell commentedI did. To test it, I dumped the two D6 tables on the D7 ddbb, replaced drupalchat.install and did a drush updb
I got:
It seems to me that now drupalchat_update_7000() does nothing. Is that correct?
Everything seems ok now. I can access drupalchat/messages and history is there.
Comment #5
darklrd commentedYes, that is fine. Thanks.
Comment #6.0
(not verified) commentedAdding code tags to be able to see the error message