/*
 Navicat Premium Data Transfer

 Source Server         : test
 Source Server Type    : MySQL
 Source Server Version : 80026 (8.0.26)
 Source Host           : localhost:3306
 Source Schema         : crowdfunding_system

 Target Server Type    : MySQL
 Target Server Version : 80026 (8.0.26)
 File Encoding         : 65001

 Date: 20/12/2024 15:52:53
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for crowdfundinginfo
-- ----------------------------
DROP TABLE IF EXISTS `crowdfundinginfo`;
CREATE TABLE `crowdfundinginfo`  (
  `id` int NOT NULL AUTO_INCREMENT,
  `title` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `target_number` int NOT NULL,
  `now_number` int NOT NULL,
  `status` int NOT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of crowdfundinginfo
-- ----------------------------
INSERT INTO `crowdfundinginfo` VALUES (1, '请给我钱', 100, 5, 1);

-- ----------------------------
-- Table structure for participants
-- ----------------------------
DROP TABLE IF EXISTS `participants`;
CREATE TABLE `participants`  (
  `id` int NOT NULL AUTO_INCREMENT,
  `jwcode` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `identity` int NOT NULL,
  `creat_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of participants
-- ----------------------------
INSERT INTO `participants` VALUES (6, '10052', 0, '2024-12-20 14:59:29');

-- ----------------------------
-- Table structure for participants_del_save
-- ----------------------------
DROP TABLE IF EXISTS `participants_del_save`;
CREATE TABLE `participants_del_save`  (
  `id` int NOT NULL AUTO_INCREMENT,
  `jwcode` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `identity` int NOT NULL,
  `creat_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of participants_del_save
-- ----------------------------
INSERT INTO `participants_del_save` VALUES (5, '10012', 1, '2024-12-20 14:59:42');
INSERT INTO `participants_del_save` VALUES (6, '10010', 1, '2024-12-20 15:00:48');
INSERT INTO `participants_del_save` VALUES (7, '10011', 1, '2024-12-20 15:24:18');

SET FOREIGN_KEY_CHECKS = 1;