autoincrement key ids
This commit is contained in:
parent
f03da7ce6c
commit
21596ca31c
2
.idea/misc.xml
generated
2
.idea/misc.xml
generated
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" project-jdk-name="zulu-17" project-jdk-type="JavaSDK">
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" project-jdk-name="azul-17 (2)" project-jdk-type="JavaSDK">
|
||||||
<output url="file://$PROJECT_DIR$/out" />
|
<output url="file://$PROJECT_DIR$/out" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
@ -1402,6 +1402,9 @@ public class B3
|
|||||||
if(gme instanceof Graphic_ATTR_Elem) {
|
if(gme instanceof Graphic_ATTR_Elem) {
|
||||||
if(gme.name.equalsIgnoreCase("id")) {
|
if(gme.name.equalsIgnoreCase("id")) {
|
||||||
((Graphic_ATTR_Elem) gme).datatype = "int";
|
((Graphic_ATTR_Elem) gme).datatype = "int";
|
||||||
|
if(((Graphic_ATTR_Elem) gme).isKey) {
|
||||||
|
((Graphic_ATTR_Elem) gme).isAutoincrement = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user