example of module that creates a schema change to content or user tables.

mooreds - August 12, 2009 - 01:11
Project:Database Scripts
Version:6.x-2.x-dev
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

Thanks very much for your work!

In the readme, you discuss the additional complexities needed if a module performs a schema change to content or user tables.

I'm testing dbscripts and want to add such a module, in order to verify that I understand how to perform merge (before I have to! :).

I added the carbon module, which I thought would modify the user schema, but didn't have to run through the additional process.

Can you please give an example of a module that requires running update.php like you describe in the readme?

Thanks!

#1

hefox - September 12, 2009 - 06:14

i18ntaxonomy (pachaged with i18ntaxonomy) likely does. At least it uses an implemntation of hook_schema_alter.

Date module might also, don't remember.

#2

ceardach - September 12, 2009 - 16:04

Date module definitely does, it adds another column to the users table. Sometimes when a module updates itself from one version to the next you'd have to run update.php

 
 

Drupal is a registered trademark of Dries Buytaert.