-
Notifications
You must be signed in to change notification settings - Fork 0
/
gmmd.sql
447 lines (373 loc) · 19.8 KB
/
gmmd.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
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jun 02, 2023 at 02:16 PM
-- Server version: 10.4.28-MariaDB
-- PHP Version: 8.2.4
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: `gmmd`
--
-- --------------------------------------------------------
--
-- Table structure for table `admins`
--
CREATE TABLE `admins` (
`ID` int(15) NOT NULL,
`username` varchar(15) NOT NULL,
`First_Name` varchar(30) NOT NULL,
`Last_Name` varchar(30) NOT NULL,
`Email` varchar(30) NOT NULL,
`Password` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `admins`
--
INSERT INTO `admins` (`ID`, `username`, `First_Name`, `Last_Name`, `Email`, `Password`) VALUES
(1, 'birhanu', 'Birhanu', 'Worku', 'birhanuworku2011@gmail.com', 'IamAdmin@2023');
-- --------------------------------------------------------
--
-- Table structure for table `categories`
--
CREATE TABLE `categories` (
`ID` int(30) NOT NULL,
`cat_name` varchar(30) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `categories`
--
INSERT INTO `categories` (`ID`, `cat_name`, `created_at`, `updated_at`) VALUES
(1, 'የዳቦ', '2023-04-18 09:46:23', '2023-04-18 09:46:23'),
(3, 'የወጥ', '2023-04-18 09:47:20', '2023-04-18 09:47:20'),
(15, 'Chinese', '2023-04-18 12:03:12', '2023-04-18 12:03:12'),
(21, 'American', '2023-05-03 12:04:05', '2023-05-03 12:04:05');
-- --------------------------------------------------------
--
-- Table structure for table `cities`
--
CREATE TABLE `cities` (
`ID` int(10) NOT NULL,
`city_name` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `cities`
--
INSERT INTO `cities` (`ID`, `city_name`) VALUES
(1, 'Addis Ababa'),
(2, 'Dire Dawa'),
(3, 'Bahir Dar'),
(4, 'Gondar'),
(5, 'Hawassa'),
(6, 'Mekelle'),
(7, 'Jig Jiga'),
(8, 'Jima'),
(9, 'Adama'),
(10, 'Dessie'),
(11, 'Arba Minch');
-- --------------------------------------------------------
--
-- Table structure for table `contact`
--
CREATE TABLE `contact` (
`ID` int(11) NOT NULL,
`First_Name` varchar(30) NOT NULL,
`email` varchar(30) NOT NULL,
`message` mediumtext NOT NULL,
`read_status` int(5) NOT NULL DEFAULT 0,
`creation_time` timestamp NOT NULL DEFAULT current_timestamp(),
`update_time` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `contact`
--
INSERT INTO `contact` (`ID`, `First_Name`, `email`, `message`, `read_status`, `creation_time`, `update_time`) VALUES
(1, 'Birhanu', 'birhanuworku2011@gmail.com', 'Hellow, how are you doing?\r\nHellow, how are you doing?\r\nHellow, how are you doing?\r\nHellow, how are you doing?\r\nHellow, how are you doing?\r\nHellow, how are you doing?\r\nWe r doing welll.\r\n', 1, '2023-04-10 22:56:11', '2023-04-10 22:56:11'),
(4, 'Birhanu', 'birhanuworku2011@gmail.com', 'THere is no message, endiet nachihy GMMDs sira endiet new. ayizuachihu bertu', 1, '2023-05-22 16:35:30', '2023-05-22 16:35:30'),
(5, 'Birhanu', 'birhanuworku2011@gmail.com', 'THis a test for htmlSpecialChars and all other' Sanitizing methods///,,,,[[[]{}]$#@#$%^ REmember the logic "If it works, Don't Touch it"', 1, '2023-05-23 17:27:05', '2023-05-23 17:27:05'),
(6, 'Abebe', 'yekuaraanbessa1811@gmail.com', 'No messege', 0, '2023-05-23 22:47:14', '2023-05-23 22:47:14');
-- --------------------------------------------------------
--
-- Table structure for table `developers`
--
CREATE TABLE `developers` (
`ID` varchar(15) NOT NULL,
`First_Name` varchar(15) NOT NULL,
`Last_name` varchar(15) NOT NULL,
`Job` varchar(50) NOT NULL,
`Picture` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `developers`
--
INSERT INTO `developers` (`ID`, `First_Name`, `Last_name`, `Job`, `Picture`) VALUES
('ETS.', 'Bisrat', 'Kebere', 'Product Manager', 'images/unnamed.jpg'),
('ETS..', 'Biruk', 'Mesfin', 'System Designer', 'images/unnamed.jpg'),
('ETS...', 'Ararsa', 'Derese', 'Front End Developer', 'images/unnamed.jpg'),
('ETS.../', 'Biyaol', 'Mesay', 'Graphics Designer', 'images/unnamed.jpg'),
('ETS.../13', 'Dagim', 'Tezera', 'Pentester', 'images/unnamed.jpg'),
('ETS0279/13', 'Birhanu', 'Worku', 'Back-end Developer', 'images/unnamed.jpg');
-- --------------------------------------------------------
--
-- Table structure for table `orders`
--
CREATE TABLE `orders` (
`ID` int(11) NOT NULL,
`First_Name` varchar(30) NOT NULL,
`Last_Name` varchar(30) NOT NULL,
`city` varchar(30) NOT NULL,
`address` varchar(50) NOT NULL,
`Phone_Number` varchar(30) NOT NULL,
`Email` varchar(50) NOT NULL,
`NumOfItems` int(11) NOT NULL,
`totalFee` int(20) NOT NULL,
`Payment_method` varchar(30) NOT NULL,
`note` varchar(300) NOT NULL,
`orderDate` timestamp NOT NULL DEFAULT current_timestamp(),
`update_time` int(11) NOT NULL DEFAULT current_timestamp(),
`status` text NOT NULL DEFAULT '\'Pending\''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `orders`
--
INSERT INTO `orders` (`ID`, `First_Name`, `Last_Name`, `city`, `address`, `Phone_Number`, `Email`, `NumOfItems`, `totalFee`, `Payment_method`, `note`, `orderDate`, `update_time`, `status`) VALUES
(24, 'Abebe', 'Kebede', 'Dire', 'Addis Ababa, Kilinto ....', '090909', 'yeyuyiyayieyyo@gmail.com', 4, 51700, 'Bank Transfer', 'NO note', '2023-05-04 19:00:43', 2147483647, 'Pending'),
(27, 'Abebe', 'Kebede', 'Bahir', 'Abay Mado ያለው በሬ ሲና ገብሬ', '456', 'yeyuyiyayieyyo@gmail.com', 4, 71700, 'Cash On Delivery', 'አብችድ', '2023-05-04 19:09:05', 2147483647, 'Pending'),
(65, 'Abebe', 'Kebede', 'Mekelle', 'asdfgsfsdafasf', '243242', 'yeyuyiyayieyyo@gmail.com', 3, 26980, 'Cash On Delivery', '', '2023-05-05 08:38:02', 2147483647, 'Pending'),
(66, 'Abebe', 'Kebede', 'Mekelle', 'asdfgsfsdafasf', '243242', 'yeyuyiyayieyyo@gmail.com', 3, 26980, 'Cash On Delivery', '', '2023-05-05 08:38:32', 2147483647, 'completed'),
(69, 'Abebe', 'Kebede', 'Mekelle', 'sdaffafsdafsf', '214242', 'yeyuyiyayieyyo@gmail.com', 1, 7000, 'Cash On Delivery', '', '2023-05-05 11:45:56', 2147483647, 'completed'),
(70, 'Abebewert', 'Kebede', 'Dessie', '13234556ytrewds', '234567', 'yeyuyiyayieyyo@gmail.com', 2, 18500, 'Bank Transfer', '', '2023-05-05 11:46:49', 2147483647, 'completed'),
(71, 'Ethiopa', 'Kebede', 'Hawassa', 'sdafsafsafsfsafsf', '46465', 'yeyuyiyayieyyo@gmail.com', 3, 49640, 'TeleBirr', '', '2023-05-05 14:52:03', 2147483647, 'completed'),
(72, 'Ethiopa', 'Kebede', 'Hawassa', 'sdafsafsafsfsafsf', '46465', 'yeyuyiyayieyyo@gmail.com', 3, 49640, 'TeleBirr', '', '2023-05-05 14:54:35', 2147483647, 'Pending'),
(73, 'Abebe', 'Kebede', 'Dire', '1000, sjshfa , sdfjkahl', '54654321', 'yeyuyiyayieyyo@gmail.com', 4, 85650, 'Cash On Delivery', '', '2023-05-06 08:23:52', 2147483647, 'completed'),
(74, 'Birhanu', 'Worku', 'Bahir', 'Addis Ababa, Tulu Dimtu', '0905971074', 'birhanuworku2011@gmail.com', 4, 46450, 'Cash On Delivery', '', '2023-05-06 08:25:18', 2147483647, 'Pending'),
(75, 'Birhanu', 'Worku', 'Bahir', 'Addis Ababa, Tulu Dimtu', '0905971074', 'birhanuworku2011@gmail.com', 3, 31650, 'TeleBirr', '', '2023-05-06 08:49:19', 2147483647, 'completed'),
(76, 'Birhanu', 'Worku', '', 'Addis Ababa, Tulu Dimtu', '0905971074', 'birhanuworku2011@gmail.com', 3, 28800, 'Cash On Delivery', '', '2023-05-06 08:50:31', 2147483647, 'Pending'),
(77, 'Birhanu', 'Worku', 'Hawassa', 'Addis Ababa, Tulu Dimtu', '0905971074', 'birhanuworku2011@gmail.com', 3, 37700, 'Cash On Delivery', '', '2023-05-06 08:53:55', 2147483647, 'Pending'),
(78, 'Abebachin', 'Kebede', 'Addis', 'safsdf, sdfs,af sdf', '923045798', 'yekuaraanbessa1811@gmail.com', 2, 22650, 'Cash On Delivery', '', '2023-05-22 11:07:33', 2147483647, 'Pending'),
(79, 'Birhanu', 'Tilahun', 'Addis', 'Ethiopia', '0905971074', 'birhanuworku2011@gmail.com', 3, 32320, 'Cash On Delivery', '', '2023-05-22 11:10:08', 2147483647, 'Pending'),
(80, 'Abebachin', 'Tilahun', 'Addis', 'Ethiopia, Addis', '099432492', 'birhanuworku2011@gmail.com', 2, 26980, 'Cash On Delivery', '', '2023-05-22 11:24:47', 2147483647, 'Pending'),
(81, 'Abebachin', 'Kebede', 'Addis', 'Addis', '0905971074', 'yekuaraanbessa1811@gmail.com', 1, 21970, 'Cash On Delivery', 'ewqrewrqw', '2023-05-22 13:20:06', 2147483647, 'Pending'),
(82, 'Birhanu', 'Tilahun', 'Addis', 'Ethiopia', '0905971074', 'birhanuworku2011@gmail.com', 1, 11000, 'Cash On Delivery', '', '2023-05-22 13:22:41', 2147483647, 'Pending'),
(83, 'Abebachin', 'Kebede', 'Addis', 'Addis, dshajkf ,fs', '0905971074', 'yekuaraanbessa1811@gmail.com', 1, 11000, 'Bank Transfer', '', '2023-05-22 13:27:25', 2147483647, 'Pending'),
(84, 'Birhanu', 'Worku', 'Mekelle', 'Addis Ababa, Tulu Dimtu', '0905971074', 'birhanuworku2011@gmail.com', 3, 26320, 'Cash On Delivery', 'Nothing', '2023-05-23 18:52:02', 2147483647, 'Pending'),
(85, 'Birhanu', 'Worku', 'Jima', 'Addis Ababa, Tulu Dimtu', '0905971074', 'birhanuworku2011@gmail.com', 3, 30650, 'Bank Transfer', '', '2023-05-23 18:57:26', 2147483647, 'Pending'),
(86, 'Birhanu', 'Tilahun', 'Gondar', 'Ethiopia', '0905971074', 'birhanuworku2011@gmail.com', 1, 19600, 'Cash On Delivery', 'Ethiopianfdsf', '2023-06-02 11:17:37', 2147483647, '\'Pending\''),
(87, 'Birhanu', 'Tilahun', 'Gondar', 'Ethiopia', '0905971074', 'birhanuworku2011@gmail.com', 1, 19600, 'Cash On Delivery', 'Ethiopianfdsf', '2023-06-02 11:26:54', 2147483647, '\'Pending\''),
(88, 'Abebe', 'Kebede', 'Jima', 'Addis', '0905971074', 'yekuaraanbessa1811@gmail.com', 1, 24250, 'Cash On Delivery', '', '2023-06-02 11:27:47', 2147483647, '\'Pending\''),
(89, 'Abebe', 'Kebede', 'Arba', 'Addis', '0905971074', 'yekuaraanbessa1811@gmail.com', 1, 33550, 'Cash On Delivery', '', '2023-06-02 11:32:56', 2147483647, '\'Pending\''),
(90, 'Abebe', 'Kebede', '', 'Addis', '0905971074', 'yekuaraanbessa1811@gmail.com', 1, 10300, 'Cash On Delivery', '', '2023-06-02 11:34:17', 2147483647, '\'Pending\'');
-- --------------------------------------------------------
--
-- Table structure for table `order_details`
--
CREATE TABLE `order_details` (
`orderID` int(100) NOT NULL,
`Customer` varchar(30) NOT NULL,
`products` varchar(200) NOT NULL,
`Quantities` text NOT NULL,
`subTotals` text NOT NULL,
`creation_time` timestamp NOT NULL DEFAULT current_timestamp(),
`update_time` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `order_details`
--
INSERT INTO `order_details` (`orderID`, `Customer`, `products`, `Quantities`, `subTotals`, `creation_time`, `update_time`) VALUES
(55, 'Abebeer Kebede', 'Ater,ጤፍ,Shimbra', '60,100,90', '13980,10000,18000', '2023-05-04 20:03:53', '2023-05-04 20:03:53'),
(57, 'Abebewert Kebede', 'Ater,ጤፍ,Shimbra', '80,130,130', '18640,13000,26000', '2023-05-04 20:08:53', '2023-05-04 20:08:53'),
(66, '', 'Ater,ጤፍ,Shimbra', '60,40,40', '13980,4000,8000', '2023-05-05 08:38:32', '2023-05-05 08:38:32'),
(68, 'ChalaChelele Kebede', 'Shimbra,ጤፍ,Ater,CORN', '20,20,20,20', ',,,', '2023-05-05 08:46:02', '2023-05-05 08:46:02'),
(69, 'Abebe Kebede', 'ጤፍ', '60', '6000', '2023-05-05 11:45:56', '2023-05-05 11:45:56'),
(70, 'Abebewert Kebede', 'ጤፍ,CORN', '60,50', '6000,11500', '2023-05-05 11:46:49', '2023-05-05 11:46:49'),
(71, 'Ethiopa Kebede', 'Ater,ጤፍ,CORN', '80,70,100', '18640,7000,23000', '2023-05-05 14:52:03', '2023-05-05 14:52:03'),
(72, 'Ethiopa Kebede', 'Ater,ጤፍ,CORN', '80,70,100', '18640,7000,23000', '2023-05-05 14:54:35', '2023-05-05 14:54:35'),
(73, 'Abebe Kebede', 'Ater,ጤፍ,Shimbra,CORN', '50,100,200,100', '11650,10000,40000,23000', '2023-05-06 08:23:52', '2023-05-06 08:23:52'),
(74, 'Birhanu Worku', 'Ater,ጤፍ,Shimbra,CORN', '50,60,70,60', '11650,6000,14000,13800', '2023-05-06 08:25:18', '2023-05-06 08:25:18'),
(75, 'Birhanu Worku', 'Ater,ጤፍ,Shimbra', '50,70,60', '11650,7000,12000', '2023-05-06 08:49:20', '2023-05-06 08:49:20'),
(76, 'Birhanu Worku', 'ጤፍ,Shimbra,CORN', '40,50,60', '4000,10000,13800', '2023-05-06 08:50:31', '2023-05-06 08:50:31'),
(77, 'Birhanu Worku', 'CORN,Shimbra,ጤፍ', '90,60,40', '20700,12000,4000', '2023-05-06 08:53:55', '2023-05-06 08:53:55'),
(78, 'Abebachin Kebede', 'Ater,Shimbra', '50,50', '11650,10000', '2023-05-22 11:07:33', '2023-05-22 11:07:33'),
(79, 'Birhanu Tilahun', 'Ater,ጤፍ,Shimbra', '40,60,50', '9320,12000,10000', '2023-05-22 11:10:08', '2023-05-22 11:10:08'),
(80, 'Abebachin Tilahun', 'Ater,ጤፍ', '60,60', '13980,12000', '2023-05-22 11:24:48', '2023-05-22 11:24:48'),
(81, 'Abebachin Kebede', 'Ater', '90', '20970', '2023-05-22 13:20:06', '2023-05-22 13:20:06'),
(82, 'Birhanu Tilahun', 'Shimbra', '50', '10000', '2023-05-22 13:22:41', '2023-05-22 13:22:41'),
(83, 'Abebachin Kebede', 'Shimbra', '50', '10000', '2023-05-22 13:27:25', '2023-05-22 13:27:25'),
(84, 'Birhanu Worku', 'Ater,ጤፍ,Shimbra', '40,40,40', '9320,8000,8000', '2023-05-23 18:52:02', '2023-05-23 18:52:02'),
(85, 'Birhanu Worku', 'ጤፍ,Shimbra,Ater', '50,40,50', '10000,8000,11650', '2023-05-23 18:57:26', '2023-05-23 18:57:26'),
(86, 'Birhanu Tilahun', 'CORN', '40', '18600', '2023-06-02 11:17:37', '2023-06-02 11:17:37'),
(88, 'Abebe Kebede', 'CORN', '50', '23250', '2023-06-02 11:27:47', '2023-06-02 11:27:47'),
(89, 'Abebe Kebede', 'CORN', '70', '32550', '2023-06-02 11:32:56', '2023-06-02 11:32:56'),
(90, 'Abebe Kebede', 'CORN', '20', '9300', '2023-06-02 11:34:18', '2023-06-02 11:34:18');
-- --------------------------------------------------------
--
-- Table structure for table `products`
--
CREATE TABLE `products` (
`ID` int(11) NOT NULL,
`Name` varchar(30) NOT NULL,
`Category` varchar(20) NOT NULL,
`Quantity` int(15) NOT NULL,
`Price` int(11) NOT NULL,
`milling_price` float NOT NULL,
`Picture` varchar(300) NOT NULL,
`Description` mediumtext NOT NULL,
`long_description` text NOT NULL,
`Category_ID` int(11) NOT NULL,
`Creation_time` timestamp NOT NULL DEFAULT current_timestamp(),
`update_time` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `products`
--
INSERT INTO `products` (`ID`, `Name`, `Category`, `Quantity`, `Price`, `milling_price`, `Picture`, `Description`, `long_description`, `Category_ID`, `Creation_time`, `update_time`) VALUES
(54, 'CORN', 'American', 465452, 465, 55, 'uploads/product_images/Popcorn__62655.png', 'ERSDFajfklajdsf', 'dsfajhsd\r\nfjfksajl\r\nsdflaj', 21, '2023-06-02 10:14:55', '2023-06-02 10:14:55');
-- --------------------------------------------------------
--
-- Table structure for table `replies`
--
CREATE TABLE `replies` (
`ID` int(10) NOT NULL,
`First_Name` text NOT NULL,
`email` varchar(100) NOT NULL,
`body` text NOT NULL,
`creation_time` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `replies`
--
INSERT INTO `replies` (`ID`, `First_Name`, `email`, `body`, `creation_time`) VALUES
(1, 'Birhanu', 'birhanuworku2011@gmail.com', 'Helllow how are you', '2023-05-22 17:18:42');
-- --------------------------------------------------------
--
-- Table structure for table `user_profiles`
--
CREATE TABLE `user_profiles` (
`ID` int(15) NOT NULL,
`Creation_Time` timestamp NOT NULL DEFAULT current_timestamp(),
`update_time` timestamp NOT NULL DEFAULT current_timestamp(),
`username` varchar(15) NOT NULL,
`First_Name` varchar(15) NOT NULL,
`Last_Name` varchar(15) NOT NULL,
`Profile_picture` varchar(100) NOT NULL,
`Age` int(3) NOT NULL,
`Email` varchar(30) NOT NULL,
`Password` varchar(300) NOT NULL,
`phone_Number` varchar(15) NOT NULL,
`city` varchar(20) NOT NULL,
`address` varchar(50) NOT NULL,
`Verification_code` int(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='All the informations of registered users will be here.';
--
-- Dumping data for table `user_profiles`
--
INSERT INTO `user_profiles` (`ID`, `Creation_Time`, `update_time`, `username`, `First_Name`, `Last_Name`, `Profile_picture`, `Age`, `Email`, `Password`, `phone_Number`, `city`, `address`, `Verification_code`) VALUES
(34, '2023-04-28 18:04:43', '2023-04-28 18:04:43', 'theLight', 'Thelight', 'Thegold', 'img/userProfile/F150.jpg', 21, 'thelightthegold@gmail.com', '$2y$10$kCJ9o8ouSBr2uqYxzCrOLOAHgXolTvCRUxxD/cjU/4QRQYvLLBby2', '+25190597107', '', 'Addis Ababa, Kilinto ማረሚያ ቤት', 0),
(35, '2023-04-28 19:25:45', '2023-04-28 19:25:45', 'birhanu', 'Birhanu', 'Worku', 'img/userProfile/F150.jpg', 21, 'birhanuworku2011@gmail.com', '$2y$10$/eT8gzrTYQv4TILSbk2i1.iJBwEwLWO4X9oRshgo2HxdkwyDDXF2W', '0905971074', '', 'Addis Ababa, Tulu Dimtu', 686786),
(36, '2023-05-02 14:46:56', '2023-05-02 14:46:56', 'Abebe', 'Abebe', 'Kebede', 'img/userProfile/F150.jpg', 21, 'yeyuyiyayieyyo@gmail.com', '$2y$10$a.IFdTwgpyh/j/TNPVoK7.pGzJvn1LulKc7oP9fhIdqdw0sQIoBsC', '', 'Addis', '', 0),
(39, '2023-05-22 06:25:06', '2023-05-22 06:25:06', 'Abebere', 'Abebachin', 'Kebede', 'img/userProfile/photo_2023-04-18_13-00-11.jpg', 43, 'yekuaraanbessa1811@gmail.com', '$2y$10$C1TY.bSAp0lMT.esscDBNODVZBl5YcFYJkBBmaePkStZYxS0V.yO.', '', 'Addis', '', 0),
(40, '2023-05-22 07:23:10', '2023-05-22 07:23:10', 'asdffsad', 'sdfashfgsr', 'rwerqwrfsd', '', 234, 'yekuaraanbessa1811@gmail.com', '$2y$10$FbY/zvz/Gczt6lQBLBfRgu1oOCSnIZPZV83gbNxx.Zi2d1/q1JOfy', '', '', '', 0);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `admins`
--
ALTER TABLE `admins`
ADD PRIMARY KEY (`ID`);
--
-- Indexes for table `categories`
--
ALTER TABLE `categories`
ADD PRIMARY KEY (`ID`);
--
-- Indexes for table `cities`
--
ALTER TABLE `cities`
ADD PRIMARY KEY (`ID`);
--
-- Indexes for table `contact`
--
ALTER TABLE `contact`
ADD PRIMARY KEY (`ID`);
--
-- Indexes for table `developers`
--
ALTER TABLE `developers`
ADD PRIMARY KEY (`ID`);
--
-- Indexes for table `orders`
--
ALTER TABLE `orders`
ADD PRIMARY KEY (`ID`);
--
-- Indexes for table `order_details`
--
ALTER TABLE `order_details`
ADD PRIMARY KEY (`orderID`);
--
-- Indexes for table `products`
--
ALTER TABLE `products`
ADD PRIMARY KEY (`ID`);
--
-- Indexes for table `replies`
--
ALTER TABLE `replies`
ADD PRIMARY KEY (`ID`);
--
-- Indexes for table `user_profiles`
--
ALTER TABLE `user_profiles`
ADD PRIMARY KEY (`ID`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `admins`
--
ALTER TABLE `admins`
MODIFY `ID` int(15) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `categories`
--
ALTER TABLE `categories`
MODIFY `ID` int(30) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;
--
-- AUTO_INCREMENT for table `cities`
--
ALTER TABLE `cities`
MODIFY `ID` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
--
-- AUTO_INCREMENT for table `contact`
--
ALTER TABLE `contact`
MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `orders`
--
ALTER TABLE `orders`
MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=91;
--
-- AUTO_INCREMENT for table `products`
--
ALTER TABLE `products`
MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=55;
--
-- AUTO_INCREMENT for table `user_profiles`
--
ALTER TABLE `user_profiles`
MODIFY `ID` int(15) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=41;
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 */;