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.
Minor bug: when you change the table definition in .install, you need to add an update function to make the same change for existing users of the module.
You added a column for basename, but no way for existing users to get that new column added. That means anyone upgrading will have problems.
If they uninstall and reinstall, it'll then work fine... at the cost of any existing table data lost.
Comments
Comment #1
Zen CreditAttribution: Zen commentedDupe: #688924: Unitag doesn't add basename column to unitag table when upgrading
Comment #2
Zen CreditAttribution: Zen commented