using .install to update the table...

sethcohn - April 16, 2009 - 17:55
Project:Unitag
Version:5.x-1.0-beta2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

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.

 
 

Drupal is a registered trademark of Dries Buytaert.