-- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Nov 10, 2022 at 12:48 PM
-- Server version: 10.4.22-MariaDB
-- PHP Version: 7.4.27

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 */;

--
-- Database: `mondialy`
--

-- --------------------------------------------------------

--
-- Table structure for table `world_cup_results`
--

CREATE TABLE `world_cup_results` (
  `id` int(11) NOT NULL,
  `date` date NOT NULL,
  `time` time NOT NULL,
  `firstteam_id` int(11) NOT NULL,
  `secondteam_id` int(11) NOT NULL,
  `firstteamresult` int(11) NOT NULL DEFAULT 0,
  `secondteamresult` int(11) NOT NULL DEFAULT 0,
  `status` tinyint(1) NOT NULL DEFAULT 0,
  `genre_id` int(11) NOT NULL,
  `created_at` date DEFAULT NULL,
  `updated_at` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `world_cup_results`
--

INSERT INTO `world_cup_results` (`id`, `date`, `time`, `firstteam_id`, `secondteam_id`, `firstteamresult`, `secondteamresult`, `status`, `genre_id`, `created_at`, `updated_at`) VALUES
(1, '2022-11-02', '10:35:00', 5, 3, 2, 3, 0, 11, NULL, '2022-11-10'),
(3, '2022-11-25', '17:04:00', 1, 1, 0, 0, 1, 11, '2022-11-10', '2022-11-10');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `world_cup_results`
--
ALTER TABLE `world_cup_results`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `world_cup_results`
--
ALTER TABLE `world_cup_results`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
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 */;
