mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-22 22:21:09 +08:00
Fix reserved word columns and update field names
This commit is contained in:
@@ -24,6 +24,6 @@ public class Category {
|
||||
@Column
|
||||
private String smallIcon;
|
||||
|
||||
@Column(nullable = false)
|
||||
private String describe;
|
||||
@Column(name = "description", nullable = false)
|
||||
private String description;
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ public class Notification {
|
||||
@Column
|
||||
private Boolean approved;
|
||||
|
||||
@Column(nullable = false)
|
||||
@Column(name = "is_read", nullable = false)
|
||||
private boolean read = false;
|
||||
|
||||
@Column(nullable = false)
|
||||
|
||||
@@ -24,6 +24,6 @@ public class Tag {
|
||||
@Column
|
||||
private String smallIcon;
|
||||
|
||||
@Column(nullable = false)
|
||||
private String describe;
|
||||
@Column(name = "description", nullable = false)
|
||||
private String description;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user