/*
Navicat MySQL Data Transfer

Source Server         : localhost
Source Server Version : 50505
Source Host           : localhost:3306
Source Database       : mexibus_erp

Target Server Type    : MYSQL
Target Server Version : 50505
File Encoding         : 65001

Date: 2022-02-21 14:07:17
*/

SET FOREIGN_KEY_CHECKS=0;

-- ----------------------------
-- Table structure for modulos_acciones_roles
-- ----------------------------
DROP TABLE IF EXISTS `modulos_acciones_roles`;
CREATE TABLE `modulos_acciones_roles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `modulo_accion_id` int(10) unsigned NOT NULL,
  `rol_id` int(10) unsigned NOT NULL,
  `status` tinyint(4) NOT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id_UNIQUE` (`id`),
  KEY `fk_modulos_acciones_roles_modulos_acciones1_idx` (`modulo_accion_id`),
  KEY `fk_modulos_acciones_roles_roles1_idx` (`rol_id`),
  CONSTRAINT `fk_modulos_acciones_roles_roles1` FOREIGN KEY (`rol_id`) REFERENCES `roles` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=113 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of modulos_acciones_roles
-- ----------------------------
INSERT INTO `modulos_acciones_roles` VALUES ('4', '610201', '1', '1', '2022-02-17 18:17:36', null);
INSERT INTO `modulos_acciones_roles` VALUES ('5', '610202', '1', '1', '2022-02-17 18:19:58', null);
INSERT INTO `modulos_acciones_roles` VALUES ('6', '610203', '1', '1', '2022-02-17 18:20:18', '2022-02-19 01:23:53');
INSERT INTO `modulos_acciones_roles` VALUES ('7', '610204', '1', '1', '2022-02-17 18:21:18', '2022-02-19 01:26:01');
