Skip to content

Migration fail after migration from Mollie/SyliusPlugin #236

Description

@vasilvestre

Migration Version20250326100123 is failing.
I was using mollie/sylius-plugin@5.7.4 and upgraded to sylius/mollie-plugin@1.0.1, but I encountered an error running my migration.

  An exception occurred while executing 'ALTER TABLE mollie_configuration DROP   
  INDEX FK_CONFIG_AMOUNT_LIMITS, ADD UNIQUE INDEX UNIQ_EDD60BC52306388E (amount  
  _limits_id)':                                                                  
                                                                                 
  SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP INDEX `FK_  
  CONFIG_AMOUNT_LIMITS`; check that it exists   

Is there an upgrade path that I didn't find? Should I add this migration manually?

The INDEX FK_CONFIG_AMOUNT_LIMITS does exists in my database as a FK, not a normal INDEX. UNIQ_EDD60BC52306388E already exists too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions