Version 9 produces a UNIQUE constraint on a column with AUTO_INCREMENT that is part of a composite primary key, where version 8 did not. CREATE TABLE `Child` ( `Order` int NOT NULL AUTO_INCREMENT, ...