Investigate upgrade path from 1.x to 2.x
Dave Reid - October 22, 2009 - 18:15
| Project: | SEO Checklist |
| Version: | 6.x-2.0 |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Dave Reid |
| Status: | active |
Jump to:
Description
Currently there isn't any supported upgrade path between the 1.x and 2.x versions. Let's look into writing a supported upgrade path so users don't have to follow all the required instructions (since users don't usually like to read or follow instructions).

#1
Bad news:
Did some more research into this, and because we re-named the module to lowercase and not actually 'renamed' it, Drupal can't pick up the change. If we could create both a SEOChecklist.install and an seochecklist.install at the same time, it could work, but it won't on my sytem, and so it won't for anyone else using Linux.
Good news:
We can simplify the upgrade process to
1. Deleting the old 1.x files and copying over the new 2.x files.
2. Asking the user to run the following SQL:
UPDATE system SET name = 'seochecklist', filename = REPLACE(filename, 'SEOChecklist', 'seochecklist'), status = 1 WHERE type = 'module' AND name = 'SEOChecklist'on their site's data3. The user can then run update.php like normal.
#2
Have updated the project page and README.txt with the revised update instructions.