-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatabase file.sql
1329 lines (1090 loc) · 48.1 KB
/
database file.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
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Aug 15, 2023 at 12:58 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: `orbit_database`
--
CREATE DATABASE IF NOT EXISTS `orbit_database` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
USE `orbit_database`;
-- --------------------------------------------------------
--
-- Table structure for table `blogs`
--
CREATE TABLE `blogs` (
`blog_id` int(11) NOT NULL,
`blog_title` varchar(100) NOT NULL,
`blog_img` varchar(1000) NOT NULL DEFAULT 'default.png',
`blog_by` int(11) NOT NULL,
`blog_date` date NOT NULL,
`blog_votes` int(11) NOT NULL DEFAULT 0,
`blog_content` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
--
-- Dumping data for table `blogs`
--
INSERT INTO `blogs` (`blog_id`, `blog_title`, `blog_img`, `blog_by`, `blog_date`, `blog_votes`, `blog_content`) VALUES
(20, 'Linux ', 'blog-cover.png', 41, '2023-07-31', 3, 'Embracing the Freedom of Linux: A Journey to Open-Source Bliss\r\n\r\nIntroduction:\r\nIn a world dominated by operating systems that come with hefty price tags and closed-source policies, there exists an oasis of freedom and innovation: Linux. For decades, Linux has been the torchbearer of the open-source movement, empowering users with customizable, secure, and free software. Join us on a journey to explore the beauty of Linux, its impact on the tech world, and the reasons why it might be the right choice for you.\r\n\r\n1. A Brief History of Linux:\r\nLinux, born in 1991, was the brainchild of Linus Torvalds, a Finnish computer science student. Inspired by the Unix operating system, Linus set out to create a free, open-source alternative that could be accessed, modified, and distributed by anyone. Thus, Linux was born, and it quickly garnered a devoted community of developers and enthusiasts who contributed to its growth.\r\n\r\n2. The Philosophy of Open Source:\r\nAt the core of Linux lies the philosophy of open-source software (OSS), which promotes transparency, collaboration, and community-driven development. Unlike proprietary software, Linux allows users to access and modify its source code, fostering innovation and ensuring that no single entity has complete control over the system. This democratic approach to software development has led to the creation of thousands of distributions, each tailored to different needs and preferences.\r\n\r\n3. Advantages of Linux:\r\n\r\nCustomization: Linux offers unparalleled customization options, allowing users to create a computing environment that perfectly fits their requirements. With numerous desktop environments and window managers to choose from, users can personalize their Linux experience to suit their workflow.\r\n\r\nStability and Performance: Linux is known for its stability and performance. Thanks to its modular design, it can run on a wide range of hardware, from low-powered devices to high-end servers, without compromising on efficiency.\r\n\r\nSecurity: Linux boasts a strong security foundation, and the open-source nature allows vulnerabilities to be discovered and patched quickly. Moreover, its user-based permissions system helps minimize the risk of malware infections.\r\n\r\nCost: Perhaps one of the most compelling reasons to embrace Linux is its cost-effectiveness. Being free, users can install it on as many machines as they like without incurring additional expenses.\r\n\r\n4. Linux in Real-World Applications:\r\nOver the years, Linux has expanded beyond personal computing. It now powers a significant portion of the internet, with major websites and servers relying on Linux distributions to ensure stability and security. Furthermore, it is the backbone of Android, the world\'s most popular mobile operating system.\r\n\r\n5. Overcoming the Learning Curve:\r\nFor newcomers, transitioning to Linux might initially seem daunting due to its command-line interface and different software ecosystem. However, the Linux community is known for its support and extensive documentation. Numerous online forums, tutorials, and books are available to help beginners get started and navigate their way through the learning process.\r\n\r\n6. Popular Linux Distributions:\r\nThere is a Linux distribution for every taste and use case. Some of the most well-known distributions include Ubuntu, Fedora, Debian, CentOS, Arch Linux, and Mint. Each has its unique features, user interface, and target audience, making it essential to explore various options to find the perfect fit.\r\n\r\nConclusion:\r\nLinux is more than just an operating system; it is a celebration of freedom, creativity, and collaboration. Its vast community of developers and enthusiasts continues to push the boundaries of what\'s possible in the world of open-source software. Whether you\'re a tech enthusiast, a developer, or someone looking for an alternative to proprietary systems, Linux offers a world of opportunities and experiences waiting to be explored. So, take the leap into the world of Linux, and embrace the power of open source!\r\n'),
(21, 'food blog ', 'blog-cover.png', 45, '2023-08-04', 1, 'This blog is for critics i travel to many location to search for new and intresting food '),
(22, 'daily life ', 'blog-cover.png', 45, '2023-08-04', 2, 'this blog is for to post my dialy activitys like traveling exercising , cooking and many more things'),
(23, 'daily vlog', 'blog-cover.png', 43, '2023-08-04', 0, 'In summary, the \"Social Network Application Dashboard\" project presents a transformative solution to bridge the gaps in modern digital interactions. By creating a unified platform with diverse functionalities, personalized profiles, and robust security, the system redefines user engagement and collaboration. While acknowledging certain limitations, the project\'s commitment to ongoing improvement, AI integration, and enhanced user experiences showcases its dynamic potential. The envisioned future enhancements underscore our dedication to fostering a vibrant and evolving digital community. The \"Social Network Application Dashboard\" aims to empower users, facilitate knowledge exchange, and elevate digital interactions to new heights.'),
(24, 'college', 'blog-cover.png', 40, '2023-08-04', 0, 'In summary, the \"Social Network Application Dashboard\" project presents a transformative solution to bridge the gaps in modern digital interactions. By creating a unified platform with diverse functionalities, personalized profiles, and robust security, the system redefines user engagement and collaboration. While acknowledging certain limitations, the project\'s commitment to ongoing improvement, AI integration, and enhanced user experiences showcases its dynamic potential. The envisioned future enhancements underscore our dedication to fostering a vibrant and evolving digital community. The \"Social Network Application Dashboard\" aims to empower users, facilitate knowledge exchange, and elevate digital interactions to new heights.');
-- --------------------------------------------------------
--
-- Table structure for table `blogvotes`
--
CREATE TABLE `blogvotes` (
`voteId` int(11) NOT NULL,
`voteBlog` int(11) NOT NULL,
`voteBy` int(11) NOT NULL,
`voteDate` date NOT NULL,
`vote` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
--
-- Dumping data for table `blogvotes`
--
INSERT INTO `blogvotes` (`voteId`, `voteBlog`, `voteBy`, `voteDate`, `vote`) VALUES
(24, 20, 41, '2023-07-31', 1),
(25, 20, 42, '2023-08-02', 1),
(26, 20, 44, '2023-08-04', 1),
(27, 22, 42, '2023-08-04', 1),
(28, 21, 40, '2023-08-04', 1),
(29, 22, 46, '2023-08-04', 1);
--
-- Triggers `blogvotes`
--
DELIMITER $$
CREATE TRIGGER `calc_blog_votes_after_delete` AFTER DELETE ON `blogvotes` FOR EACH ROW BEGIN
update blogs
set blogs.blog_votes = blogs.blog_votes - old.vote
where blogs.blog_id = old.voteBlog;
END
$$
DELIMITER ;
DELIMITER $$
CREATE TRIGGER `calc_blog_votes_after_insert` AFTER INSERT ON `blogvotes` FOR EACH ROW BEGIN
update blogs
set blogs.blog_votes = blogs.blog_votes + new.vote
where blogs.blog_id = new.voteBlog;
END
$$
DELIMITER ;
DELIMITER $$
CREATE TRIGGER `calc_blog_votes_after_update` AFTER UPDATE ON `blogvotes` FOR EACH ROW BEGIN
update blogs
set blogs.blog_votes = blogs.blog_votes + (new.vote * 2)
where blogs.blog_id = new.voteBlog;
END
$$
DELIMITER ;
-- --------------------------------------------------------
--
-- Table structure for table `categories`
--
CREATE TABLE `categories` (
`cat_id` int(8) NOT NULL,
`cat_name` varchar(255) NOT NULL,
`cat_description` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
--
-- Dumping data for table `categories`
--
INSERT INTO `categories` (`cat_id`, `cat_name`, `cat_description`) VALUES
(4, 'finance sciences', 'all topics related to finance and economy like making double decker chocolate cake and how to end the world in 3 days'),
(5, 'gardening', 'different gardening techniques used to torture helpless victims and make them dream of attending horrible opera performances'),
(8, 'sad', 'sadsadsadsad'),
(9, 'Technical Difficulties', 'Issues and debates related to immediate actions which must be taken on event of a serious butthurt'),
(13, 'aaa', 'aaaaaaa');
-- --------------------------------------------------------
--
-- Table structure for table `conversation`
--
CREATE TABLE `conversation` (
`id` int(11) NOT NULL,
`user_one` int(11) NOT NULL,
`user_two` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
--
-- Dumping data for table `conversation`
--
INSERT INTO `conversation` (`id`, `user_one`, `user_two`) VALUES
(33, 40, 41),
(34, 42, 41),
(35, 43, 41),
(36, 40, 42),
(37, 40, 43),
(38, 42, 43),
(39, 44, 42),
(40, 45, 43),
(41, 43, 44),
(42, 46, 45),
(43, 46, 40);
-- --------------------------------------------------------
--
-- Table structure for table `events`
--
CREATE TABLE `events` (
`event_id` int(11) NOT NULL,
`event_by` int(11) NOT NULL,
`title` varchar(100) NOT NULL,
`date_created` date NOT NULL,
`event_date` varchar(10) NOT NULL,
`event_image` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
--
-- Dumping data for table `events`
--
INSERT INTO `events` (`event_id`, `event_by`, `title`, `date_created`, `event_date`, `event_image`) VALUES
(28, 40, 'Kubernetes Technology ', '2023-08-02', '2023-08-10', 'event-cover.png'),
(29, 45, 'party', '2023-08-04', '2023-08-15', 'event-cover.png');
-- --------------------------------------------------------
--
-- Table structure for table `event_info`
--
CREATE TABLE `event_info` (
`event_id` int(11) NOT NULL,
`event` int(11) NOT NULL,
`title` varchar(100) NOT NULL,
`headline` varchar(100) NOT NULL,
`description` varchar(6000) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
--
-- Dumping data for table `event_info`
--
INSERT INTO `event_info` (`event_id`, `event`, `title`, `headline`, `description`) VALUES
(20, 28, 'Kubernetes Technology ', 'This is based on dev-ops Topic ', 'This is Event based on kubernetes that how k8s works \r\nand also talk about openSource '),
(21, 29, 'party', 'party', 'get on time or else no entry');
-- --------------------------------------------------------
--
-- Table structure for table `messages`
--
CREATE TABLE `messages` (
`id` int(11) NOT NULL,
`conversation_id` int(11) NOT NULL,
`user_from` int(11) NOT NULL,
`user_to` int(11) NOT NULL,
`message` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
--
-- Dumping data for table `messages`
--
INSERT INTO `messages` (`id`, `conversation_id`, `user_from`, `user_to`, `message`) VALUES
(52, 23, 37, 24, 'wassup ma nigga'),
(53, 24, 37, 35, 'fuck u'),
(54, 24, 37, 35, 'fuck u'),
(55, 23, 24, 37, 'fuck you'),
(56, 25, 36, 24, 'soora'),
(57, 25, 24, 36, 'dalla'),
(58, 24, 35, 37, 'Please don\\\'t send offending messages'),
(59, 28, 35, 24, 'Hi there!'),
(60, 28, 35, 24, 'You ready for the presentation?'),
(61, 28, 24, 35, 'hello'),
(62, 30, 38, 35, 'hello'),
(63, 30, 35, 38, 'heyyy'),
(64, 30, 35, 38, 'heyyy'),
(65, 30, 35, 38, 'heyyy'),
(66, 30, 35, 38, 'heyyy'),
(67, 25, 24, 36, 'oye'),
(68, 25, 24, 36, 'i have something important to tell you'),
(69, 25, 24, 36, 'i have something important to tell you'),
(70, 31, 24, 38, 'hey'),
(71, 31, 24, 38, 'hello?'),
(72, 32, 39, 35, 'hello'),
(73, 28, 24, 35, 'nah man, im too nervous'),
(74, 33, 40, 41, 'hii sumit'),
(75, 33, 41, 40, 'Hii'),
(76, 34, 42, 41, 'hello'),
(77, 35, 43, 41, 'hii submit'),
(78, 36, 40, 42, 'shubham'),
(79, 34, 41, 42, 'Hey what\\\'s Going on'),
(80, 35, 41, 43, 'Hii Mangesh'),
(81, 39, 44, 42, 'hey shubam'),
(82, 39, 42, 44, 'HEY VIJAY WHATS GOING ON'),
(83, 43, 46, 40, 'hii');
-- --------------------------------------------------------
--
-- Table structure for table `polls`
--
CREATE TABLE `polls` (
`id` int(11) NOT NULL,
`subject` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
`status` enum('1','0') CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '1',
`created_by` int(11) NOT NULL,
`poll_desc` varchar(5000) NOT NULL,
`locked` int(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
--
-- Dumping data for table `polls`
--
INSERT INTO `polls` (`id`, `subject`, `created`, `modified`, `status`, `created_by`, `poll_desc`, `locked`) VALUES
(18, 'Ai is dangerous for human', '2023-08-02 00:55:17', '2023-08-02 00:55:17', '1', 40, 'this is a testing poll ', 1),
(19, 'should we go to camp', '2023-08-04 13:39:45', '2023-08-04 13:39:45', '1', 45, '', 0),
(20, 'college', '2023-08-04 16:31:44', '2023-08-04 16:31:44', '1', 40, '', 0),
(21, 'Job', '2023-08-04 16:32:52', '2023-08-04 16:32:52', '1', 40, 'In summary, the \"Social Network Application Dashboard\" project presents a transformative solution to bridge the gaps in modern digital interactions. By creating a unified platform with diverse functionalities, personalized profiles, and robust security, the system redefines user engagement and collaboration. While acknowledging certain limitations, the project\'s commitment to ongoing improvement, AI integration, and enhanced user experiences showcases its dynamic potential. The envisioned future enhancements underscore our dedication to fostering a vibrant and evolving digital community. The \"Social Network Application Dashboard\" aims to empower users, facilitate knowledge exchange, and elevate digital interactions to new heights.', 0),
(22, 'is really ai destroy the humans ', '2023-08-08 11:25:39', '2023-08-08 11:25:39', '1', 41, 'this is ai related poll please make sure you should response the poll ', 1);
-- --------------------------------------------------------
--
-- Table structure for table `poll_options`
--
CREATE TABLE `poll_options` (
`id` int(11) NOT NULL,
`poll_id` int(11) NOT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
`status` enum('1','0') CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
--
-- Dumping data for table `poll_options`
--
INSERT INTO `poll_options` (`id`, `poll_id`, `name`, `created`, `modified`, `status`) VALUES
(36, 18, 'YES', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '1'),
(37, 18, 'NO', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '1'),
(38, 19, 'YES', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '1'),
(39, 19, 'NO', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '1'),
(40, 20, 'YES', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '1'),
(41, 20, 'no', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '1'),
(42, 21, 'YES', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '1'),
(43, 21, 'no', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '1'),
(44, 22, 'Yes ', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '1'),
(45, 22, 'No', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '1');
-- --------------------------------------------------------
--
-- Table structure for table `poll_votes`
--
CREATE TABLE `poll_votes` (
`id` int(11) NOT NULL,
`poll_id` int(11) NOT NULL,
`poll_option_id` int(11) NOT NULL,
`vote_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
--
-- Dumping data for table `poll_votes`
--
INSERT INTO `poll_votes` (`id`, `poll_id`, `poll_option_id`, `vote_by`) VALUES
(25, 18, 36, 40),
(26, 18, 36, 43),
(27, 18, 37, 41),
(28, 18, 36, 42),
(29, 19, 38, 42),
(30, 20, 40, 40),
(31, 18, 37, 45);
-- --------------------------------------------------------
--
-- Table structure for table `posts`
--
CREATE TABLE `posts` (
`post_id` int(8) NOT NULL,
`post_content` text NOT NULL,
`post_date` datetime NOT NULL,
`post_topic` int(8) NOT NULL,
`post_by` int(8) NOT NULL,
`post_votes` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
--
-- Dumping data for table `posts`
--
INSERT INTO `posts` (`post_id`, `post_content`, `post_date`, `post_topic`, `post_by`, `post_votes`) VALUES
(118, 'hello', '2018-12-24 15:37:17', 44, 38, 0),
(119, 'hey', '2018-12-25 22:26:12', 44, 24, 0),
(120, 'we need to summon the magic cat to answer this question', '2018-12-27 18:01:51', 42, 24, 0),
(121, 'hello', '2018-12-28 18:01:24', 44, 24, 1),
(122, 'hey\r\n', '2018-12-31 19:54:09', 31, 24, 1),
(123, 'anyone can help me ', '2023-07-31 02:13:30', 45, 40, 0),
(124, 'How can a Company Show Positive Net Income but go Bankrupt?', '2023-07-31 19:50:36', 46, 40, 1),
(125, 'In conclusion, a company with positive net income can still go bankrupt if it is unable to manage its debt, and cash flow, or adapt to changes in the market. Additionally, legal issues or other unforeseen challenges can also cause a company to go bankrupt', '2023-07-31 21:44:05', 46, 42, 0),
(126, 'i would like to know a proper method to manage my funds ', '2023-08-04 13:43:56', 47, 45, 1);
-- --------------------------------------------------------
--
-- Table structure for table `postvotes`
--
CREATE TABLE `postvotes` (
`voteId` int(11) NOT NULL,
`votePost` int(11) NOT NULL,
`voteBy` int(11) NOT NULL,
`voteDate` date NOT NULL,
`vote` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
--
-- Dumping data for table `postvotes`
--
INSERT INTO `postvotes` (`voteId`, `votePost`, `voteBy`, `voteDate`, `vote`) VALUES
(26, 109, 24, '2018-12-27', -1),
(27, 121, 24, '2018-12-28', 1),
(28, 83, 24, '2018-12-31', 1),
(29, 84, 24, '2018-12-31', 1),
(30, 85, 24, '2018-12-31', 1),
(31, 95, 24, '2018-12-31', 1),
(32, 108, 24, '2018-12-31', 1),
(33, 122, 24, '2018-12-31', 1),
(34, 124, 42, '2023-07-31', 1),
(35, 126, 40, '2023-08-04', 1);
--
-- Triggers `postvotes`
--
DELIMITER $$
CREATE TRIGGER `calc_forum_votes_after_delete` AFTER DELETE ON `postvotes` FOR EACH ROW BEGIN
update posts
set posts.post_votes = posts.post_votes - old.vote
where posts.post_id = old.votePost;
END
$$
DELIMITER ;
DELIMITER $$
CREATE TRIGGER `calc_forum_votes_after_insert` AFTER INSERT ON `postvotes` FOR EACH ROW BEGIN
update posts
set posts.post_votes = posts.post_votes + new.vote
where posts.post_id = new.votePost;
END
$$
DELIMITER ;
DELIMITER $$
CREATE TRIGGER `calc_forum_votes_after_update` AFTER UPDATE ON `postvotes` FOR EACH ROW BEGIN
update posts
set posts.post_votes = posts.post_votes + (new.vote * 2)
where posts.post_id = new.votePost;
END
$$
DELIMITER ;
-- --------------------------------------------------------
--
-- Table structure for table `pwdreset`
--
CREATE TABLE `pwdreset` (
`pwdResetId` int(11) NOT NULL,
`pwdResetEmail` text NOT NULL,
`pwdResetSelector` text NOT NULL,
`pwdResetToken` longtext NOT NULL,
`pwdResetExpires` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
-- --------------------------------------------------------
--
-- Table structure for table `topics`
--
CREATE TABLE `topics` (
`topic_id` int(8) NOT NULL,
`topic_subject` varchar(255) NOT NULL,
`topic_date` datetime NOT NULL,
`topic_cat` int(8) NOT NULL,
`topic_by` int(8) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
--
-- Dumping data for table `topics`
--
INSERT INTO `topics` (`topic_id`, `topic_subject`, `topic_date`, `topic_cat`, `topic_by`) VALUES
(46, 'Finance ', '2023-07-31 19:50:35', 4, 40),
(47, 'lack of funds', '2023-08-04 13:43:56', 4, 45);
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`idUsers` int(11) NOT NULL,
`userLevel` int(11) NOT NULL DEFAULT 0,
`f_name` varchar(50) NOT NULL,
`l_name` varchar(50) NOT NULL,
`uidUsers` tinytext NOT NULL,
`emailUsers` tinytext NOT NULL,
`pwdUsers` longtext NOT NULL,
`gender` char(1) NOT NULL,
`headline` varchar(500) DEFAULT NULL,
`bio` varchar(4000) DEFAULT NULL,
`userImg` varchar(500) DEFAULT 'default.png'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`idUsers`, `userLevel`, `f_name`, `l_name`, `uidUsers`, `emailUsers`, `pwdUsers`, `gender`, `headline`, `bio`, `userImg`) VALUES
(40, 0, 'ashish', 'jadhav', 'ashish45', 'ashish.jadhav.dypimr@gmail.com', '$2y$10$Rm2gajpdePvI4iIFBp7bbuljEXKUTgTcGhbBSYifDzmA.WUWB.3wS', 'm', 'software engineer', 'Digital Detox', '64c6ca4edd8b07.80995516.jpg'),
(41, 0, 'Sumit', 'Kamble', 'sumit7', 'sumit.kambale.dypimr@gmail.com', '$2y$10$utmKWjgOM6c5nJ4Y.FuLpu9ndCcy6FNGK1A.QnSiw3De8XUSNJFDW', 'm', 'software engineer', 'Anime lover', '64c74c72176641.90955035.jpeg'),
(42, 0, 'shubham', 'gaikawad', 'shubham', 'shubham.gaikawad.dypimr@gmail.com', '$2y$10$lv5CdPCFojWZikbo9fk/AOoqj1BTblgejOZovXMBd0wRoULAzoz/i', 'm', 'software engineer', 'Lord ', '64c7d7a271f3d6.27931891.jpeg'),
(43, 0, 'Mangesh', 'Wayal', 'mangesh', 'mangeshwayal@gmail.com', '$2y$10$Yti7dvg0K0bGR3le/MNmDeyXLHbG.2N.5mCvBDUVKDFk6FsTReRQ.', 'm', 'android developer', 'MangeshDalla', '64c7daa36edbb4.79465240.jpeg'),
(44, 0, 'vijay', 'indalkar', 'vijay', 'vijay.dypimr@gmail.com', '$2y$10$SNOvtHjqyMHqRU8iODi16.KKBFsLZigOo8nw8339PcOMLha6FGqd2', 'm', '70Lack', 'vijay thalapati', '64ccacea822a30.78760919.jpg'),
(45, 0, 'swapnil', 'jambhule', 'swapnil', 'swapnil@gmail.com', '$2y$10$P.jtvbDku9xAtuh.xcBEleuAyyZgkOx2OPMWPrwQ5UlEpo8Xn.sUO', 'm', 'Fresher', 'Hey Swap here', '64ccb157bbbfe4.79897344.jpg'),
(46, 0, 'prashant', 'l', 'prashant', 'prashant@gmail.com', '$2y$10$WHOIaTCOanGHLHv36W81v.94xfEQ8XTkOvyQ4ePMTgOd9qmAGs0ce', 'm', 'Fresher', 'student', '64ccd82c72cb38.47737721.jpg');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `blogs`
--
ALTER TABLE `blogs`
ADD PRIMARY KEY (`blog_id`),
ADD KEY `blog_by` (`blog_by`);
--
-- Indexes for table `blogvotes`
--
ALTER TABLE `blogvotes`
ADD PRIMARY KEY (`voteId`),
ADD KEY `voteBlog` (`voteBlog`),
ADD KEY `voteBy` (`voteBy`);
--
-- Indexes for table `categories`
--
ALTER TABLE `categories`
ADD PRIMARY KEY (`cat_id`),
ADD UNIQUE KEY `cat_name_unique` (`cat_name`);
--
-- Indexes for table `conversation`
--
ALTER TABLE `conversation`
ADD PRIMARY KEY (`id`),
ADD KEY `user_one` (`user_one`),
ADD KEY `user_two` (`user_two`);
--
-- Indexes for table `events`
--
ALTER TABLE `events`
ADD PRIMARY KEY (`event_id`),
ADD KEY `events_ibfk_1` (`event_by`);
--
-- Indexes for table `event_info`
--
ALTER TABLE `event_info`
ADD PRIMARY KEY (`event_id`),
ADD KEY `event` (`event`),
ADD KEY `title` (`title`);
--
-- Indexes for table `messages`
--
ALTER TABLE `messages`
ADD PRIMARY KEY (`id`),
ADD KEY `user_from` (`user_from`),
ADD KEY `user_to` (`user_to`),
ADD KEY `conversation_id` (`conversation_id`);
--
-- Indexes for table `polls`
--
ALTER TABLE `polls`
ADD PRIMARY KEY (`id`),
ADD KEY `created_by` (`created_by`);
--
-- Indexes for table `poll_options`
--
ALTER TABLE `poll_options`
ADD PRIMARY KEY (`id`),
ADD KEY `poll_id` (`poll_id`);
--
-- Indexes for table `poll_votes`
--
ALTER TABLE `poll_votes`
ADD PRIMARY KEY (`id`),
ADD KEY `poll_id` (`poll_id`),
ADD KEY `poll_option_id` (`poll_option_id`),
ADD KEY `vote_by` (`vote_by`);
--
-- Indexes for table `posts`
--
ALTER TABLE `posts`
ADD PRIMARY KEY (`post_id`),
ADD KEY `post_topic` (`post_topic`),
ADD KEY `post_by` (`post_by`);
--
-- Indexes for table `postvotes`
--
ALTER TABLE `postvotes`
ADD PRIMARY KEY (`voteId`),
ADD KEY `voteBy` (`voteBy`);
--
-- Indexes for table `pwdreset`
--
ALTER TABLE `pwdreset`
ADD PRIMARY KEY (`pwdResetId`);
--
-- Indexes for table `topics`
--
ALTER TABLE `topics`
ADD PRIMARY KEY (`topic_id`),
ADD KEY `topic_cat` (`topic_cat`),
ADD KEY `topic_by` (`topic_by`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`idUsers`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `blogs`
--
ALTER TABLE `blogs`
MODIFY `blog_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;
--
-- AUTO_INCREMENT for table `blogvotes`
--
ALTER TABLE `blogvotes`
MODIFY `voteId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;
--
-- AUTO_INCREMENT for table `categories`
--
ALTER TABLE `categories`
MODIFY `cat_id` int(8) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
--
-- AUTO_INCREMENT for table `conversation`
--
ALTER TABLE `conversation`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=44;
--
-- AUTO_INCREMENT for table `events`
--
ALTER TABLE `events`
MODIFY `event_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;
--
-- AUTO_INCREMENT for table `event_info`
--
ALTER TABLE `event_info`
MODIFY `event_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;
--
-- AUTO_INCREMENT for table `messages`
--
ALTER TABLE `messages`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=84;
--
-- AUTO_INCREMENT for table `polls`
--
ALTER TABLE `polls`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;
--
-- AUTO_INCREMENT for table `poll_options`
--
ALTER TABLE `poll_options`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=46;
--
-- AUTO_INCREMENT for table `poll_votes`
--
ALTER TABLE `poll_votes`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=32;
--
-- AUTO_INCREMENT for table `posts`
--
ALTER TABLE `posts`
MODIFY `post_id` int(8) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=127;
--
-- AUTO_INCREMENT for table `postvotes`
--
ALTER TABLE `postvotes`
MODIFY `voteId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=36;
--
-- AUTO_INCREMENT for table `pwdreset`
--
ALTER TABLE `pwdreset`
MODIFY `pwdResetId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
--
-- AUTO_INCREMENT for table `topics`
--
ALTER TABLE `topics`
MODIFY `topic_id` int(8) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=48;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `idUsers` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=47;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `blogs`
--
ALTER TABLE `blogs`
ADD CONSTRAINT `blogs_ibfk_1` FOREIGN KEY (`blog_by`) REFERENCES `users` (`idUsers`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `blogvotes`
--
ALTER TABLE `blogvotes`
ADD CONSTRAINT `blogvotes_ibfk_1` FOREIGN KEY (`voteBlog`) REFERENCES `blogs` (`blog_id`),
ADD CONSTRAINT `blogvotes_ibfk_2` FOREIGN KEY (`voteBy`) REFERENCES `users` (`idUsers`);
--
-- Constraints for table `conversation`
--
ALTER TABLE `conversation`
ADD CONSTRAINT `conversation_ibfk_1` FOREIGN KEY (`user_one`) REFERENCES `users` (`idUsers`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `conversation_ibfk_2` FOREIGN KEY (`user_two`) REFERENCES `users` (`idUsers`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `events`
--
ALTER TABLE `events`
ADD CONSTRAINT `events_ibfk_1` FOREIGN KEY (`event_by`) REFERENCES `users` (`idUsers`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `event_info`
--
ALTER TABLE `event_info`
ADD CONSTRAINT `event_info_ibfk_1` FOREIGN KEY (`event`) REFERENCES `events` (`event_id`) ON UPDATE CASCADE;
--
-- Constraints for table `messages`
--
ALTER TABLE `messages`
ADD CONSTRAINT `messages_ibfk_1` FOREIGN KEY (`user_from`) REFERENCES `users` (`idUsers`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `messages_ibfk_2` FOREIGN KEY (`user_to`) REFERENCES `users` (`idUsers`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `messages_ibfk_3` FOREIGN KEY (`conversation_id`) REFERENCES `conversation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `polls`
--
ALTER TABLE `polls`
ADD CONSTRAINT `polls_ibfk_1` FOREIGN KEY (`created_by`) REFERENCES `users` (`idUsers`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `poll_options`
--
ALTER TABLE `poll_options`
ADD CONSTRAINT `poll_options_ibfk_1` FOREIGN KEY (`poll_id`) REFERENCES `polls` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION;
--
-- Constraints for table `poll_votes`
--
ALTER TABLE `poll_votes`
ADD CONSTRAINT `poll_votes_ibfk_1` FOREIGN KEY (`poll_id`) REFERENCES `polls` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION,
ADD CONSTRAINT `poll_votes_ibfk_2` FOREIGN KEY (`poll_option_id`) REFERENCES `poll_options` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION,
ADD CONSTRAINT `poll_votes_ibfk_3` FOREIGN KEY (`vote_by`) REFERENCES `users` (`idUsers`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `posts`
--
ALTER TABLE `posts`
ADD CONSTRAINT `posts_ibfk_1` FOREIGN KEY (`post_topic`) REFERENCES `topics` (`topic_id`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `posts_ibfk_2` FOREIGN KEY (`post_by`) REFERENCES `users` (`idUsers`) ON UPDATE CASCADE;
--
-- Constraints for table `postvotes`
--
ALTER TABLE `postvotes`
ADD CONSTRAINT `postvotes_ibfk_1` FOREIGN KEY (`voteBy`) REFERENCES `users` (`idUsers`) ON UPDATE CASCADE;
--
-- Constraints for table `topics`
--
ALTER TABLE `topics`
ADD CONSTRAINT `topics_ibfk_1` FOREIGN KEY (`topic_cat`) REFERENCES `categories` (`cat_id`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `topics_ibfk_2` FOREIGN KEY (`topic_by`) REFERENCES `users` (`idUsers`) ON UPDATE CASCADE;
--
-- Database: `phpmyadmin`
--
CREATE DATABASE IF NOT EXISTS `phpmyadmin` DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
USE `phpmyadmin`;
-- --------------------------------------------------------
--
-- Table structure for table `pma__bookmark`
--
CREATE TABLE `pma__bookmark` (
`id` int(10) UNSIGNED NOT NULL,
`dbase` varchar(255) NOT NULL DEFAULT '',
`user` varchar(255) NOT NULL DEFAULT '',
`label` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '',
`query` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Bookmarks';
-- --------------------------------------------------------
--
-- Table structure for table `pma__central_columns`
--
CREATE TABLE `pma__central_columns` (
`db_name` varchar(64) NOT NULL,
`col_name` varchar(64) NOT NULL,
`col_type` varchar(64) NOT NULL,
`col_length` text DEFAULT NULL,
`col_collation` varchar(64) NOT NULL,
`col_isNull` tinyint(1) NOT NULL,
`col_extra` varchar(255) DEFAULT '',
`col_default` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Central list of columns';
-- --------------------------------------------------------
--
-- Table structure for table `pma__column_info`
--
CREATE TABLE `pma__column_info` (
`id` int(5) UNSIGNED NOT NULL,
`db_name` varchar(64) NOT NULL DEFAULT '',
`table_name` varchar(64) NOT NULL DEFAULT '',
`column_name` varchar(64) NOT NULL DEFAULT '',
`comment` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '',
`mimetype` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '',
`transformation` varchar(255) NOT NULL DEFAULT '',
`transformation_options` varchar(255) NOT NULL DEFAULT '',
`input_transformation` varchar(255) NOT NULL DEFAULT '',
`input_transformation_options` varchar(255) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Column information for phpMyAdmin';
-- --------------------------------------------------------
--
-- Table structure for table `pma__designer_settings`
--
CREATE TABLE `pma__designer_settings` (
`username` varchar(64) NOT NULL,
`settings_data` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Settings related to Designer';
-- --------------------------------------------------------
--
-- Table structure for table `pma__export_templates`
--
CREATE TABLE `pma__export_templates` (
`id` int(5) UNSIGNED NOT NULL,
`username` varchar(64) NOT NULL,
`export_type` varchar(10) NOT NULL,
`template_name` varchar(64) NOT NULL,
`template_data` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Saved export templates';
--
-- Dumping data for table `pma__export_templates`
--
INSERT INTO `pma__export_templates` (`id`, `username`, `export_type`, `template_name`, `template_data`) VALUES
(1, 'root', 'server', 'orbit_database', '{\"quick_or_custom\":\"quick\",\"what\":\"sql\",\"db_select[]\":[\"orbit_database\",\"phpmyadmin\",\"socia_media\",\"store\",\"test\"],\"aliases_new\":\"\",\"output_format\":\"sendit\",\"filename_template\":\"@SERVER@\",\"remember_template\":\"on\",\"charset\":\"utf-8\",\"compression\":\"none\",\"maxsize\":\"\",\"codegen_structure_or_data\":\"data\",\"codegen_format\":\"0\",\"csv_separator\":\",\",\"csv_enclosed\":\"\\\"\",\"csv_escaped\":\"\\\"\",\"csv_terminated\":\"AUTO\",\"csv_null\":\"NULL\",\"csv_columns\":\"something\",\"csv_structure_or_data\":\"data\",\"excel_null\":\"NULL\",\"excel_columns\":\"something\",\"excel_edition\":\"win\",\"excel_structure_or_data\":\"data\",\"json_structure_or_data\":\"data\",\"json_unicode\":\"something\",\"latex_caption\":\"something\",\"latex_structure_or_data\":\"structure_and_data\",\"latex_structure_caption\":\"Structure of table @TABLE@\",\"latex_structure_continued_caption\":\"Structure of table @TABLE@ (continued)\",\"latex_structure_label\":\"tab:@TABLE@-structure\",\"latex_relation\":\"something\",\"latex_comments\":\"something\",\"latex_mime\":\"something\",\"latex_columns\":\"something\",\"latex_data_caption\":\"Content of table @TABLE@\",\"latex_data_continued_caption\":\"Content of table @TABLE@ (continued)\",\"latex_data_label\":\"tab:@TABLE@-data\",\"latex_null\":\"\\\\textit{NULL}\",\"mediawiki_structure_or_data\":\"data\",\"mediawiki_caption\":\"something\",\"mediawiki_headers\":\"something\",\"htmlword_structure_or_data\":\"structure_and_data\",\"htmlword_null\":\"NULL\",\"ods_null\":\"NULL\",\"ods_structure_or_data\":\"data\",\"odt_structure_or_data\":\"structure_and_data\",\"odt_relation\":\"something\",\"odt_comments\":\"something\",\"odt_mime\":\"something\",\"odt_columns\":\"something\",\"odt_null\":\"NULL\",\"pdf_report_title\":\"\",\"pdf_structure_or_data\":\"data\",\"phparray_structure_or_data\":\"data\",\"sql_include_comments\":\"something\",\"sql_header_comment\":\"\",\"sql_use_transaction\":\"something\",\"sql_compatibility\":\"NONE\",\"sql_structure_or_data\":\"structure_and_data\",\"sql_create_table\":\"something\",\"sql_auto_increment\":\"something\",\"sql_create_view\":\"something\",\"sql_create_trigger\":\"something\",\"sql_backquotes\":\"something\",\"sql_type\":\"INSERT\",\"sql_insert_syntax\":\"both\",\"sql_max_query_size\":\"50000\",\"sql_hex_for_binary\":\"something\",\"sql_utc_time\":\"something\",\"texytext_structure_or_data\":\"structure_and_data\",\"texytext_null\":\"NULL\",\"yaml_structure_or_data\":\"data\",\"\":null,\"as_separate_files\":null,\"csv_removeCRLF\":null,\"excel_removeCRLF\":null,\"json_pretty_print\":null,\"htmlword_columns\":null,\"ods_columns\":null,\"sql_dates\":null,\"sql_relation\":null,\"sql_mime\":null,\"sql_disable_fk\":null,\"sql_views_as_tables\":null,\"sql_metadata\":null,\"sql_drop_database\":null,\"sql_drop_table\":null,\"sql_if_not_exists\":null,\"sql_simple_view_export\":null,\"sql_view_current_user\":null,\"sql_or_replace_view\":null,\"sql_procedure_function\":null,\"sql_truncate\":null,\"sql_delayed\":null,\"sql_ignore\":null,\"texytext_columns\":null}');
-- --------------------------------------------------------
--
-- Table structure for table `pma__favorite`
--
CREATE TABLE `pma__favorite` (
`username` varchar(64) NOT NULL,
`tables` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Favorite tables';
-- --------------------------------------------------------
--
-- Table structure for table `pma__history`
--
CREATE TABLE `pma__history` (
`id` bigint(20) UNSIGNED NOT NULL,
`username` varchar(64) NOT NULL DEFAULT '',
`db` varchar(64) NOT NULL DEFAULT '',
`table` varchar(64) NOT NULL DEFAULT '',
`timevalue` timestamp NOT NULL DEFAULT current_timestamp(),
`sqlquery` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='SQL history for phpMyAdmin';
-- --------------------------------------------------------
--
-- Table structure for table `pma__navigationhiding`
--
CREATE TABLE `pma__navigationhiding` (
`username` varchar(64) NOT NULL,
`item_name` varchar(64) NOT NULL,
`item_type` varchar(64) NOT NULL,
`db_name` varchar(64) NOT NULL,
`table_name` varchar(64) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Hidden items of navigation tree';
-- --------------------------------------------------------
--
-- Table structure for table `pma__pdf_pages`
--
CREATE TABLE `pma__pdf_pages` (
`db_name` varchar(64) NOT NULL DEFAULT '',
`page_nr` int(10) UNSIGNED NOT NULL,
`page_descr` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='PDF relation pages for phpMyAdmin';
-- --------------------------------------------------------
--
-- Table structure for table `pma__recent`
--
CREATE TABLE `pma__recent` (
`username` varchar(64) NOT NULL,
`tables` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Recently accessed tables';
--
-- Dumping data for table `pma__recent`
--
INSERT INTO `pma__recent` (`username`, `tables`) VALUES
('root', '[{\"db\":\"orbit_database\",\"table\":\"blogs\"},{\"db\":\"orbit_database\",\"table\":\"users\"},{\"db\":\"orbit_database\",\"table\":\"polls\"},{\"db\":\"klik_database\",\"table\":\"polls\"},{\"db\":\"klik_database\",\"table\":\"poll_votes\"},{\"db\":\"klik_database\",\"table\":\"poll_options\"},{\"db\":\"klik_database\",\"table\":\"users\"},{\"db\":\"klik_database\",\"table\":\"topics\"},{\"db\":\"klik_database\",\"table\":\"pwdreset\"},{\"db\":\"klik_database\",\"table\":\"postvotes\"}]');
-- --------------------------------------------------------
--
-- Table structure for table `pma__relation`
--
CREATE TABLE `pma__relation` (
`master_db` varchar(64) NOT NULL DEFAULT '',
`master_table` varchar(64) NOT NULL DEFAULT '',
`master_field` varchar(64) NOT NULL DEFAULT '',
`foreign_db` varchar(64) NOT NULL DEFAULT '',
`foreign_table` varchar(64) NOT NULL DEFAULT '',
`foreign_field` varchar(64) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Relation table';
-- --------------------------------------------------------
--
-- Table structure for table `pma__savedsearches`
--
CREATE TABLE `pma__savedsearches` (
`id` int(5) UNSIGNED NOT NULL,
`username` varchar(64) NOT NULL DEFAULT '',
`db_name` varchar(64) NOT NULL DEFAULT '',
`search_name` varchar(64) NOT NULL DEFAULT '',
`search_data` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Saved searches';
-- --------------------------------------------------------
--
-- Table structure for table `pma__table_coords`
--
CREATE TABLE `pma__table_coords` (
`db_name` varchar(64) NOT NULL DEFAULT '',
`table_name` varchar(64) NOT NULL DEFAULT '',
`pdf_page_number` int(11) NOT NULL DEFAULT 0,
`x` float UNSIGNED NOT NULL DEFAULT 0,