Skip to content

Commit

Permalink
Revert "allow longer custom questions"
Browse files Browse the repository at this point in the history
This reverts commit ba4d178.
  • Loading branch information
qqmyers committed Nov 10, 2023
1 parent 6fc0f35 commit 00a1707
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/edu/harvard/iq/dataverse/CustomQuestion.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import java.io.Serializable;
import java.util.List;
import jakarta.persistence.*;
import jakarta.validation.constraints.NotBlank;
import org.hibernate.validator.constraints.NotBlank;

/**
*
Expand Down Expand Up @@ -41,7 +41,7 @@ public void setId(Long id) {
private String questionType;

@NotBlank(message = "{custom.questiontext}")
@Column( nullable = false, columnDefinition = "TEXT")
@Column( nullable = false )
private String questionString;
private boolean required;

Expand Down

0 comments on commit 00a1707

Please sign in to comment.