From d1099774897b14672a42d2f0638ee11483c5a031 Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Wed, 13 Nov 2024 12:29:52 +0800 Subject: [PATCH] =?UTF-8?q?tm=5Ftask=5Fagreement=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 202411/机具大融合/20241101_material_full.sql | 3 +- .../机具大融合/20241113_tm_task_agreement.sql | 37 +++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 202411/机具大融合/20241113_tm_task_agreement.sql diff --git a/202411/机具大融合/20241101_material_full.sql b/202411/机具大融合/20241101_material_full.sql index ccd2062..d052b00 100644 --- a/202411/机具大融合/20241101_material_full.sql +++ b/202411/机具大融合/20241101_material_full.sql @@ -1535,7 +1535,8 @@ CREATE TABLE `tm_task` ( -- ---------------------------- DROP TABLE IF EXISTS `tm_task_agreement`; CREATE TABLE `tm_task_agreement` ( - `task_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '任务ID', + `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID', + `task_id` bigint(20) NOT NULL COMMENT '任务ID', `agreement_id` int(11) NULL DEFAULT NULL COMMENT '协议ID', `create_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '创建者', `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间', diff --git a/202411/机具大融合/20241113_tm_task_agreement.sql b/202411/机具大融合/20241113_tm_task_agreement.sql new file mode 100644 index 0000000..eb09dc9 --- /dev/null +++ b/202411/机具大融合/20241113_tm_task_agreement.sql @@ -0,0 +1,37 @@ +/* + Navicat Premium Data Transfer + + Source Server : localhost-57 + Source Server Type : MySQL + Source Server Version : 50743 + Source Host : localhost:3306 + Source Schema : bns_cloud_material + + Target Server Type : MySQL + Target Server Version : 50743 + File Encoding : 65001 + + Date: 13/11/2024 12:28:08 +*/ + +SET NAMES utf8mb4; +SET FOREIGN_KEY_CHECKS = 0; + +-- ---------------------------- +-- Table structure for tm_task_agreement +-- ---------------------------- +DROP TABLE IF EXISTS `tm_task_agreement`; +CREATE TABLE `tm_task_agreement` ( + `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键', + `task_id` bigint(20) NOT NULL COMMENT '任务ID', + `agreement_id` int(11) NULL DEFAULT NULL COMMENT '协议ID', + `create_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '创建者', + `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间', + `update_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '更新者', + `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间', + `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注', + `company_id` int(11) NULL DEFAULT NULL COMMENT '数据所属组织', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '任务表tm_task_agreement' ROW_FORMAT = DYNAMIC; + +SET FOREIGN_KEY_CHECKS = 1;