From e1270c2a5eddd489a1696dcba9b04978312de454 Mon Sep 17 00:00:00 2001 From: Salem Ba-Rabuod Date: Fri, 24 Jul 2026 11:10:16 +0200 Subject: [PATCH 1/2] chore: add Flyway dependency --- pom.xml | 12 ++++++++++++ src/main/resources/application.properties | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bb9b993..ec48f0e 100644 --- a/pom.xml +++ b/pom.xml @@ -59,6 +59,18 @@ spring-boot-starter-webmvc-test test + + + + org.flywaydb + flyway-core + + + org.flywaydb + flyway-database-postgresql + + + diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 7f69322..842aa6f 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,3 +1,8 @@ spring.application.name=TagLens -spring.sql.init.mode=always \ No newline at end of file +spring.sql.init.mode=never + + +spring.datasource.url=${DB_URL} +spring.datasource.username=${DB_USERNAME} +spring.datasource.password=${DB_PASSWORD} \ No newline at end of file From 9a9b0568a557f6e2318e3a1e97677a5bd19f48eb Mon Sep 17 00:00:00 2001 From: Salem Ba-Rabuod Date: Fri, 24 Jul 2026 12:27:48 +0200 Subject: [PATCH 2/2] chore: db connected --- pom.xml | 19 +++++++++++++++++++ src/main/resources/application.properties | 1 - 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ec48f0e..3a6f427 100644 --- a/pom.xml +++ b/pom.xml @@ -61,16 +61,35 @@ + + + + org.springframework.boot + spring-boot-starter-flyway + + + org.flywaydb flyway-core + + org.flywaydb flyway-database-postgresql + + + org.springframework.boot + spring-boot-starter-jdbc + + + + + diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 842aa6f..5b00e5b 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,6 +1,5 @@ spring.application.name=TagLens -spring.sql.init.mode=never spring.datasource.url=${DB_URL}