[DEBUG] correct user table

This commit is contained in:
Edouard DUPIN 2023-01-20 21:43:50 +01:00
parent 856dbeeca3
commit ede555cb30
2 changed files with 21 additions and 1 deletions

View File

@ -23,5 +23,22 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="out/maven/generated-sources/annotations">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="ignore_optional_problems" value="true"/>
<attribute name="m2e-apt" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="out/maven/test-classes" path="out/maven/generated-test-sources/test-annotations">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="ignore_optional_problems" value="true"/>
<attribute name="m2e-apt" value="true"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="out/maven/classes"/>
</classpath>

View File

@ -11,6 +11,8 @@ import org.kar.karso.api.SystemConfigResource;
import org.kar.karso.api.UserResource;
import org.kar.karso.model.Application;
import org.kar.karso.model.Settings;
import org.kar.karso.model.UserAuth;
//import org.kar.archidata.model.Migration;
import org.kar.archidata.SqlWrapper;
import org.kar.archidata.catcher.ExceptionCatcher;
import org.kar.archidata.catcher.FailExceptionCatcher;
@ -51,8 +53,9 @@ public class WebLauncher {
try {
String out = "";
out += SqlWrapper.createTable(Settings.class);
out += SqlWrapper.createTable(User.class);
out += SqlWrapper.createTable(UserAuth.class);
out += SqlWrapper.createTable(Application.class);
//out += SqlWrapper.createTable(Migration.class);
System.out.println(out);
} catch (Exception e) {
// TODO Auto-generated catch block