mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-22 22:21:09 +08:00
Fix post controller test setup
This commit is contained in:
@@ -17,4 +17,10 @@ public class Category {
|
||||
|
||||
@Column(nullable = false, unique = true)
|
||||
private String name;
|
||||
|
||||
@Column(nullable = false)
|
||||
private String icon;
|
||||
|
||||
@Column(nullable = false)
|
||||
private String describe;
|
||||
}
|
||||
|
||||
@@ -17,4 +17,10 @@ public class Tag {
|
||||
|
||||
@Column(nullable = false, unique = true)
|
||||
private String name;
|
||||
|
||||
@Column
|
||||
private String icon;
|
||||
|
||||
@Column(nullable = false)
|
||||
private String describe;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user