/*
 Navicat Premium Data Transfer

 Source Server         : local_mariadb
 Source Server Type    : MariaDB
 Source Server Version : 100338 (10.3.38-MariaDB)
 Source Host           : localhost:33066
 Source Schema         : omc_db

 Target Server Type    : MariaDB
 Target Server Version : 100338 (10.3.38-MariaDB)
 File Encoding         : 65001

 Date: 20/08/2023 09:52:29
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for cert_info
-- ----------------------------
DROP TABLE IF EXISTS `cert_info`;
CREATE TABLE `cert_info`  (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `file_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `key_length` int(11) NULL DEFAULT NULL,
  `key_algorithm` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `cert_format` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '',
  `cert_expiration` varchar(24) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `created_at` datetime NULL DEFAULT current_timestamp(),
  `updated_at` datetime NULL DEFAULT current_timestamp() ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `idx_netype_neid`(`file_name`, `key_length`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 22 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of cert_info
-- ----------------------------
INSERT INTO `cert_info` VALUES (1, 'jianshezhige.CER', 1024, 'SHA235withRAS', 'X.509', '2022-02-12~2024-02-12', '2023-03-23 10:23:45', '2023-08-19 17:05:48', NULL);
INSERT INTO `cert_info` VALUES (2, 'wenyifuxing.CER', 1024, 'SHA235withRAS', 'X.509', '2022-12-15~2026-12-15', '2023-03-24 08:12:12', '2023-08-19 17:05:52', NULL);
INSERT INTO `cert_info` VALUES (3, 'wangerdan.CER', 1024, 'SHA235withRAS', 'X.509', '2023-03-22~2024-03-22', '2023-05-18 15:26:55', '2023-08-19 17:06:11', NULL);
INSERT INTO `cert_info` VALUES (18, 'ProjectManagementaa.CER', 1024, 'SHA235withRAS', 'X.509', '2023-05-05~2024-05-05', '2023-08-19 17:32:21', '2023-08-19 17:32:21', NULL);
INSERT INTO `cert_info` VALUES (19, 'CH324242H9zz.CER', 1024, 'SHA235withRAS', 'X.509', '2023-05-05~2024-05-05', '2023-08-19 17:45:50', '2023-08-19 17:45:50', NULL);
INSERT INTO `cert_info` VALUES (21, 'ProjectManagementdd.CER', 1024, 'SHA235withRAS', 'X.509', '2023-05-05~2024-05-05', '2023-08-19 17:54:12', '2023-08-19 17:54:12', NULL);

SET FOREIGN_KEY_CHECKS = 1;
