[wp-hackers] dbDelta and duplicated indices

Owen Winkler ringmaster at midnightcircus.com
Tue Apr 25 16:47:55 GMT 2006


Ryan Scheuermann wrote:
> Maybe if we are going to recommend plugin authors to use dbDelta, we 
> should have some documentation on its precise syntax?  Might benefit 
> those not willing to fiddle and peruse the core code until it works?  
> "We" referring to the collective of WP developers/documenters.  :-)

Originally, I had written it so that it would respond to the format that 
phpMyAdmin was producing when I asked for the database struture as SQL. 
  I think that's generally the SHOW CREATE TABLE format.

Owen




More information about the wp-hackers mailing list