-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Mar 14, 2025 at 08:08 AM
-- Server version: 10.4.28-MariaDB
-- PHP Version: 8.2.4

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

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

--
-- Table structure for table `flight`
--

CREATE TABLE `flight` (
  `ID` int(11) NOT NULL,
  `tracking_code` varchar(255) NOT NULL,
  `airline` varchar(255) NOT NULL,
  `country_from` varchar(255) NOT NULL,
  `country_to` varchar(255) NOT NULL,
  `passenger_name` varchar(255) NOT NULL,
  `departure_date` date NOT NULL,
  `arrival_date` date NOT NULL,
  `board_time` time NOT NULL,
  `departure_time` varchar(255) NOT NULL,
  `arrival_time` varchar(255) NOT NULL,
  `total_time` varchar(255) NOT NULL,
  `gate` varchar(255) NOT NULL,
  `seat` varchar(225) NOT NULL,
  `flight_class` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `flight`
--

INSERT INTO `flight` (`ID`, `tracking_code`, `airline`, `country_from`, `country_to`, `passenger_name`, `departure_date`, `arrival_date`, `board_time`, `departure_time`, `arrival_time`, `total_time`, `gate`, `seat`, `flight_class`) VALUES
(11, '67D3332655540', 'Germany airline', 'Germany', 'UK', 'Chris, Brown', '2025-03-11', '2025-03-16', '08:37:00', '08:37', '08:35', '08:37', 'gate', '65', 'business class'),
(12, '67D336BB3BF6D', 'Germany airline', 'Germany', 'UK', 'Chris, Brown', '2025-03-01', '2025-03-04', '08:51:00', '08:51', '00:49', '08:52', 'gate', '65', 'business class'),
(18, '67D33FA96A5C9', 'Germany airline', 'Germany', 'UK', 'Chris, Brown', '2025-03-05', '2025-03-25', '09:29:00', '10:27', '09:30', '09:29', 'gate', '65', 'business class'),
(19, '67D34031E64D2', 'Turky airline', 'Cyprus', 'UK', 'Chris, Brown', '2025-03-05', '2025-03-25', '09:29:00', '10:27', '09:30', '09:29', 'gate', '65', 'business class'),
(20, '67D340C7100A0', 'Turky airline', 'Cyprus', 'UK', 'Chris, Brown', '2025-03-05', '2025-03-25', '09:29:00', '10:27', '09:30', '09:29', 'gate', '65', 'business class'),
(21, '67D349F3E0747', 'Turky airline', 'Cyprus', 'UK', 'Chris, Brown', '2025-03-05', '2025-03-25', '09:29:00', '10:27', '09:30', '09:29', 'gate', '65', 'Business class');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `flight`
--
ALTER TABLE `flight`
  ADD PRIMARY KEY (`ID`);

--
-- AUTO_INCREMENT for dumped tables
--

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