修改数据库字段

This commit is contained in:
禾几海
2020-07-31 21:19:48 +08:00
parent ad5271f740
commit 3b368c92cb
2 changed files with 11 additions and 7 deletions

View File

@@ -78,7 +78,9 @@ CREATE TABLE `links`
`l_url` varchar(255) not null comment '首页地址', `l_url` varchar(255) not null comment '首页地址',
`l_icon_path` varchar(255) not null comment '友链的icon地址', `l_icon_path` varchar(255) not null comment '友链的icon地址',
`l_desc` varchar(255) COLLATE utf8mb4_unicode_ci not null comment '友链的说明描述', `l_desc` varchar(255) COLLATE utf8mb4_unicode_ci not null comment '友链的说明描述',
`is_delete` boolean not null default false comment '该数据是否被删除' `is_delete` boolean not null default false comment '该数据是否被删除',
`l_email` varchar(255) comment '网站管理员的邮箱',
`l_notification` boolean default false comment '是否通知了'
) comment '友站表'; ) comment '友站表';
CREATE TABLE `visitor` CREATE TABLE `visitor`

View File

@@ -14,4 +14,6 @@ public class LinkReq {
private String iconPath; private String iconPath;
private String desc; private String desc;
private boolean open; private boolean open;
private String email;
private boolean notification;
} }