-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Sep 30, 2024 at 06:45 PM
-- Server version: 5.7.44
-- PHP Version: 8.1.29

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

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

--
-- Table structure for table `class_schedule`
--

CREATE TABLE `class_schedule` (
  `schedule_id` int(11) NOT NULL,
  `course_id` int(11) NOT NULL,
  `date` date NOT NULL,
  `start_time` time NOT NULL,
  `end_time` time NOT NULL,
  `location_id` int(11) NOT NULL,
  `type_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `class_schedule`
--

INSERT INTO `class_schedule` (`schedule_id`, `course_id`, `date`, `start_time`, `end_time`, `location_id`, `type_id`) VALUES
(1, 1, '2024-09-16', '09:00:00', '11:50:00', 1, 1),
(2, 2, '2024-09-16', '16:00:00', '17:20:00', 2, 1),
(3, 3, '2024-09-17', '09:00:00', '11:50:00', 3, 1),
(4, 4, '2024-09-17', '14:00:00', '16:50:00', 4, 2),
(5, 1, '2024-09-18', '09:00:00', '11:50:00', 1, 1),
(6, 2, '2024-09-18', '16:00:00', '17:20:00', 2, 1),
(7, 3, '2024-09-19', '09:00:00', '11:50:00', 3, 1),
(8, 4, '2024-09-19', '14:00:00', '16:50:00', 4, 2),
(9, 5, '2024-09-19', '17:00:00', '18:50:00', 5, 1),
(10, 2, '2024-09-20', '09:00:00', '09:50:00', 2, 3),
(11, 1, '2024-09-23', '09:00:00', '11:50:00', 1, 1),
(12, 2, '2024-09-23', '16:00:00', '17:20:00', 2, 1),
(13, 3, '2024-09-24', '09:00:00', '11:50:00', 3, 1),
(14, 4, '2024-09-24', '14:00:00', '16:50:00', 4, 2),
(15, 1, '2024-09-25', '09:00:00', '11:50:00', 1, 1),
(16, 2, '2024-09-25', '16:00:00', '17:20:00', 2, 1),
(17, 3, '2024-09-26', '09:00:00', '11:50:00', 3, 1),
(18, 4, '2024-09-26', '14:00:00', '16:50:00', 4, 2),
(19, 5, '2024-09-26', '17:00:00', '18:50:00', 5, 1),
(20, 2, '2024-09-27', '09:00:00', '09:50:00', 2, 3),
(21, 1, '2024-09-30', '09:00:00', '11:50:00', 1, 1),
(22, 2, '2024-09-30', '16:00:00', '17:20:00', 2, 1),
(23, 3, '2024-10-01', '09:00:00', '11:50:00', 3, 1),
(24, 4, '2024-10-01', '14:00:00', '16:50:00', 4, 2),
(25, 1, '2024-10-02', '09:00:00', '11:50:00', 1, 1),
(26, 2, '2024-10-02', '16:00:00', '17:20:00', 2, 1),
(27, 3, '2024-10-03', '09:00:00', '11:50:00', 3, 1),
(28, 4, '2024-10-03', '14:00:00', '16:50:00', 4, 2),
(29, 5, '2024-10-03', '17:00:00', '18:50:00', 5, 1),
(30, 2, '2024-10-04', '09:00:00', '09:50:00', 2, 3),
(31, 1, '2024-10-07', '09:00:00', '11:50:00', 1, 1),
(32, 2, '2024-10-07', '16:00:00', '17:20:00', 2, 1),
(33, 3, '2024-10-08', '09:00:00', '11:50:00', 3, 1),
(34, 4, '2024-10-08', '14:00:00', '16:50:00', 4, 2),
(35, 1, '2024-10-09', '09:00:00', '11:50:00', 1, 1),
(36, 2, '2024-10-09', '16:00:00', '17:20:00', 2, 1),
(37, 3, '2024-10-10', '09:00:00', '11:50:00', 3, 1),
(38, 4, '2024-10-10', '14:00:00', '16:50:00', 4, 2),
(39, 5, '2024-10-10', '17:00:00', '18:50:00', 5, 1),
(40, 2, '2024-09-20', '09:00:00', '09:50:00', 2, 3),
(43, 15, '2024-09-30', '11:11:11', '11:11:11', 12, 1),
(44, 16, '2024-09-30', '11:11:11', '11:11:11', 13, 1);

--
-- Indexes for dumped tables
--

--
-- Indexes for table `class_schedule`
--
ALTER TABLE `class_schedule`
  ADD PRIMARY KEY (`schedule_id`);

--
-- AUTO_INCREMENT for dumped tables
--

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