-
Notifications
You must be signed in to change notification settings - Fork 1
/
complainbox_newfinal.sql
232 lines (197 loc) · 12.8 KB
/
complainbox_newfinal.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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Sep 06, 2019 at 05:44 AM
-- Server version: 10.1.38-MariaDB
-- PHP Version: 7.1.28
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: `complainbox`
--
-- --------------------------------------------------------
--
-- Table structure for table `admincomplain`
--
CREATE TABLE `admincomplain` (
`id` int(11) NOT NULL,
`ogid` int(11) DEFAULT NULL,
`remark` varchar(500) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `admincomplain`
--
INSERT INTO `admincomplain` (`id`, `ogid`, `remark`) VALUES
(1, 1, 'cant solve'),
(2, 51, 'Cant solve'),
(3, 50, 'Cant solve'),
(4, 58, 'Cant solve'),
(6, 49, 'Cant solve'),
(7, 60, 'Cant solve'),
(8, 61, 'Cant solve'),
(9, 46, 'unable to solve'),
(10, 52, 'unable to solve'),
(11, 52, 'unable to solve'),
(12, 39, 'abcd'),
(13, 38, ''),
(14, 53, ''),
(15, 18, ''),
(16, 63, 'remark here'),
(17, 69, 'unable to solve');
-- --------------------------------------------------------
--
-- Table structure for table `complain`
--
CREATE TABLE `complain` (
`id` int(11) NOT NULL,
`description` varchar(10000) DEFAULT NULL,
`complainimg` varchar(100) NOT NULL,
`Departmentname` varchar(50) DEFAULT NULL,
`complaindate` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
`status` varchar(30) DEFAULT NULL,
`complainant` varchar(50) NOT NULL,
`complainantmail` varchar(50) NOT NULL,
`building` varchar(500) NOT NULL,
`location` varchar(500) NOT NULL,
`time_constraint` int(11) NOT NULL,
`cost` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `complain`
--
INSERT INTO `complain` (`id`, `description`, `complainimg`, `Departmentname`, `complaindate`, `status`, `complainant`, `complainantmail`, `building`, `location`, `time_constraint`, `cost`) VALUES
(1, 'Door is not opening properly in B205', 'assets/pictures/carp.jpg', 'Carpenter', '2019-08-19 13:19:09', 'Resolved', 'Sohil Luhar', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 1, 0),
(2, 'Window in broken in B301', 'assets/pictures/carp.jpg', 'Carpenter', '2019-08-19 13:19:59', 'Pending', 'Sohil Luhar', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 0, 0),
(3, 'Desk is broken needs to be changed', 'assets/pictures/carp.jpg', 'Carpenter', '2019-08-19 15:05:17', 'Resolved', 'Sohil Luhar', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 0, 0),
(18, 'my wifi is not working', 'assets/pictures/carp.jpg', 'Carpenter', '2019-08-20 13:53:27', 'Pending#', 'Sohil Luhar', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 0, 0),
(25, 'networking test', 'assets/pictures/welding.jpg', 'Networking', '2019-08-20 16:17:23', 'Pending', 'Sohil Luhar', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 0, 0),
(26, 'complain in carpenter department describe all problem here', 'assets/pictures/welding.jpg', 'Carpenter', '2019-08-20 16:22:38', 'Pending', 'Sohil Luhar', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 0, 0),
(27, 'i am doing complain in network department', 'assets/pictures/welding.jpg', 'Networking', '2019-08-20 16:24:25', 'Pending', 'Sohil Luhar', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 0, 0),
(28, 'testing .... ', 'assets/pictures/welding.jpg', 'Networking', '2019-08-20 16:32:38', 'Pending', 'Sohil Luhar', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 0, 0),
(29, 'test...', 'assets/pictures/welding.jpg', 'Networking', '2019-08-20 16:33:55', 'In-Progress', 'Sohil Luhar', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 1, 0),
(33, 'final test', 'assets/pictures/welding.jpg', 'Carpenter', '2019-08-20 20:02:03', 'Pending', 'Sohil Luhar', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 0, 0),
(36, 'test with img', 'assets/img/53f3d6639270ca99a946be94133dea22.jpg', 'Carpenter', '2019-08-21 06:39:50', 'Pending', 'Sohil Luhar', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 0, 0),
(37, 'cleaning complain', 'assets/img/3521189c8b15ce2d41173cbe316106b3.jpg', 'Cleaning', '2019-08-21 15:32:04', 'Pending', 'Sohil Luhar', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 0, 0),
(38, 'complain related to networking', '', 'Networking', '2019-08-22 14:21:13', 'Resolved#', 'SOHIL LUHAR', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 0, 500),
(39, 'networking complain', 'assets/img/22-08-2019-17-30-57-Chrysanthemum.jpg', 'Networking', '2019-08-22 14:30:57', 'Resolved#', 'SOHIL LUHAR', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 0, 500),
(40, 'complain in carpenter dept get email if dept also', 'assets/img/22-08-2019-17-42-04-Penguins.jpg', 'Carpenter', '2019-08-22 14:42:04', 'Pending', 'SOHIL LUHAR', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 0, 0),
(41, 'testing for dept mail', 'assets/img/22-08-2019-17-43-33-Hydrangeas.jpg', 'Carpenter', '2019-08-22 14:43:33', 'Pending', 'SOHIL LUHAR', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 0, 0),
(42, 'testing', 'assets/img/22-08-2019-17-45-28-Lighthouse.jpg', 'Carpenter', '2019-08-22 14:45:28', 'Pending', 'SOHIL LUHAR', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 0, 0),
(43, 'test complain for carpenter', 'assets/img/22-08-2019-22-18-57-Lighthouse.jpg', 'Carpenter', '2019-08-22 19:18:57', 'Pending', 'Sohil Luhar', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 0, 0),
(44, 'test complain', '', 'Carpenter', '2019-08-22 19:30:51', 'Resolved', 'Sohil Luhar', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 1, 0),
(45, 'test', 'assets/img/22-08-2019-22-32-43-Capture.PNG', 'Carpenter', '2019-08-22 19:32:43', 'Pending', 'Sohil Luhar', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 0, 0),
(46, 'testing ...', '', 'Carpenter', '2019-08-22 19:41:29', 'Resolved#', 'Sohil Luhar', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 0, 500),
(49, 'test complain with jpg', 'assets/img/23-08-2019-20-23-04-Koala.jpg', 'Carpenter', '2019-08-23 17:23:04', 'Resolved#', 'Sohil Luhar', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 0, 100),
(50, 'test', '', 'Carpenter', '2019-08-23 17:25:31', 'Resolved', 'Sohil Luhar', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 1, 0),
(51, 'test', 'assets/img/23-08-2019-20-28-23-Capture.PNG', 'Carpenter', '2019-08-23 17:28:23', 'Resolved', 'Sohil Luhar', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'Room number 201', 1, 0),
(52, 'wifi is not working', '', 'Networking', '2019-08-25 11:50:00', 'Resolved#', 'PARTH SHETH', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'lab 207', 0, 100),
(53, 'wifi is not working', '', 'Networking', '2019-08-25 11:57:02', 'Resolved#', 'PARTH SHETH', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', 'lab 207', 0, 500),
(54, 'lets complain...', '', 'Cleaning', '2019-08-25 12:21:53', 'Pending', 'PARTH SHETH', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', '203', 0, 0),
(55, 'problem here', '', 'test', '2019-08-25 12:47:41', 'In-Progress', 'PARTH SHETH', '[email protected]', 'KJ SOMAIYA SCIENCE AND COMMERCE BUILDING', 'room 201', 5, 0),
(58, 'testing carpenter', '', 'Carpenter', '2019-08-26 02:34:37', 'Resolved', 'PARTH SHETH', '[email protected]', 'BHASKARACHARYA', '203', 1, 0),
(59, 'tets', 'assets/img/26-08-2019-09-35-47-Capture.PNG', 'Carpenter', '2019-08-26 04:05:47', 'In-Progress', 'PARTH SHETH', '[email protected]', 'KJ SOMAIYA SCIENCE AND COMMERCE BUILDING', '203', 1, 0),
(60, 'test complain', 'assets/img/26-08-2019-13-18-19-Physics JEE Main.JPG', 'Carpenter', '2019-08-26 07:48:19', 'Resolved#', 'PARTH SHETH', '[email protected]', 'BHASKARACHARYA', '101', 0, 500),
(62, 'TEST', '', 'Networking', '2019-08-27 04:56:02', 'In-Progress', 'PARTH SHETH', '[email protected]', 'BHASKARACHARYA', '203', 10, 0),
(63, 'complain related to carpenter', 'assets/img/31-08-2019-07-36-08-Capture.PNG', 'Cleaning ,Networking ', '2019-08-31 02:06:08', 'Pending', 'Sohil Luhar', '[email protected]', 'KJ SOMAIYA SCIENCE AND COMMERCE BUILDING', 'room number 203', 0, 500),
(64, 'testing for test', 'assets/img/02-09-2019-17-16-45-Capture.PNG', 'test', '2019-09-02 11:46:45', 'Pending', 'PARTH SHETH', '[email protected]', 'BHASKARACHARYA', '201', 0, 0),
(65, 'test complain goes here', 'assets/img/02-09-2019-18-07-43-2ba453b85e23df9f71e1ee482f30ab73.jpg', 'Carpenter', '0000-00-00 00:00:00', 'Pending', 'PARTH SHETH', '[email protected]', 'KJ SOMAIYA SCIENCE AND COMMERCE BUILDING', '201', 0, 0),
(70, 'test complain', 'assets/img/03-09-2019-10-07-30-Physics JEE Main.JPG', 'test', '2019-09-03 04:37:30', 'In-Progress', 'PARTH SHETH', '[email protected]', 'ARYABHATTA ENGINEERING BUILDING', '201', 3, 0),
(71, 'desk is broken', 'assets/img/03-09-2019-18-33-19-2ba453b85e23df9f71e1ee482f30ab73.jpg', 'Carpenter', '2019-09-03 13:03:19', 'Pending', 'PARTH SHETH', '[email protected]', 'BHASKARACHARYA', '201', 0, 0);
-- --------------------------------------------------------
--
-- Table structure for table `department`
--
CREATE TABLE `department` (
`id` int(11) NOT NULL,
`dname` varchar(30) DEFAULT NULL,
`deptimg` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `department`
--
INSERT INTO `department` (`id`, `dname`, `deptimg`) VALUES
(1, 'Carpenter', 'assets/pictures/carp.jpg'),
(2, 'Networking', 'assets/pictures/network.png\r\n'),
(4, 'Cleaning', 'assets/pictures/download.png'),
(18, 'test', 'assets/pictures/download.png');
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE TABLE `user` (
`id` int(11) NOT NULL,
`name` varchar(50) NOT NULL,
`username` varchar(30) DEFAULT NULL,
`email` varchar(30) DEFAULT NULL,
`password` varchar(30) DEFAULT NULL,
`usertype` varchar(20) DEFAULT NULL,
`Imgurl` varchar(250) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user`
--
INSERT INTO `user` (`id`, `name`, `username`, `email`, `password`, `usertype`, `Imgurl`) VALUES
(1, 'Carpenter', 'Carpenter', '[email protected]', '1234', 'Department', 'https://lh3.googleusercontent.com/a-/AAuE7mAbhWd2Kit5xCUWw7FdrSthnhybZxIljFYj61idgQ=s96-c'),
(6, 'Networking', 'Networking', '[email protected]', '123', 'Department', 'https://lh4.googleusercontent.com/-JDkrAd_uw64/AAAAAAAAAAI/AAAAAAAAAAA/ACHi3rfRL_wdizFA_IXtyqPMDG3wlm0oNA/s96-c/photo.jpg'),
(7, 'Cleaning', 'Cleaning', '[email protected]', '1234', 'Department', 'https://lh3.googleusercontent.com/a-/AAuE7mADj06SSwdTWP8WEF_xqpSEa_yAPhQcIS9nSiTG=s96-c'),
(8, 'admin', 'admin', '[email protected]', '123', 'admin', 'https://lh3.googleusercontent.com/a-/AAuE7mAbhWd2Kit5xCUWw7FdrSthnhybZxIljFYj61idgQ=s96-c'),
(12, 'Sohil Luhar', 'sohil', '[email protected]', '123', 'Manager', 'https://lh3.googleusercontent.com/a-/AAuE7mADj06SSwdTWP8WEF_xqpSEa_yAPhQcIS9nSiTG=s96-c'),
(22, 'test', 'test', '[email protected]', '123', 'Department', '');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `admincomplain`
--
ALTER TABLE `admincomplain`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `complain`
--
ALTER TABLE `complain`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `department`
--
ALTER TABLE `department`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `admincomplain`
--
ALTER TABLE `admincomplain`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;
--
-- AUTO_INCREMENT for table `complain`
--
ALTER TABLE `complain`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=72;
--
-- AUTO_INCREMENT for table `department`
--
ALTER TABLE `department`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;
--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;
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 */;