Skip to content

Commit 811f705

Browse files
committed
Database Model: Subject Area
- corrected the size of subject area abbreviation to much the database (40 chars)
1 parent c015e45 commit 811f705

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

JavaSource/SubjectArea.hbm.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
column="subject_area_abbreviation"
4545
type="java.lang.String"
4646
not-null="true"
47-
length="20"/>
47+
length="40"/>
4848

4949
<property
5050
name="title"

JavaSource/org/unitime/timetable/model/base/BaseSubjectArea.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public BaseSubjectArea(Long uniqueId) {
7676
public String getExternalUniqueId() { return iExternalUniqueId; }
7777
public void setExternalUniqueId(String externalUniqueId) { iExternalUniqueId = externalUniqueId; }
7878

79-
@Column(name = "subject_area_abbreviation", nullable = false, length = 20)
79+
@Column(name = "subject_area_abbreviation", nullable = false, length = 40)
8080
public String getSubjectAreaAbbreviation() { return iSubjectAreaAbbreviation; }
8181
public void setSubjectAreaAbbreviation(String subjectAreaAbbreviation) { iSubjectAreaAbbreviation = subjectAreaAbbreviation; }
8282

0 commit comments

Comments
 (0)