39 lines
1.7 KiB
MySQL
39 lines
1.7 KiB
MySQL
|
/*
|
|||
|
Navicat Premium Data Transfer
|
|||
|
|
|||
|
Source Server : mytest
|
|||
|
Source Server Type : MySQL
|
|||
|
Source Server Version : 80018
|
|||
|
Source Host : 192.168.52.76:3306
|
|||
|
Source Schema : sparchetype
|
|||
|
|
|||
|
Target Server Type : MySQL
|
|||
|
Target Server Version : 80018
|
|||
|
File Encoding : 65001
|
|||
|
|
|||
|
Date: 10/03/2020 10:24:37
|
|||
|
*/
|
|||
|
|
|||
|
SET NAMES utf8mb4;
|
|||
|
SET FOREIGN_KEY_CHECKS = 0;
|
|||
|
|
|||
|
-- ----------------------------
|
|||
|
-- Table structure for sp_table_manager
|
|||
|
-- ----------------------------
|
|||
|
DROP TABLE IF EXISTS `sp_table_manager`;
|
|||
|
CREATE TABLE `sp_table_manager` (
|
|||
|
`id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '主键',
|
|||
|
`table_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '表名称',
|
|||
|
`table_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '表描述',
|
|||
|
`create_time` datetime(0) NOT NULL COMMENT '创建时间',
|
|||
|
`create_username` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '创建人',
|
|||
|
`update_time` datetime(0) NOT NULL COMMENT '最后更新时间',
|
|||
|
`update_username` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '最后更新人',
|
|||
|
`is_deleted` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '逻辑删除:1 表示删除,0 表示未删除,2 表示禁用',
|
|||
|
`permission` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '\"\"' COMMENT '授权(多个用逗号分隔,如:sys:menu:list,sys:menu:create)',
|
|||
|
PRIMARY KEY (`id`) USING BTREE,
|
|||
|
UNIQUE INDEX `index1`(`table_name`) USING BTREE
|
|||
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
|||
|
|
|||
|
SET FOREIGN_KEY_CHECKS = 1;
|