-
Notifications
You must be signed in to change notification settings - Fork 0
/
data.sql
657 lines (584 loc) · 15.5 KB
/
data.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
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
-- phpMyAdmin SQL Dump
-- version 4.9.5
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Aug 04, 2020 at 06:05 PM
-- Server version: 10.3.23-MariaDB-log-cll-lve
-- PHP Version: 7.3.6
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: `publinks_publink`
--
-- --------------------------------------------------------
--
-- Table structure for table `books`
--
DROP TABLE IF EXISTS `books`;
CREATE TABLE
IF NOT EXISTS `books`
(
`book_id` bigint
(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`category_id` bigint
(20) UNSIGNED NOT NULL,
`toc` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`title` varchar
(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`about` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`author` varchar
(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`uri` varchar
(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`type` varchar
(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`free` int
(1) DEFAULT NULL,
`mature` varchar
(6) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`progress` bigint
(20) DEFAULT NULL,
`min_price` int
(11) DEFAULT NULL,
`max_price` int
(11) DEFAULT NULL,
`cover` varchar
(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`published` tinyint
(1) DEFAULT 0,
`status` tinyint
(1) NOT NULL DEFAULT 1,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY
(`book_id`),
KEY `books_category_id_foreign`
(`category_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Triggers `books`
--
DROP TRIGGER IF EXISTS `delete_cart`;
DELIMITER $$
CREATE TRIGGER `delete_cart` AFTER
UPDATE ON `books` FOR EACH ROW
BEGIN
IF OLD.free <> NEW.free THEN
DELETE FROM `shopping_cart` where product_item = OLD.book_id;
END
IF;
END
$$
DELIMITER ;
DROP TRIGGER IF EXISTS `deletedbook`;
DELIMITER $$
CREATE TRIGGER `deletedbook` AFTER
UPDATE ON `books` FOR EACH ROW
BEGIN
IF NEW.status = 0 THEN
DELETE FROM `shopping_cart` where product_item = OLD.book_id;
DELETE FROM `wishlist` where item_id = OLD.book_id;
END
IF;
END
$$
DELIMITER ;
-- --------------------------------------------------------
--
-- Table structure for table `book_tag`
--
DROP TABLE IF EXISTS `book_tag`;
CREATE TABLE
IF NOT EXISTS `book_tag`
(
`book_id` bigint
(20) UNSIGNED NOT NULL,
`tag_id` bigint
(20) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
KEY `book_tag_book_id_foreign`
(`book_id`),
KEY `book_tag_tag_id_foreign`
(`tag_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `categories`
--
DROP TABLE IF EXISTS `categories`;
CREATE TABLE
IF NOT EXISTS `categories`
(
`category_id` bigint
(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`category_name` varchar
(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY
(`category_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `dtrans`
--
DROP TABLE IF EXISTS `dtrans`;
CREATE TABLE
IF NOT EXISTS `dtrans`
(
`dtrans_id` bigint
(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`transaction_id` varchar
(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`book_id` varchar
(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`product_item` varchar
(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`price` decimal
(20,0) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY
(`dtrans_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `followers`
--
DROP TABLE IF EXISTS `followers`;
CREATE TABLE
IF NOT EXISTS `followers`
(
`id` bigint
(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`user_id` varchar
(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`follower_id` varchar
(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp
() ON
UPDATE current_timestamp(),
`updated_at
` timestamp NOT NULL DEFAULT current_timestamp
(),
PRIMARY KEY
(`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `jobs`
--
DROP TABLE IF EXISTS `jobs`;
CREATE TABLE
IF NOT EXISTS `jobs`
(
`id` bigint
(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`queue` varchar
(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`attempts` tinyint
(3) UNSIGNED NOT NULL,
`reserved_at` int
(10) UNSIGNED DEFAULT NULL,
`available_at` int
(10) UNSIGNED NOT NULL,
`created_at` int
(10) UNSIGNED NOT NULL,
PRIMARY KEY
(`id`),
KEY `jobs_queue_index`
(`queue`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `library`
--
DROP TABLE IF EXISTS `library`;
CREATE TABLE
IF NOT EXISTS `library`
(
`id` bigint
(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`user_id` varchar
(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`book_id` varchar
(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`favorited` int
(10) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY
(`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `migrations`
--
DROP TABLE IF EXISTS `migrations`;
CREATE TABLE
IF NOT EXISTS `migrations`
(
`id` int
(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`migration` varchar
(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int
(11) NOT NULL,
PRIMARY KEY
(`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `notifications`
--
DROP TABLE IF EXISTS `notifications`;
CREATE TABLE
IF NOT EXISTS `notifications`
(
`id` bigint
(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`recipient` varchar
(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`type` int
(10) UNSIGNED NOT NULL,
`book_id` varchar
(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`author_id` varchar
(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`isRead` int
(10) UNSIGNED NOT NULL DEFAULT 0,
`status` int
(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY
(`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `rates`
--
DROP TABLE IF EXISTS `rates`;
CREATE TABLE
IF NOT EXISTS `rates`
(
`rate_id` bigint
(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`review_id` bigint
(20) UNSIGNED NOT NULL,
`reviewer_id` varchar
(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`score` int
(10) UNSIGNED NOT NULL DEFAULT 0,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY
(`rate_id`),
KEY `rates_review_id_foreign`
(`review_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `reviews`
--
DROP TABLE IF EXISTS `reviews`;
CREATE TABLE
IF NOT EXISTS `reviews`
(
`review_id` bigint
(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`reviewer_id` varchar
(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`book_id` varchar
(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`content` varchar
(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`reply` varchar
(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`replier_id` varchar
(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY
(`review_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `review_flags`
--
DROP TABLE IF EXISTS `review_flags`;
CREATE TABLE
IF NOT EXISTS `review_flags`
(
`flag_id` bigint
(10) NOT NULL AUTO_INCREMENT,
`review_id` bigint
(10) NOT NULL,
`type` varchar
(64) NOT NULL,
`description` text NOT NULL,
`author` varchar
(20) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp
() ON
UPDATE current_timestamp(),
`updated_at
` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY
(`flag_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `sessions`
--
DROP TABLE IF EXISTS `sessions`;
CREATE TABLE
IF NOT EXISTS `sessions`
(
`id` varchar
(255) NOT NULL,
`payload` text NOT NULL,
`ip_address` varchar
(255) DEFAULT NULL,
`user_id` varchar
(255) DEFAULT NULL,
`user_agent` varchar
(255) DEFAULT NULL,
`last_activity` int
(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `shopping_cart`
--
DROP TABLE IF EXISTS `shopping_cart`;
CREATE TABLE
IF NOT EXISTS `shopping_cart`
(
`id` bigint
(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`user_id` varchar
(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`product_item` varchar
(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`price` varchar
(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY
(`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `stories`
--
DROP TABLE IF EXISTS `stories`;
CREATE TABLE
IF NOT EXISTS `stories`
(
`chapter_id` bigint
(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`book_id` text NOT NULL,
`position` int
(11) NOT NULL,
`manuscript` text DEFAULT NULL,
`chapter_title` text NOT NULL,
`published` text DEFAULT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp
(),
`updated_at` timestamp NOT NULL DEFAULT current_timestamp
(),
PRIMARY KEY
(`chapter_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `tag`
--
DROP TABLE IF EXISTS `tag`;
CREATE TABLE
IF NOT EXISTS `tag`
(
`tag_id` bigint
(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`name` varchar
(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY
(`tag_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `transaction`
--
DROP TABLE IF EXISTS `transaction`;
CREATE TABLE
IF NOT EXISTS `transaction` (
`transaction_id` varchar
(30) COLLATE utf8mb4_unicode_ci NOT NULL,
`user_id` varchar
(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`first_name` varchar
(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`last_name` varchar
(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`total` decimal
(20,0) UNSIGNED DEFAULT NULL,
`cart` text COLLATE utf8mb4_unicode_ci NOT NULL,
`payment_id` varchar
(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY
(`transaction_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
DROP TABLE IF EXISTS `users`;
CREATE TABLE
IF NOT EXISTS `users`
(
`user_id` varchar
(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`username` varchar
(32) COLLATE utf8mb4_unicode_ci NOT NULL,
`name` varchar
(64) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar
(64) COLLATE utf8mb4_unicode_ci NOT NULL,
`profpic` varchar
(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`email_verified_at` timestamp NULL DEFAULT NULL,
`activation_code` varchar
(64) COLLATE utf8mb4_unicode_ci NOT NULL,
`last_login` timestamp NULL DEFAULT NULL,
`status` int
(11) NOT NULL DEFAULT 0,
`about` varchar
(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`website` varchar
(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`role` int
(1) DEFAULT NULL,
`password` varchar
(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY
(`user_id`),
UNIQUE KEY `users_username_unique`
(`username`),
UNIQUE KEY `users_email_unique`
(`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `user_log`
--
DROP TABLE IF EXISTS `user_log`;
CREATE TABLE
IF NOT EXISTS `user_log`
(
`id` bigint
(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`ip_address` varchar
(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`type` varchar
(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`text` varchar
(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`user_id` varchar
(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`reference_id` varchar
(16) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY
(`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `viewtraffics`
--
DROP TABLE IF EXISTS `viewtraffics`;
CREATE TABLE
IF NOT EXISTS `viewtraffics`
(
`traffic_id` bigint
(20) NOT NULL AUTO_INCREMENT,
`book_id` text NOT NULL,
`ip_address` text DEFAULT NULL,
`created_at` timestamp NULL DEFAULT current_timestamp
(),
`updated_at` timestamp NULL DEFAULT current_timestamp
(),
PRIMARY KEY
(`traffic_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `wishlist`
--
DROP TABLE IF EXISTS `wishlist`;
CREATE TABLE
IF NOT EXISTS `wishlist`
(
`wishlist_id` bigint
(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`user_id` varchar
(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`item_id` bigint
(20) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY
(`wishlist_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `books`
--
ALTER TABLE `books`
ADD CONSTRAINT `books_category_id_foreign` FOREIGN KEY
(`category_id`) REFERENCES `categories`
(`category_id`) ON
DELETE CASCADE;
--
-- Constraints for table `book_tag`
--
ALTER TABLE `book_tag`
ADD CONSTRAINT `book_tag_book_id_foreign` FOREIGN KEY
(`book_id`) REFERENCES `books`
(`book_id`),
ADD CONSTRAINT `book_tag_tag_id_foreign` FOREIGN KEY
(`tag_id`) REFERENCES `tag`
(`tag_id`);
--
-- Constraints for table `rates`
--
ALTER TABLE `rates`
ADD CONSTRAINT `rates_review_id_foreign` FOREIGN KEY
(`review_id`) REFERENCES `reviews`
(`review_id`) ON
DELETE CASCADE;
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 */;