swagger-ui on, user email unique
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s Details

This commit is contained in:
Andrey Kassaev 2024-01-02 16:53:28 +04:00
parent bbdb6e860f
commit c9970eb2e5
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ data class User(
@GeneratedValue(strategy = GenerationType.IDENTITY) @GeneratedValue(strategy = GenerationType.IDENTITY)
val id: Long?, val id: Long?,
@Column(unique = true)
val email: String, val email: String,
val password: String, val password: String,

View File

@ -15,4 +15,4 @@ server:
port: ${SPRING_PORT} port: ${SPRING_PORT}
springdoc: springdoc:
swagger-ui: swagger-ui:
enabled: false enabled: true