去掉不需要的字段

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

@@ -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;
-- ------------------------全新的库:------------------------