staruml-ddl
staruml-ddl copied to clipboard
how add auto-increment primary key?
It's not supported yet
I did it like this:
line += " " + _type; if (elem.primaryKey) { line += " NOT NULL AUTO_INCREMENT"; }else{ if(!elem.nullable){ line += " NOT NULL"; } }
@l932 Where have you added this ?
I jus add the AUTO_INCREMENT right after the data type and that's it