/*
 Navicat Premium Data Transfer

 Source Server         : LOCALHOST
 Source Server Type    : MySQL
 Source Server Version : 100424
 Source Host           : localhost:3306
 Source Schema         : mexibus_erp

 Target Server Type    : MySQL
 Target Server Version : 100424
 File Encoding         : 65001

 Date: 18/01/2023 16:14:51
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for turnos_extras_horarios_comida
-- ----------------------------
DROP TABLE IF EXISTS `turnos_extras_horarios_comida`;
CREATE TABLE `turnos_extras_horarios_comida`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `turno_extra_id` int UNSIGNED NOT NULL,
  `hora_inicio` time(0) NOT NULL,
  `hora_termino` time(0) NOT NULL,
  `status` tinyint(1) NOT NULL,
  `created_at` datetime(0) NOT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `fk_turnos_extras_horarios_comida_turnos_extras1_idx`(`turno_extra_id`) USING BTREE,
  CONSTRAINT `fk_turnos_extras_horarios_comida_turnos_extras1` FOREIGN KEY (`turno_extra_id`) REFERENCES `turnos_extras` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

SET FOREIGN_KEY_CHECKS = 1;
