Order rounds by name
All checks were successful
Gitea/swiss-backend/pipeline/head This commit looks good

This commit is contained in:
2025-08-09 22:16:45 +02:00
parent 488772987a
commit 46026a2ea3
2 changed files with 2 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ public class Group extends AbstractEntity {
private EventType type;
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
@OrderBy("name")
private List<Round> rounds;// = new ArrayList<>();
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY)

View File

@@ -6,7 +6,7 @@ spring:
# - org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration
# - org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration
datasource:
url: jdbc:postgresql://localhost:5432/swiss?currentSchema=swiss
url: jdbc:postgresql://localhost:5432/postgres?currentSchema=swiss
username: ${DB_USERNAME:postgres}
password: ${DB_PASSWORD:postgres}
flyway: