autoincrement key ids

This commit is contained in:
Mystikfluu
2023-06-04 18:20:48 +02:00
parent f03da7ce6c
commit 21596ca31c
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -1402,6 +1402,9 @@ public class B3
if(gme instanceof Graphic_ATTR_Elem) {
if(gme.name.equalsIgnoreCase("id")) {
((Graphic_ATTR_Elem) gme).datatype = "int";
if(((Graphic_ATTR_Elem) gme).isKey) {
((Graphic_ATTR_Elem) gme).isAutoincrement = true;
}
}
}