I got the following user warning.
user warning: Table 'panels_mini' already exists query: CREATE TABLE panels_mini ( `pid` INT NOT NULL auto_increment, `name` VARCHAR(255) DEFAULT NULL, `category` VARCHAR(64) DEFAULT NULL, `did` INT DEFAULT NULL, `title` VARCHAR(128) DEFAULT NULL, `requiredcontexts` LONGTEXT DEFAULT NULL, `contexts` LONGTEXT DEFAULT NULL, `relationships` LONGTEXT DEFAULT NULL, PRIMARY KEY (pid), UNIQUE KEY name (name) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in /public_html/includes/database.inc on line 514.
After uninstall panels module, panels_mini table remains in the data base. please help.
Thanks for this module.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | panels_mini.install.patch | 715 bytes | wulff |
Comments
Comment #1
wulff commentedIt seems hook_uninstall is calling drupal_install_schema and not drupal_uninstall_schema as it is supposed to.
Attached patch fixes this.
Comment #2
bastos commentedThanks so much! Works well.
Comment #3
sunSounds scary, probably RTBC (though I did not test)
Please create patches with
diff -up.Comment #4
sdboyer commentedCommitted.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.