Browse Source

默认标签sql

master
zxc 5 years ago
parent
commit
96cb881d3f
  1. 6
      epmet-module/gov-voice/gov-voice-server/src/main/resources/migration/epmet_gov_voice.sql

6
epmet-module/gov-voice/gov-voice-server/src/main/resources/migration/epmet_gov_voice.sql

@ -33,6 +33,12 @@ CREATE TABLE tag_customer(
PRIMARY KEY (ID)
) COMMENT = '客户标签表 客户标签表';
INSERT INTO `epmet_gov_voice`.`tag_default`(`ID`, `TAG_NAME`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES (REPLACE(UUID(),'-',''), '发现榜样', 0, 0, 'default', NOW(), 'default', NOW());
INSERT INTO `epmet_gov_voice`.`tag_default`(`ID`, `TAG_NAME`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES (REPLACE(UUID(),'-',''), '党建动态', 0, 0, 'default', NOW(), 'default', NOW());
INSERT INTO `epmet_gov_voice`.`tag_default`(`ID`, `TAG_NAME`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES (REPLACE(UUID(),'-',''), '通知公告', 0, 0, 'default', NOW(), 'default', NOW());
INSERT INTO `epmet_gov_voice`.`tag_default`(`ID`, `TAG_NAME`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES (REPLACE(UUID(),'-',''), '生活服务', 0, 0, 'default', NOW(), 'default', NOW());
INSERT INTO `epmet_gov_voice`.`tag_default`(`ID`, `TAG_NAME`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES (REPLACE(UUID(),'-',''), '党建要闻', 0, 0, 'default', NOW(), 'default', NOW());
ALTER TABLE tag_customer ADD INDEX INX_TAG_NAME(TAG_NAME);
ALTER TABLE tag_customer COMMENT '客户标签表';
CREATE TABLE tag_grid(

Loading…
Cancel
Save