Order rounds by name
All checks were successful
Gitea/swiss-backend/pipeline/head This commit looks good
All checks were successful
Gitea/swiss-backend/pipeline/head This commit looks good
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user