-- phpMyAdmin SQL Dump
-- version 4.8.3
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jul 10, 2024 at 10:01 PM
-- Server version: 10.1.36-MariaDB
-- PHP Version: 5.6.38

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
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: `ntv_youth_skills_fest`
--

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

--
-- Table structure for table `engagements`
--

CREATE TABLE `engagements` (
  `id` int(11) NOT NULL,
  `ip_address` varchar(45) NOT NULL,
  `session_duration` int(11) NOT NULL,
  `device_type` varchar(50) DEFAULT NULL,
  `geo_location` varchar(255) DEFAULT NULL,
  `gps_coordinates` varchar(255) DEFAULT NULL,
  `operating_system` varchar(50) DEFAULT NULL,
  `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `engagements`
--

INSERT INTO `engagements` (`id`, `ip_address`, `session_duration`, `device_type`, `geo_location`, `gps_coordinates`, `operating_system`, `timestamp`) VALUES
(1, '::1', 311, 'Desktop', 'Kampala, Central, Uganda', '0.311296, 32.5943296', 'Windows', '2024-07-10 19:35:34'),
(2, '192.168.5.200', 137, 'Mobile', '', '', 'Linux', '2024-07-10 19:39:38'),
(3, '::1', 1318, 'Desktop', 'Kampala, Central, Uganda', '0.311296, 32.5943296', 'Windows', '2024-07-10 19:52:21'),
(4, '::1', 1682, 'Desktop', 'Kampala, Central, Uganda', '0.311296, 32.5943296', 'Windows', '2024-07-10 19:58:25'),
(5, '::1', 1707, 'Desktop', 'Kampala, Central, Uganda', '0.311296, 32.5943296', 'Windows', '2024-07-10 19:58:50');

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

--
-- Table structure for table `registrations`
--

CREATE TABLE `registrations` (
  `id` int(11) NOT NULL,
  `name` varchar(100) NOT NULL,
  `age_group` varchar(11) NOT NULL,
  `sex` enum('Male','Female','Other') NOT NULL,
  `preferred_language` varchar(50) NOT NULL,
  `area_of_residence` varchar(100) NOT NULL,
  `trainers_personalities` varchar(255) NOT NULL,
  `selected_lab` enum('Kitchen Lab','Wood & Metal District','Fabric District','Mechatronics','Art Lab') NOT NULL,
  `special_requirements` text,
  `comments` text
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `registrations`
--

INSERT INTO `registrations` (`id`, `name`, `age_group`, `sex`, `preferred_language`, `area_of_residence`, `trainers_personalities`, `selected_lab`, `special_requirements`, `comments`) VALUES
(1, 'Muhsin Kigozi', '30', 'Male', 'English', 'Kitnde', 'Influential Entrepreneurs', 'Kitchen Lab', 'nk', 'kkjkj'),
(2, 'Muhsin Kigozi', '16-20', 'Female', 'English', 'Kitnde', '', 'Wood & Metal District', 'yes', 'yfx'),
(3, 'YOU', '45+', 'Male', 'English', 'KIA', '', 'Kitchen Lab', 'KJIHIH', 'IHIHI'),
(4, 'Test', '21-25', 'Female', 'English', 'Ghjv', '', 'Wood & Metal District', 'Jjv', 'Gvg'),
(5, 'Muhsin Kigozi', '21-25', 'Male', 'English', 'Kitnde', '', 'Kitchen Lab', 'dad', 'sdffsd'),
(6, 'Muhsin Kigozi', '21-25', 'Male', 'English', 'Kitnde', '', 'Kitchen Lab', 'ass', 'dbbgfdg'),
(7, 'Muhsin Kigozi', '21-25', 'Male', 'English', 'Kitnde', '', 'Kitchen Lab', 'ewffe', 'fbbfgb');

--
-- Indexes for dumped tables
--

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

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

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `engagements`
--
ALTER TABLE `engagements`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

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