[wp-testers] Migrating 2.01 to 2.1

Jamie Talbot wphackers at jamietalbot.com
Wed Sep 27 21:58:08 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Craig wrote:
> On 9/27/06, Ryan Boren <ryan at boren.nu> wrote:
>>
>> WP doesn't use post2tag or tags tables.  That must be from a plugin.
>>
> 
> Too bad there isn't a way to uniquely identify WP tables from the plugin
> tables. I've got tables in my database that are unknown to me and I am
> hesitant to delete them, so obviously I just leave them. All of the
> tables I
> have are wp_tablename save for Chris J. Davis' plugin, which is prefixed by
> cjd_tablename. I suppose that there's no real way to "enforce" this issue,
> but it may help to document in Codex a preferred methodology for naming
> tables, i.e., in Chris' example stated already.

The problem with this is if two or more wordpress installations share the same database and use the
same plugin - data from one will corrupt the other.  Using $tableprefix ensures that we avoid
conflicts in the same way that WP does...

Though, thinking on it you could do $tableprefix . 'cjd_' .  Ah well, too late now for lots of my
stuff, sigh.

Cheers,

Jamie.

- --
http://jamietalbot.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFGvPwrovxfShShFARAvTlAJwIGk2A1eBKXu0UnkiiAwjpm1ekGQCfXNXJ
q1wvBmJ3bYhWCMrRoUVRlRw=
=UjYv
-----END PGP SIGNATURE-----


More information about the wp-testers mailing list