datacap/configure/schema/merge_1.0.0.20221015.sql
2024-04-12 22:23:52 +08:00

7 lines
364 B
SQL

-- If it already contains historical data, please use the following script to fix it
ALTER TABLE `datacap`.`audit_plugin`
MODIFY COLUMN `create_time` timestamp(5) NULL DEFAULT CURRENT_TIMESTAMP(5),
MODIFY COLUMN `end_time` timestamp(5) NULL DEFAULT CURRENT_TIMESTAMP(5);
ALTER TABLE `datacap`.`audit_plugin`
ADD COLUMN `elapsed` bigint NULL DEFAULT 0;