38 lines
1.2 KiB
SQL
38 lines
1.2 KiB
SQL
/*
|
|
Navicat Premium Data Transfer
|
|
|
|
Source Server : ryx
|
|
Source Server Type : MariaDB
|
|
Source Server Version : 100510
|
|
Source Host : localhost:3307
|
|
Source Schema : c5_labsci
|
|
|
|
Target Server Type : MariaDB
|
|
Target Server Version : 100510
|
|
File Encoding : 65001
|
|
|
|
Date: 05/03/2026 12:14:29
|
|
*/
|
|
|
|
SET NAMES utf8mb4;
|
|
SET FOREIGN_KEY_CHECKS = 0;
|
|
|
|
-- ----------------------------
|
|
-- Table structure for lab_projectmember
|
|
-- ----------------------------
|
|
DROP TABLE IF EXISTS `lab_projectmember`;
|
|
CREATE TABLE `lab_projectmember` (
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
|
`pid` bigint(20) NOT NULL COMMENT '项目ID,关联lab_rproject.id',
|
|
`uid` bigint(20) NOT NULL COMMENT '成员ID,关联lab_user.id',
|
|
`prole` int(11) NULL DEFAULT NULL COMMENT '角色,cata',
|
|
`ctime` bigint(20) NOT NULL COMMENT '加入时间戳',
|
|
`utime` bigint(20) NOT NULL COMMENT '更新时间戳',
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
UNIQUE INDEX `uk_pid_uid`(`pid`, `uid`) USING BTREE,
|
|
INDEX `idx_pid`(`pid`) USING BTREE,
|
|
INDEX `idx_uid`(`uid`) USING BTREE
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 51 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '项目成员关联表' ROW_FORMAT = Dynamic;
|
|
|
|
SET FOREIGN_KEY_CHECKS = 1;
|