hi,
This was generated by generateChangeLog over existing database:
table1:
H2 creates PK constraints automatically (https://groups.google.com/forum/?fromgroups=#!topic/h2-database/aDjWDzFmaf0). So it will ignore primaryKeyName=“CONSTRAINT_7” (SQL: CONSTRAINT CONSTRAINT_7 PRIMARY KEY (ID)).
I have found this when addPrimaryKey line for some other table with constraintName=“CONSTRAINT_A” failed because h2 already created a PK constraint named “CONSTRAINT_A” for table1.