-
Notifications
You must be signed in to change notification settings - Fork 9
/
gamecq.sql
1644 lines (1350 loc) · 55.3 KB
/
gamecq.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
-- --------------------------------------------------------
-- Host: darkspace.net
-- Server version: 5.1.61 - Source distribution
-- Server OS: redhat-linux-gnu
-- HeidiSQL version: 7.0.0.4140
-- Date/time: 2012-05-18 02:22:29
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET FOREIGN_KEY_CHECKS=0 */;
-- Dumping structure for table gamecq.access
CREATE TABLE IF NOT EXISTS `access` (
`access_id` int(10) NOT NULL AUTO_INCREMENT,
`access_title` varchar(20) DEFAULT NULL,
PRIMARY KEY (`access_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.awards
CREATE TABLE IF NOT EXISTS `awards` (
`award_id` int(11) NOT NULL AUTO_INCREMENT,
`text` varchar(255) NOT NULL DEFAULT '',
`img_path` varchar(255) NOT NULL DEFAULT '',
`img_title` varchar(100) NOT NULL DEFAULT '',
PRIMARY KEY (`award_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.award_holders
CREATE TABLE IF NOT EXISTS `award_holders` (
`hold_id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL DEFAULT '0',
`award_id` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`hold_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.bank_transactions
CREATE TABLE IF NOT EXISTS `bank_transactions` (
`id` int(8) unsigned NOT NULL AUTO_INCREMENT,
`type` tinyint(3) unsigned DEFAULT '0',
`clan_id` int(8) unsigned DEFAULT '0',
`amount` int(20) unsigned DEFAULT '0',
`auth` tinyint(3) unsigned DEFAULT '0',
`user_id` int(8) unsigned DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.banlist
CREATE TABLE IF NOT EXISTS `banlist` (
`ban_id` int(10) NOT NULL AUTO_INCREMENT,
`ban_userid` int(10) DEFAULT '0',
`ban_ip` varchar(16) DEFAULT NULL,
`ban_start` int(32) DEFAULT NULL,
`ban_end` int(50) DEFAULT NULL,
`ban_time_type` int(10) DEFAULT NULL,
`ban_machine` varchar(50) DEFAULT '0',
`ban_from` int(10) unsigned DEFAULT '0',
`ban_why` varchar(255) DEFAULT NULL,
PRIMARY KEY (`ban_id`),
KEY `ban_id` (`ban_id`),
KEY `ban_ip` (`ban_ip`),
KEY `ban_userid` (`ban_userid`),
KEY `ban_start` (`ban_start`),
KEY `ban_end` (`ban_end`),
KEY `ban_machine` (`ban_machine`),
KEY `ban_why` (`ban_why`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.billing
CREATE TABLE IF NOT EXISTS `billing` (
`billing_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`active` tinyint(1) unsigned NOT NULL DEFAULT '0',
`name` varchar(50) DEFAULT NULL,
`about` text NOT NULL,
`subscribe_url` varchar(100) NOT NULL DEFAULT '',
`session_id_var` varchar(100) NOT NULL DEFAULT '',
PRIMARY KEY (`billing_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.catagories
CREATE TABLE IF NOT EXISTS `catagories` (
`cat_id` int(10) NOT NULL AUTO_INCREMENT,
`cat_title` varchar(100) DEFAULT NULL,
`cat_order` int(10) DEFAULT NULL,
PRIMARY KEY (`cat_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.chat
CREATE TABLE IF NOT EXISTS `chat` (
`message_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`author` varchar(100) NOT NULL DEFAULT '',
`author_id` int(10) unsigned NOT NULL DEFAULT '0',
`time` int(10) unsigned NOT NULL DEFAULT '0',
`text` blob NOT NULL,
`recp_id` int(10) unsigned NOT NULL DEFAULT '0',
`room_id` int(10) unsigned NOT NULL DEFAULT '0',
`sent` tinyint(1) unsigned DEFAULT '0',
PRIMARY KEY (`message_id`),
KEY `time` (`time`),
KEY `recp_id` (`recp_id`),
KEY `room_id` (`room_id`),
KEY `sent` (`sent`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.clans
CREATE TABLE IF NOT EXISTS `clans` (
`clan_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`founder_user_id` int(10) unsigned DEFAULT '0',
`name` varchar(50) NOT NULL DEFAULT '',
`long_name` varchar(50) NOT NULL DEFAULT '',
`home` varchar(100) NOT NULL DEFAULT '',
`closed` tinyint(1) unsigned NOT NULL DEFAULT '0',
`approved` tinyint(1) unsigned NOT NULL DEFAULT '0',
`game_id` int(10) unsigned NOT NULL DEFAULT '0',
`motto` text,
`custom_name` varchar(100) DEFAULT NULL,
`custom_text` varchar(100) DEFAULT NULL,
`created` int(10) unsigned DEFAULT '0',
`forum_id` int(10) unsigned DEFAULT '0',
`is_forum_private` tinyint(1) unsigned DEFAULT '1',
`notify_type` varchar(20) DEFAULT 'Email',
`leave_notify` tinyint(1) DEFAULT '0',
PRIMARY KEY (`clan_id`),
UNIQUE KEY `name` (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.clan_data
CREATE TABLE IF NOT EXISTS `clan_data` (
`clan_id` int(10) unsigned NOT NULL DEFAULT '0',
`game_id` int(10) unsigned NOT NULL DEFAULT '0',
`faction_id` int(10) unsigned DEFAULT '0',
`faction_time` int(10) unsigned DEFAULT NULL,
`data` blob,
`level` int(10) unsigned NOT NULL DEFAULT '0',
`credits` int(10) unsigned NOT NULL DEFAULT '0',
`max_members` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`clan_id`,`game_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.clan_levels
CREATE TABLE IF NOT EXISTS `clan_levels` (
`level` int(10) unsigned NOT NULL,
`cost` int(10) unsigned NOT NULL DEFAULT '0',
`max_members` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`level`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.clan_members
CREATE TABLE IF NOT EXISTS `clan_members` (
`clan_id` int(10) unsigned NOT NULL DEFAULT '0',
`user_id` int(10) unsigned NOT NULL DEFAULT '0',
`is_valid` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_admin` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_founder` tinyint(1) DEFAULT '0',
PRIMARY KEY (`clan_id`,`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.config
CREATE TABLE IF NOT EXISTS `config` (
`config_id` int(10) NOT NULL AUTO_INCREMENT,
`sitename` varchar(100) DEFAULT NULL,
`allow_html` int(2) DEFAULT NULL,
`allow_bbcode` int(2) DEFAULT NULL,
`allow_sig` int(2) DEFAULT NULL,
`allow_namechange` int(2) DEFAULT '0',
`admin_passwd` varchar(32) DEFAULT NULL,
`selected` int(2) NOT NULL DEFAULT '0',
`posts_per_page` int(10) DEFAULT NULL,
`hot_threshold` int(10) DEFAULT NULL,
`topics_per_page` int(10) DEFAULT NULL,
`allow_theme_create` int(10) DEFAULT NULL,
`override_themes` int(2) DEFAULT '0',
`email_sig` varchar(255) DEFAULT NULL,
`email_from` varchar(100) DEFAULT NULL,
`default_lang` varchar(255) DEFAULT NULL,
PRIMARY KEY (`config_id`),
UNIQUE KEY `selected` (`selected`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.country_blacklist
CREATE TABLE IF NOT EXISTS `country_blacklist` (
`country_code` char(2) NOT NULL DEFAULT '0',
PRIMARY KEY (`country_code`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='List of countries to watch';
-- Data exporting was unselected.
-- Dumping structure for table gamecq.coupons
CREATE TABLE IF NOT EXISTS `coupons` (
`coupon_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`game_id` int(10) unsigned NOT NULL DEFAULT '0',
`coupon` varchar(100) NOT NULL DEFAULT '',
`months` int(10) unsigned NOT NULL DEFAULT '0',
`days` int(10) unsigned NOT NULL DEFAULT '0',
`credits` int(10) unsigned NOT NULL DEFAULT '0',
`prestige` int(10) unsigned NOT NULL DEFAULT '0',
`created` int(10) unsigned NOT NULL DEFAULT '0',
`author_id` int(10) unsigned NOT NULL DEFAULT '0',
`origin_id` varchar(32) NOT NULL DEFAULT '',
`value` int(10) NOT NULL DEFAULT '0',
`redeem_date` int(10) unsigned NOT NULL DEFAULT '0',
`redeemer_id` int(10) unsigned NOT NULL DEFAULT '0',
`redeemer_ip` varchar(32) DEFAULT NULL,
`subscription_id` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`coupon_id`),
UNIQUE KEY `coupon_key` (`coupon`),
KEY `game_id` (`game_id`),
KEY `redeem_date` (`redeem_date`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.coupon_blacklist
CREATE TABLE IF NOT EXISTS `coupon_blacklist` (
`failure_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`failure_date` int(10) unsigned NOT NULL DEFAULT '0',
`user_id` int(10) unsigned NOT NULL DEFAULT '0',
`remote_ip` varchar(32) NOT NULL DEFAULT '',
`count` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`failure_id`),
KEY `remote_ip` (`remote_ip`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.disallow
CREATE TABLE IF NOT EXISTS `disallow` (
`disallow_id` int(10) NOT NULL AUTO_INCREMENT,
`disallow_username` varchar(50) DEFAULT NULL,
PRIMARY KEY (`disallow_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.documents
CREATE TABLE IF NOT EXISTS `documents` (
`doc_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`game_id` int(10) unsigned NOT NULL DEFAULT '0',
`title` text NOT NULL,
`description` text,
`allow_user_comments` tinyint(1) unsigned NOT NULL DEFAULT '0',
`show_index` tinyint(1) unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`doc_id`),
KEY `game_id` (`game_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.document_chapters
CREATE TABLE IF NOT EXISTS `document_chapters` (
`chap_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`doc_id` int(10) unsigned NOT NULL DEFAULT '0',
`parent_id` int(10) unsigned NOT NULL DEFAULT '0',
`is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
`sort_id` int(10) DEFAULT '0',
PRIMARY KEY (`chap_id`),
KEY `doc_id` (`doc_id`),
KEY `parent_id` (`parent_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.document_comments
CREATE TABLE IF NOT EXISTS `document_comments` (
`comment_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`chap_id` int(10) unsigned NOT NULL DEFAULT '0',
`lang_id` int(10) unsigned NOT NULL DEFAULT '0',
`author_id` int(10) unsigned NOT NULL DEFAULT '0',
`comment` text,
`is_approved` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`comment_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.document_text
CREATE TABLE IF NOT EXISTS `document_text` (
`chap_id` int(10) unsigned NOT NULL DEFAULT '0',
`lang_id` int(10) unsigned NOT NULL DEFAULT '0',
`title` text,
`body` text,
PRIMARY KEY (`chap_id`,`lang_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.events
CREATE TABLE IF NOT EXISTS `events` (
`event_id` int(10) unsigned NOT NULL DEFAULT '0',
`time` int(10) unsigned NOT NULL DEFAULT '0',
`title` text NOT NULL,
`details` text NOT NULL,
`author` varchar(50) NOT NULL DEFAULT '0',
`author_id` int(10) unsigned NOT NULL DEFAULT '0',
`count_id` int(10) unsigned NOT NULL DEFAULT '0',
`end_time` int(10) unsigned NOT NULL DEFAULT '0',
`game_id` int(10) unsigned NOT NULL DEFAULT '1',
`is_public` tinyint(1) unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`event_id`,`count_id`,`game_id`),
KEY `time` (`time`),
KEY `end_time` (`end_time`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.factions
CREATE TABLE IF NOT EXISTS `factions` (
`faction_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`fid` int(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(50) NOT NULL DEFAULT '',
`game_id` int(10) unsigned NOT NULL DEFAULT '0',
`logo` varchar(100) DEFAULT NULL,
`color` varchar(50) NOT NULL DEFAULT 'FF FF FF',
`logo_small` varchar(255) DEFAULT NULL,
`is_open` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`faction_id`),
KEY `fid` (`fid`),
KEY `game_id` (`game_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.faq
CREATE TABLE IF NOT EXISTS `faq` (
`QUESTION_ID` int(10) unsigned NOT NULL AUTO_INCREMENT,
`CATEGORY_ID` tinyint(3) unsigned NOT NULL DEFAULT '1',
`QUESTION` tinytext NOT NULL,
`ANSWER` text NOT NULL,
`AUTHOR_ID` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`QUESTION_ID`,`CATEGORY_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.faq_cat
CREATE TABLE IF NOT EXISTS `faq_cat` (
`CATEGORY_ID` int(10) unsigned NOT NULL AUTO_INCREMENT,
`GAME_ID` tinyint(3) unsigned NOT NULL DEFAULT '1',
`LANG_ID` tinyint(3) unsigned NOT NULL DEFAULT '1',
`NAME` tinytext NOT NULL,
PRIMARY KEY (`CATEGORY_ID`,`LANG_ID`,`GAME_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.files
CREATE TABLE IF NOT EXISTS `files` (
`file_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`game_id` int(10) unsigned DEFAULT '0',
`url` text NOT NULL,
`bytes` int(16) unsigned DEFAULT '0',
`name` text NOT NULL,
`description` text NOT NULL,
`downloads` int(10) unsigned NOT NULL DEFAULT '0',
`author` text NOT NULL,
`author_id` int(10) unsigned NOT NULL DEFAULT '0',
`cat_id` int(10) unsigned NOT NULL DEFAULT '0',
`created` int(10) unsigned NOT NULL DEFAULT '0',
`is_valid` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`file_id`,`cat_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.files_cat
CREATE TABLE IF NOT EXISTS `files_cat` (
`cat_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`game_id` int(10) unsigned NOT NULL DEFAULT '0',
`name` text NOT NULL,
`allow_user_upload` tinyint(1) unsigned NOT NULL DEFAULT '0',
`restricted` tinyint(1) unsigned DEFAULT '0',
PRIMARY KEY (`cat_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.forums
CREATE TABLE IF NOT EXISTS `forums` (
`forum_id` int(10) NOT NULL AUTO_INCREMENT,
`forum_name` varchar(150) DEFAULT NULL,
`forum_desc` text,
`forum_access` int(10) DEFAULT '1',
`forum_moderator` int(10) DEFAULT NULL,
`forum_topics` int(10) NOT NULL DEFAULT '0',
`forum_posts` int(10) NOT NULL DEFAULT '0',
`forum_last_post_id` int(10) NOT NULL DEFAULT '0',
`cat_id` int(10) DEFAULT NULL,
`forum_type` int(10) DEFAULT '0',
`archive_time` int(10) DEFAULT '0',
`archive_forum_id` int(10) DEFAULT '0',
`game_id` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`forum_id`),
KEY `forum_last_post_id` (`forum_last_post_id`),
KEY `cat_id` (`cat_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.forum_access
CREATE TABLE IF NOT EXISTS `forum_access` (
`forum_id` int(10) NOT NULL DEFAULT '0',
`user_id` int(10) NOT NULL DEFAULT '0',
`can_post` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`forum_id`,`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.forum_mods
CREATE TABLE IF NOT EXISTS `forum_mods` (
`forum_id` int(10) NOT NULL DEFAULT '0',
`user_id` int(10) NOT NULL DEFAULT '0',
KEY `forum_id` (`forum_id`),
KEY `user_id` (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.friends
CREATE TABLE IF NOT EXISTS `friends` (
`user_id` int(10) unsigned NOT NULL DEFAULT '0',
`friend_id` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`user_id`,`friend_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.games
CREATE TABLE IF NOT EXISTS `games` (
`game_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL DEFAULT '',
`directory` varchar(100) DEFAULT NULL,
`root_url` varchar(100) DEFAULT NULL,
`newlogin_url` varchar(100) DEFAULT NULL,
`home_url` varchar(100) DEFAULT NULL,
`download_url` varchar(100) DEFAULT NULL,
`admin_url` varchar(100) DEFAULT NULL,
`manual_url` varchar(100) DEFAULT NULL,
`registry` varchar(100) DEFAULT NULL,
`address` varchar(100) DEFAULT NULL,
`port` int(10) unsigned DEFAULT NULL,
`valid` tinyint(1) unsigned NOT NULL DEFAULT '0',
`chat_room` int(10) unsigned DEFAULT '1',
`clan_url` varchar(100) DEFAULT NULL,
`profile_url` varchar(100) DEFAULT NULL,
`news_url` varchar(100) DEFAULT NULL,
`forum_url` varchar(100) DEFAULT NULL,
`is_public` tinyint(1) unsigned DEFAULT '0',
`is_free` tinyint(1) unsigned DEFAULT '0',
`is_free_trial_enabled` tinyint(1) unsigned DEFAULT '0',
`game_email` varchar(100) DEFAULT NULL,
`support_email` varchar(100) DEFAULT NULL,
`billing_email` varchar(100) DEFAULT NULL,
PRIMARY KEY (`game_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.graph
CREATE TABLE IF NOT EXISTS `graph` (
`graph_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`value` int(10) DEFAULT '0',
`time` int(10) unsigned DEFAULT '0',
`cat_id` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`graph_id`),
KEY `cat_id` (`cat_id`),
KEY `time` (`time`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.graph_cat
CREATE TABLE IF NOT EXISTS `graph_cat` (
`cat_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`game_id` int(10) unsigned DEFAULT '0',
`name` varchar(50) DEFAULT NULL,
`graph_sql` text,
PRIMARY KEY (`cat_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.hardware_comments
CREATE TABLE IF NOT EXISTS `hardware_comments` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`hid` int(10) unsigned NOT NULL DEFAULT '0',
`comment` text NOT NULL,
`rating` int(1) unsigned NOT NULL DEFAULT '0',
`author` text NOT NULL,
`author_id` int(10) unsigned NOT NULL DEFAULT '0',
`date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`version` varchar(50) NOT NULL DEFAULT 'Unknown',
`memory` varchar(50) NOT NULL DEFAULT 'Unknown',
`cpu` varchar(50) NOT NULL DEFAULT 'Unknown',
`os` varchar(50) NOT NULL DEFAULT 'Unknown',
PRIMARY KEY (`id`,`hid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.hardware_kb
CREATE TABLE IF NOT EXISTS `hardware_kb` (
`hid` int(10) unsigned NOT NULL AUTO_INCREMENT,
`game_id` int(10) unsigned NOT NULL DEFAULT '0',
`name` text NOT NULL,
`author_id` int(10) unsigned NOT NULL DEFAULT '0',
`category` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`hid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.headermetafooter
CREATE TABLE IF NOT EXISTS `headermetafooter` (
`header` text,
`meta` text,
`footer` text
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.ignores
CREATE TABLE IF NOT EXISTS `ignores` (
`key_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned NOT NULL DEFAULT '0',
`ignore_id` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`key_id`),
KEY `ignore_id` (`ignore_id`),
KEY `user_id` (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.installers
CREATE TABLE IF NOT EXISTS `installers` (
`installer_id` varchar(50) NOT NULL DEFAULT '',
`payment_percent` float NOT NULL DEFAULT '0',
`payment_cap` float DEFAULT '0',
PRIMARY KEY (`installer_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.ladder_fields
CREATE TABLE IF NOT EXISTS `ladder_fields` (
`field_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`game_id` int(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(50) NOT NULL DEFAULT '0',
`is_logged` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_protected` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT 'If true, then field is protected from resets.',
PRIMARY KEY (`field_id`,`game_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.lang_setup
CREATE TABLE IF NOT EXISTS `lang_setup` (
`LANG_ID` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
`GAME_ID` tinyint(3) unsigned NOT NULL DEFAULT '1',
`IS_DEFAULT` tinyint(1) unsigned NOT NULL DEFAULT '0',
`IS_ONLINE` tinyint(1) unsigned NOT NULL DEFAULT '0',
`LANG` varchar(20) NOT NULL DEFAULT '',
`LANG_TOKEN` varchar(20) NOT NULL DEFAULT '',
`FLAG_AV` tinytext NOT NULL,
`FLAG_NA` tinytext NOT NULL,
PRIMARY KEY (`LANG_ID`,`GAME_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='available languages';
-- Data exporting was unselected.
-- Dumping structure for table gamecq.links
CREATE TABLE IF NOT EXISTS `links` (
`link_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`game_id` int(10) unsigned DEFAULT '0',
`title` text NOT NULL,
`url` text NOT NULL,
`author` text NOT NULL,
`author_id` int(10) unsigned NOT NULL DEFAULT '0',
`category` int(10) unsigned NOT NULL DEFAULT '0',
`clicks` int(10) unsigned NOT NULL DEFAULT '0',
`last_clicks` int(10) unsigned NOT NULL DEFAULT '0',
`description` text NOT NULL,
`is_valid` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`link_id`),
KEY `category` (`category`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.log_text
CREATE TABLE IF NOT EXISTS `log_text` (
`log_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`version_id` int(10) unsigned NOT NULL DEFAULT '0',
`text` text,
`author` varchar(50) DEFAULT NULL,
`author_id` int(10) unsigned DEFAULT '0',
PRIMARY KEY (`log_id`),
KEY `version_id` (`version_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.log_version
CREATE TABLE IF NOT EXISTS `log_version` (
`version_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) DEFAULT NULL,
`status` tinyint(1) unsigned DEFAULT '0',
`author` varchar(50) DEFAULT NULL,
`author_id` int(10) unsigned DEFAULT '0',
`game_id` int(10) unsigned DEFAULT '0',
PRIMARY KEY (`version_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.mail_config
CREATE TABLE IF NOT EXISTS `mail_config` (
`config_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`game_id` int(10) unsigned NOT NULL DEFAULT '0',
`pop_server` varchar(100) DEFAULT NULL,
`pop_port` int(10) unsigned DEFAULT '0',
`pop_user` varchar(100) DEFAULT NULL,
`pop_password` varchar(100) DEFAULT NULL,
`save_incoming` tinyint(1) unsigned DEFAULT '0',
PRIMARY KEY (`config_id`),
KEY `game_id` (`game_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='POP3 Configuration';
-- Data exporting was unselected.
-- Dumping structure for table gamecq.mail_forms
CREATE TABLE IF NOT EXISTS `mail_forms` (
`form_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`game_id` int(10) unsigned NOT NULL DEFAULT '0',
`form_key` varchar(100) NOT NULL DEFAULT '',
`subject` varchar(100) DEFAULT NULL,
`body` text,
PRIMARY KEY (`form_id`),
KEY `game_id` (`game_id`),
KEY `form_key` (`form_key`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Pre-Formatted Mail Forms';
-- Data exporting was unselected.
-- Dumping structure for table gamecq.mail_incoming
CREATE TABLE IF NOT EXISTS `mail_incoming` (
`mail_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`game_id` int(10) unsigned NOT NULL DEFAULT '0',
`recp` varchar(100) DEFAULT NULL,
`reply` varchar(100) DEFAULT NULL,
`date` int(10) unsigned DEFAULT '0',
`subject` varchar(255) DEFAULT NULL,
`body` longtext,
`is_read` tinyint(1) unsigned DEFAULT '0',
PRIMARY KEY (`mail_id`),
KEY `game_id` (`game_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.mail_queue
CREATE TABLE IF NOT EXISTS `mail_queue` (
`mailing_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`mail_sql` text,
`subject` varchar(255) DEFAULT NULL,
`reply` varchar(255) DEFAULT NULL,
`body` text,
`game_id` int(10) unsigned DEFAULT '0',
`author_id` int(10) unsigned DEFAULT '0',
`time_sent` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`mailing_id`),
KEY `time_sent` (`time_sent`),
KEY `game_id` (`game_id`),
KEY `author_id` (`author_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Outgoing Mail Table';
-- Data exporting was unselected.
-- Dumping structure for table gamecq.news
CREATE TABLE IF NOT EXISTS `news` (
`ID` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`GAME_ID` tinyint(3) unsigned NOT NULL DEFAULT '1',
`LANG_ID` tinyint(3) unsigned NOT NULL DEFAULT '1',
`ACTIVE` tinyint(1) unsigned NOT NULL DEFAULT '1',
`TITLE` varchar(70) NOT NULL DEFAULT '',
`ARTICLE` blob NOT NULL,
`AUTHOR` varchar(50) NOT NULL DEFAULT '',
`EMAIL` varchar(50) NOT NULL DEFAULT '',
`DATE` varchar(50) NOT NULL DEFAULT '',
`INTERNAL_DATE` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`CAT_ID` tinyint(3) unsigned NOT NULL DEFAULT '1',
`AUTHOR_ID` int(10) unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`ID`,`LANG_ID`,`GAME_ID`),
KEY `INTERNAL_DATE` (`INTERNAL_DATE`),
KEY `CAT_ID` (`CAT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.news_cat
CREATE TABLE IF NOT EXISTS `news_cat` (
`CAT_ID` int(10) unsigned NOT NULL AUTO_INCREMENT,
`GAME_ID` int(10) unsigned NOT NULL DEFAULT '0',
`CATEGORY` varchar(30) NOT NULL DEFAULT '',
`IMAGE_URL` tinytext,
PRIMARY KEY (`CAT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='News-Categories';
-- Data exporting was unselected.
-- Dumping structure for table gamecq.payment_methods
CREATE TABLE IF NOT EXISTS `payment_methods` (
`method_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`method_name` varchar(50) DEFAULT NULL,
`method_desc` varchar(100) DEFAULT NULL,
`is_active` tinyint(1) NOT NULL DEFAULT '0',
`is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`method_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.polls
CREATE TABLE IF NOT EXISTS `polls` (
`poll_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`question_text` varchar(511) DEFAULT NULL,
`is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
`start_time` int(10) unsigned NOT NULL DEFAULT '0',
`end_time` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`poll_id`),
KEY `start_time` (`start_time`),
KEY `end_time` (`end_time`),
KEY `is_active` (`is_active`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.poll_choices
CREATE TABLE IF NOT EXISTS `poll_choices` (
`choice_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`poll_id` int(10) unsigned NOT NULL DEFAULT '0',
`choice_text` varchar(100) DEFAULT NULL,
`votes` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`choice_id`),
KEY `poll_id` (`poll_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.poll_voters
CREATE TABLE IF NOT EXISTS `poll_voters` (
`poll_id` int(10) unsigned NOT NULL,
`user_id` int(10) unsigned NOT NULL,
PRIMARY KEY (`poll_id`,`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.posts
CREATE TABLE IF NOT EXISTS `posts` (
`post_id` int(10) NOT NULL AUTO_INCREMENT,
`topic_id` int(10) NOT NULL DEFAULT '0',
`forum_id` int(10) NOT NULL DEFAULT '0',
`poster_id` int(10) NOT NULL DEFAULT '0',
`post_time` varchar(20) DEFAULT NULL,
`poster_ip` varchar(16) DEFAULT NULL,
PRIMARY KEY (`post_id`),
KEY `post_id` (`post_id`),
KEY `forum_id` (`forum_id`),
KEY `topic_id` (`topic_id`),
KEY `poster_id` (`poster_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.posts_text
CREATE TABLE IF NOT EXISTS `posts_text` (
`post_id` int(10) NOT NULL DEFAULT '0',
`post_text` text,
PRIMARY KEY (`post_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.priv_msgs
CREATE TABLE IF NOT EXISTS `priv_msgs` (
`msg_id` int(10) NOT NULL AUTO_INCREMENT,
`from_userid` int(10) NOT NULL DEFAULT '0',
`to_userid` int(10) NOT NULL DEFAULT '0',
`msg_time` varchar(20) DEFAULT NULL,
`poster_ip` varchar(16) DEFAULT NULL,
`msg_status` int(10) DEFAULT '0',
`msg_text` text,
PRIMARY KEY (`msg_id`),
KEY `msg_id` (`msg_id`),
KEY `to_userid` (`to_userid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.products
CREATE TABLE IF NOT EXISTS `products` (
`product_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`cat_id` int(10) unsigned NOT NULL DEFAULT '0',
`game_id` int(10) unsigned NOT NULL DEFAULT '0',
`product_desc` varchar(100) DEFAULT NULL,
`product_details` varchar(100) DEFAULT NULL,
`product_image_url` varchar(255) DEFAULT NULL,
`amount` int(10) unsigned NOT NULL DEFAULT '0',
`credits` int(10) unsigned NOT NULL DEFAULT '0',
`item_class` varchar(50) DEFAULT NULL,
PRIMARY KEY (`product_id`),
KEY `game_id` (`game_id`),
KEY `cat_id` (`cat_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.product_cat
CREATE TABLE IF NOT EXISTS `product_cat` (
`cat_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`game_id` int(10) unsigned NOT NULL DEFAULT '0',
`cat_desc` varchar(100) DEFAULT NULL,
`sort_order` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`cat_id`),
KEY `game_id` (`game_id`),
KEY `sort_order` (`sort_order`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.product_orders
CREATE TABLE IF NOT EXISTS `product_orders` (
`order_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) unsigned NOT NULL DEFAULT '0',
`product_id` int(10) unsigned NOT NULL DEFAULT '0',
`payment_id` bigint(20) unsigned NOT NULL DEFAULT '0',
`quantity` int(10) unsigned NOT NULL DEFAULT '0',
`order_date` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`order_id`),
KEY `product_id` (`product_id`),
KEY `payment_id` (`payment_id`),
KEY `user_id` (`user_id`),
KEY `order_date` (`order_date`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.product_payments
CREATE TABLE IF NOT EXISTS `product_payments` (
`payment_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) unsigned NOT NULL DEFAULT '0',
`payment_date` int(10) unsigned NOT NULL DEFAULT '0',
`amount` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Amount in cents',
`completed` tinyint(1) unsigned NOT NULL DEFAULT '0',
`payment_method` varchar(50) NOT NULL DEFAULT 'paypal',
`method_payment_id` varchar(50) DEFAULT NULL COMMENT 'Payment provider payment ID',
`method_url` text COMMENT 'Payment Provider URL',
`status` varchar(100) DEFAULT NULL COMMENT 'Current Status of this payment',
PRIMARY KEY (`payment_id`),
KEY `user_id` (`user_id`),
KEY `payment_date` (`payment_date`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.projects
CREATE TABLE IF NOT EXISTS `projects` (
`project_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`parent_id` int(10) unsigned NOT NULL DEFAULT '0',
`game_id` int(10) unsigned NOT NULL DEFAULT '0',
`author_user_id` int(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(100) NOT NULL DEFAULT '',
`description` text,
PRIMARY KEY (`project_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Developer Projects';
-- Data exporting was unselected.
-- Dumping structure for table gamecq.projects_setup
CREATE TABLE IF NOT EXISTS `projects_setup` (
`GAME_ID` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
`NAME` varchar(50) NOT NULL DEFAULT '',
`ROOT_URL` tinytext NOT NULL,
PRIMARY KEY (`GAME_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='projects listing';
-- Data exporting was unselected.
-- Dumping structure for table gamecq.ranks
CREATE TABLE IF NOT EXISTS `ranks` (
`rank_id` int(10) NOT NULL AUTO_INCREMENT,
`rank_title` varchar(50) NOT NULL DEFAULT '',
`rank_min` int(10) NOT NULL DEFAULT '0',
`rank_max` int(10) NOT NULL DEFAULT '0',
`rank_special` int(2) DEFAULT '0',
`rank_image` varchar(255) DEFAULT NULL,
PRIMARY KEY (`rank_id`),
KEY `rank_min` (`rank_min`),
KEY `rank_max` (`rank_max`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Data exporting was unselected.
-- Dumping structure for table gamecq.referrals
CREATE TABLE IF NOT EXISTS `referrals` (
`ref_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`remote_ip` varchar(16) NOT NULL DEFAULT '',
`referral` varchar(30) NOT NULL DEFAULT '',
`time` int(10) unsigned NOT NULL DEFAULT '0',