diff --git a/epmet-user/epmet-user-server/src/main/resources/db/migration/V0.0.9__alter_useradvice_content.sql b/epmet-user/epmet-user-server/src/main/resources/db/migration/V0.0.9__alter_useradvice_content.sql new file mode 100644 index 0000000000..112c6b0e72 --- /dev/null +++ b/epmet-user/epmet-user-server/src/main/resources/db/migration/V0.0.9__alter_useradvice_content.sql @@ -0,0 +1,9 @@ +ALTER TABLE `user_advice` DROP COLUMN `ADVICE_CONTENT`; + +ALTER TABLE `user_advice` +ADD COLUMN `ADVICE_CONTENT` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT '建议内容' NOT NULL AFTER `REG_PHONE`; + +ALTER TABLE `user_advice` DROP COLUMN `GOV_CONTENT`; + +ALTER TABLE `user_advice` +ADD COLUMN `GOV_CONTENT` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT '建议回复内容' NULL AFTER `REPLY_TIME`;