Commit cfd932da by huangjinxin

feat:消息状态添加默认值

1 parent 1344ab7a
......@@ -46,7 +46,7 @@ public class MsgReceiverEntity {
* 是否删除,0:正常,1:删除
*/
@Column(name = "deleted")
private Integer deleted;
private Integer deleted = 0;
@Column(name = "create_time", nullable = false, columnDefinition = "datetime default current_timestamp")
private Date createTime;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!