-- --------------------------------------------------------
-- Host:                         127.0.0.1
-- Versión del servidor:         5.7.19 - MySQL Community Server (GPL)
-- SO del servidor:              Win64
-- HeidiSQL Versión:             9.5.0.5196
-- --------------------------------------------------------

/*!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' */;

-- Volcando estructura para tabla chefburger.auth_item_child
DROP TABLE IF EXISTS `auth_item_child`;
CREATE TABLE IF NOT EXISTS `auth_item_child` (
  `parent` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `child` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`parent`,`child`),
  KEY `child` (`child`),
  CONSTRAINT `auth_item_child_ibfk_1` FOREIGN KEY (`parent`) REFERENCES `auth_item` (`name`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `auth_item_child_ibfk_2` FOREIGN KEY (`child`) REFERENCES `auth_item` (`name`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Volcando datos para la tabla chefburger.auth_item_child: ~27 rows (aproximadamente)
DELETE FROM `auth_item_child`;
/*!40000 ALTER TABLE `auth_item_child` DISABLE KEYS */;
INSERT INTO `auth_item_child` (`parent`, `child`) VALUES
	('Administrador', '/*'),
	('administrar entradas', '/entry/*'),
	('administrar entradas', '/entry/create'),
	('administrar entradas', '/entry/delete'),
	('administrar entradas', '/entry/index'),
	('administrar entradas', '/entry/update'),
	('administrar entradas', '/entry/view'),
	('Adminsitrar requisicones ', '/requisition/*'),
	('Adminsitrar requisicones ', '/requisition/changebuttom'),
	('Adminsitrar requisicones ', '/requisition/create'),
	('Adminsitrar requisicones ', '/requisition/delete'),
	('Adminsitrar requisicones ', '/requisition/getbranches'),
	('Adminsitrar requisicones ', '/requisition/getclient'),
	('Adminsitrar requisicones ', '/requisition/getproducts'),
	('Adminsitrar requisicones ', '/requisition/index'),
	('Adminsitrar requisicones ', '/requisition/update'),
	('Adminsitrar requisicones ', '/requisition/view'),
	('Adminsitrar requisicones ', '/requisitiondetail/*'),
	('Adminsitrar requisicones ', '/requisitiondetail/create'),
	('Adminsitrar requisicones ', '/requisitiondetail/delete'),
	('Adminsitrar requisicones ', '/requisitiondetail/index'),
	('Adminsitrar requisicones ', '/requisitiondetail/update'),
	('Adminsitrar requisicones ', '/requisitiondetail/view'),
	('Punto de venta', '/site/login'),
	('Punto de venta', '/site/logout'),
	('Punto de venta', 'administrar entradas'),
	('Punto de venta', 'Adminsitrar requisicones ');
/*!40000 ALTER TABLE `auth_item_child` 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 */;
