[wp-hackers] wp-2.0.5 db schema

Mark Jaquith mark.wordpress at txfx.net
Fri Nov 3 10:08:31 GMT 2006


On Nov 3, 2006, at 4:57 AM, Ralf Schmitt wrote:

> Does the installer/updater take care of this fix!? Or isn't it  
> realy needed?
> 'Cause I can't find any upgrade code for this on 2.0.5 codebase.

The upgrade code takes care of it.  There's a function that compares  
your current DB schema with the schema in upgrade-schema.php and  
performs any ALTER calls needed to bring it up to spec.

If you're curious, the function is dbDelta() on line 447 of upgrade- 
functions.php  It's pretty handy!

--
Mark Jaquith
http://txfx.net/




More information about the wp-hackers mailing list