Skip to content

diff should tolerate a named PK #648

@morgo

Description

@morgo
 CREATE TABLE `t1` (
   `version` varchar(50) NOT NULL,
   `installed_by` varchar(30) DEFAULT NULL,
    PRIMARY KEY `version` (`version`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci

This is showing a diff when there are no changes. It's not expected syntax, so we should fix it on a best effort.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions