/*
 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: 10/08/2023 08:44:35
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for role
-- ----------------------------
DROP TABLE IF EXISTS `role`;
CREATE TABLE `role`  (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `role_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_at` datetime NULL DEFAULT current_timestamp() ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`, `role_name`) USING BTREE,
  INDEX `role_name`(`role_name`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of role
-- ----------------------------
INSERT INTO `role` VALUES (1, 'testrole1', 'get permisson role', '2023-08-08 20:04:18');
INSERT INTO `role` VALUES (2, 'testrole2', 'operate permission role', '2023-08-08 20:59:19');
INSERT INTO `role` VALUES (3, 'admin', 'administrator', '2023-08-09 20:06:15');
INSERT INTO `role` VALUES (4, 'user', NULL, '2023-08-09 20:06:26');
INSERT INTO `role` VALUES (5, 'operator', NULL, '2023-08-09 20:06:36');
INSERT INTO `role` VALUES (6, 'test', NULL, '2023-08-09 20:06:45');

SET FOREIGN_KEY_CHECKS = 1;
