mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-22 06:50:53 +08:00
chore: alter notifications type column
This commit is contained in:
@@ -22,7 +22,7 @@ public class Notification {
|
||||
private Long id;
|
||||
|
||||
@Enumerated(EnumType.STRING)
|
||||
@Column(nullable = false)
|
||||
@Column(nullable = false, length = 50)
|
||||
private NotificationType type;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY, optional = false)
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE notifications
|
||||
MODIFY COLUMN type VARCHAR(50) NOT NULL;
|
||||
Reference in New Issue
Block a user