-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathupstac.sql
30 lines (28 loc) · 992 Bytes
/
upstac.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
CREATE TABLE upstac.`user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_name` varchar(50) DEFAULT NULL,
`first_name` varchar(50) DEFAULT NULL,
`last_name` varchar(50) DEFAULT NULL,
`mobile` varchar(10) DEFAULT NULL,
`email` varchar(100) DEFAULT NULL,
`password` varchar(300) DEFAULT NULL,
`role` varchar(10) DEFAULT 'PATIENT',
`status` varchar(10) DEFAULT NULL,
`pincode` int(6) DEFAULT NULL,
`created_dt` datetime DEFAULT NULL,
`updated_dt` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
)
ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
CREATE TABLE upstac.`test_request` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) DEFAULT NULL,
`description` varchar(50) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`status` varchar(10) DEFAULT NULL,
`created_dt` datetime DEFAULT NULL,
`updated_dt` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
)
ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
select * from user;