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.
Now that #12201: Show table descriptions in PHPMyAdmin and other tools has been committed, update functions that use db_add_table, db_add/change_field etc. should include description in the schema specification.
Comment | File | Size | Author |
---|---|---|---|
#1 | description.patch | 877 bytes | mfb |
Comments
Comment #1
mfbI patched the hook_update_N() documentation to reflect this. Not clear that it's worth patching all the hook_update_7*() functions but maybe a good idea?
Comment #2
catchIf we're going to enforce it in the API docs, core should follow it for it's own updates I think. This seems like a decent patch to work on for a new contributor - so tagging as Novice.
Comment #3
mfbIn the meantime, it might be a good idea to just commit this patch on hook_update_N() so at least the documentation is correct.
Comment #4
catchGood idea.
Comment #5
Dries CreditAttribution: Dries commentedI committed this patch to CVS HEAD yesterday but forgot to update the issue status. Thanks.