add: 目标表增加根节点id和父节点id
This commit is contained in:
@@ -9,7 +9,9 @@ CREATE TABLE if not exists `goal`
|
||||
type enum ('GOAL', 'TASK', 'HABIT') default 'TASK' NOT NULL,
|
||||
name varchar(100) NOT NULL,
|
||||
tag varchar(100) NULL,
|
||||
detail varchar(100) NULL
|
||||
detail varchar(100) NULL,
|
||||
root_id int unsigned null,
|
||||
parent_id int unsigned null
|
||||
)
|
||||
COMMENT ='目标管理表';
|
||||
|
||||
|
@@ -15,4 +15,8 @@ public class Goal extends Entity {
|
||||
private String tag;
|
||||
|
||||
private String detail;
|
||||
|
||||
private Integer rootId;
|
||||
|
||||
private Integer parentId;
|
||||
}
|
||||
|
Reference in New Issue
Block a user