Upgrade - field_data_commerce_discount_date already exists

Created on 18 August 2016, almost 8 years ago
Updated 20 December 2023, 6 months ago

When I upgrade from 7.x-1.0-alpha7 to 7.x-1.0-alpha8, I get a database error when running the following database updates:

commerce_discount module :
7110 - Enable and update usage and date sub-modules into discount core.

Table field_data_commerce_discount_date already exists. [error]
Performed update: commerce_discount_update_7110 [ok]
WD php: DatabaseSchemaObjectExistsException: Table [error]
field_data_commerce_discount_date already exists. in
DatabaseSchema->createTable() (line 660 of
/dev/htdocs/drupal/includes/database/schema.inc).
Drush command terminated abnormally due to an unrecoverable error. [error]
DatabaseSchemaObjectExistsException: Table field_data_commerce_discount_date already exists. in DatabaseSchema->createTable() (line 660 of /dev/htdocs/drupal/includes/database/schema.inc).
Finished performing updates.

I can just delete the table and run the update as the table is empty in my database, just wondering if anybody else had this issue!

πŸ› Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom littlepixiez

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024