hook_schema and hook_install 6.x updating
odious - November 8, 2007 - 02:11
| Project: | Coder |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I was wondering if there are any plans to write a script (in this project or elsewhere) to convert 5.x hook_install() code to the 6.x hook_install() and hook_schema() ?
- Ben

#1
There is the schema.module (http://drupal.org/project/schema) but I'm wondering why that isn't incorporated into coder already. Coder says there is nothing wrong with my .install file, but it's not converted over to hook_schema, so in reality there is something wrong with it, yeah? If Schema module is not incorporated into Coder, then I would suggest to the user to get Schema module and run that as well.
Thoughts?
#2
There is a 5.x version of Schema. I use it to create my hook_schema before creating the 6.x version of a module.