去掉不需要的字段

This commit is contained in:
暮光:城中城
2019-07-11 23:41:51 +08:00
parent a081443c91
commit 7aa1108270
2 changed files with 0 additions and 32 deletions

View File

@@ -69,16 +69,6 @@ public class WikiPageContent implements Serializable {
*/
private String preview;
/**
* 空间ID
*/
private Long spaceId;
/**
* 名字
*/
private String name;
public Long getId() {
return id;
}
@@ -166,19 +156,4 @@ public class WikiPageContent implements Serializable {
this.preview = preview;
}
public Long getSpaceId() {
return spaceId;
}
public void setSpaceId(Long spaceId) {
this.spaceId = spaceId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}

View File

@@ -26,13 +26,6 @@ insert into user_auth(`user_id`, `auth_id`, `create_uid`, `del_flag`, `creation_
select a.id, b.id, a.id, 0, now() from user_info a,auth_info b
where a.user_no='zyplayer' and b.auth_name='DB_DATASOURCE_MANAGE';
ALTER TABLE `wiki_page_content` ADD COLUMN `space_id` bigint(20) NULL COMMENT '空间ID';
ALTER TABLE `wiki_page_content` ADD COLUMN `name` varchar(100) DEFAULT NULL COMMENT '名字';
ALTER TABLE `wiki_page` MODIFY COLUMN `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '名字';
update wiki_page_content a join wiki_page b on b.id=a.page_id set a.space_id=b.space_id;
-- ------------------------全新的库:------------------------