Skip to content

Commit

Permalink
PI-1939 - fix column definition
Browse files Browse the repository at this point in the history
  • Loading branch information
achimber-moj committed Mar 28, 2024
1 parent 7aeb8f8 commit 588196a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ object PersonGenerator {
disposal: Disposal,
subCategoryId: Long,
length: Long = 12,
notes: String = "my notes",
notes: String? = null,
mainCategory: RequirementMainCategory = MAIN_CAT_F,
active: Boolean = true,
softDeleted: Boolean = false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class SentenceIntegrationTest {
listOf(AdditionalSentence(3, null, null, "Disqualified from Driving"))
),
Order("Default Sentence Type", 12, null, LocalDate.now().minusDays(14)),
listOf(Requirement("Main", "High Intensity", 12, "my notes", Rar(1, 0, 1)))
listOf(Requirement("Main", "High Intensity", 12, null, Rar(1, 0, 1)))
),
Sentence(
OffenceDetails(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Requirement(

val length: Long?,

@Column(name = "rqmnt_notes")
@Column(name = "rqmnt_notes", columnDefinition = "clob")
val notes: String?,

@Column(name = "rqmnt_type_sub_category_id")
Expand Down

0 comments on commit 588196a

Please sign in to comment.