...
This commit is contained in:
parent
9a0c01619e
commit
df7da72a99
|
@ -1,2 +1,2 @@
|
||||||
ALTER TABLE `share_platform`.`t_resource_mount_apply` ADD COLUMN `resource_dto` json NULL COMMENT '挂载资源对象';
|
ALTER TABLE `t_resource_mount_apply` ADD COLUMN `resource_dto` json NULL COMMENT '挂载资源对象';
|
||||||
UPDATE `share_platform`.`t_resource_mount_apply` SET resource_dto = parameter_content;
|
UPDATE `t_resource_mount_apply` SET resource_dto = parameter_content;
|
|
@ -1,3 +1,3 @@
|
||||||
ALTER TABLE `share_platform`.`tb_data_attr`
|
ALTER TABLE `tb_data_attr`
|
||||||
ADD INDEX `resource_id`(`data_resource_id`),
|
ADD INDEX `resource_id`(`data_resource_id`),
|
||||||
ADD FULLTEXT INDEX `attr_value_`(`attr_type`, `attr_value`);
|
ADD FULLTEXT INDEX `attr_value_`(`attr_type`, `attr_value`);
|
|
@ -1 +1 @@
|
||||||
ALTER TABLE `share_platform`.`tb_data_resource` ADD COLUMN `info_list` json NULL COMMENT '属性信息';
|
ALTER TABLE `tb_data_resource` ADD COLUMN `info_list` json NULL COMMENT '属性信息';
|
|
@ -1,2 +1,2 @@
|
||||||
ALTER TABLE `share_platform`.`tb_work_dynamics`
|
ALTER TABLE `tb_work_dynamics`
|
||||||
MODIFY COLUMN `note1` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '摘要';
|
MODIFY COLUMN `note1` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '摘要';
|
|
@ -1,2 +1,2 @@
|
||||||
alter table `share_platform`.`tb_data_resource` ADD COLUMN `visitor` bigint NULL comment '浏览量';
|
alter table `tb_data_resource` ADD COLUMN `visitor` bigint NULL comment '浏览量';
|
||||||
UPDATE tb_data_resource SET visitor = (SELECT COUNT(id) FROM tb_resource_browse WHERE resource_id = tb_data_resource.id);
|
UPDATE tb_data_resource SET visitor = (SELECT COUNT(id) FROM tb_resource_browse WHERE resource_id = tb_data_resource.id);
|
|
@ -1,2 +1,2 @@
|
||||||
ALTER TABLE `share_platform`.`t_resource_mount_apply` ADD COLUMN `resource_dto` json NULL COMMENT '挂载资源对象';
|
ALTER TABLE `t_resource_mount_apply` ADD COLUMN `resource_dto` json NULL COMMENT '挂载资源对象';
|
||||||
UPDATE `share_platform`.`t_resource_mount_apply` SET resource_dto = parameter_content;
|
UPDATE `t_resource_mount_apply` SET resource_dto = parameter_content;
|
|
@ -1,3 +1,3 @@
|
||||||
ALTER TABLE `share_platform`.`tb_data_attr`
|
ALTER TABLE `tb_data_attr`
|
||||||
ADD INDEX `resource_id`(`data_resource_id`),
|
ADD INDEX `resource_id`(`data_resource_id`),
|
||||||
ADD FULLTEXT INDEX `attr_value_`(`attr_type`, `attr_value`);
|
ADD FULLTEXT INDEX `attr_value_`(`attr_type`, `attr_value`);
|
|
@ -1 +1 @@
|
||||||
ALTER TABLE `share_platform`.`tb_data_resource` ADD COLUMN `info_list` json NULL COMMENT '属性信息';
|
ALTER TABLE `tb_data_resource` ADD COLUMN `info_list` json NULL COMMENT '属性信息';
|
|
@ -1,2 +1,2 @@
|
||||||
ALTER TABLE `share_platform`.`tb_work_dynamics`
|
ALTER TABLE `tb_work_dynamics`
|
||||||
MODIFY COLUMN `note1` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '摘要';
|
MODIFY COLUMN `note1` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '摘要';
|
|
@ -1,2 +1,2 @@
|
||||||
alter table `share_platform`.`tb_data_resource` ADD COLUMN `visitor` bigint NULL comment '浏览量';
|
alter table `tb_data_resource` ADD COLUMN `visitor` bigint NULL comment '浏览量';
|
||||||
UPDATE tb_data_resource SET visitor = (SELECT COUNT(id) FROM tb_resource_browse WHERE resource_id = tb_data_resource.id);
|
UPDATE tb_data_resource SET visitor = (SELECT COUNT(id) FROM tb_resource_browse WHERE resource_id = tb_data_resource.id);
|
Loading…
Reference in New Issue