text: -- phpMyAdmin SQL Dump
  -- version 4.8.3
  -- https://www.phpmyadmin.net/
  --
  -- Host: localhost:8889
  -- Generation Time: Mar 07, 2019 at 12:54 AM
  -- Server version: 5.7.23
  -- PHP Version: 7.2.8
  
  SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  SET time_zone = "+00:00";
  
  --
  -- Database: `mascotas`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `especies`
  --
  
  CREATE TABLE `especies` (
    `id` int(11) NOT NULL,
    `nombre` varchar(255) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  --
  -- Dumping data for table `especies`
  --
  
  INSERT INTO `especies` (`id`, `nombre`) VALUES
  (1, 'Gato'),
  (2, 'Perro'),
  (3, 'Hamster'),
  (4, 'Perico');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `estados`
  --
  
  CREATE TABLE `estados` (
    `id` int(11) NOT NULL,
    `id_pais` int(11) NOT NULL,
    `nombre` varchar(255) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  --
  -- Dumping data for table `estados`
  --
  
  INSERT INTO `estados` (`id`, `id_pais`, `nombre`) VALUES
  (1, 1, 'Sonora'),
  (2, 1, 'Coahuila'),
  (3, 1, 'Durango'),
  (4, 1, 'Zacatecas'),
  (5, 2, 'Alabama'),
  (6, 2, 'Arizona'),
  (7, 2, 'Texas'),
  (8, 2, 'Florida');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `mascotas`
  --
  
  CREATE TABLE `mascotas` (
    `id` int(11) NOT NULL,
    `id_especie` int(11) NOT NULL,
    `nombre` varchar(255) NOT NULL,
    `precio` int(11) NOT NULL,
    `nacimiento` date NOT NULL,
    `foto` varchar(255) DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  --
  -- Dumping data for table `mascotas`
  --
  
  INSERT INTO `mascotas` (`id`, `id_especie`, `nombre`, `precio`, `nacimiento`, `foto`) VALUES
  (1, 1, 'Misifus', 109, '2019-02-14', NULL);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `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;
  
  --
  -- Dumping data for table `migrations`
  --
  
  INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
  (1, '2014_10_12_000000_create_users_table', 1),
  (2, '2014_10_12_100000_create_password_resets_table', 1);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `paises`
  --
  
  CREATE TABLE `paises` (
    `id` int(11) NOT NULL,
    `nombre` varchar(255) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  --
  -- Dumping data for table `paises`
  --
  
  INSERT INTO `paises` (`id`, `nombre`) VALUES
  (1, 'Mexico'),
  (2, 'Estados Unidos');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `password_resets`
  --
  
  CREATE TABLE `password_resets` (
    `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `created_at` timestamp NULL DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `users`
  --
  
  CREATE TABLE `users` (
    `id` int(10) UNSIGNED NOT NULL,
    `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `email_verified_at` timestamp NULL DEFAULT NULL,
    `password` varchar(255) 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,
    `foto` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Dumping data for table `users`
  --
  
  INSERT INTO `users` (`id`, `name`, `email`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`, `foto`) VALUES
  (1, 'Emiliano', 'emiliano@correo.com', NULL, '$2y$10$0PsNHxCUW3Y6fPgdqTaY3OEYon3kXFUiZoB/bgJbp79jQbkg1u9nm', '6OFIHHWHF0SVUEMgcDTGbchbDOyjUGZm2uu5fAKxz0NDfIqsNTdaytw40ZfN', '2019-02-22 02:04:17', '2019-03-07 07:38:50', 'p1155191813111.jpg');
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `especies`
  --
  ALTER TABLE `especies`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `estados`
  --
  ALTER TABLE `estados`
    ADD PRIMARY KEY (`id`),
    ADD KEY `id_pais` (`id_pais`);
  
  --
  -- Indexes for table `mascotas`
  --
  ALTER TABLE `mascotas`
    ADD PRIMARY KEY (`id`),
    ADD KEY `id_especie` (`id_especie`);
  
  --
  -- Indexes for table `migrations`
  --
  ALTER TABLE `migrations`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `paises`
  --
  ALTER TABLE `paises`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `password_resets`
  --
  ALTER TABLE `password_resets`
    ADD KEY `password_resets_email_index` (`email`);
  
  --
  -- Indexes for table `users`
  --
  ALTER TABLE `users`
    ADD PRIMARY KEY (`id`),
    ADD UNIQUE KEY `users_email_unique` (`email`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `especies`
  --
  ALTER TABLE `especies`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
  
  --
  -- AUTO_INCREMENT for table `estados`
  --
  ALTER TABLE `estados`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
  
  --
  -- AUTO_INCREMENT for table `mascotas`
  --
  ALTER TABLE `mascotas`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
  
  --
  -- AUTO_INCREMENT for table `migrations`
  --
  ALTER TABLE `migrations`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
  
  --
  -- AUTO_INCREMENT for table `paises`
  --
  ALTER TABLE `paises`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
  
  --
  -- AUTO_INCREMENT for table `users`
  --
  ALTER TABLE `users`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  
  --
  -- Constraints for dumped tables
  --
  
  --
  -- Constraints for table `estados`
  --
  ALTER TABLE `estados`
    ADD CONSTRAINT `estados_ibfk_1` FOREIGN KEY (`id_pais`) REFERENCES `paises` (`id`);
  
  --
  -- Constraints for table `mascotas`
  --
  ALTER TABLE `mascotas`
    ADD CONSTRAINT `mascotas_ibfk_1` FOREIGN KEY (`id_especie`) REFERENCES `especies` (`id`);
  