Adding of database initialization.

This commit is contained in:
2021-07-31 18:33:17 +02:00
parent c281df00c7
commit 935d8fc790
5 changed files with 21 additions and 4 deletions

View File

@@ -5,9 +5,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class CerberusApplication {
public static void main(String[] args) {
SpringApplication.run(CerberusApplication.class, args);
}
}

View File

@@ -10,8 +10,8 @@ spring:
# -------------------------------------------------
datasource:
driverClassName: org.postgresql.Driver
url: jdbc:postgresql://localhost:50001/cerberus
username: h23
url: jdbc:postgresql://localhost:5432/db_cerberus
username: cerberus
password: P@ssword1
# Disable feature detection by this undocumented parameter.
# Check the org.hibernate.engine.jdbc.internal.JdbcServiceImpl.configure method for more details.