diff --git a/support-portal-backend/src/main/java/net/shyshkin/study/fullstack/supportportal/backend/domain/Event.java b/support-portal-backend/src/main/java/net/shyshkin/study/fullstack/supportportal/backend/domain/Event.java index 3eaa98e..44867ce 100644 --- a/support-portal-backend/src/main/java/net/shyshkin/study/fullstack/supportportal/backend/domain/Event.java +++ b/support-portal-backend/src/main/java/net/shyshkin/study/fullstack/supportportal/backend/domain/Event.java @@ -19,7 +19,7 @@ public class Event { @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; - @Column(nullable = false, unique = true) + @Column private String code; @Column(nullable = false) diff --git a/support-portal-frontend/src/app/component/event-form/event-form.component.html b/support-portal-frontend/src/app/component/event-form/event-form.component.html index c4fdaa9..cc0b864 100644 --- a/support-portal-frontend/src/app/component/event-form/event-form.component.html +++ b/support-portal-frontend/src/app/component/event-form/event-form.component.html @@ -28,7 +28,7 @@