/*
 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: 16/08/2023 11:43:47
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for group
-- ----------------------------
DROP TABLE IF EXISTS `group`;
CREATE TABLE `group`  (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `create_time` datetime NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`name`) USING BTREE,
  INDEX `fk_account_id`(`id`) USING BTREE,
  INDEX `name`(`name`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 79 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of group
-- ----------------------------
INSERT INTO `group` VALUES (1, 'admin', 'administrator', '2023-05-13 11:04:54');
INSERT INTO `group` VALUES (3, 'audit', 'audit group', '2023-05-16 22:48:54');
INSERT INTO `group` VALUES (8, 'manager', 'manager', '2023-08-08 13:02:47');
INSERT INTO `group` VALUES (2, 'operator', 'operator', '2023-05-16 22:49:42');
INSERT INTO `group` VALUES (5, 'oss', 'oss ', '2023-05-16 22:54:50');
INSERT INTO `group` VALUES (8, 'test', 'test group', '2023-08-09 15:57:34');
INSERT INTO `group` VALUES (7, 'user', 'user group', '2023-05-16 22:48:46');

SET FOREIGN_KEY_CHECKS = 1;
