tm_task_agreement优化

This commit is contained in:
sxu 2024-11-13 12:29:52 +08:00
parent d697711a8f
commit d109977489
2 changed files with 39 additions and 1 deletions

View File

@ -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 '创建时间',

View File

@ -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;