-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 29 Agu 2025 pada 11.22
-- Versi server: 10.4.32-MariaDB
-- Versi PHP: 8.1.25

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: `bola`
--

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

--
-- Struktur dari tabel `turnamen`
--

CREATE TABLE `turnamen` (
  `id` int(11) NOT NULL,
  `nama` varchar(100) DEFAULT 'default',
  `data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`data`))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data untuk tabel `turnamen`
--

INSERT INTO `turnamen` (`id`, `nama`, `data`) VALUES
(1, 'bracket_8', '{\"teams\":[[\"Tim 1\",\"Tim 2\"],[\"Tim 3\",\"Tim 4\"],[\"Tim 5\",\"Tim 6\"],[\"Tim 7\",\"Tim 8\"]],\"results\":[[[null,null],[null,null],[null,null],[null,null]],[[null,null],[null,null]],[[null,null]]]}'),
(2, 'bracket_16', '{\"teams\":[[\"adam\",\"roni\"],[\"jams\",\"Tim 4\"],[\"Tim 5\",\"Tim 6\"],[\"Tim 7\",\"Tim 8\"],[\"Tim 9\",\"Tim 10\"],[\"Tim 11\",\"Tim 12\"],[\"Tim 13\",\"Tim 14\"],[\"Tim 15\",\"Tim 16\"]],\"results\":[[[[7,3],[null,null],[null,null],[null,null],[null,null],[null,null],[null,null],[null,null]],[[null,null],[null,null],[null,null],[null,null]],[[null,null],[null,null]],[[null,null],[null,null]]]]}');

--
-- Indexes for dumped tables
--

--
-- Indeks untuk tabel `turnamen`
--
ALTER TABLE `turnamen`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT untuk tabel yang dibuang
--

--
-- AUTO_INCREMENT untuk tabel `turnamen`
--
ALTER TABLE `turnamen`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
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 */;
