Skip to content

Conversation

@uehara-delta
Copy link
Contributor

@uehara-delta uehara-delta commented Apr 7, 2021

This adds support for alter table with unique constraint syntax in MySQL.

For example,

create table `example` (
  id integer not null,
  `subid` varchar(255),
  `subid2` varchar(255),
  primary key (`id`)
);

alter table `example`
  add constraint subid_uniq unique key (`subid`, `subid2`);

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.

1 participant