20240301.sql 1.2 KB

123456789101112131415161718192021222324
  1. DROP TABLE IF EXISTS `t_my_file`;
  2. CREATE TABLE `t_my_file`
  3. (
  4. `id` int(11) NOT NULL AUTO_INCREMENT,
  5. `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  6. `url` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  7. `sorted` int(11) NULL DEFAULT NULL,
  8. `create_time` datetime NULL DEFAULT NULL,
  9. `create_by` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  10. `update_time` datetime NULL DEFAULT NULL,
  11. `remark` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  12. `file_size` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  13. PRIMARY KEY (`id`) USING BTREE
  14. ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact;
  15. INSERT INTO `sys_menu`
  16. VALUES (33, 1, 0, 104, 0, 'file', 'file-export', '文件管理', '/file', 'LAYOUT', '', NULL);
  17. INSERT INTO `sys_menu`
  18. VALUES (34, 1, 0, 1, 33, 'index', '', '文件管理', 'index', '/file/index', '', '');
  19. INSERT INTO `sys_menu`
  20. VALUES (35, 1, 0, 2, 33, 'download', '', '文件下载', 'download', '/file/download', '', '');