Download & Extend

Upgrade from 5.x-1 to 5.x-3 does not create new tables

Project:Autosave
Version:5.x-3.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

You need to implement hook_update_1() in the .install file. See http://api.drupal.org/api/function/hook_update_N.

Comments

#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.

#4

Status:active» closed (fixed)

I'm doing some ticket triage and closing all open 5.x or moving them to the latest appropriate version. Reading the comments, this might of been fixed, but the issue is moot 3.5 years later.

nobody click here