How to enable PowerDesigner 16.5 auto increment primary key for MySQL database?

5YrsLaterDBA picture 5YrsLaterDBA · Mar 24, 2015 · Viewed 11.7k times · Source

I am using PowerDesigner 16.5 to model my MySQL database. Anybody knows how to enable its auto-increment primary key feature?

Answer

pascal picture pascal · Mar 25, 2015

On the property sheet for the column, I have a Identity checkbox, which changes the column datatype to int, and add auto_increment after the column in the generated SQL.