I am trying to upgrade the Drupal from 6.22 to 7.2, here is the error when updating disqus module. We were using disqus in Drupal 6.22, I think somebody need to rewrite a better disqus_update_7001 function. Thanks.

disqus module
Update #7001

* Failed: DatabaseSchemaObjectExistsException: Table disqus already exists. in DatabaseSchema->createTable() (line 629 of /home/stanleyz/Documents/projects/Trixan/drupal/d7/includes/database/schema.inc).


ccoppen’s picture

I'm having the same bug.

RobLoach’s picture

Status: Active » Fixed


You should be able to skip that update since you already have the table in your database. Thanks for the bug report, this should fix it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit c688283 on 7.x-1.x, 8.x-1.x by RobLoach:
    Issue #1193652: Only create the schema if the table does not exist.