text: -- phpMyAdmin SQL Dump
  -- version 5.1.1
  -- https://www.phpmyadmin.net/
  --
  -- Host: 127.0.0.1
  -- Generation Time: Jan 12, 2022 at 01:31 PM
  -- Server version: 10.4.22-MariaDB
  -- PHP Version: 8.1.1
  
  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: `object_detection`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `hitboxes`
  --
  
  CREATE TABLE `hitboxes` (
    `box_id` int(11) NOT NULL,
    `id` int(11) NOT NULL,
    `class` int(11) NOT NULL DEFAULT 0,
    `x` float NOT NULL DEFAULT 0,
    `y` float NOT NULL DEFAULT 0,
    `w` float NOT NULL DEFAULT 0,
    `h` float NOT NULL DEFAULT 0
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `pictures`
  --
  
  CREATE TABLE `pictures` (
    `id` int(11) NOT NULL,
    `name` varchar(30) NOT NULL,
    `path` varchar(100) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `hitboxes`
  --
  ALTER TABLE `hitboxes`
    ADD PRIMARY KEY (`box_id`),
    ADD KEY `id` (`id`);
  
  --
  -- Indexes for table `pictures`
  --
  ALTER TABLE `pictures`
    ADD PRIMARY KEY (`id`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `hitboxes`
  --
  ALTER TABLE `hitboxes`
    MODIFY `box_id` int(11) NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `pictures`
  --
  ALTER TABLE `pictures`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  
  --
  -- Constraints for dumped tables
  --
  
  --
  -- Constraints for table `hitboxes`
  --
  ALTER TABLE `hitboxes`
    ADD CONSTRAINT `hb_fk` FOREIGN KEY (`id`) REFERENCES `pictures` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
  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 */;
  