-- phpMyAdmin SQL Dump
-- version 4.8.4
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Jan 31, 2019 at 08:37 AM
-- Server version: 10.1.37-MariaDB
-- PHP Version: 7.3.1

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

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

--
-- Table structure for table `udut_appointments`
--

CREATE TABLE `udut_appointments` (
  `appointmentId` int(11) NOT NULL,
  `patientId` int(11) NOT NULL,
  `doctorId` int(11) NOT NULL,
  `departmentId` int(11) NOT NULL,
  `appointmentNo` int(11) NOT NULL,
  `appointmentDescription` varchar(250) NOT NULL,
  `appointmentDate` date NOT NULL,
  `appointmentTime` time NOT NULL,
  `appointmentDateAdded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `appointmentDateModified` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `udut_configurations`
--

CREATE TABLE `udut_configurations` (
  `configId` int(11) NOT NULL,
  `configName` varchar(100) NOT NULL,
  `configValue` varchar(100) NOT NULL,
  `configStatus` int(11) NOT NULL,
  `configDateAdded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `configDateModified` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `udut_configurations`
--

INSERT INTO `udut_configurations` (`configId`, `configName`, `configValue`, `configStatus`, `configDateAdded`, `configDateModified`) VALUES
(1, 'siteName', 'UDUT PPP Partners Project', 1, '2019-01-01 17:59:25', '2019-01-01 17:59:25'),
(2, 'siteLogo', 'logo-dark.png', 1, '2019-01-01 17:59:25', '2019-01-01 17:59:25'),
(3, 'runningCost', '300000', 1, '2019-01-01 18:01:15', '2019-01-01 18:01:15'),
(4, 'hosAccPer', '30', 1, '2019-01-01 18:10:45', '2019-01-01 18:10:45'),
(5, 'manAccPer', '5', 1, '2019-01-01 18:10:45', '2019-01-01 18:10:45'),
(6, 'hosHosAccPer', '15', 1, '2019-01-01 18:13:32', '2019-01-01 18:13:32'),
(7, 'hosAdmFee', '5', 1, '2019-01-01 18:13:32', '2019-01-01 18:13:32'),
(8, 'hosCMD', '5', 1, '2019-01-01 18:14:09', '2019-01-01 18:14:09'),
(9, 'hosDrAdm', '2.5', 1, '2019-01-01 18:14:09', '2019-01-01 18:14:09'),
(10, 'hosRadDep', '2.5', 1, '2019-01-01 18:14:36', '2019-01-01 18:14:36'),
(11, 'foresightPer', '70', 1, '2019-01-01 18:16:55', '2019-01-01 18:16:55'),
(12, 'khalifaPer', '30', 1, '2019-01-01 18:16:55', '2019-01-01 18:16:55'),
(13, 'patternPatientUId', 'UDUT', 1, '2019-01-24 22:52:47', '2019-01-24 21:52:52'),
(14, 'udutAddress', 'Usmanu Danfodiyo University Teaching uduth, Sokoto <br>P.M.B. 2370 <br>Sokoto. <br>Nigeria', 1, '2019-01-28 20:29:38', '0000-00-00 00:00:00');

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

--
-- Table structure for table `udut_departments`
--

CREATE TABLE `udut_departments` (
  `departmentId` int(11) NOT NULL,
  `departmentName` varchar(100) NOT NULL,
  `departmentDateAdded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `departmentDateModified` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `udut_doctors`
--

CREATE TABLE `udut_doctors` (
  `doctorId` int(11) NOT NULL,
  `doctorUId` varchar(100) NOT NULL,
  `doctorName` varchar(100) NOT NULL,
  `doctorDateOfBirth` date DEFAULT NULL,
  `doctorGender` varchar(100) NOT NULL,
  `doctorEmail` varchar(100) NOT NULL,
  `doctorPhone` varchar(100) NOT NULL,
  `doctorAddress` varchar(250) DEFAULT NULL,
  `doctorExperience` varchar(100) DEFAULT NULL,
  `doctorSpecialization` varchar(100) DEFAULT NULL,
  `doctorDateAdded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `doctorDateModified` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `udut_doctors_activities`
--

CREATE TABLE `udut_doctors_activities` (
  `activityId` int(11) NOT NULL,
  `doctorId` int(11) NOT NULL,
  `patientId` int(11) NOT NULL,
  `injuryId` int(11) NOT NULL,
  `visitId` int(11) NOT NULL,
  `visitStatusId` int(11) NOT NULL,
  `activityDateAdded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `activityDateModified` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `udut_injuries`
--

CREATE TABLE `udut_injuries` (
  `injuryId` int(11) NOT NULL,
  `injuryName` varchar(100) NOT NULL,
  `injuryDateAdded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `injuryDateModified` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `udut_injuries`
--

INSERT INTO `udut_injuries` (`injuryId`, `injuryName`, `injuryDateAdded`, `injuryDateModified`) VALUES
(1, 'Viral fever', '2018-12-30 14:34:00', '0000-00-00 00:00:00'),
(2, 'Hand Fracture', '2018-12-30 14:34:00', '0000-00-00 00:00:00'),
(3, 'Dengue', '2018-12-30 15:04:43', '0000-00-00 00:00:00'),
(4, 'Malayria', '2018-12-30 15:04:43', '0000-00-00 00:00:00');

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

--
-- Table structure for table `udut_patients`
--

CREATE TABLE `udut_patients` (
  `patientId` int(11) NOT NULL,
  `patientUId` varchar(100) NOT NULL,
  `patientName` varchar(100) DEFAULT NULL,
  `patientDob` varchar(100) DEFAULT NULL,
  `patientGender` varchar(100) DEFAULT NULL,
  `patientAddress` varchar(100) DEFAULT NULL,
  `patientPhone` varchar(100) DEFAULT NULL,
  `patientEmail` varchar(100) DEFAULT NULL,
  `patientCompanion` varchar(100) DEFAULT NULL,
  `patientuduthReferredName` varchar(100) DEFAULT NULL,
  `patientReferredPaper` varchar(250) DEFAULT NULL,
  `userId` int(11) NOT NULL,
  `patientDateAdded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `patientDateModified` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `udut_patients`
--

INSERT INTO `udut_patients` (`patientId`, `patientUId`, `patientName`, `patientDob`, `patientGender`, `patientAddress`, `patientPhone`, `patientEmail`, `patientCompanion`, `patientuduthReferredName`, `patientReferredPaper`, `userId`, `patientDateAdded`, `patientDateModified`) VALUES
(1, 'UDUT/19/0001', 'Sunusi Mohd Inuwa', '1991-01-01', 'Male', 'Zaria', '08135067070', 'smenuwa@yahoo.com', 'Mohd Inuwa', NULL, NULL, 1, '2019-01-31 00:38:19', '0000-00-00 00:00:00');

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

--
-- Table structure for table `udut_patients_referral_docs`
--

CREATE TABLE `udut_patients_referral_docs` (
  `referralDocId` int(11) NOT NULL,
  `patientId` int(11) NOT NULL,
  `referralDoc` varchar(250) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `udut_patients_referral_docs`
--

INSERT INTO `udut_patients_referral_docs` (`referralDocId`, `patientId`, `referralDoc`) VALUES
(1, 1, 'sample.jpg'),
(2, 9, 'iasda.jpg'),
(3, 10, 'iasda.jpg'),
(4, 11, 'iasda.jpg'),
(5, 12, 'iasda.jpg'),
(6, 13, 'iasda.jpg'),
(7, 14, 'iasda.jpg'),
(8, 15, 'iasda.jpg'),
(9, 16, 'iasda.jpg'),
(10, 17, 'iasda.jpg'),
(11, 18, ''),
(12, 19, '2060205v1-5b9c1b1146e0fb0024254fef.png'),
(13, 20, 'Screenshot 2019-01-29 at 10.52.02.png'),
(14, 21, ''),
(15, 22, ''),
(16, 23, ''),
(17, 1, '');

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

--
-- Table structure for table `udut_payments`
--

CREATE TABLE `udut_payments` (
  `paymentId` int(11) NOT NULL,
  `patientId` int(11) NOT NULL,
  `paymentTypeId` int(11) NOT NULL,
  `typeId` int(11) NOT NULL,
  `paymentStatusId` int(11) NOT NULL,
  `userId` int(11) NOT NULL,
  `paymentDateAdded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `udut_payments_status`
--

CREATE TABLE `udut_payments_status` (
  `paymentStatusId` int(11) NOT NULL,
  `paymentStatusName` varchar(100) NOT NULL,
  `paymentStatusDateAdded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `udut_payments_status`
--

INSERT INTO `udut_payments_status` (`paymentStatusId`, `paymentStatusName`, `paymentStatusDateAdded`) VALUES
(1, 'Pending', '2019-01-30 23:52:48'),
(2, 'Completed', '2019-01-30 23:52:48'),
(3, 'Cancelled', '2019-01-30 23:53:03'),
(4, 'Refunded', '2019-01-30 23:53:03');

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

--
-- Table structure for table `udut_payments_types`
--

CREATE TABLE `udut_payments_types` (
  `paymentTypeId` int(11) NOT NULL,
  `paymentTypeName` varchar(100) NOT NULL,
  `PaymentDateAdded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `udut_payments_types`
--

INSERT INTO `udut_payments_types` (`paymentTypeId`, `paymentTypeName`, `PaymentDateAdded`) VALUES
(1, 'Check', '2018-12-30 11:32:40'),
(2, 'Credit Card', '2018-12-30 11:32:40'),
(3, 'Cash-At-Hand', '2018-12-30 11:32:59'),
(4, 'Cash-In-Bank', '2018-12-30 11:32:59'),
(5, 'Insurance', '2018-12-30 11:32:40');

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

--
-- Table structure for table `udut_scan_types`
--

CREATE TABLE `udut_scan_types` (
  `typeId` int(11) NOT NULL,
  `typeName` varchar(100) DEFAULT NULL,
  `typeAmount` varchar(100) DEFAULT NULL,
  `typeUserAdded` varchar(100) DEFAULT NULL,
  `typeDateAdded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `udut_scan_types`
--

INSERT INTO `udut_scan_types` (`typeId`, `typeName`, `typeAmount`, `typeUserAdded`, `typeDateAdded`) VALUES
(1, 'Adult', '30000', '1', '2018-12-29 13:16:52'),
(2, 'Minor', '15000', '1', '2018-12-29 13:16:52');

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

--
-- Table structure for table `udut_services`
--

CREATE TABLE `udut_services` (
  `serviceId` int(11) NOT NULL,
  `serviceName` varchar(100) NOT NULL,
  `serviceDateAdded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `serviceDateModified` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `udut_services`
--

INSERT INTO `udut_services` (`serviceId`, `serviceName`, `serviceDateAdded`, `serviceDateModified`) VALUES
(1, 'X-ray', '2019-01-01 13:59:18', '2019-01-01 13:59:18'),
(2, 'ECG', '2019-01-01 13:59:18', '2019-01-01 13:59:18'),
(3, 'Dental', '2019-01-01 13:59:38', '2019-01-01 13:59:38');

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

--
-- Table structure for table `udut_users`
--

CREATE TABLE `udut_users` (
  `userId` int(11) NOT NULL,
  `userUsername` varchar(100) NOT NULL,
  `userPassword` varchar(100) NOT NULL DEFAULT '123456',
  `userFullname` varchar(100) NOT NULL,
  `userDateOfBirth` date DEFAULT NULL,
  `userGender` varchar(100) DEFAULT NULL,
  `userEmail` varchar(100) DEFAULT NULL,
  `userPhone` varchar(100) DEFAULT NULL,
  `userAccountName` varchar(100) DEFAULT NULL,
  `userAccountNumber` varchar(100) DEFAULT NULL,
  `userAccountType` varchar(100) DEFAULT NULL,
  `userDateAdded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `userDateModified` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `udut_users`
--

INSERT INTO `udut_users` (`userId`, `userUsername`, `userPassword`, `userFullname`, `userDateOfBirth`, `userGender`, `userEmail`, `userPhone`, `userAccountName`, `userAccountNumber`, `userAccountType`, `userDateAdded`, `userDateModified`) VALUES
(1, 'sminuwa', '123456', 'Sunusi Mohd Inuwa', '1991-01-01', 'Male', 'sminuwa@yahoo.com', '08135067070', 'AccessBankPlc', '0052929034', 'Savings', '2019-01-01 14:12:31', '2019-01-01 14:12:31'),
(2, 'user2', '123456', 'Abubakar Abdullahi', '1991-01-01', 'Male', 'sminuwa@yahoo.com', '08135067070', 'AccessBankPlc', '0052929034', 'Savings', '2019-01-01 14:12:31', '2019-01-01 14:12:31');

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

--
-- Table structure for table `udut_users_privileges`
--

CREATE TABLE `udut_users_privileges` (
  `privilegeId` int(11) NOT NULL,
  `roleId` int(11) NOT NULL,
  `createUser` int(11) NOT NULL,
  `updateUser` int(11) NOT NULL,
  `deleteUser` int(11) NOT NULL,
  `uduthAccountPercentage` int(11) NOT NULL,
  `managementAccountPercentage` int(11) NOT NULL,
  `foresightAccountPercentage` int(11) NOT NULL,
  `khalifaAccountPercentage` int(11) NOT NULL,
  `privilegeDateAdded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `privilegeDateModified` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `udut_users_privileges`
--

INSERT INTO `udut_users_privileges` (`privilegeId`, `roleId`, `createUser`, `updateUser`, `deleteUser`, `uduthAccountPercentage`, `managementAccountPercentage`, `foresightAccountPercentage`, `khalifaAccountPercentage`, `privilegeDateAdded`, `privilegeDateModified`) VALUES
(1, 1, 0, 0, 0, 0, 0, 0, 0, '2019-01-23 00:57:02', '0000-00-00 00:00:00'),
(2, 2, 0, 0, 0, 0, 0, 0, 0, '2019-01-23 00:57:02', '0000-00-00 00:00:00');

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

--
-- Table structure for table `udut_users_roles`
--

CREATE TABLE `udut_users_roles` (
  `roleId` int(11) NOT NULL,
  `userId` int(11) NOT NULL,
  `roleLocation` varchar(100) NOT NULL,
  `roleDateAdded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `roleDateModified` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `udut_users_roles`
--

INSERT INTO `udut_users_roles` (`roleId`, `userId`, `roleLocation`, `roleDateAdded`, `roleDateModified`) VALUES
(1, 1, 'users/', '2019-01-02 12:36:03', '2019-01-02 12:36:03'),
(2, 2, 'users/', '2019-01-02 12:36:03', '2019-01-02 13:09:51'),
(3, 3, 'admin/', '2019-01-02 12:36:03', '2019-01-02 13:11:33'),
(4, 4, 'super/', '2019-01-02 12:36:03', '2019-01-02 13:11:33');

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

--
-- Table structure for table `udut_visits`
--

CREATE TABLE `udut_visits` (
  `visitId` int(11) NOT NULL,
  `paymentId` int(11) NOT NULL,
  `visitDateAdded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `visitStatusId` int(11) DEFAULT '0',
  `patientId` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `udut_visits_status`
--

CREATE TABLE `udut_visits_status` (
  `visitStatusId` int(11) NOT NULL,
  `visitStatusName` varchar(100) CHARACTER SET latin1 NOT NULL,
  `visitStatusDateAdded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `udut_visits_status`
--

INSERT INTO `udut_visits_status` (`visitStatusId`, `visitStatusName`, `visitStatusDateAdded`) VALUES
(1, 'Resheduled', '2018-12-30 10:45:29'),
(2, 'Operation', '2018-12-30 10:45:29'),
(3, 'Ortho', '2018-12-30 11:02:08'),
(4, 'General Check-up', '2018-12-30 11:02:08'),
(5, 'Injury', '2018-12-30 11:02:44');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `udut_appointments`
--
ALTER TABLE `udut_appointments`
  ADD PRIMARY KEY (`appointmentId`);

--
-- Indexes for table `udut_configurations`
--
ALTER TABLE `udut_configurations`
  ADD PRIMARY KEY (`configId`);

--
-- Indexes for table `udut_departments`
--
ALTER TABLE `udut_departments`
  ADD PRIMARY KEY (`departmentId`);

--
-- Indexes for table `udut_doctors`
--
ALTER TABLE `udut_doctors`
  ADD PRIMARY KEY (`doctorId`);

--
-- Indexes for table `udut_doctors_activities`
--
ALTER TABLE `udut_doctors_activities`
  ADD PRIMARY KEY (`activityId`);

--
-- Indexes for table `udut_injuries`
--
ALTER TABLE `udut_injuries`
  ADD PRIMARY KEY (`injuryId`);

--
-- Indexes for table `udut_patients`
--
ALTER TABLE `udut_patients`
  ADD PRIMARY KEY (`patientId`);

--
-- Indexes for table `udut_patients_referral_docs`
--
ALTER TABLE `udut_patients_referral_docs`
  ADD PRIMARY KEY (`referralDocId`);

--
-- Indexes for table `udut_payments`
--
ALTER TABLE `udut_payments`
  ADD PRIMARY KEY (`paymentId`);

--
-- Indexes for table `udut_payments_status`
--
ALTER TABLE `udut_payments_status`
  ADD PRIMARY KEY (`paymentStatusId`);

--
-- Indexes for table `udut_payments_types`
--
ALTER TABLE `udut_payments_types`
  ADD PRIMARY KEY (`paymentTypeId`);

--
-- Indexes for table `udut_scan_types`
--
ALTER TABLE `udut_scan_types`
  ADD PRIMARY KEY (`typeId`);

--
-- Indexes for table `udut_services`
--
ALTER TABLE `udut_services`
  ADD PRIMARY KEY (`serviceId`);

--
-- Indexes for table `udut_users`
--
ALTER TABLE `udut_users`
  ADD PRIMARY KEY (`userId`);

--
-- Indexes for table `udut_users_privileges`
--
ALTER TABLE `udut_users_privileges`
  ADD PRIMARY KEY (`privilegeId`);

--
-- Indexes for table `udut_users_roles`
--
ALTER TABLE `udut_users_roles`
  ADD PRIMARY KEY (`roleId`);

--
-- Indexes for table `udut_visits`
--
ALTER TABLE `udut_visits`
  ADD PRIMARY KEY (`visitId`);

--
-- Indexes for table `udut_visits_status`
--
ALTER TABLE `udut_visits_status`
  ADD PRIMARY KEY (`visitStatusId`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `udut_appointments`
--
ALTER TABLE `udut_appointments`
  MODIFY `appointmentId` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `udut_configurations`
--
ALTER TABLE `udut_configurations`
  MODIFY `configId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT for table `udut_departments`
--
ALTER TABLE `udut_departments`
  MODIFY `departmentId` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `udut_doctors`
--
ALTER TABLE `udut_doctors`
  MODIFY `doctorId` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `udut_doctors_activities`
--
ALTER TABLE `udut_doctors_activities`
  MODIFY `activityId` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `udut_injuries`
--
ALTER TABLE `udut_injuries`
  MODIFY `injuryId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `udut_patients`
--
ALTER TABLE `udut_patients`
  MODIFY `patientId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `udut_patients_referral_docs`
--
ALTER TABLE `udut_patients_referral_docs`
  MODIFY `referralDocId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;

--
-- AUTO_INCREMENT for table `udut_payments`
--
ALTER TABLE `udut_payments`
  MODIFY `paymentId` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `udut_payments_status`
--
ALTER TABLE `udut_payments_status`
  MODIFY `paymentStatusId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

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

--
-- AUTO_INCREMENT for table `udut_scan_types`
--
ALTER TABLE `udut_scan_types`
  MODIFY `typeId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `udut_services`
--
ALTER TABLE `udut_services`
  MODIFY `serviceId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `udut_users`
--
ALTER TABLE `udut_users`
  MODIFY `userId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `udut_users_privileges`
--
ALTER TABLE `udut_users_privileges`
  MODIFY `privilegeId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `udut_users_roles`
--
ALTER TABLE `udut_users_roles`
  MODIFY `roleId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `udut_visits`
--
ALTER TABLE `udut_visits`
  MODIFY `visitId` int(11) NOT NULL AUTO_INCREMENT;

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