-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Mar 13, 2026 at 10:45 AM
-- Server version: 8.0.33-cll-lve
-- PHP Version: 8.1.16

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

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

--
-- Table structure for table `admin_login`
--

CREATE TABLE `admin_login` (
  `al_id` int NOT NULL,
  `al_username` varchar(50) COLLATE utf8mb4_general_ci NOT NULL,
  `al_pwd` varchar(50) COLLATE utf8mb4_general_ci NOT NULL,
  `al_name` varchar(50) COLLATE utf8mb4_general_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `admin_login`
--

INSERT INTO `admin_login` (`al_id`, `al_username`, `al_pwd`, `al_name`) VALUES
(1, 'mahesh', 'm1', 'Mahesh');

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

--
-- Table structure for table `appointments`
--

CREATE TABLE `appointments` (
  `appointment_id` int NOT NULL,
  `doctor_id` int NOT NULL,
  `appointment_datetime` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `status` enum('scheduled','canceled','completed') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'scheduled',
  `scanner_id` int DEFAULT NULL,
  `purpose_id` int DEFAULT NULL,
  `price` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `coupon_code` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `date` date NOT NULL,
  `from_time` time NOT NULL,
  `to_time` time NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `appointments`
--

INSERT INTO `appointments` (`appointment_id`, `doctor_id`, `appointment_datetime`, `status`, `scanner_id`, `purpose_id`, `price`, `coupon_code`, `date`, `from_time`, `to_time`) VALUES
(2, 7, '2023-11-09 21:53:43', 'scheduled', 1, 1, '₹999', NULL, '2023-11-13', '00:00:00', '00:00:00'),
(3, 11, '2023-12-15 01:21:17', 'scheduled', 2, 2, '₹999', NULL, '2023-12-18', '00:00:00', '00:00:00'),
(4, 11, '2023-12-15 16:47:52', 'scheduled', 1, 1, '₹999', NULL, '2023-12-16', '00:00:00', '00:00:00'),
(5, 11, '2023-12-15 16:54:24', 'scheduled', 1, 1, '₹999', NULL, '2023-12-31', '00:00:00', '00:00:00'),
(6, 11, '2023-12-15 17:58:42', 'scheduled', 1, 1, '₹999', NULL, '2023-12-15', '00:00:00', '00:00:00'),
(7, 14, '2023-12-16 14:23:37', 'scheduled', 1, 1, '₹999', NULL, '2023-12-24', '00:00:00', '00:00:00'),
(8, 15, '2023-12-21 15:28:49', 'scheduled', 1, 1, '₹999', NULL, '2023-12-22', '00:00:00', '00:00:00'),
(22, 16, '2023-12-30 09:01:05', 'scheduled', 1, 1, '₹999', '', '2023-12-31', '20:00:00', '21:00:00'),
(23, 16, '2023-12-30 09:01:23', 'scheduled', 1, 1, '₹899', 'SAVE100', '2023-12-31', '20:00:00', '21:00:00'),
(24, 16, '2023-12-30 09:02:30', 'scheduled', 1, 1, '₹799', 'SAVE200', '2023-12-31', '12:00:00', '13:00:00'),
(25, 16, '2023-12-30 09:04:59', 'scheduled', 1, 1, '₹999', '', '2023-12-31', '20:00:00', '21:00:00'),
(26, 16, '2023-12-30 09:10:19', 'scheduled', 1, 1, '₹999', '', '2023-12-31', '20:00:00', '21:00:00'),
(27, 16, '2023-12-30 22:01:17', 'scheduled', 1, 1, '₹999', '', '2023-12-31', '12:00:00', '13:00:00'),
(28, 16, '2023-12-31 07:58:14', 'scheduled', 1, 1, '₹999', '', '2024-01-01', '14:00:00', '15:00:00'),
(29, 16, '2023-12-31 08:00:50', 'scheduled', 1, 1, '₹999', '', '2024-01-02', '21:00:00', '22:00:00'),
(30, 16, '2023-12-31 08:02:45', 'scheduled', 1, 1, '₹999', '', '2024-01-02', '22:00:00', '23:00:00'),
(31, 16, '2024-01-03 09:49:06', 'scheduled', 1, 1, '₹999', '', '2024-01-04', '20:00:00', '21:00:00'),
(32, 16, '2024-01-03 17:26:24', 'scheduled', 1, 1, '₹100', '', '2024-01-31', '09:00:00', '10:00:00'),
(33, 11, '2025-04-24 13:57:43', 'scheduled', 1, 1, '₹999', '', '2025-04-24', '09:00:00', '10:00:00');

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

--
-- Table structure for table `blogs`
--

CREATE TABLE `blogs` (
  `blog_id` int NOT NULL,
  `title` varchar(255) NOT NULL,
  `content` text NOT NULL,
  `image_path` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- Table structure for table `book_demo`
--

CREATE TABLE `book_demo` (
  `id` int NOT NULL,
  `doctor_name` varchar(255) NOT NULL,
  `clinic_name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `phone` varchar(255) NOT NULL,
  `location` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `book_demo`
--

INSERT INTO `book_demo` (`id`, `doctor_name`, `clinic_name`, `email`, `phone`, `location`) VALUES
(1, 'doctor 1 ', 'dg clinic', 'admin1@gmail.com', '0987654321', ''),
(2, 'Vaibhav', '123456', 'info@diginspire.co', '7418529630', ''),
(3, 'Vaibhav Rathee', 'Vaibhav Dental Clinic', 'info@diginspire.co', '8221841086', 'Rohtak'),
(4, 'Vaibhav Rathee', 'Vaibhav Dental Clinic', 'info@diginspire.co', '8221841086', 'Rohtak'),
(5, 'Vaibhav Rathee', 'Vaibhav Dental Clinic', 'vaibhavrathee@5ginfotech.com', '8221841086', 'public_html/setup'),
(6, 'Vaibhav Rathee', 'Vaibhav Dental Clinic', 'vaibhavrathee@5ginfotech.com', '8221841086', 'public_html/setup'),
(7, 'Vaibhav Rathee', 'Vaibhav Dental Clinic', 'vaibhavrathee@5ginfotech.com', '8221841086', 'public_html/setup'),
(8, 'Vaibhav Kumar', 'Vaibhav Clinic', 'info@diginspire.co', '8221841086', 'Rohtak'),
(9, 'Vaibhav Rathee', 'Vaibhav Ctc Clinic', 'info@diginspire.co', '8708613660', 'Rohtak,Haryana'),
(10, 'Vaibhav Rathee', 'Vaibhav Ctc Clinic', 'info@diginspire.co', '8708613660', 'panel.oneclicktechnologies.us'),
(11, 'Vaibhav Rathee', 'Vaibhav Ctc Clinic', 'info@diginspire.co', '8221841086', 'bpc.diginspire.in/ctbabe'),
(12, 'Paras', 'Paras Clinic', 'info@diginspire.co', '8221841086', 'Pune'),
(13, 'Manish Airan', 'SmileAxis Multispeciality Dental Clinic And Implant Center', 'smileaxisdental@gmail.com', '+917056795050', ''),
(14, 'Suraj Darade', 'Suraj Darade Clinic', 'daradesuraj05@gmail.com', '7038468629', '1234545');

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

--
-- Table structure for table `contact`
--

CREATE TABLE `contact` (
  `id` int NOT NULL,
  `email` varchar(255) NOT NULL,
  `phone` varchar(255) NOT NULL,
  `address` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `contact`
--

INSERT INTO `contact` (`id`, `email`, `phone`, `address`) VALUES
(2, 'info@scanprodental.com', '8221841086', 'Model Town, Rohtak');

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

--
-- Table structure for table `contact_inq`
--

CREATE TABLE `contact_inq` (
  `inq_id` int NOT NULL,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `message` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `contact_inq`
--

INSERT INTO `contact_inq` (`inq_id`, `name`, `email`, `phone`, `message`) VALUES
(2, 'admin', 'admin@gmail.com', '1', 'hello this is test'),
(3, 'Vaibhav Rathee', 'info@diginspire.co', '1', 'Testing'),
(5, 'Suraj', 'daradesuraj05@gmail.com', '7038468629', 'Test');

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

--
-- Table structure for table `coupons`
--

CREATE TABLE `coupons` (
  `coupon_id` int NOT NULL,
  `coupon_code` varchar(255) NOT NULL,
  `discount` decimal(10,2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `coupons`
--

INSERT INTO `coupons` (`coupon_id`, `coupon_code`, `discount`) VALUES
(2, 'SAVE200', 200.00);

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

--
-- Table structure for table `doctor_registration`
--

CREATE TABLE `doctor_registration` (
  `doctor_id` int NOT NULL,
  `doctor_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `clinic_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `worked_with_us` tinyint(1) NOT NULL,
  `dci_reg_no` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `location` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `email` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `phone_number` varchar(20) COLLATE utf8mb4_general_ci NOT NULL,
  `password` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `status` enum('approved','pending') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'pending'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `doctor_registration`
--

INSERT INTO `doctor_registration` (`doctor_id`, `doctor_name`, `clinic_name`, `worked_with_us`, `dci_reg_no`, `location`, `email`, `phone_number`, `password`, `status`) VALUES
(7, 'Devendra singh', 'devendra clinic', 0, '122343556', 'Rajasthan', 'admin@gmail.com', '112233445566', '1234', 'approved'),
(11, 'Vaibhav', 'Vaibhav Clinic', 1, '1235533', 'Rohtak', 'info@diginspire.co', '8221841086', 'Vaibhav@2005', 'approved'),
(12, 'Somya Rathee', 'Somya Clinic', 1, '1235533', 'Rohtak', 'vaibhavrathee@5ginfotech.com', '8221841086', 'Vaibhav@2005', 'approved'),
(13, 'sfsfsd', 'sdfsdf ', 1, 'sdfsfsdf', 'sfdsdf', 'sdfssfsd@gmail.com', '8221841086', '', 'approved'),
(14, 'Paras Shah', 'Paras Clinic', 1, 'BAHJFJFD44', 'Pune', 'info@diginspire.co', '8221841086', '12345678', 'approved'),
(15, 'Dr Manish Airan', 'SmileAxis Multispeciality Dental Clinic And Implant Center', 0, '7669 A', '', 'smileaxisdental@gmail.com', '7056795050', 'maniairan0902', 'approved'),
(16, 'Suraj Darade', 'Suraj Dental Clinic', 0, 'AV51214545D', 'sdffdfsdfdsf', 'daradesuraj05@gmail.com', '7038468629', '1234567890', 'approved');

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

--
-- Table structure for table `faq`
--

CREATE TABLE `faq` (
  `faq_id` int NOT NULL,
  `title` varchar(255) NOT NULL,
  `description` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `faq`
--

INSERT INTO `faq` (`faq_id`, `title`, `description`) VALUES
(1, 'What services does ScanPro Dental offer?', 'ScanPro Dental offers a range of dental scanning services, including [list specific services]. Contact us for details.'),
(2, 'Is ScanPro Dental technology safe for patients?', 'Yes, ScanPro Dental\'s technology is safe for patients, employing advanced safety measures to ensure comfort and accuracy.'),
(3, 'How do I schedule an appointment with ScanPro Dental?', 'To schedule an appointment, please [mention the appointment booking process, e.g., call our office or use our online booking system].'),
(4, 'What are the benefits of using ScanPro Dental technology?', 'ScanPro Dental technology offers advantages such as [mention key benefits, e.g., improved accuracy, patient comfort, and efficiency].'),
(5, 'How can I get in touch with ScanPro Dental for inquiries?', 'For inquiries, you can reach out to us through [mention contact options, e.g., phone, email, or our website contact form].');

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

--
-- Table structure for table `page_content`
--

CREATE TABLE `page_content` (
  `id` int NOT NULL,
  `content` text COLLATE utf8mb4_general_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `page_content`
--

INSERT INTO `page_content` (`id`, `content`) VALUES
(1, 'Scanpro is a Dent-tech startup aspiring to bring Intraoral scanning at the doorstep of every dentist without obligations and burden. A great dental scan is just the beginning of efficient patient care and we are scanpro are reliable partners in taking that first step. Our state of the art technology and experienced team comprising of the digital dentists and dental technicians provides a dynamic ecosystem for the well- being of the patients. Scanpro dental aims to bridge the gap between dentist, dental clinics and dental labs with innovative digital products and services. Scanpro dental is determined to provide opportunity to every dentist to join the digital dentistry revolution regardless of any obstacles and hurdles.\r\n\r\n');

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

--
-- Table structure for table `purpose`
--

CREATE TABLE `purpose` (
  `purpose_id` int NOT NULL,
  `purpose_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `purpose`
--

INSERT INTO `purpose` (`purpose_id`, `purpose_name`) VALUES
(1, 'Impants'),
(2, 'Orthodontic Reason'),
(4, 'Smile Designing '),
(5, 'Implant Planning & Surgical Guides'),
(6, 'Bone Reduction Guides'),
(7, 'Patient Education'),
(8, 'Veneers'),
(9, 'Orthodontics');

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

--
-- Table structure for table `scanner`
--

CREATE TABLE `scanner` (
  `scanner_id` int NOT NULL,
  `scanner_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `scanner`
--

INSERT INTO `scanner` (`scanner_id`, `scanner_name`) VALUES
(1, 'Medit'),
(2, 'Straumann'),
(3, 'Straumann Virtuo Vivo');

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

--
-- Table structure for table `testimonials`
--

CREATE TABLE `testimonials` (
  `id` int NOT NULL,
  `name` varchar(255) NOT NULL,
  `image` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `content` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `testimonials`
--

INSERT INTO `testimonials` (`id`, `name`, `image`, `content`) VALUES
(3, 'Test', NULL, 'Test');

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

--
-- Table structure for table `time_slots`
--

CREATE TABLE `time_slots` (
  `time_slot_id` int NOT NULL,
  `from_time` time NOT NULL,
  `to_time` time NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `time_slots`
--

INSERT INTO `time_slots` (`time_slot_id`, `from_time`, `to_time`) VALUES
(7, '09:00:00', '10:00:00'),
(8, '10:00:00', '11:00:00'),
(9, '11:00:00', '12:00:00'),
(10, '13:00:00', '14:00:00'),
(12, '14:00:00', '15:00:00'),
(13, '15:00:00', '16:00:00'),
(15, '16:00:00', '17:00:00'),
(16, '17:00:00', '18:00:00');

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

--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `user_id` int NOT NULL,
  `username` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `password` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `email` varchar(255) COLLATE utf8mb4_general_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `appointments`
--
ALTER TABLE `appointments`
  ADD PRIMARY KEY (`appointment_id`),
  ADD KEY `doctor_id` (`doctor_id`),
  ADD KEY `scanner_id` (`scanner_id`),
  ADD KEY `purpose_id` (`purpose_id`);

--
-- Indexes for table `blogs`
--
ALTER TABLE `blogs`
  ADD PRIMARY KEY (`blog_id`);

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

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

--
-- Indexes for table `contact_inq`
--
ALTER TABLE `contact_inq`
  ADD PRIMARY KEY (`inq_id`);

--
-- Indexes for table `coupons`
--
ALTER TABLE `coupons`
  ADD PRIMARY KEY (`coupon_id`);

--
-- Indexes for table `doctor_registration`
--
ALTER TABLE `doctor_registration`
  ADD PRIMARY KEY (`doctor_id`);

--
-- Indexes for table `faq`
--
ALTER TABLE `faq`
  ADD PRIMARY KEY (`faq_id`);

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

--
-- Indexes for table `purpose`
--
ALTER TABLE `purpose`
  ADD PRIMARY KEY (`purpose_id`);

--
-- Indexes for table `scanner`
--
ALTER TABLE `scanner`
  ADD PRIMARY KEY (`scanner_id`);

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

--
-- Indexes for table `time_slots`
--
ALTER TABLE `time_slots`
  ADD PRIMARY KEY (`time_slot_id`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`user_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `appointments`
--
ALTER TABLE `appointments`
  MODIFY `appointment_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34;

--
-- AUTO_INCREMENT for table `blogs`
--
ALTER TABLE `blogs`
  MODIFY `blog_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `book_demo`
--
ALTER TABLE `book_demo`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

--
-- AUTO_INCREMENT for table `contact`
--
ALTER TABLE `contact`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `contact_inq`
--
ALTER TABLE `contact_inq`
  MODIFY `inq_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `coupons`
--
ALTER TABLE `coupons`
  MODIFY `coupon_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `doctor_registration`
--
ALTER TABLE `doctor_registration`
  MODIFY `doctor_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `faq`
--
ALTER TABLE `faq`
  MODIFY `faq_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `page_content`
--
ALTER TABLE `page_content`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `purpose`
--
ALTER TABLE `purpose`
  MODIFY `purpose_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT for table `scanner`
--
ALTER TABLE `scanner`
  MODIFY `scanner_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `testimonials`
--
ALTER TABLE `testimonials`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `time_slots`
--
ALTER TABLE `time_slots`
  MODIFY `time_slot_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `user_id` int NOT NULL AUTO_INCREMENT;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `appointments`
--
ALTER TABLE `appointments`
  ADD CONSTRAINT `appointments_ibfk_1` FOREIGN KEY (`doctor_id`) REFERENCES `doctor_registration` (`doctor_id`),
  ADD CONSTRAINT `appointments_ibfk_2` FOREIGN KEY (`scanner_id`) REFERENCES `scanner` (`scanner_id`),
  ADD CONSTRAINT `appointments_ibfk_3` FOREIGN KEY (`purpose_id`) REFERENCES `purpose` (`purpose_id`);
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 */;
