db_create.sql 23.3 KB
Newer Older
1
2
3
4
5
-- phpMyAdmin SQL Dump
-- version 4.0.8
-- http://www.phpmyadmin.net
--
-- Host: localhost
6
-- Generation Time: Feb 18, 2016 at 04:58 PM
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
-- Server version: 5.1.71
-- PHP Version: 5.3.3

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
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 utf8 */;

--
-- Table structure for table `common_month`
--

DROP TABLE IF EXISTS `common_month`;
CREATE TABLE IF NOT EXISTS `common_month` (
  `month` datetime NOT NULL,
  PRIMARY KEY (`month`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

31
32
33
34
35
36
--
-- Table structure for table `common_language`
--

DROP TABLE IF EXISTS `common_language`;
CREATE TABLE IF NOT EXISTS `common_language` (
37
38
  `a3b` char(2) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
  `a3t` char(2) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
39
40
41
42
43
44
45
46
47
  `iso` char(2) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
  `language` varchar(16) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`iso`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `common_language`
--

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
INSERT INTO `common_language` (`a3b`, `a3t`, `iso`, `language`) VALUES
('aa', '', 'aa', 'Afar'),
('ab', '', 'ab', 'Abkhazian'),
('af', '', 'af', 'Afrikaans'),
('ak', '', 'ak', 'Akan'),
('al', 'sq', 'sq', 'Albanian'),
('am', '', 'am', 'Amharic'),
('ar', '', 'ar', 'Arabic'),
('ar', '', 'an', 'Aragonese'),
('ar', 'hy', 'hy', 'Armenian'),
('as', '', 'as', 'Assamese'),
('av', '', 'av', 'Avaric'),
('av', '', 'ae', 'Avestan'),
('ay', '', 'ay', 'Aymara'),
('az', '', 'az', 'Azerbaijani'),
('ba', '', 'ba', 'Bashkir'),
('ba', '', 'bm', 'Bambara'),
('ba', 'eu', 'eu', 'Basque'),
('be', '', 'be', 'Belarusian'),
('be', '', 'bn', 'Bengali'),
('bi', '', 'bh', 'Bihari languages'),
('bi', '', 'bi', 'Bislama'),
('bo', '', 'bs', 'Bosnian'),
('br', '', 'br', 'Breton'),
('bu', '', 'bg', 'Bulgarian'),
('bu', 'my', 'my', 'Burmese'),
('ca', '', 'ca', 'Catalan'),
('ch', '', 'ch', 'Chamorro'),
('ch', '', 'ce', 'Chechen'),
('ch', 'zh', 'zh', 'Chinese'),
('ch', '', 'cu', 'Church Slavic'),
('ch', '', 'cv', 'Chuvash'),
('co', '', 'kw', 'Cornish'),
('co', '', 'co', 'Corsican'),
('cr', '', 'cr', 'Cree'),
('cz', 'ce', 'cs', 'Czech'),
('da', '', 'da', 'Danish'),
('di', '', 'dv', 'Divehi'),
('du', 'nl', 'nl', 'Dutch'),
('dz', '', 'dz', 'Dzongkha'),
('en', '', 'en', 'English'),
('ep', '', 'eo', 'Esperanto'),
('es', '', 'et', 'Estonian'),
('ew', '', 'ee', 'Ewe'),
('fa', '', 'fo', 'Faroese'),
('fi', '', 'fj', 'Fijian'),
('fi', '', 'fi', 'Finnish'),
('fr', 'fr', 'fr', 'French'),
('fr', '', 'fy', 'Western Frisian'),
('fu', '', 'ff', 'Fulah'),
('ge', 'ka', 'ka', 'Georgian'),
('ge', 'de', 'de', 'German'),
('gl', '', 'gd', 'Gaelic'),
('gl', '', 'ga', 'Irish'),
('gl', '', 'gl', 'Galician'),
('gl', '', 'gv', 'Manx'),
('gr', 'el', 'el', 'Greek'),
('gr', '', 'gn', 'Guarani'),
('gu', '', 'gu', 'Gujarati'),
('ha', '', 'ht', 'Haitian'),
('ha', '', 'ha', 'Hausa'),
('he', '', 'he', 'Hebrew'),
('he', '', 'hz', 'Herero'),
('hi', '', 'hi', 'Hindi'),
('hm', '', 'ho', 'Hiri Motu'),
('hr', '', 'hr', 'Croatian'),
('hu', '', 'hu', 'Hungarian'),
('ib', '', 'ig', 'Igbo'),
('ic', 'is', 'is', 'Icelandic'),
('id', '', 'io', 'Ido'),
('ii', '', 'ii', 'Sichuan Yi'),
('ik', '', 'iu', 'Inuktitut'),
('il', '', 'ie', 'Interlingue'),
('in', '', 'id', 'Indonesian'),
('ip', '', 'ik', 'Inupiaq'),
('it', '', 'it', 'Italian'),
('ja', '', 'jv', 'Javanese'),
('jp', '', 'ja', 'Japanese'),
('ka', '', 'kl', 'Kalaallisut'),
('ka', '', 'kn', 'Kannada'),
('ka', '', 'ks', 'Kashmiri'),
('ka', '', 'kr', 'Kanuri'),
('ka', '', 'kk', 'Kazakh'),
('kh', '', 'km', 'Central Khmer'),
('ki', '', 'ki', 'Kikuyu'),
('ki', '', 'rw', 'Kinyarwanda'),
('ki', '', 'ky', 'Kirghiz'),
('ko', '', 'kv', 'Komi'),
('ko', '', 'kg', 'Kongo'),
('ko', '', 'ko', 'Korean'),
('ku', '', 'kj', 'Kuanyama'),
('ku', '', 'ku', 'Kurdish'),
('la', '', 'lo', 'Lao'),
('la', '', 'la', 'Latin'),
('la', '', 'lv', 'Latvian'),
('li', '', 'li', 'Limburgan'),
('li', '', 'ln', 'Lingala'),
('li', '', 'lt', 'Lithuanian'),
('lt', '', 'lb', 'Luxembourgish'),
('lu', '', 'lu', 'Luba-Katanga'),
('lu', '', 'lg', 'Ganda'),
('ma', 'mk', 'mk', 'Macedonian'),
('ma', '', 'mh', 'Marshallese'),
('ma', '', 'ml', 'Malayalam'),
('ma', 'mr', 'mi', 'Maori'),
('ma', '', 'mr', 'Marathi'),
('ma', 'ms', 'ms', 'Malay'),
('ml', '', 'mg', 'Malagasy'),
('ml', '', 'mt', 'Maltese'),
('mo', '', 'mn', 'Mongolian'),
('na', '', 'na', 'Nauru'),
('na', '', 'nv', 'Navajo'),
('nb', '', 'nr', 'Ndebele'),
('nd', '', 'nd', 'Ndebele'),
('nd', '', 'ng', 'Ndonga'),
('ne', '', 'ne', 'Nepali'),
('nn', '', 'nn', 'Norwegian Nynors'),
('no', '', 'nb', 'Bokm�l'),
('no', '', 'no', 'Norwegian'),
('ny', '', 'ny', 'Chichewa'),
('oc', '', 'oc', 'Occitan (post 15'),
('oj', '', 'oj', 'Ojibwa'),
('or', '', 'or', 'Oriya'),
('or', '', 'om', 'Oromo'),
('os', '', 'os', 'Ossetian'),
('pa', '', 'pa', 'Panjabi'),
('pe', 'fa', 'fa', 'Persian'),
('pl', '', 'pi', 'Pali'),
('po', '', 'pl', 'Polish'),
('po', '', 'pt', 'Portuguese'),
('pu', '', 'ps', 'Pushto'),
('qu', '', 'qu', 'Quechua'),
('ro', '', 'rm', 'Romansh'),
('ru', 'ro', 'ro', 'Romanian'),
('ru', '', 'rn', 'Rundi'),
('ru', '', 'ru', 'Russian'),
('sa', '', 'sg', 'Sango'),
('sa', '', 'sa', 'Sanskrit'),
('si', '', 'si', 'Sinhala'),
('sl', 'sl', 'sk', 'Slovak'),
('sl', '', 'sl', 'Slovenian'),
('sm', '', 'se', 'Northern Sami'),
('sm', '', 'sm', 'Samoan'),
('sn', '', 'sn', 'Shona'),
('sn', '', 'sd', 'Sindhi'),
('so', '', 'so', 'Somali'),
('so', '', 'st', 'Sotho'),
('sp', '', 'es', 'Spanish'),
('sr', '', 'sc', 'Sardinian'),
('sr', '', 'sr', 'Serbian'),
('ss', '', 'ss', 'Swati'),
('su', '', 'su', 'Sundanese'),
('sw', '', 'sw', 'Swahili'),
('sw', '', 'sv', 'Swedish'),
('ta', '', 'ty', 'Tahitian'),
('ta', '', 'ta', 'Tamil'),
('ta', '', 'tt', 'Tatar'),
('te', '', 'te', 'Telugu'),
('tg', '', 'tg', 'Tajik'),
('tg', '', 'tl', 'Tagalog'),
('th', '', 'th', 'Thai'),
('ti', 'bo', 'bo', 'Tibetan'),
('ti', '', 'ti', 'Tigrinya'),
('to', '', 'to', 'Tonga (Tonga Isl'),
('ts', '', 'tn', 'Tswana'),
('ts', '', 'ts', 'Tsonga'),
('tu', '', 'tk', 'Turkmen'),
('tu', '', 'tr', 'Turkish'),
('tw', '', 'tw', 'Twi'),
('ui', '', 'ug', 'Uighur'),
('uk', '', 'uk', 'Ukrainian'),
('ur', '', 'ur', 'Urdu'),
('uz', '', 'uz', 'Uzbek'),
('ve', '', 've', 'Venda'),
('vi', '', 'vi', 'Vietnamese'),
('vo', '', 'vo', 'Volap�k'),
('we', 'cy', 'cy', 'Welsh'),
('wl', '', 'wa', 'Walloon'),
('wo', '', 'wo', 'Wolof'),
('xh', '', 'xh', 'Xhosa'),
('yi', '', 'yi', 'Yiddish'),
('yo', '', 'yo', 'Yoruba'),
('zh', '', 'za', 'Zhuang'),
('zu', '', 'zu', 'Zulu');

--
-- Table structure for table `common_country`
--
DROP TABLE IF EXISTS `common_country`;
CREATE TABLE IF NOT EXISTS `common_country` (
  `name` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `iso2` char(2) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
  `iso3` char(3) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
  PRIMARY KEY (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `common_country`
--

INSERT INTO `common_country` (`name`, `iso2`, `iso3`) VALUES
('Afghanistan', 'AF', 'AFG'),
('Albania', 'AL', 'ALB'),
('Algeria', 'DZ', 'DZA'),
('Andorra', 'AD', 'AND'),
('Angola', 'AO', 'AGO'),
('Antigua and Barbuda', 'AG', 'ATG'),
('Argentina', 'AR', 'ARG'),
('Armenia', 'AM', 'ARM'),
('Australia', 'AU', 'AUS'),
('Austria', 'AT', 'AUT'),
('Azerbaijan', 'AZ', 'AZE'),
260
('Bahamas', 'BS', 'BHS'),
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
('Bahamas, The', 'BS', 'BHS'),
('Bahrain', 'BH', 'BHR'),
('Bangladesh', 'BD', 'BGD'),
('Barbados', 'BB', 'BRB'),
('Belarus', 'BY', 'BLR'),
('Belgium', 'BE', 'BEL'),
('Belize', 'BZ', 'BLZ'),
('Benin', 'BJ', 'BEN'),
('Bhutan', 'BT', 'BTN'),
('Bolivia', 'BO', 'BOL'),
('Bosnia and Herzegovina', 'BA', 'BIH'),
('Botswana', 'BW', 'BWA'),
('Brazil', 'BR', 'BRA'),
('Brunei', 'BN', 'BRN'),
('Bulgaria', 'BG', 'BGR'),
('Burkina Faso', 'BF', 'BFA'),
('Burundi', 'BI', 'BDI'),
('Cambodia', 'KH', 'KHM'),
('Cameroon', 'CM', 'CMR'),
('Canada', 'CA', 'CAN'),
('Cape Verde', 'CV', 'CPV'),
('Central African Republic', 'CF', 'CAF'),
('Chad', 'TD', 'TCD'),
('Chile', 'CL', 'CHL'),
285
('China', 'CN', 'CHN'),
286
287
288
289
290
291
('China, People''s Republic of', 'CN', 'CHN'),
('Colombia', 'CO', 'COL'),
('Comoros', 'KM', 'COM'),
('Congo, The Democratic Republic of the', 'CD', 'COD'),
('Congo, Republic of the', 'CG', 'COG'),
('Costa Rica', 'CR', 'CRI'),
292
293
('Ivory Coast', 'CI', 'CIV'),
('Cote d''Ivoire', 'CI', 'CIV'),
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
('Croatia', 'HR', 'HRV'),
('Cuba', 'CU', 'CUB'),
('Cyprus', 'CY', 'CYP'),
('Czech Republic', 'CZ', 'CZE'),
('Denmark', 'DK', 'DNK'),
('Djibouti', 'DJ', 'DJI'),
('Dominica', 'DM', 'DMA'),
('Dominican Republic', 'DO', 'DOM'),
('Ecuador', 'EC', 'ECU'),
('Egypt', 'EG', 'EGY'),
('El Salvador', 'SV', 'SLV'),
('Equatorial Guinea', 'GQ', 'GNQ'),
('Eritrea', 'ER', 'ERI'),
('Estonia', 'EE', 'EST'),
('Ethiopia', 'ET', 'ETH'),
('Fiji', 'FJ', 'FJI'),
('Finland', 'FI', 'FIN'),
('France', 'FR', 'FRA'),
('Gabon', 'GA', 'GAB'),
('Gambia, The', 'GM', 'GMB'),
('Georgia', 'GE', 'GEO'),
('Germany', 'DE', 'DEU'),
('Ghana', 'GH', 'GHA'),
('Greece', 'GR', 'GRC'),
('Grenada', 'GD', 'GRD'),
('Guatemala', 'GT', 'GTM'),
('Guinea', 'GN', 'GIN'),
('Guinea-Bissau', 'GW', 'GNB'),
('Guyana', 'GY', 'GUY'),
('Haiti', 'HT', 'HTI'),
('Honduras', 'HN', 'HND'),
('Hungary', 'HU', 'HUN'),
('Iceland', 'IS', 'ISL'),
('India', 'IN', 'IND'),
('Indonesia', 'ID', 'IDN'),
('Iran', 'IR', 'IRN'),
('Iraq', 'IQ', 'IRQ'),
('Ireland', 'IE', 'IRL'),
('Israel', 'IL', 'ISR'),
('Italy', 'IT', 'ITA'),
('Jamaica', 'JM', 'JAM'),
('Japan', 'JP', 'JPN'),
('Jordan', 'JO', 'JOR'),
337
('Hashemite Kingdom of Jordan', 'JO', 'JOR'),
338
339
340
341
342
('Kazakhstan', 'KZ', 'KAZ'),
('Kenya', 'KE', 'KEN'),
('Kiribati', 'KI', 'KIR'),
('Korea, North', 'KP', 'PRK'),
('Korea, South', 'KR', 'KOR'),
343
('Republic of Korea', 'KR', 'KOR'),
344
345
346
347
348
349
350
351
352
353
('Kuwait', 'KW', 'KWT'),
('Kyrgyzstan', 'KG', 'KGZ'),
('Laos', 'LA', 'LAO'),
('Latvia', 'LV', 'LVA'),
('Lebanon', 'LB', 'LBN'),
('Lesotho', 'LS', 'LSO'),
('Liberia', 'LR', 'LBR'),
('Libya', 'LY', 'LBY'),
('Liechtenstein', 'LI', 'LIE'),
('Lithuania', 'LT', 'LTU'),
354
('Republic of Lithuania', 'LT', 'LTU'),
355
356
357
358
359
360
361
362
363
364
365
366
367
368
('Luxembourg', 'LU', 'LUX'),
('Macedonia, Republic of', 'MK', 'MKD'),
('Madagascar', 'MG', 'MDG'),
('Malawi', 'MW', 'MWI'),
('Malaysia', 'MY', 'MYS'),
('Maldives', 'MV', 'MDV'),
('Mali', 'ML', 'MLI'),
('Malta', 'MT', 'MLT'),
('Marshall Islands', 'MH', 'MHL'),
('Mauritania', 'MR', 'MRT'),
('Mauritius', 'MU', 'MUS'),
('Mexico', 'MX', 'MEX'),
('Micronesia', 'FM', 'FSM'),
('Moldova', 'MD', 'MDA'),
369
('Republic of Moldova', 'MD', 'MDA'),
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
('Monaco', 'MC', 'MCO'),
('Mongolia', 'MN', 'MNG'),
('Montenegro', 'ME', 'MNE'),
('Morocco', 'MA', 'MAR'),
('Mozambique', 'MZ', 'MOZ'),
('Myanmar (Burma)', 'MM', 'MMR'),
('Namibia', 'NA', 'NAM'),
('Nauru', 'NR', 'NRU'),
('Nepal', 'NP', 'NPL'),
('Netherlands', 'NL', 'NLD'),
('New Zealand', 'NZ', 'NZL'),
('Nicaragua', 'NI', 'NIC'),
('Niger', 'NE', 'NER'),
('Nigeria', 'NG', 'NGA'),
('Norway', 'NO', 'NOR'),
('Oman', 'OM', 'OMN'),
('Pakistan', 'PK', 'PAK'),
('Palau', 'PW', 'PLW'),
('Panama', 'PA', 'PAN'),
('Papua New Guinea', 'PG', 'PNG'),
('Paraguay', 'PY', 'PRY'),
('Peru', 'PE', 'PER'),
('Philippines', 'PH', 'PHL'),
('Poland', 'PL', 'POL'),
('Portugal', 'PT', 'PRT'),
('Qatar', 'QA', 'QAT'),
('Romania', 'RO', 'ROU'),
397
('Russia', 'RU', 'RUS'),
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
('Russian Federation', 'RU', 'RUS'),
('Rwanda', 'RW', 'RWA'),
('Saint Kitts and Nevis', 'KN', 'KNA'),
('Saint Lucia', 'LC', 'LCA'),
('Saint Vincent and the Grenadines', 'VC', 'VCT'),
('Samoa', 'WS', 'WSM'),
('San Marino', 'SM', 'SMR'),
('Sao Tome and Principe', 'ST', 'STP'),
('Saudi Arabia', 'SA', 'SAU'),
('Senegal', 'SN', 'SEN'),
('Serbia', 'RS', 'SRB'),
('Seychelles', 'SC', 'SYC'),
('Sierra Leone', 'SL', 'SLE'),
('Singapore', 'SG', 'SGP'),
('Slovakia', 'SK', 'SVK'),
413
('Slovak Republic', 'SK', 'SVK'),
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
('Slovenia', 'SI', 'SVN'),
('Solomon Islands', 'SB', 'SLB'),
('Somalia', 'SO', 'SOM'),
('South Africa', 'ZA', 'ZAF'),
('Spain', 'ES', 'ESP'),
('Sri Lanka', 'LK', 'LKA'),
('Sudan', 'SD', 'SDN'),
('Suriname', 'SR', 'SUR'),
('Swaziland', 'SZ', 'SWZ'),
('Sweden', 'SE', 'SWE'),
('Switzerland', 'CH', 'CHE'),
('Syria', 'SY', 'SYR'),
('Tajikistan', 'TJ', 'TJK'),
('Tanzania, United Republic of', 'TZ', 'TZA'),
('Thailand', 'TH', 'THA'),
('Timor-Leste (East Timor)', 'TL', 'TLS'),
('Togo', 'TG', 'TGO'),
('Tonga', 'TO', 'TON'),
('Trinidad and Tobago', 'TT', 'TTO'),
('Tunisia', 'TN', 'TUN'),
('Turkey', 'TR', 'TUR'),
('Turkmenistan', 'TM', 'TKM'),
('Tuvalu', 'TV', 'TUV'),
('Uganda', 'UG', 'UGA'),
('Ukraine', 'UA', 'UKR'),
('United Arab Emirates', 'AE', 'ARE'),
('United Kingdom', 'GB', 'GBR'),
('United States', 'US', 'USA'),
('Uruguay', 'UY', 'URY'),
('Uzbekistan', 'UZ', 'UZB'),
('Vanuatu', 'VU', 'VUT'),
('Vatican City', 'VA', 'VAT'),
('Venezuela', 'VE', 'VEN'),
('Vietnam', 'VN', 'VNM'),
('Yemen', 'YE', 'YEM'),
('Zambia', 'ZM', 'ZMB'),
('Zimbabwe', 'ZW', 'ZWE'),
('Abkhazia', 'GE', 'GEO'),
452
('Taiwan', 'TW', 'TWN'),
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
('China, Republic of (Taiwan)', 'TW', 'TWN'),
('Nagorno-Karabakh', 'AZ', 'AZE'),
('Northern Cyprus', 'CY', 'CYP'),
('Pridnestrovie (Transnistria)', 'MD', 'MDA'),
('Somaliland', 'SO', 'SOM'),
('South Ossetia', 'GE', 'GEO'),
('Ashmore and Cartier Islands', 'AU', 'AUS'),
('Christmas Island', 'CX', 'CXR'),
('Cocos (Keeling) Islands', 'CC', 'CCK'),
('Coral Sea Islands', 'AU', 'AUS'),
('Heard Island and McDonald Islands', 'HM', 'HMD'),
('Norfolk Island', 'NF', 'NFK'),
('New Caledonia', 'NC', 'NCL'),
('French Polynesia', 'PF', 'PYF'),
('Mayotte', 'YT', 'MYT'),
('Saint Barthelemy', 'GP', 'GLP'),
('Saint Martin', 'GP', 'GLP'),
('Saint Pierre and Miquelon', 'PM', 'SPM'),
('Wallis and Futuna', 'WF', 'WLF'),
('French Southern and Antarctic Lands', 'TF', 'ATF'),
('Clipperton Island', 'PF', 'PYF'),
('Bouvet Island', 'BV', 'BVT'),
('Cook Islands', 'CK', 'COK'),
('Niue', 'NU', 'NIU'),
('Tokelau', 'TK', 'TKL'),
('Guernsey', 'GG', 'GGY'),
('Isle of Man', 'IM', 'IMN'),
('Jersey', 'JE', 'JEY'),
('Anguilla', 'AI', 'AIA'),
('Bermuda', 'BM', 'BMU'),
('British Indian Ocean Territory', 'IO', 'IOT'),
('British Virgin Islands', 'VG', 'VGB'),
('Cayman Islands', 'KY', 'CYM'),
('Falkland Islands (Islas Malvinas)', 'FK', 'FLK'),
('Gibraltar', 'GI', 'GIB'),
('Montserrat', 'MS', 'MSR'),
('Pitcairn Islands', 'PN', 'PCN'),
('Saint Helena', 'SH', 'SHN'),
('South Georgia & South Sandwich Islands', 'GS', 'SGS'),
('Turks and Caicos Islands', 'TC', 'TCA'),
('Northern Mariana Islands', 'MP', 'MNP'),
('Puerto Rico', 'PR', 'PRI'),
('American Samoa', 'AS', 'ASM'),
('Baker Island', 'UM', 'UMI'),
('Guam', 'GU', 'GUM'),
('Howland Island', 'UM', 'UMI'),
('Jarvis Island', 'UM', 'UMI'),
('Johnston Atoll', 'UM', 'UMI'),
('Kingman Reef', 'UM', 'UMI'),
('Midway Islands', 'UM', 'UMI'),
('Navassa Island', 'UM', 'UMI'),
('Palmyra Atoll', 'UM', 'UMI'),
('U.S. Virgin Islands', 'VI', 'VIR'),
('Wake Island', 'UM', 'UMI'),
('Hong Kong', 'HK', 'HKG'),
('Macau', 'MO', 'MAC'),
('Faroe Islands', 'FO', 'FRO'),
('Greenland', 'GL', 'GRL'),
('French Guiana', 'GF', 'GUF'),
('Guadeloupe', 'GP', 'GLP'),
('Martinique', 'MQ', 'MTQ'),
('Reunion', 'RE', 'REU'),
('Aland', 'AX', 'ALA'),
('Aruba', 'AW', 'ABW'),
('Netherlands Antilles', 'AN', 'ANT'),
('Svalbard', 'SJ', 'SJM'),
('Ascension', 'AC', 'ASC'),
('Tristan da Cunha', 'TA', 'TAA'),
('Australian Antarctic Territory', 'AQ', 'ATA'),
('Ross Dependency', 'AQ', 'ATA'),
('Peter I Island', 'AQ', 'ATA'),
('Queen Maud Land', 'AQ', 'ATA'),
('British Antarctic Territory', 'AQ', 'ATA');
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

--
-- Table structure for table `common_contactrange`
--

DROP TABLE IF EXISTS `common_contactrange`;
CREATE TABLE IF NOT EXISTS `common_contactrange` (
  `range` varchar(20) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
  `low` int(8) NOT NULL,
  `high` int(10) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `common_contactrange`
--

INSERT INTO `common_contactrange` (`range`, `low`, `high`) VALUES
('less than 250', 0, 250),
('250 to 1,000', 250, 1000),
('1,000 to 2,500', 1000, 2500),
('2,500 to 10,000', 2500, 10000),
('10,000 to 25,000', 10000, 25000),
('25,000 to 100,000', 25000, 100000),
('100,000 to 250,000', 100000, 250000),
('250,000 and up', 250000, 90000000);

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
--
-- Table structure for table `github_commit`
--

DROP TABLE IF EXISTS `github_commit`;
CREATE TABLE IF NOT EXISTS `github_commit` (
  `repository` varchar(100) CHARACTER SET ascii NOT NULL,
  `hash` char(40) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
  `author_login` varchar(100) CHARACTER SET ascii NOT NULL,
  `author_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `committer_login` varchar(100) CHARACTER SET ascii NOT NULL,
  `committer_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `message` varchar(1000) COLLATE utf8_unicode_ci DEFAULT NULL,
  UNIQUE KEY `hash` (`hash`),
  KEY `repository` (`repository`),
  KEY `author_login` (`author_login`),
  KEY `author_date` (`author_date`),
  KEY `committer_login` (`committer_login`),
  KEY `committer_date` (`committer_date`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `github_user`
--

DROP TABLE IF EXISTS `github_user`;
CREATE TABLE IF NOT EXISTS `github_user` (
  `id` int(11) NOT NULL,
  `login` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `company` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `email` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `location` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `avatar_url` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`login`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `jira_issue`
--

DROP TABLE IF EXISTS `jira_issue`;
CREATE TABLE IF NOT EXISTS `jira_issue` (
  `jira_id` int(11) NOT NULL COMMENT 'Needed only for proper display in PHPMyAdmin',
  `project` varchar(8) COLLATE utf8_unicode_ci NOT NULL,
  `issue` varchar(16) COLLATE utf8_unicode_ci NOT NULL,
  `summary` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  `type` varchar(16) COLLATE utf8_unicode_ci DEFAULT NULL,
  `priority` varchar(16) COLLATE utf8_unicode_ci DEFAULT NULL,
cividesk's avatar
cividesk committed
605
  `security` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
606
607
608
609
610
611
612
613
  `reporter` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `assignee` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `status` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
  `resolution` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `created` datetime NOT NULL,
  `updated` datetime DEFAULT NULL,
  `resolved` datetime DEFAULT NULL,
  PRIMARY KEY (`jira_id`),
cividesk's avatar
cividesk committed
614
  KEY `project` (`project`),
615
  UNIQUE KEY `issue` (`issue`),
cividesk's avatar
cividesk committed
616
617
618
  KEY `type` (`type`),
  KEY `priority` (`priority`),
  KEY `security` (`security`),
619
620
621
622
  KEY `reporter` (`reporter`),
  KEY `assignee` (`assignee`),
  KEY `status` (`status`),
  KEY `resolution` (`resolution`),
cividesk's avatar
cividesk committed
623
624
625
  KEY `created` (`created`),
  KEY `updated` (`updated`),
  KEY `resolved` (`resolved`)
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
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `jira_version`
--

DROP TABLE IF EXISTS `jira_version`;
CREATE TABLE IF NOT EXISTS `jira_version` (
  `issue` varchar(16) COLLATE utf8_unicode_ci NOT NULL,
  `type` enum('Affects','Fix') COLLATE utf8_unicode_ci NOT NULL,
  `version` varchar(16) COLLATE utf8_unicode_ci NOT NULL,
  KEY `issue` (`issue`),
  KEY `version` (`version`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `pingback_extension`
--

DROP TABLE IF EXISTS `pingback_extension`;
CREATE TABLE IF NOT EXISTS `pingback_extension` (
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `num_sites` int(11) unsigned DEFAULT NULL,
  PRIMARY KEY (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `pingback_site`
--

DROP TABLE IF EXISTS `pingback_site`;
CREATE TABLE IF NOT EXISTS `pingback_site` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `hash` varchar(32) COLLATE ascii_bin DEFAULT NULL,
  `version` text COLLATE ascii_bin,
  `lang` text COLLATE ascii_bin,
  `uf` text COLLATE ascii_bin,
  `ufv` text COLLATE ascii_bin,
670
671
  `civi_country` VARCHAR(64) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
  `geoip_country` VARCHAR(50) COLLATE ascii_bin DEFAULT NULL,
cividesk's avatar
cividesk committed
672
  `DB` char(2) COLLATE ascii_bin DEFAULT NULL,
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
  `MySQL` text COLLATE ascii_bin,
  `PHP` text COLLATE ascii_bin,
  `first_ping_id` bigint(20) unsigned NOT NULL,
  `first_timestamp` timestamp NULL DEFAULT NULL,
  `last_ping_id` bigint(20) unsigned NOT NULL,
  `last_timestamp` timestamp NULL DEFAULT NULL,
  `num_pings` int(11) unsigned DEFAULT '1',
  `is_active` int(1) unsigned DEFAULT NULL,
  `Contact` int(11) unsigned DEFAULT NULL,
  `Contribution` int(11) unsigned DEFAULT NULL,
  `Participant` int(11) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `hash` (`hash`),
  KEY `first_timestamp` (`first_timestamp`),
  KEY `last_ping_id` (`last_ping_id`),
  KEY `last_timestamp` (`last_timestamp`),
cividesk's avatar
cividesk committed
689
690
  KEY `is_active` (`is_active`),
  KEY `DB` (`DB`)
691
692
693
694
) ENGINE=MyISAM  DEFAULT CHARSET=ascii COLLATE=ascii_bin AUTO_INCREMENT=120191 ;

-- --------------------------------------------------------

cividesk's avatar
cividesk committed
695
696
697
698
699
700
701
702
703
704
705
706
--
-- Table structure for table `pingback_cohort`
--

CREATE TABLE IF NOT EXISTS `pingback_cohort` (
  `cohort` char(7) COLLATE ascii_bin NOT NULL,
  `month` char(7) COLLATE ascii_bin NOT NULL,
  `num_sites` int(11) unsigned NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ascii COLLATE=ascii_bin;

-- --------------------------------------------------------

707
708
709
710
711
712
713
714
715
716
717
--
-- Table structure for table `sourceforge_download`
--

DROP TABLE IF EXISTS `sourceforge_download`;
CREATE TABLE IF NOT EXISTS `sourceforge_download` (
  `type` char(1) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
  `label` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `value` int(10) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

cividesk's avatar
cividesk committed
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
-- --------------------------------------------------------

--
-- Table structure for table `stackexchange_history`
--

DROP TABLE IF EXISTS `stackexchange_history`;
CREATE TABLE IF NOT EXISTS `stackexchange_history` (
  `ts_created` TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
  `total_users` INT(10) NOT NULL,
  `total_badges` INT(10) NOT NULL,
  `total_questions` INT(10) NOT NULL,
  `total_answers` INT(10) NOT NULL,
  `total_unanswered` INT(10) NOT NULL,
  `total_accepted` INT(10) NOT NULL,
  `total_votes` INT(10) NOT NULL,
  `total_comments` INT(10) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `stackexchange_users`
--

DROP TABLE IF EXISTS `stackexchange_users`;
CREATE TABLE IF NOT EXISTS `stackexchange_users` (
  `account_id`  INT(10) NOT NULL,
  `display_name` VARCHAR(64) NOT NULL,
  `user_type` VARCHAR(32) NOT NULL,
  `location` VARCHAR(255) NULL,
  `reputation` INT(10) NOT NULL,
  `accept_rate` INT(10) NULL,
  `badges_gold` INT(10) NOT NULL,
  `badges_silver` INT(10) NOT NULL,
  `badges_bronze` INT(10) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

758
759
760
/*!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 */;