Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

migrations primary keys change #346

Open
jaugustin opened this Issue · 0 comments

1 participant

@jaugustin
Collaborator

Hi,

The migration process fail when the primary key change, because it generate 2 Alter statements instead of one :

ALTER TABLE `Author` DROP PRIMARY KEY, ADD PRIMARY KEY (`id`);

If there is two ALTER statements MySQL throw an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.