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

sirkitree - May 19, 2008 - 19:23

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

NancyDru - May 19, 2008 - 22:42

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.

 
 

Drupal is a registered trademark of Dries Buytaert.