Upgrade from 5.x-1 to 5.x-3 does not create new tables
douggreen - May 10, 2008 - 00:17
| Project: | Autosave |
| Version: | 5.x-3.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
You need to implement hook_update_1() in the .install file. See http://api.drupal.org/api/function/hook_update_N.

#1
Is 5.1 (this isn't really my project) the version that used nodes instead of forms? If that's the case; i won't be doing an update from 5.1 to 5.3.
I think 5.2 might be the first use of saving forms - i am not sure there are db deltas between 5.2 and 5.3; but possibly? I'll try to take a look this weekend and will create an _update if that's the case.
#2
The point is if someone has that version installed, your new tables never get created, and you get lots of errors. You should add a hook_update_1() in autosave.install to create the tables.
#3
update_1 added to dev version
let me know if this does the trick.