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 issue over in #2236381: Webform 4 - not updating tokens and conditionals got me thinking that we could do a lot to improve the robustness of our upgrade path. Some of our updates we check if a table or column exists before trying to add/rename to the same thing, but not always. Let's expand this pattern to prevent upgrade problems whenever possible.
Comment | File | Size | Author |
---|---|---|---|
#1 | webform_robust_updates-2239079.patch | 2.03 KB | quicksketch |
Comments
Comment #1
quicksketchI've committed this simple patch that wraps all our updates that don't already check for existing tables in db_table/column_exists checks.
Comment #3
fenstratNeeds porting to 8.x-4.x.
Comment #4
fenstratCommitted and pushed a9dcd1d to 8.x-4.x. Thanks!