Skip to content

Add primary KEY to migration_table #36

@mrcnpdlk

Description

@mrcnpdlk

For Percona XtraDB Cluster tables without primary keys are prohibited:
Uncaught PDOException: SQLSTATE[HY000]: General error: 1105 Percona-XtraDB-Cluster prohibits use of DML command on a table (my_base.migration_version) without an explicit primary key with pxc_strict_mode = ENFORCING or MASTER
What about adding the primary key on version column?
I can prepare the patch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions