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.

CommentFileSizeAuthor
#1 panels_mini.install.patch715 byteswulff

Comments

wulff’s picture

Status: Active » Needs review
StatusFileSize
new715 bytes

It seems hook_uninstall is calling drupal_install_schema and not drupal_uninstall_schema as it is supposed to.

Attached patch fixes this.

bastos’s picture

Thanks so much! Works well.

sun’s picture

Status: Needs review » Reviewed & tested by the community

Sounds scary, probably RTBC (though I did not test)

Please create patches with diff -up.

sdboyer’s picture

Status: Reviewed & tested by the community » Fixed

Committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

  • Commit 76f330e on 6.x-2.x, 6.x-3.x, 6.x-3.x-letharion-docs, 7.x-3.x, master, pipelines, 7.x-3.x-i18n, 8.x-3.x by sdboyer:
    #299674 by wulff: Fixed panels_mini install typos.