dbpatch/202408/南网仓储/ma_whole_set_20240826.sql

38 lines
1.5 KiB
SQL
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
Navicat Premium Data Transfer
Source Server : 192.168.0.14.2009
Source Server Type : MySQL
Source Server Version : 80200
Source Host : 192.168.0.14:2009
Source Schema : ma_sgzb_cq
Target Server Type : MySQL
Target Server Version : 80200
File Encoding : 65001
Date: 26/08/2024 10:36:32
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for ma_whole_set
-- ----------------------------
DROP TABLE IF EXISTS `ma_whole_set`;
CREATE TABLE `ma_whole_set` (
`id` int(0) NOT NULL AUTO_INCREMENT,
`whole_type_name` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '配套名称',
`ascription_type` int(0) NULL DEFAULT NULL COMMENT '1主体设备 2配套设备',
`type_id` int(0) NULL DEFAULT NULL COMMENT '机具类型配件id',
`parent_id` int(0) NULL DEFAULT NULL COMMENT '父级id',
`part_num` int(0) NULL DEFAULT NULL COMMENT '整套配件数',
`status` varchar(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT '1' COMMENT '是否启用(0 否1 是)',
`create_by` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人',
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 686 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = DYNAMIC;
SET FOREIGN_KEY_CHECKS = 1;