Hi,

I'm trying to run the update 7002 of FAQ, and it's blocking because "Table field_data_field_detailed_question already exists".

$ drush updb
 Faq  7002  Convert old-style detailed questions to new fields.
Do you wish to run all pending updates? (y/n): y
Table field_data_field_detailed_question already exists.             [error]
Performed update: faq_update_7002                                    [ok]
'all' cache was cleared.                                             [success]
Finished performing updates.                                         [ok]
$ drush updb
 Faq  7002  Convert old-style detailed questions to new fields.

The update never "takes".

Comments

alberto56’s picture

Category: Bug report » Support request
Status: Active » Closed (fixed)

Closing. For the record this was a problem with the way I was importing a database:

drush sqlc < production.sql

Any tables which exist locally and don't exist in production.sql continue to live in the database when one does this, so the "Table field_data_field_detailed_question already exists" error was a legitimate error.