When I try to do a simple install I get this error:
DatabaseSchemaObjectExistsException: Table personal_notes_notes already exists. in DatabaseSchema->createTable() (line 657 of /REPLACED/REPLACED/REPLACED/REPLACED/includes/database/schema.inc).
What am I doing wrong? I hope I'm not this dumb! j/k.... but please any idea why. When I uninstall the table personal_notes_notes gets dropped and it's not there when I do fresh install, which I've tried both the dev and release version and I get the same SQL error.
Any help would be great thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 2135819-fix-install-errors.patch | 626 bytes | ydahi |
Comments
Comment #1
ydahiDatabase schemas un(install) automatically when a module is enabled/disabled, so hook_install or hook_uninstall is no longer needed. Refer to this: https://www.drupal.org/node/224333#install-schema
Apply the attached patch to install without error.
Comment #2
marty commentedThanks ydahi! I've just put together your patch in a new release - 7.x-1.1.
Comment #3
sagesolutions commentedComment #4
sagesolutions commented