Compare commits

..

4 Commits

Author SHA1 Message Date
c8a1158a6d Fix flyway migration and use h2 in unit tests.
All checks were successful
Backend CI / Run Maven Tests (pull_request) Successful in 27s
2025-08-07 19:15:45 +03:00
0bd01caf23 WIP for activity modeling and migration. 2025-08-07 19:15:45 +03:00
8a63ba1fee feat: added setup maven step to the backend pipeline 2025-08-07 19:15:42 +03:00
6335179ac6 feat: removed backend pipeline step for caching m2 2025-08-07 19:15:00 +03:00
3 changed files with 5 additions and 26 deletions

View File

@@ -5,28 +5,10 @@
```mermaid ```mermaid
classDiagram classDiagram
class Activity { class Activity {
+Long id
+String name +String name
+Location location +Location location
+Integer priceRange +Int priceRange
+List~String~ tags +List~String~ tags
+String description
+LocalDateTime createdAt
+LocalDateTime updatedAt
} }
class Location {
+Long id
+String name
+String address
+String city
+String country
+String postalCode
+Double latitude
+Double longitude
+LocalDateTime createdAt
+LocalDateTime updatedAt
}
Activity <-- Location : belongs to
``` ```

View File

@@ -1,5 +1,5 @@
server: server:
port: 8090 port: 8080
servlet: servlet:
context-path: /api context-path: /api
@@ -9,7 +9,7 @@ spring:
# Database Configuration # Database Configuration
datasource: datasource:
url: jdbc:postgresql://dind:5432/vibing url: jdbc:postgresql://localhost:5432/vibing
username: vibing username: vibing
password: vibing password: vibing
driver-class-name: org.postgresql.Driver driver-class-name: org.postgresql.Driver

View File

@@ -8,7 +8,4 @@ services:
POSTGRES_PASSWORD: vibing POSTGRES_PASSWORD: vibing
POSTGRES_DB: vibing POSTGRES_DB: vibing
volumes: volumes:
- postgres_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
volumes:
postgres_data: