Skip to content

feat(mysql): Parse UNIQUE INDEX constraint similar to UNIQUE KEY#5489

Merged
VaggelisD merged 1 commit intomainfrom
vaggelisd/mysql_unique_index
Jul 28, 2025
Merged

feat(mysql): Parse UNIQUE INDEX constraint similar to UNIQUE KEY#5489
VaggelisD merged 1 commit intomainfrom
vaggelisd/mysql_unique_index

Conversation

@VaggelisD
Copy link
Collaborator

Fixes #5479

MySQL UNIQUE syntax:

create_definition: {
    col_name column_definition
  | ...
  | [CONSTRAINT [symbol]] UNIQUE [INDEX | KEY]
      [index_name] [index_type] (key_part,...)
      [index_option] ...
  | ...
}

Docs

MySQL CREATE

@VaggelisD VaggelisD merged commit 8cdd9e8 into main Jul 28, 2025
6 checks passed
@VaggelisD VaggelisD deleted the vaggelisd/mysql_unique_index branch July 28, 2025 08:55
@nathanchapman
Copy link

thank you both!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MySQL Unique Index syntax failing to parse

3 participants