volumes.sql 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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:58:17
  12. */
  13. SET NAMES utf8mb4;
  14. SET
  15. FOREIGN_KEY_CHECKS = 0;
  16. -- ----------------------------
  17. -- Table structure for volumes
  18. -- ----------------------------
  19. DROP TABLE IF EXISTS `volumes`;
  20. CREATE TABLE `volumes`
  21. (
  22. `volumes_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '存储卷名称',
  23. `volumes_alias` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '存储卷别名',
  24. `volumes_id` int(20) NOT NULL AUTO_INCREMENT COMMENT '存储卷ID',
  25. `volumes_state` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '存储卷的状态',
  26. `access_mode` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '访问模式',
  27. `volumes_mount` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT '0' COMMENT '挂载状态',
  28. `create_time` datetime NULL DEFAULT NULL COMMENT '创建时的时间',
  29. `parent_project_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '所属项目名称',
  30. `volumes_size` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '存储卷容量',
  31. `volumes_description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '存储卷描述信息',
  32. `creator_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建者名称',
  33. PRIMARY KEY (`volumes_id`) USING BTREE
  34. ) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;
  35. -- ----------------------------
  36. -- Records of volumes
  37. -- ----------------------------
  38. INSERT INTO `volumes`
  39. VALUES ('dfsdf', '11', 8, NULL, 'ReadWriteOnce', '未挂载', '2021-09-27 23:09:36', 'mkcloud', '1.0', '23ds', 'admin');
  40. INSERT INTO `volumes`
  41. VALUES ('we', '', 10, NULL, 'ReadWriteOnce', '未挂载', '2021-10-11 14:58:51', 'mkcloud', '1.0', '', 'admin');
  42. SET
  43. FOREIGN_KEY_CHECKS = 1;