text: -- phpMyAdmin SQL Dump
  -- version 5.1.0
  -- https://www.phpmyadmin.net/
  --
  -- Servidor: 127.0.0.1
  -- Tiempo de generación: 12-05-2021 a las 06:12:35
  -- Versión del servidor: 10.4.18-MariaDB
  -- Versión de PHP: 7.4.18
  
  SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  START TRANSACTION;
  SET time_zone = "+00:00";
  
  
  /*!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 */;
  /*!40101 SET NAMES utf8mb4 */;
  
  --
  -- Base de datos: `pyxis`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Estructura de tabla para la tabla `menus`
  --
  
  CREATE TABLE `menus` (
    `id` bigint(20) UNSIGNED NOT NULL,
    `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `introduccion` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `descripcion` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `imagen` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `contenido` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `imagen2` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `diferenciadores` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `status` tinyint(1) DEFAULT NULL,
    `carac_adi` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `info_adi` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL,
    `padre_id` bigint(20) UNSIGNED DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  -- --------------------------------------------------------
  
  --
  -- Estructura de tabla para la tabla `menu_imagenes`
  --
  
  CREATE TABLE `menu_imagenes` (
    `id` bigint(20) UNSIGNED NOT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL,
    `imagen` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `destacado` tinyint(1) NOT NULL DEFAULT 0,
    `carrusel` tinyint(1) NOT NULL DEFAULT 0,
    `menu_id` bigint(20) UNSIGNED NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  -- --------------------------------------------------------
  
  --
  -- Estructura de tabla para la tabla `migrations`
  --
  
  CREATE TABLE `migrations` (
    `id` int(10) UNSIGNED NOT NULL,
    `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `batch` int(11) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Volcado de datos para la tabla `migrations`
  --
  
  INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
  (5, '2014_10_12_000000_create_users_table', 1),
  (6, '2014_10_12_100000_create_password_resets_table', 1),
  (7, '2021_03_31_013830_create_menus_table', 1),
  (8, '2021_04_19_192853_create_menu_imagenes_table', 1);
  
  -- --------------------------------------------------------
  
  --
  -- Estructura de tabla para la tabla `password_resets`
  --
  
  CREATE TABLE `password_resets` (
    `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `created_at` timestamp NULL DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  -- --------------------------------------------------------
  
  --
  -- Estructura de tabla para la tabla `users`
  --
  
  CREATE TABLE `users` (
    `id` bigint(20) UNSIGNED NOT NULL,
    `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `email_verified_at` timestamp NULL DEFAULT NULL,
    `password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Volcado de datos para la tabla `users`
  --
  
  INSERT INTO `users` (`id`, `name`, `email`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
  (1, 'Ricardo', 'rdelrosario@grupovalvid.com', NULL, '$2y$10$KZV7.96r7/DgCZcWOeWh1.Y5aoCOJ9LE5C0oh7NwGmCLeQj/Js0Sy', NULL, '2021-05-12 06:00:25', '2021-05-12 06:00:25');
  
  --
  -- Índices para tablas volcadas
  --
  
  --
  -- Indices de la tabla `menus`
  --
  ALTER TABLE `menus`
    ADD PRIMARY KEY (`id`),
    ADD KEY `menus_padre_id_foreign` (`padre_id`);
  
  --
  -- Indices de la tabla `menu_imagenes`
  --
  ALTER TABLE `menu_imagenes`
    ADD PRIMARY KEY (`id`),
    ADD KEY `menu_imagenes_menu_id_foreign` (`menu_id`);
  
  --
  -- Indices de la tabla `migrations`
  --
  ALTER TABLE `migrations`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indices de la tabla `password_resets`
  --
  ALTER TABLE `password_resets`
    ADD KEY `password_resets_email_index` (`email`);
  
  --
  -- Indices de la tabla `users`
  --
  ALTER TABLE `users`
    ADD PRIMARY KEY (`id`),
    ADD UNIQUE KEY `users_email_unique` (`email`);
  
  --
  -- AUTO_INCREMENT de las tablas volcadas
  --
  
  --
  -- AUTO_INCREMENT de la tabla `menus`
  --
  ALTER TABLE `menus`
    MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT de la tabla `menu_imagenes`
  --
  ALTER TABLE `menu_imagenes`
    MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT de la tabla `migrations`
  --
  ALTER TABLE `migrations`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
  
  --
  -- AUTO_INCREMENT de la tabla `users`
  --
  ALTER TABLE `users`
    MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  
  --
  -- Restricciones para tablas volcadas
  --
  
  --
  -- Filtros para la tabla `menus`
  --
  ALTER TABLE `menus`
    ADD CONSTRAINT `menus_padre_id_foreign` FOREIGN KEY (`padre_id`) REFERENCES `menus` (`id`);
  
  --
  -- Filtros para la tabla `menu_imagenes`
  --
  ALTER TABLE `menu_imagenes`
    ADD CONSTRAINT `menu_imagenes_menu_id_foreign` FOREIGN KEY (`menu_id`) REFERENCES `menus` (`id`);
  COMMIT;
  
  /*!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 */;
  