v11.1.0.sql 831 B

1234567891011121314151617
  1. SET NAMES utf8mb4;
  2. SET FOREIGN_KEY_CHECKS = 0;
  3. DROP TABLE IF EXISTS `wk_oa_examine_sort`;
  4. CREATE TABLE `wk_oa_examine_sort` (
  5. `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  6. `category_id` int(11) NULL DEFAULT NULL COMMENT '审批类型id',
  7. `sort` int(6) NULL DEFAULT NULL COMMENT '排序',
  8. `user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户id',
  9. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  10. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  11. PRIMARY KEY (`id`) USING BTREE
  12. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '审批类型排序' ROW_FORMAT = Dynamic;
  13. ALTER TABLE `wk_work` ADD COLUMN `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间' AFTER `owner_user_id`;
  14. SET FOREIGN_KEY_CHECKS = 1;