-- --------------------------------------------------------
-- Host:                         127.0.0.1
-- Server version:               5.7.21 - MySQL Community Server (GPL)
-- Server OS:                    Win64
-- HeidiSQL Version:             11.0.0.5919
-- --------------------------------------------------------

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;

-- Dumping structure for table selfinstaller.backend_role_mapping
CREATE TABLE IF NOT EXISTS `backend_role_mapping` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `role_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `menu_id` int(11) NOT NULL,
  `parent_id` int(11) NOT NULL DEFAULT '0',
  `sort` int(11) NOT NULL,
  `created_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` datetime NOT NULL,
  `updated_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`) USING BTREE,
  KEY `backend_role_mapping_frontend_menu` (`menu_id`) USING BTREE,
  CONSTRAINT `backend_role_mapping_frontend_menu` FOREIGN KEY (`menu_id`) REFERENCES `backend_menu` (`menu_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=63 DEFAULT CHARSET=latin1;

-- Dumping data for table selfinstaller.backend_role_mapping: ~22 rows (approximately)
/*!40000 ALTER TABLE `backend_role_mapping` DISABLE KEYS */;
INSERT IGNORE INTO `backend_role_mapping` (`id`, `role_code`, `menu_id`, `parent_id`, `sort`, `created_by`, `created_at`, `updated_by`, `updated_at`) VALUES
	(29, 'super-admin', 2, 0, 1, '3', '2020-11-18 00:00:00', NULL, '2020-11-18 20:59:29'),
	(31, 'super-admin', 5, 0, 2, '3', '2020-11-18 00:00:00', NULL, '2020-11-18 20:59:47'),
	(32, 'super-admin', 6, 31, 2, '3', '2020-11-18 00:00:00', '3', '2021-03-06 00:00:00'),
	(33, 'super-admin', 8, 31, 3, '3', '2020-11-18 00:00:00', '3', '2021-03-06 00:00:00'),
	(34, 'super-admin', 9, 31, 4, '3', '2020-11-18 00:00:00', '3', '2021-03-06 00:00:00'),
	(35, 'super-admin', 10, 31, 1, '3', '2020-11-18 00:00:00', '3', '2021-03-06 00:00:00'),
	(36, 'super-admin', 11, 31, 7, '3', '2020-11-18 00:00:00', '3', '2020-11-25 00:00:00'),
	(37, 'super-admin', 15, 31, 5, '3', '2020-11-18 00:00:00', '3', '2020-11-25 00:00:00'),
	(38, 'super-admin', 12, 0, 3, '3', '2020-11-18 00:00:00', NULL, '2020-11-18 21:02:51'),
	(39, 'super-admin', 13, 38, 1, '3', '2020-11-18 00:00:00', NULL, '2020-11-18 21:02:57'),
	(40, 'super-admin', 16, 38, 2, '3', '2020-12-09 00:00:00', NULL, '2020-12-09 16:40:27'),
	(41, 'super-admin', 17, 38, 3, '3', '2020-12-09 00:00:00', NULL, '2020-12-09 18:23:27'),
	(42, 'super-admin', 18, 38, 4, '3', '2020-12-09 00:00:00', NULL, '2020-12-09 18:23:35'),
	(43, 'super-admin', 19, 38, 5, '3', '2021-01-06 00:00:00', NULL, '2021-01-06 19:43:28'),
	(45, 'super-admin', 20, 38, 6, '3', '2021-01-07 00:00:00', NULL, '2021-01-07 15:15:52'),
	(46, 'super-admin', 3, 31, 8, '3', '2021-03-07 00:00:00', NULL, '2021-03-07 18:25:00'),
	(47, 'super-admin', 21, 31, 9, '3', '2021-03-07 00:00:00', NULL, '2021-03-07 18:28:11'),
	(51, 'super-admin', 23, 0, 4, '3', '2021-03-08 00:00:00', NULL, '2021-03-08 18:12:27'),
	(53, 'super-admin', 22, 31, 10, '3', '2021-03-08 00:00:00', NULL, '2021-03-08 18:14:21'),
	(54, 'super-admin', 24, 51, 1, '3', '2021-03-08 00:00:00', NULL, '2021-03-08 18:16:00'),
	(55, 'super-admin', 25, 31, 11, '3', '2021-03-09 00:00:00', NULL, '2021-03-09 11:10:13'),
	(56, 'super-admin', 26, 51, 2, '3', '2021-03-09 00:00:00', NULL, '2021-03-09 11:31:42');
/*!40000 ALTER TABLE `backend_role_mapping` ENABLE KEYS */;

/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
