I get the error during d6 to d7 upgrade.
menu_token module
Update #7000
Failed: DatabaseSchemaObjectExistsException: Table menu_token already exists. in DatabaseSchema->createTable() (line 657 of /includes/database/schema.inc).
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | menu_token-n1602168.patch | 630 bytes | damienmckenna |
Comments
Comment #1
damienmckennaThis is because the menu_token table exists in the D6 version, there was no reason to re-create it.
Comment #2
damienmckennaSo basically menu_token_update_7000() should really be a hook_schema(), as there's isn't one.
Comment #3
damienmckennaThis renames menu_token_update_7000() to menu_token_schema() and removes the unnecessary db_create_table() call.
Comment #4
develcuy commentedthanks @DamienMcKenna!