Trying to update the metatag module and I'm getting an error in the DB Update process, which prevents the other updates from running:
Failed: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'revision_id' in 'where clause': UPDATE {metatag} SET revision_id = 0 WHERE revision_id IS NULL; Array ( ) in metatag_update_7016()
Looking in the table {metatag}, I don't have a revision_id column. The only columns that exist are entity_type, entity_id, data, and language.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | metatag-n2175843-3.patch | 1.49 KB | damienmckenna |
Comments
Comment #1
damienmckennaWhat version of Metatag were you using before you upgraded?
Comment #2
damienmckennaDoes this solve the problem?
Comment #3
damienmckennaOopsie, the field should be added if it does not already exist. Duh.
Comment #4
damienmckennaCommitted.
Comment #6
Machiaveliant commentedHey guys,
I am also having this error when updating to 7.x-1.0-beta9 from 7.x-1.0-beta7. The update for creating the 'revision_id' column is not being run.
Cheers
Comment #7
damienmckenna@Machiaveliant: Lets continue this discussion in #2177455: Updates not running correctly when updating to beta9