-- --------------------------------------------------------
-- 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.frontend_role_mapping
CREATE TABLE IF NOT EXISTS `frontend_role_mapping` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `role_code` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `menu_set` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `menu_group` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `menu_id` int(11) NOT NULL,
  `parent_id` int(11) NOT NULL DEFAULT '0',
  `sort` int(11) DEFAULT NULL,
  `created_by` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `updated_by` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `page_id` int(11) DEFAULT '0',
  `site_id` int(11) DEFAULT '0',
  `status` int(11) DEFAULT '1',
  `category` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  KEY `FK_frontend_role_mapping_frontend_menu` (`menu_id`) USING BTREE,
  CONSTRAINT `FK_frontend_role_mapping_frontend_menu` FOREIGN KEY (`menu_id`) REFERENCES `frontend_menu` (`menu_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=73 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Dumping data for table selfinstaller.frontend_role_mapping: ~4 rows (approximately)
/*!40000 ALTER TABLE `frontend_role_mapping` DISABLE KEYS */;
INSERT IGNORE INTO `frontend_role_mapping` (`id`, `role_code`, `menu_set`, `menu_group`, `menu_id`, `parent_id`, `sort`, `created_by`, `created_at`, `updated_by`, `updated_at`, `page_id`, `site_id`, `status`, `category`) VALUES
	(62, 'PUBLIC', 'DEFAULT', '', 3, 0, 1, '3', '2020-08-18 00:00:00', '3', '2020-08-18 00:00:00', 0, 0, 1, NULL),
	(65, 'PUBLIC', 'DEFAULT', '', 7, 62, 1, '3', '2020-08-18 00:00:00', NULL, '2020-08-18 21:52:03', 0, 0, 1, NULL),
	(71, 'PUBLIC', 'DEFAULT', '', 3, 0, 2, '3', '2020-08-18 00:00:00', NULL, '2020-08-18 21:54:09', 18, 0, 1, NULL),
	(72, 'PUBLIC', 'TOPMENU', '', 3, 0, 1, '3', '2020-08-18 00:00:00', NULL, '2020-08-18 21:54:28', 18, 0, 1, NULL);
/*!40000 ALTER TABLE `frontend_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 */;
