灵活用工后台
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

40 linhas
1.9 KiB

  1. USE pigxx_codegen;
  2. SET NAMES utf8mb4;
  3. SET FOREIGN_KEY_CHECKS = 0;
  4. -- ----------------------------
  5. -- Table structure for gen_datasource_conf
  6. -- ----------------------------
  7. DROP TABLE IF EXISTS `gen_datasource_conf`;
  8. CREATE TABLE `gen_datasource_conf` (
  9. `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
  10. `name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  11. `url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  12. `username` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  13. `password` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  14. `create_date` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  15. `update_date` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新',
  16. `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0',
  17. `tenant_id` int(11) DEFAULT NULL COMMENT '租户ID',
  18. PRIMARY KEY (`id`) USING BTREE
  19. ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='数据源表';
  20. -- ----------------------------
  21. -- Table structure for gen_form_conf
  22. -- ----------------------------
  23. DROP TABLE IF EXISTS `gen_form_conf`;
  24. CREATE TABLE `gen_form_conf` (
  25. `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  26. `table_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  27. `form_info` json NOT NULL COMMENT '表单信息',
  28. `create_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  29. `update_time` datetime NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  30. `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0',
  31. `tenant_id` int(11) DEFAULT NULL COMMENT '所属租户',
  32. PRIMARY KEY (`id`) USING BTREE,
  33. KEY `table_name` (`table_name`)
  34. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='表单配置';
  35. SET FOREIGN_KEY_CHECKS = 1;