change drop-and-create to update database
This commit is contained in:
parent
b3b9a612ef
commit
68da72fe55
@ -54,6 +54,7 @@ public class TokenRessource {
|
|||||||
name = new String(Base64.decode(user), StandardCharsets.UTF_8);
|
name = new String(Base64.decode(user), StandardCharsets.UTF_8);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
String[] hash = new String(Base64.decode(auth.split(" ")[1]), StandardCharsets.UTF_8).split(":");
|
String[] hash = new String(Base64.decode(auth.split(" ")[1]), StandardCharsets.UTF_8).split(":");
|
||||||
name = hash[0];
|
name = hash[0];
|
||||||
password = Hash.encryptSHA512(hash[1]);
|
password = Hash.encryptSHA512(hash[1]);
|
||||||
|
@ -11,8 +11,8 @@ quarkus.datasource.username = toto
|
|||||||
quarkus.datasource.password = toto
|
quarkus.datasource.password = toto
|
||||||
quarkus.datasource.jdbc.url = jdbc:postgresql://db:5432/toto
|
quarkus.datasource.jdbc.url = jdbc:postgresql://db:5432/toto
|
||||||
# drop and create the database at startup (use `update` to only update the schema)
|
# drop and create the database at startup (use `update` to only update the schema)
|
||||||
quarkus.hibernate-orm.database.generation = drop-and-create
|
#quarkus.hibernate-orm.database.generation = drop-and-create
|
||||||
|
quarkus.hibernate-orm.database.generation = update
|
||||||
covas.schema.create = true
|
covas.schema.create = true
|
||||||
|
|
||||||
quarkus.mailer.auth-methods=DIGEST-MD5 CRAM-SHA256 CRAM-SHA1 CRAM-MD5 PLAIN LOGIN
|
quarkus.mailer.auth-methods=DIGEST-MD5 CRAM-SHA256 CRAM-SHA1 CRAM-MD5 PLAIN LOGIN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user