# ************************************************************
# Sequel Ace SQL dump
# Versión 20062
#
# https://sequel-ace.com/
# https://github.com/Sequel-Ace/Sequel-Ace
#
# Equipo: localhost (MySQL 8.0.33)
# Base de datos: originacion_back_demo
# Tiempo de generación: 2024-01-16 05:29:04 +0000
# ************************************************************


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
SET NAMES utf8mb4;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE='NO_AUTO_VALUE_ON_ZERO', SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;


# Volcado de tabla modules
# ------------------------------------------------------------

DROP TABLE IF EXISTS `modules`;

CREATE TABLE `modules` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `parent_id` int NOT NULL DEFAULT '0',
  `icon` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `order` int NOT NULL,
  `url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

LOCK TABLES `modules` WRITE;
/*!40000 ALTER TABLE `modules` DISABLE KEYS */;

INSERT INTO `modules` (`id`, `created_at`, `updated_at`, `name`, `description`, `parent_id`, `icon`, `order`, `url`, `deleted_at`)
VALUES
	(1,NULL,NULL,'company','Empresas',11,'',1,'',NULL),
	(2,NULL,NULL,'role','Roles y permisos',11,'',2,'',NULL),
	(3,NULL,NULL,'dashboard','Dashboard',0,'',1,'',NULL),
	(4,NULL,NULL,'job','Perfiles',11,'',2,'',NULL),
	(5,NULL,NULL,'document','Documentos',11,'',3,'',NULL),
	(6,NULL,NULL,'ad','Anuncios',11,'',4,'',NULL),
	(7,NULL,NULL,'evaluation-question-employees','Preguntas de evaluación (Empleados)',11,'',5,'','2024-01-11 00:00:00'),
	(8,NULL,NULL,'provider-crud','Proveedores (CRUD)',11,'',6,'','2024-01-11 00:00:00'),
	(9,NULL,NULL,'evaluation-question-providers','Preguntas de evaluación (Proveedor)',11,'',7,'','2024-01-11 00:00:00'),
	(10,NULL,NULL,'inventory-category-crud','CRUD Categorías(Inventario)',11,'',8,'','2024-01-11 00:00:00'),
	(11,NULL,NULL,'config','Configuración',0,'',2,'',NULL),
	(12,NULL,NULL,'employee','Usuarios',0,'',0,'',NULL),
	(13,NULL,NULL,'prenominate','Prenómina',0,'',0,'','2024-01-11 00:00:00'),
	(14,NULL,NULL,'training','Capacitación',0,'',0,'','2024-01-11 00:00:00'),
	(15,NULL,NULL,'holiday','Vacaciones',0,'',0,'','2024-01-11 00:00:00'),
	(16,NULL,NULL,'provider','Proveedores',0,'',0,'','2024-01-11 00:00:00'),
	(17,NULL,NULL,'payment','Pagos',0,'',0,'','2024-01-11 00:00:00'),
	(18,NULL,NULL,'inventory','Recursos materiales',0,'',0,'','2024-01-11 00:00:00'),
	(19,NULL,NULL,'certification','Certificaciones',0,'',0,'','2024-01-11 00:00:00'),
	(20,NULL,NULL,'todo','Tareas',0,'',0,'',NULL),
	(21,NULL,NULL,'calendar','Calendario',0,'',0,'','2024-01-11 00:00:00'),
	(22,NULL,NULL,'office','Oficinas',0,'',0,'',NULL),
	(23,NULL,NULL,'log','Log de movimientos',0,'',0,'',NULL),
	(24,NULL,NULL,'inventory-provider-crud','CRUD Proveedores(Inventario)',11,'',8,'','2024-01-11 00:00:00'),
	(25,NULL,NULL,'products','Productos',11,'',8,'',NULL),
	(26,NULL,NULL,'credit-request','Trámites',0,'1',9,'',NULL);

/*!40000 ALTER TABLE `modules` ENABLE KEYS */;
UNLOCK TABLES;



/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
