-
Notifications
You must be signed in to change notification settings - Fork 2
/
infirmary_cueadb.sql
116 lines (95 loc) · 3.54 KB
/
infirmary_cueadb.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
-- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Mar 13, 2022 at 06:53 PM
-- Server version: 10.4.22-MariaDB
-- PHP Version: 7.4.27
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: `infirmary@cueadb`
--
-- --------------------------------------------------------
--
-- Table structure for table `patient`
--
CREATE TABLE `patient` (
`id` int(100) NOT NULL,
`img_url` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
`name` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
`email` varchar(1000) CHARACTER SET utf8 DEFAULT NULL,
`doctor` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
`address` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
`phone` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
`sex` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
`birthdate` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
`age` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
`bloodgroup` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
`ion_user_id` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
`patient_id` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
`add_date` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
`registration_time` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
`how_added` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
`hospital_id` varchar(100) CHARACTER SET utf8 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `patient`
--
INSERT INTO `patient` (`id`, `img_url`, `name`, `email`, `doctor`, `address`, `phone`, `sex`, `birthdate`, `age`, `bloodgroup`, `ion_user_id`, `patient_id`, `add_date`, `registration_time`, `how_added`, `hospital_id`) VALUES
(33, '', 'Mr Patient', 'patient@hms.com', '', 'Florida', '+0123456789', 'Male', '07-07-2019', '', 'A+', '750', '727265', '07/07/19', '1562482338', '', '416');
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` int(11) NOT NULL,
`fullname` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`phone_no` varchar(255) NOT NULL,
`username` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`user_type` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `fullname`, `email`, `phone_no`, `username`, `password`, `user_type`) VALUES
(27, 'Robert Kasembeli', 'kasedevs@gmail.com', '0748665935', 'kasedevs', 'f34a96643a85ba0fa0f8a79bec1c2f90', 'receptionist'),
(28, 'Edward Kioko', 'kioko@gmail.com', '0748665877', 'mr kioko', '7804597ed6517bfaeb9c15acc6a6359c', 'admin');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `patient`
--
ALTER TABLE `patient`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `patient`
--
ALTER TABLE `patient`
MODIFY `id` int(100) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=29;
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 */;