From 0dcdc2c263a5b0f6a4f9d77400b35ef678a4e361 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sat, 17 Feb 2024 00:54:41 -0800 Subject: [PATCH] Fix posgresql --- config/database/postgresql/app-postgresql.yaml | 14 ++++++++++++++ .../{postgres => postgresql}/create-database.sql | 0 2 files changed, 14 insertions(+) create mode 100644 config/database/postgresql/app-postgresql.yaml rename config/database/{postgres => postgresql}/create-database.sql (100%) diff --git a/config/database/postgresql/app-postgresql.yaml b/config/database/postgresql/app-postgresql.yaml new file mode 100644 index 00000000..5f69c5cd --- /dev/null +++ b/config/database/postgresql/app-postgresql.yaml @@ -0,0 +1,14 @@ + +spring: + datasource: + url: jdbc:postgresql://localhost/wisemapping + driver-class-name: org.postgresql.Driver + password: password + username: wisemapping + jpa: + properties: + hibernate: + dialect: org.hibernate.dialect.PostgreSQLDialect + sql: + init: + platform: postgresql \ No newline at end of file diff --git a/config/database/postgres/create-database.sql b/config/database/postgresql/create-database.sql similarity index 100% rename from config/database/postgres/create-database.sql rename to config/database/postgresql/create-database.sql