File tree Expand file tree Collapse file tree
ewm-service/src/main/java/ru/practicum/ewm/event/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ public class Event {
1919 @ GeneratedValue (strategy = GenerationType .IDENTITY )
2020 private Long id ;
2121
22- @ Column (nullable = false , length = 2000 )
22+ @ Column (nullable = false , columnDefinition = "TEXT" )
2323 private String annotation ;
2424
25- @ Column (nullable = false , length = 7000 )
25+ @ Column (nullable = false , columnDefinition = "TEXT" )
2626 private String description ;
2727
2828 @ Column (name = "event_date" , nullable = false )
@@ -47,7 +47,7 @@ public class Event {
4747 @ Column (nullable = false , length = 20 )
4848 private EventState state ;
4949
50- @ Column (nullable = false , length = 120 )
50+ @ Column (nullable = false , length = 120 , columnDefinition = "VARCHAR(120)" )
5151 private String title ;
5252
5353 private Long views ;
You can’t perform that action at this time.
0 commit comments