Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The following updates returned messages
token_custom module
Update #7001
* Failed: DatabaseSchemaObjectDoesNotExistException: Cannot add field <em class="placeholder">token_custom</em>.<em class="placeholder">format</em>: table doesn't exist. in DatabaseSchema_mysql->addField() (line 320 of /www/www-staging/drupal.sandbox.sanger.ac.uk/htdocs/includes/database/mysql/schema.inc).
Do you want the table filter_format?
Comments
Comment #1
gaspaio CreditAttribution: gaspaio commentedI can't reproduce this. It seems the error is comming from token_custom.install:79 (the db_add_field statement) but if you're running the update the table token_custom should exist.
Can you tell me how i can reproduce this ?
Comment #2
gaspaio CreditAttribution: gaspaio commentedComment #3
chefarov CreditAttribution: chefarov commentedSimilar issue here when upgrading from drupal 6 to 7
Failed: DatabaseSchemaObjectExistsException: Cannot add field <em class="placeholder">token_custom</em>.<em class="placeholder">format</em>: field already exists. in DatabaseSchema_mysql->addField() (line 328 of /<path_to_drupal_directory>/includes/database/mysql/schema.inc).
the table token_custom exists in my database containing the custom tokens code written when I was in drupal 6