Thanks pegasus,
So by the sounds of it the uninstall script will change version to version. If you wanted to put out an uninstall all script, I reckon a series of 'DROP TABLE IF EXISTS ' statements listing every table you've ever used would do the trick nicely
For the record, my magic script is:
Code:
DROP TABLE vault_namespace;
DROP TABLE vault_upgradelog;
ALTER TABLE `session` DROP `inwiki`;
ALTER TABLE `usergroup`
DROP `specialpage_permissions`,
DROP `vault_misc`,
DROP `vault_permissions`;
ALTER TABLE `language`
DROP `phrasegroup_vaultarticles`,
DROP `phrasegroup_specialpages`,
DROP `phrasegroup_vaultadmin`,
DROP `phrasegroup_vaultbbcode`,
DROP `phrasegroup_vaultdomain`,
DROP `phrasegroup_vaultfaq`,
DROP `phrasegroup_vaultnamespace`,
DROP `phrasegroup_vaultprotect`,
DROP `phrasegroup_vaultstyle`,
DROP `phrasegroup_vaulturl`;
ALTER TABLE `thread` DROP INDEX `firstpostid`;
ALTER TABLE `forumpermission` DROP `vault_permissions`;
ALTER TABLE `poll` DROP `position`;
ALTER TABLE `post` DROP `vault_options`;
Bookmarks