/*
 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: 05/08/2023 15:42:29
*/

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 = 22 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of group
-- ----------------------------
INSERT INTO `group` VALUES (1, 'admin', '', '2023-05-13 11:04:54');
INSERT INTO `group` VALUES (3, 'audit', NULL, '2023-05-16 22:48:54');
INSERT INTO `group` VALUES (12, 'erole_id', NULL, '2023-08-03 15:59:11');
INSERT INTO `group` VALUES (21, 'example_role_id', NULL, '2023-08-04 17:35:50');
INSERT INTO `group` VALUES (2, 'operator', NULL, '2023-05-16 22:49:42');
INSERT INTO `group` VALUES (5, 'oss', NULL, '2023-05-16 22:54:50');
INSERT INTO `group` VALUES (4, 'user', NULL, '2023-05-16 22:48:46');

SET FOREIGN_KEY_CHECKS = 1;
