algorithm.sql 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. Navicat Premium Data Transfer
  3. Source Server : 主机
  4. Source Server Type : MySQL
  5. Source Server Version : 50726
  6. Source Host : localhost:3306
  7. Source Schema : admin
  8. Target Server Type : MySQL
  9. Target Server Version : 50726
  10. File Encoding : 65001
  11. Date: 11/10/2021 16:57:20
  12. */
  13. SET NAMES utf8mb4;
  14. SET FOREIGN_KEY_CHECKS = 0;
  15. -- ----------------------------
  16. -- Table structure for algorithm
  17. -- ----------------------------
  18. DROP TABLE IF EXISTS `algorithm`;
  19. CREATE TABLE `algorithm`
  20. (
  21. `algorithm_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '算法id',
  22. `algorithm_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '算法名称',
  23. `category_id` bigint(20) NULL DEFAULT NULL COMMENT '类别',
  24. `number` bigint(20) NULL DEFAULT 0 COMMENT '版本数量',
  25. `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  26. `uid` bigint(20) NOT NULL DEFAULT 1 COMMENT '所属用户id',
  27. `frame_id` bigint(20) NULL DEFAULT NULL COMMENT '框架名称即就是镜像名称',
  28. `dfs_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '文件系统路径',
  29. PRIMARY KEY (`algorithm_id`) USING BTREE
  30. ) ENGINE = InnoDB
  31. AUTO_INCREMENT = 34
  32. CHARACTER SET = utf8mb4
  33. COLLATE = utf8mb4_general_ci
  34. ROW_FORMAT = DYNAMIC;
  35. -- ----------------------------
  36. -- Records of algorithm
  37. -- ----------------------------
  38. INSERT INTO `algorithm`
  39. VALUES (1, 'test_algorithm', 2, 9, 'its remark', 1, NULL, '');
  40. INSERT INTO `algorithm`
  41. VALUES (2, 'test_algorithm2', 1, 8, 'remark', 1, NULL, '');
  42. INSERT INTO `algorithm`
  43. VALUES (22, 'test07191044', 1, 1, '', 1, 1, NULL);
  44. INSERT INTO `algorithm`
  45. VALUES (29, 'TEST0719', 1, 1, '', 1, 1, NULL);
  46. INSERT INTO `algorithm`
  47. VALUES (31, 'test0722', 1, 2, '', 1, 1, NULL);
  48. INSERT INTO `algorithm`
  49. VALUES (32, 'test072400', 1, 2, '', 1, 1, NULL);
  50. INSERT INTO `algorithm`
  51. VALUES (33, 'test0802', 1, 1, '', 1, 1, NULL);
  52. SET FOREIGN_KEY_CHECKS = 1;