Assembla home | Assembla project page
 

root/mess/webrocket.sql

Revision 49, 53.6 kB (checked in by digitalspaghetti, 1 year ago)

Undoing changes commited after r46

Line 
1 -- phpMyAdmin SQL Dump
2 -- version 2.9.1.1-Debian-2ubuntu1
3 -- http://www.phpmyadmin.net
4 --
5 -- Host: localhost
6 -- Generation Time: Jun 04, 2007 at 11:22 PM
7 -- Server version: 5.0.38
8 -- PHP Version: 5.2.1
9 --
10 -- Database: `webrocket`
11 --
12
13 -- --------------------------------------------------------
14
15 --
16 -- Table structure for table `cake_sessions`
17 --
18
19 CREATE TABLE `cake_sessions` (
20   `id` varchar(255) NOT NULL default '',
21   `data` text,
22   `expires` int(11) default NULL,
23   PRIMARY KEY  (`id`)
24 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
25
26 --
27 -- Dumping data for table `cake_sessions`
28 --
29
30 INSERT INTO `cake_sessions` (`id`, `data`, `expires`) VALUES
31 ('fe8331bf8cc87191dd20a10e1b69cfce', 'Config|a:3:{s:9:"userAgent";s:32:"268042ced84746041c45b952d0ba6110";s:4:"time";i:1180995396;s:4:"rand";i:205194849;}othAuth|a:1:{s:41:"ADYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi";a:2:{s:4:"User";a:17:{s:2:"id";s:1:"1";s:8:"username";s:14:"WebrocketAdmin";s:6:"passwd";s:32:"fdfedc01c66e9ea2817508ca1097df2f";s:4:"name";s:15:"Webrocket Admin";s:5:"email";s:19:"admin@webrocket.com";s:10:"last_visit";s:19:"2007-06-04 16:00:00";s:8:"group_id";s:1:"1";s:10:"profile_id";s:1:"1";s:11:"posts_count";s:1:"4";s:11:"pages_count";s:1:"2";s:14:"comments_count";s:1:"2";s:12:"videos_count";s:1:"0";s:6:"active";s:1:"1";s:7:"created";s:19:"2007-03-26 00:00:00";s:8:"modified";s:19:"0000-00-00 00:00:00";s:10:"login_hash";s:32:"9959667d54c2bb525ab6b832bdd90c14";s:7:"hashkey";s:41:"ADYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi";}s:5:"Group";a:8:{s:2:"id";s:1:"1";s:4:"name";s:11:"Site Admins";s:5:"level";s:3:"999";s:8:"redirect";s:0:"";s:9:"perm_type";s:5:"allow";s:7:"created";s:19:"2007-03-26 00:00:00";s:8:"modified";s:19:"0000-00-00 00:00:00";s:10:"Permission";a:1:{i:0;a:4:{s:2:"id";s:1:"1";s:4:"name";s:1:"*";s:7:"created";s:19:"2007-03-26 00:00:00";s:8:"modified";s:19:"0000-00-00 00:00:00";}}}}}Message|a:0:{}', 1180995396);
32
33 -- --------------------------------------------------------
34
35 --
36 -- Table structure for table `comments`
37 --
38
39 CREATE TABLE `comments` (
40   `id` int(8) unsigned NOT NULL auto_increment,
41   `post_id` int(8) unsigned NOT NULL,
42   `user_id` int(8) unsigned NOT NULL,
43   `title` varchar(150) NOT NULL,
44   `body` text NOT NULL,
45   `published` tinyint(1) NOT NULL,
46   `created` datetime NOT NULL,
47   `modified` datetime NOT NULL,
48   PRIMARY KEY  (`id`)
49 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
50
51 --
52 -- Dumping data for table `comments`
53 --
54
55 INSERT INTO `comments` (`id`, `post_id`, `user_id`, `title`, `body`, `published`, `created`, `modified`) VALUES
56 (1, 1, 1, 'Test', 'Test', 1, '2007-05-02 17:48:17', '2007-05-02 17:48:17'),
57 (2, 1, 1, 'TestT', 'Test', 1, '2007-05-02 17:51:10', '2007-05-02 17:51:10');
58
59 -- --------------------------------------------------------
60
61 --
62 -- Table structure for table `config_categories`
63 --
64
65 CREATE TABLE `config_categories` (
66   `id` int(10) unsigned NOT NULL auto_increment,
67   `name` varchar(50) NOT NULL,
68   `descname` varchar(50) NOT NULL,
69   `desc` varchar(255) NOT NULL,
70   PRIMARY KEY  (`id`)
71 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;
72
73 --
74 -- Dumping data for table `config_categories`
75 --
76
77 INSERT INTO `config_categories` (`id`, `name`, `descname`, `desc`) VALUES
78 (1, 'general', 'Site Options', 'These are the main options that control the site'),
79 (2, 'video', 'Video Options', 'These are options that control video on the site'),
80 (3, 'post', '', '');
81
82 -- --------------------------------------------------------
83
84 --
85 -- Table structure for table `configs`
86 --
87
88 CREATE TABLE `configs` (
89   `id` int(10) unsigned NOT NULL auto_increment,
90   `config_category_id` int(10) unsigned NOT NULL,
91   `key` varchar(50) NOT NULL,
92   `value` varchar(50) NOT NULL,
93   PRIMARY KEY  (`id`)
94 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=14 ;
95
96 --
97 -- Dumping data for table `configs`
98 --
99
100 INSERT INTO `configs` (`id`, `config_category_id`, `key`, `value`) VALUES
101 (1, 1, 'sitelogo', 'nhm-logo-90px.gif'),
102 (2, 1, 'enable_comments', '0'),
103 (3, 1, 'enable_captcha', '0'),
104 (4, 1, 'siteurl', 'http://webrocket'),
105 (5, 1, 'sitedesc', 'Built with CakePHP'),
106 (6, 2, 'width', '640'),
107 (7, 2, 'height', '480'),
108 (8, 2, 'samplerate', '22050'),
109 (9, 2, 'bitrate', '32'),
110 (10, 1, 'sitename', 'Web Rocket'),
111 (11, 3, 'post_index_limit', '5'),
112 (12, 3, 'post_index_order', 'DESC'),
113 (13, 3, 'post_index_cachetime', '1 hour');
114
115 -- --------------------------------------------------------
116
117 --
118 -- Table structure for table `copyrights`
119 --
120
121 CREATE TABLE `copyrights` (
122   `id` int(8) unsigned NOT NULL auto_increment,
123   `title` varchar(255) NOT NULL,
124   `body` text NOT NULL,
125   PRIMARY KEY  (`id`)
126 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=7 ;
127
128 --
129 -- Dumping data for table `copyrights`
130 --
131
132 INSERT INTO `copyrights` (`id`, `title`, `body`) VALUES
133 (1, 'Creative Commons Attribution 3.0', '<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">\r\n<img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by/3.0/88x31.png" />\r\n</a>\r\n<br />This work is licensed under a \r\n<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 License</a>.'),
134 (2, 'Creative Commons Attribution-Share Alike 3.0', '<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">\r\n<img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-sa/3.0/88x31.png" />\r\n</a>\r\n<br />This work is licensed under a \r\n<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-Share Alike 3.0 License</a>.'),
135 (3, 'Creative Commons Attribution-No Derivative Works 3.0', '<a rel="license" href="http://creativecommons.org/licenses/by-nd/3.0/">\r\n<img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nd/3.0/88x31.png" />\r\n</a>\r\n<br />This work is licensed under a \r\n<a rel="license" href="http://creativecommons.org/licenses/by-nd/3.0/">Creative Commons Attribution-No Derivative Works 3.0 License</a>.'),
136 (4, 'Creative Commons Attribution-Noncommercial 3.0', '<a rel="license" href="http://creativecommons.org/licenses/by-nc/3.0/">\r\n<img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc/3.0/88x31.png" />\r\n</a>\r\n<br />This work is licensed under a \r\n<a rel="license" href="http://creativecommons.org/licenses/by-nc/3.0/">Creative Commons Attribution-Noncommercial 3.0 License</a>.'),
137 (5, 'Creative Commons Attribution-Noncommercial-Share Alike 3.0', '<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">\r\n<img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png" />\r\n</a>\r\n<br />This work is licensed under a \r\n<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution-Noncommercial-Share Alike 3.0 License</a>.'),
138 (6, 'Creative Commons Attribution-Noncommercial-No Derivative Works 3.0', '<a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/">\r\n<img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-nd/3.0/88x31.png" />\r\n</a>\r\n<br />This work is licensed under a \r\n<a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/">Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License</a>.');
139
140 -- --------------------------------------------------------
141
142 --
143 -- Table structure for table `countries`
144 --
145
146 CREATE TABLE `countries` (
147   `id` smallint(6) NOT NULL auto_increment,
148   `twoAbrev` char(2) collate utf8_unicode_ci NOT NULL,
149   `threeAbrev` char(3) collate utf8_unicode_ci NOT NULL,
150   `code` int(11) NOT NULL default '0',
151   `name` varchar(50) collate utf8_unicode_ci NOT NULL,
152   PRIMARY KEY  (`id`)
153 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=240 ;
154
155 --
156 -- Dumping data for table `countries`
157 --
158
159 INSERT INTO `countries` (`id`, `twoAbrev`, `threeAbrev`, `code`, `name`) VALUES
160 (1, 'GB', 'GBR', 826, 'United Kingdom'),
161 (2, 'AL', 'ALB', 8, 'Albania'),
162 (3, 'DZ', 'DZA', 12, 'Algeria'),
163 (4, 'AS', 'ASM', 16, 'American Samoa'),
164 (5, 'AD', 'AND', 20, 'Andorra'),
165 (6, 'AO', 'AGO', 24, 'Angola'),
166 (7, 'AI', 'AIA', 660, 'Anguilla'),
167 (8, 'AQ', 'ATA', 10, 'Anarctica'),
168 (9, 'AG', 'ATG', 28, 'Antigua and Barbuda'),
169 (10, 'AR', 'ARG', 32, 'Argentina'),
170 (11, 'AM', 'ARM', 51, 'Armenia'),
171 (12, 'AW', 'ABW', 533, 'Aruba'),
172 (13, 'AU', 'AUS', 36, 'Australia'),
173 (14, 'AT', 'AUT', 40, 'Austria'),
174 (15, 'AZ', 'AZE', 31, 'Azerbaijan'),
175 (16, 'BS', 'BHS', 44, 'Bahamas'),
176 (17, 'BH', 'BHR', 48, 'Bahrain'),
177 (18, 'BD', 'BGD', 50, 'Bangladesh'),
178 (19, 'BB', 'BRB', 52, 'Barbados'),
179 (20, 'BY', 'BLR', 112, 'Belarus'),
180 (21, 'BE', 'BEL', 56, 'Belgiun'),
181 (22, 'BZ', 'BLZ', 84, 'Belize'),
182 (23, 'BJ', 'BEN', 204, 'Benin'),
183 (24, 'BM', 'BMU', 60, 'Bermuda'),
184 (25, 'BT', 'BTN', 64, 'Bhutan'),
185 (26, 'BO', 'BOL', 68, 'Bolivia'),
186 (27, 'BA', 'BIH', 70, 'Bosnia & Herzegowina'),
187 (28, 'BW', 'BWA', 72, 'Botswana'),
188 (29, 'BV', 'BVT', 74, 'Bouvet Is.'),
189 (30, 'BR', 'BRA', 76, 'Brazil'),
190 (31, 'IO', 'IOT', 86, 'Brit. Indian Ocean Terr.'),
191 (32, 'BN', 'BRN', 96, 'Brunei Darussalam'),
192 (33, 'BG', 'BGR', 100, 'Bulgaria'),
193 (34, 'BF', 'BFA', 854, 'Burkina Faso'),
194 (35, 'BI', 'BDI', 108, 'Burundi'),
195 (36, 'KH', 'KHM', 116, 'Cambodia'),
196 (37, 'CM', 'CMR', 120, 'Cameron'),
197 (38, 'CA', 'CAN', 124, 'Canada'),
198 (39, 'CV', 'CPV', 132, 'Cape Verde'),
199 (40, 'KY', 'CYM', 136, 'Cayman Islands'),
200 (41, 'CF', 'CAF', 140, 'Central African Rep.'),
201 (42, 'TD', 'TCD', 148, 'Chad'),
202 (43, 'CL', 'CHL', 152, 'Chile'),
203 (44, 'CN', 'CHN', 156, 'China'),
204 (45, 'CX', 'CXR', 162, 'Christmas Island'),
205 (46, 'CC', 'CCK', 166, 'Cocos (Keeling) Is.'),
206 (47, 'CO', 'COL', 170, 'Colombia'),
207 (48, 'KM', 'COM', 174, 'Comoros'),
208 (49, 'CG', 'COG', 178, 'Congo'),
209 (50, 'CD', 'COD', 180, 'Congo, Democratic Rep.'),
210 (51, 'CK', 'COK', 184, 'Cook Islands'),
211 (52, 'CR', 'CRI', 188, 'Costa Rica'),
212 (53, 'CI', 'CIV', 384, 'Cote D''ivoire'),
213 (54, 'HR', 'HRV', 191, 'Croatia (Hrvatska)'),
214 (55, 'CU', 'CUB', 192, 'Cuba'),
215 (56, 'CY', 'CYP', 196, 'Cyprus'),
216 (57, 'CZ', 'CZE', 203, 'Czech Republic'),
217 (58, 'DK', 'DNK', 208, 'Denmark'),
218 (59, 'DJ', 'DJI', 262, 'Djibouti'),
219 (60, 'DM', 'DMA', 212, 'Dominica'),
220 (61, 'DO', 'DOM', 214, 'Dominican Republic'),
221 (62, 'TP', 'TMP', 626, 'East Timor'),
222 (63, 'EC', 'ECU', 218, 'Ecuador'),
223 (64, 'EG', 'EGY', 818, 'Egypt'),
224 (65, 'SV', 'SLV', 222, 'El Salvador'),
225 (66, 'GQ', 'GNQ', 226, 'Equatorial Guinea'),
226 (67, 'ER', 'ERI', 232, 'Eritrea'),
227 (68, 'EE', 'EST', 233, 'Estonia'),
228 (69, 'ET', 'ETH', 231, 'Ethiopia'),
229 (70, 'FK', 'FLK', 238, 'Falkland Is.(Malvinas)'),
230 (71, 'FO', 'FRO', 234, 'Faroe Islands'),
231 (72, 'FJ', 'FJI', 242, 'Fiji'),
232 (73, 'FI', 'FIN', 246, 'Finland'),
233 (74, 'FR', 'FRA', 250, 'France'),
234 (75, 'FX', 'FXX', 249, 'France, Metro.'),
235 (76, 'GF', 'GUF', 254, 'French Guiana'),
236 (77, 'PF', 'PYF', 258, 'French Polynesia'),
237 (78, 'TF', 'ATF', 260, 'French South Terr.'),
238 (79, 'GA', 'GAB', 266, 'Gabon'),
239 (80, 'GM', 'GMB', 270, 'Gambia'),
240 (81, 'GE', 'GEO', 268, 'Georgia'),
241 (82, 'DE', 'DEU', 276, 'Germany'),
242 (83, 'GH', 'GHA', 288, 'Ghana'),
243 (84, 'GI', 'GIB', 292, 'Gibraltar'),
244 (85, 'GR', 'GRC', 300, 'Greece'),
245 (86, 'GL', 'GRL', 304, 'Greenland'),
246 (87, 'GD', 'GRD', 308, 'Grenada'),
247 (88, 'GP', 'GLP', 312, 'Guadeloupe'),
248 (89, 'GU', 'GUM', 316, 'Guam'),
249 (90, 'GT', 'GTM', 320, 'Guatemala'),
250 (91, 'GN', 'GIN', 324, 'Guinea'),
251 (92, 'GW', 'GNB', 624, 'Guinea-Bissau'),
252 (93, 'GY', 'GUY', 328, 'Guyana'),
253 (94, 'HT', 'HTI', 332, 'Haiti'),
254 (95, 'HM', 'HMD', 334, 'Heard & Mc Donald Is.'),
255 (96, 'VA', 'VAT', 336, 'Holy See(Vatican City St.)'),
256 (97, 'HN', 'HND', 340, 'Honduras'),
257 (98, 'HK', 'HKG', 344, 'Hong Kong'),
258 (99, 'HU', 'HUN', 348, 'Hungary'),
259 (100, 'IS', 'ISL', 352, 'Iceland'),
260 (101, 'IN', 'IND', 356, 'India'),
261 (102, 'ID', 'IDN', 360, 'Indonesia'),
262 (103, 'IR', 'IRN', 364, 'Iran (Islamic Rep.)'),
263 (104, 'IQ', 'IRQ', 368, 'Iraq'),
264 (105, 'IE', 'IRL', 372, 'Ireland'),
265 (106, 'IL', 'ISR', 376, 'Israel'),
266 (107, 'IT', 'ITA', 380, 'Italy'),
267 (108, 'JM', 'JAM', 388, 'Jamaica'),
268 (109, 'JP', 'JPN', 392, 'Japan'),
269 (110, 'JO', 'JOR', 400, 'Jordan'),
270 (111, 'KZ', 'KAZ', 398, 'Kazakhstan'),
271 (112, 'KE', 'KEN', 404, 'Kenya'),
272 (113, 'KI', 'KIR', 296, 'Kiribati'),
273 (114, 'KP', 'PRK', 408, 'Korea, Dem. People''s Rep.'),
274 (115, 'KR', 'KOR', 410, 'Korea, Rep.'),
275 (116, 'KW', 'KWT', 414, 'Kuwait'),
276 (117, 'KG', 'KGZ', 417, 'Kyrgyzstan'),
277 (118, 'LA', 'LAO', 418, 'Lao People''s Dem. Rep.'),
278 (119, 'LV', 'LVA', 428, 'Latvia'),
279 (120, 'LB', 'LBN', 422, 'Lebanon'),
280 (121, 'LS', 'LSO', 426, 'Lesotho'),
281 (122, 'LR', 'LBR', 430, 'Liberia'),
282 (123, 'LY', 'LBY', 434, 'Libyan Arab Jamahiriya'),
283 (124, 'LI', 'LIE', 438, 'Liechtenstein'),
284 (125, 'LT', 'LTU', 440, 'Lithuania'),
285 (126, 'LU', 'LUX', 442, 'Luxembourg'),
286 (127, 'MO', 'MAC', 446, 'Macau'),
287 (128, 'MK', 'MKD', 807, 'Macedonia, Frmr. Yugoslav Rep.'),
288 (129, 'MG', 'MDG', 450, 'Madagascar'),
289 (130, 'MW', 'MWI', 454, 'Malawi'),
290 (131, 'MY', 'MYS', 458, 'Malaysia'),
291 (132, 'MV', 'MDV', 462, 'Maldives'),
292 (133, 'ML', 'MLI', 466, 'Mali'),
293 (134, 'MT', 'MLT', 470, 'Malta'),
294 (135, 'MH', 'MHL', 584, 'Marshall Is.'),
295 (136, 'MQ', 'MTQ', 474, 'Martinique'),
296 (137, 'MR', 'MRT', 478, 'Mauritania'),
297 (138, 'MU', 'MUS', 480, 'Mauritius'),
298 (139, 'YT', 'MYT', 175, 'Mayotte'),
299 (140, 'MX', 'MEX', 484, 'Mexico'),
300 (141, 'FM', 'FSM', 583, 'Micronesia, Fed. St.'),
301 (142, 'MD', 'MDA', 498, 'Moldova, Rep.'),
302 (143, 'MC', 'MCO', 492, 'Monaco'),
303 (144, 'MN', 'MNG', 496, 'Mongolia'),
304 (145, 'MS', 'MSR', 500, 'Montserrat'),
305 (146, 'MA', 'MAR', 504, 'Morocco'),
306 (147, 'MZ', 'MOZ', 508, 'Mozambique'),
307 (148, 'MM', 'MMR', 104, 'Myanmar'),
308 (149, 'NA', 'NAM', 516, 'Namibia'),
309 (150, 'NR', 'NRU', 520, 'Nauru'),
310 (151, 'NP', 'NPL', 524, 'Nepal'),
311 (152, 'NL', 'NLD', 528, 'Netherlands'),
312 (153, 'AN', 'ANT', 530, 'Netherlands Antilles'),
313 (154, 'NC', 'NCL', 540, 'New Caledonia'),
314 (155, 'NZ', 'NZL', 554, 'New Zealand'),
315 (156, 'NI', 'NIC', 558, 'Nicaragua'),
316 (157, 'NE', 'NER', 562, 'Niger'),
317 (158, 'NG', 'NGA', 566, 'Nigeria'),
318 (159, 'NU', 'NIU', 570, 'Niue'),
319 (160, 'NF', 'NFK', 574, 'Norfolk Island'),
320 (161, 'MP', 'MNP', 580, 'Norhtern Mariana Is.'),
321 (162, 'NO', 'NOR', 578, 'Norway'),
322 (163, 'OM', 'OMN', 512, 'Oman'),
323 (164, 'PK', 'PAK', 586, 'Pakistan'),
324 (165, 'PW', 'PLW', 585, 'Palau'),
325 (166, 'PS', 'PSE', 275, 'Palestinian Terr.'),
326 (167, 'PA', 'PAN', 591, 'Panama'),
327 (168, 'PG', 'PNG', 598, 'Papua New Guinea'),
328 (169, 'PY', 'PRY', 600, 'Paraguay'),
329 (170, 'PE', 'PER', 604, 'Peru'),
330 (171, 'PH', 'PHL', 608, 'Philippines'),
331 (172, 'PN', 'PCN', 612, 'Pitcairn'),
332 (173, 'PL', 'POL', 616, 'Poland'),
333 (174, 'PT', 'PRT', 620, 'Portugal'),
334 (175, 'PR', 'PRI', 630, 'Puerto Rico'),
335 (176, 'QA', 'QAT', 634, 'Qatar'),
336 (177, 'RE', 'REU', 638, 'Reunion'),
337 (178, 'RO', 'ROM', 642, 'Romain'),
338 (179, 'RU', 'RUS', 643, 'Russian Federation'),
339 (180, 'RW', 'RWA', 646, 'Rwanda'),
340 (181, 'KN', 'KNA', 659, 'Saint Kitts & Nevis'),
341 (182, 'LC', 'LCA', 662, 'Saint Lucia'),
342 (183, 'VC', 'VCT', 670, 'Saint Vincent & The Grenadines'),
343 (184, 'WS', 'WSM', 882, 'Samoa'),
344 (185, 'SM', 'SMR', 674, 'San Marino'),
345 (186, 'ST', 'STP', 678, 'Sao Tome Principe'),
346 (187, 'SA', 'SAU', 682, 'Saudi Arabia'),
347 (188, 'SN', 'SEN', 686, 'Senegal'),
348 (189, 'SC', 'SYC', 690, 'Seychelles'),
349 (190, 'SL', 'SLE', 694, 'Sierra Leone'),
350 (191, 'SG', 'SGP', 702, 'Singapore'),
351 (192, 'SK', 'SVK', 703, 'Slovakia (Slovak Rep.)'),
352 (193, 'SI', 'SVN', 705, 'Slovenia'),
353 (194, 'SB', 'SLB', 90, 'Solomon Islands'),
354 (195, 'SO', 'SOM', 706, 'Somalia'),
355 (196, 'ZA', 'ZAF', 710, 'South Africa'),
356 (197, 'GS', 'SGS', 239, 'S. Georgia & The S. Sandwich Is.'),
357 (198, 'ES', 'ESP', 724, 'Spain'),
358 (199, 'LK', 'LKA', 144, 'Sri Lanka'),
359 (200, 'SH', 'SHN', 654, 'St. Helena'),
360 (201, 'PM', 'SPM', 666, 'St. Pierre & Miquelon'),
361 (202, 'SD', 'SDN', 736, 'Sudan'),
362 (203, 'SR', 'SUR', 740, 'Suriname'),
363 (204, 'SJ', 'SJM', 744, 'Svalbard & Jan Mayen Is.'),
364 (205, 'SZ', 'SWZ', 748, 'Swaziland'),
365 (206, 'SE', 'SWE', 752, 'Sweden'),
366 (207, 'CH', 'CHE', 756, 'Switzerland'),
367 (208, 'SY', 'SYR', 760, 'Syrian Arab Rep.'),
368 (209, 'TW', 'TWN', 158, 'Taiwan, Prov. of China'),
369 (210, 'TJ', 'TJK', 762, 'Tajikistan'),
370 (211, 'TZ', 'TZA', 834, 'Tanzania, United Rep.'),
371 (212, 'TH', 'THA', 764, 'Thailand'),
372 (213, 'TG', 'TGO', 768, 'Togo'),
373 (214, 'TK', 'TKL', 772, 'Tokelau'),
374 (215, 'TO', 'TON', 776, 'Tonga'),
375 (216, 'TT', 'TTO', 780, 'Trinidad & Tobago'),
376 (217, 'TN', 'TUN', 788, 'Tunisia'),
377 (218, 'TR', 'TUR', 792, 'Turkey'),
378 (219, 'TM', 'TKM', 795, 'Turkmenistan'),
379 (220, 'TC', 'TCA', 796, 'Turks & Caicos Is.'),
380 (221, 'TV', 'TUV', 798, 'Tuvalu'),
381 (222, 'UG', 'UGA', 800, 'Uganda'),
382 (223, 'UA', 'UKR', 804, 'Ukraine'),
383 (224, 'AE', 'ARE', 784, 'United Arab Emirates'),
384 (225, 'US', 'USA', 840, 'United States'),
385 (226, 'UM', 'UMI', 581, 'U.S. Minor Outlying Is.'),
386 (227, 'UY', 'URY', 858, 'Uruguay'),
387 (228, 'UZ', 'UZB', 860, 'Uzbekistan'),
388 (229, 'VU', 'VUT', 548, 'Vanuatu'),
389 (230, 'VE', 'VEN', 862, 'Venezuela'),
390 (231, 'VN', 'VNM', 704, 'Vietnam'),
391 (232, 'VG', 'VGB', 92, 'Virgin Is. (British)'),
392 (233, 'VI', 'VIR', 850, 'Virgin Is. (U.S.)'),
393 (234, 'WF', 'WLF', 876, 'Wallis & Futuna Is.'),
394 (235, 'EH', 'ESH', 732, 'Western Sahara'),
395 (236, 'YE', 'YEM', 887, 'Yemen'),
396 (237, 'YU', 'YUG', 891, 'Yugoslavia'),
397 (238, 'ZM', 'ZMB', 894, 'Zambia'),
398 (239, 'ZW', 'ZWE', 716, 'Zimbabwe');
399
400 -- --------------------------------------------------------
401
402 --
403 -- Table structure for table `event_types`
404 --
405
406 CREATE TABLE `event_types` (
407   `id` int(8) unsigned NOT NULL auto_increment,
408   `title` varchar(50) NOT NULL,
409   PRIMARY KEY  (`id`)
410 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
411
412 --
413 -- Dumping data for table `event_types`
414 --
415
416 INSERT INTO `event_types` (`id`, `title`) VALUES
417 (1, 'Gig'),
418 (2, 'Release'),
419 (3, 'Festival'),
420 (4, 'In-Store');
421
422 -- --------------------------------------------------------
423
424 --
425 -- Table structure for table `events`
426 --
427
428 CREATE TABLE `events` (
429   `id` int(8) unsigned NOT NULL auto_increment,
430   `venue` varchar(255) NOT NULL,
431   `address` varchar(255) default NULL,
432   `city` varchar(255) NOT NULL,
433   `country_id` int(3) NOT NULL,
434   `postcode` varchar(255) NOT NULL,
435   `event_type_id` int(8) unsigned NOT NULL,
436   `event_date` date NOT NULL,
437   `event_time` time default NULL,
438   `event_url` varchar(255) default NULL,
439   `notes` text,
440   `tags` varchar(255) NOT NULL,
441   `user_id` int(8) unsigned NOT NULL,
442   `subject_id` int(8) unsigned NOT NULL,
443   `published` tinyint(1) NOT NULL,
444   `created` datetime NOT NULL,
445   `modified` datetime NOT NULL,
446   PRIMARY KEY  (`id`)
447 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
448
449 --
450 -- Dumping data for table `events`
451 --
452
453 INSERT INTO `events` (`id`, `venue`, `address`, `city`, `country_id`, `postcode`, `event_type_id`, `event_date`, `event_time`, `event_url`, `notes`, `tags`, `user_id`, `subject_id`, `published`, `created`, `modified`) VALUES
454 (1, 'No Half Measures', '93-97 St Georges Studios', 'Glasgow', 1, 'G3 6LA', 1, '2007-05-31', '14:00:21', '', 'sfsadfdsfsd', 'Gig, No Half Measures', 0, 1, 1, '2007-05-09 14:38:21', '2007-05-17 13:12:22'),
455 (2, 'Tane''s Holiday Start', '20/4 Dalgety Ave', 'Edinburgh', 1, 'EH7 5UG', 0, '2007-06-25', '19:45:52', NULL, 'Ex euismod autem quis nulla in autem vel esse ad vero commodo nulla facilisis eros wisi praesent consequat iriure tation eros exerci dolor ut, nibh. Dolor et autem dolor volutpat et veniam augue eu consectetuer praesent ad, suscipit veniam aliquam laoreet dignissim, dignissim dolor iriure ad qui tation aliquip. Minim diam augue quis aliquip, exerci nulla dolore praesent tation consectetuer in et vulputate blandit consequat. Accumsan duis iriure, nisl enim nulla nostrud minim nulla facilisis zzril te ut feugait volutpat in blandit nulla amet ea quis. Dolor suscipit exerci eros consequat dolore feugiat ea dolor, ad vulputate. In enim sed autem odio enim zzril blandit vel eum facilisi vero, feugait, iriure et, consequat ut et euismod, ipsum praesent accumsan duis zzril in hendrerit. Ut accumsan dolor hendrerit, dignissim tincidunt commodo, odio consequat consectetuer delenit dignissim nulla dolore velit elit, accumsan veniam consectetuer nostrud vulputate magna nulla praesent.', 'Holiday, Tane', 0, 1, 1, '2007-05-21 16:42:52', '2007-05-21 16:42:52');
456
457 -- --------------------------------------------------------
458
459 --
460 -- Table structure for table `events_tags`
461 --
462
463 CREATE TABLE `events_tags` (
464   `event_id` int(8) NOT NULL,
465   `tag_id` int(8) NOT NULL,
466   KEY `event_id` (`event_id`,`tag_id`)
467 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
468
469 --
470 -- Dumping data for table `events_tags`
471 --
472
473 INSERT INTO `events_tags` (`event_id`, `tag_id`) VALUES
474 (1, 8),
475 (1, 17),
476 (2, 26),
477 (2, 27);
478
479 -- --------------------------------------------------------
480
481 --
482 -- Table structure for table `feeds`
483 --
484
485 CREATE TABLE `feeds` (
486   `id` int(8) unsigned NOT NULL auto_increment,
487   `feed_name` varchar(255) NOT NULL,
488   `feed_url` varchar(255) NOT NULL,
489   `subject_id` int(8) unsigned NOT NULL,
490   `published` tinyint(1) NOT NULL default '0',
491   `created` datetime NOT NULL,
492   `modified` datetime NOT NULL,
493   PRIMARY KEY  (`id`)
494 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
495
496 --
497 -- Dumping data for table `feeds`
498 --
499
500
501 -- --------------------------------------------------------
502
503 --
504 -- Table structure for table `galleries`
505 --
506
507 CREATE TABLE `galleries` (
508   `id` int(8) unsigned NOT NULL auto_increment,
509   `title` varchar(255) NOT NULL,
510   `url` varchar(255) NOT NULL,
511   `primary_image` int(8) unsigned NOT NULL,
512   `subject_id` int(8) unsigned NOT NULL,
513   `published` tinyint(1) NOT NULL,
514   `created` datetime NOT NULL,
515   `modified` datetime NOT NULL,
516   PRIMARY KEY  (`id`)
517 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
518
519 --
520 -- Dumping data for table `galleries`
521 --
522
523 INSERT INTO `galleries` (`id`, `title`, `url`, `primary_image`, `subject_id`, `published`, `created`, `modified`) VALUES
524 (1, 'The Hedrons', 'the_hedrons', 1, 0, 0, '2007-05-03 15:40:24', '2007-05-03 15:40:24');
525
526 -- --------------------------------------------------------
527
528 --
529 -- Table structure for table `galleries_images`
530 --
531
532 CREATE TABLE `galleries_images` (
533   `gallery_id` int(8) unsigned NOT NULL,
534   `image_id` int(8) unsigned NOT NULL
535 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
536
537 --
538 -- Dumping data for table `galleries_images`
539 --
540
541 INSERT INTO `galleries_images` (`gallery_id`, `image_id`) VALUES
542 (1, 1),
543 (1, 2),
544 (1, 3);
545
546 -- --------------------------------------------------------
547
548 --
549 -- Table structure for table `groups`
550 --
551
552 CREATE TABLE `groups` (
553   `id` int(10) unsigned NOT NULL auto_increment,
554   `name` varchar(50) character set utf8 collate utf8_unicode_ci NOT NULL,
555   `level` int(11) NOT NULL,
556   `redirect` varchar(50) character set utf8 collate utf8_unicode_ci NOT NULL,
557   `perm_type` enum('allow','deny') NOT NULL default 'allow',
558   `created` datetime NOT NULL default '0000-00-00 00:00:00',
559   `modified` datetime NOT NULL default '0000-00-00 00:00:00',
560   PRIMARY KEY  (`id`)
561 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
562
563 --
564 -- Dumping data for table `groups`
565 --
566
567 INSERT INTO `groups` (`id`, `name`, `level`, `redirect`, `perm_type`, `created`, `modified`) VALUES
568 (1, 'Site Admins', 999, '', 'allow', '2007-03-26 00:00:00', '0000-00-00 00:00:00'),
569 (2, 'Site Editors', 900, '', 'allow', '2007-03-26 00:00:00', '0000-00-00 00:00:00'),
570 (3, 'Registered Members', 500, '', 'allow', '2007-03-26 00:00:00', '0000-00-00 00:00:00'),
571 (4, 'Anonymous Visitor', 0, '', 'allow', '0000-00-00 00:00:00', '0000-00-00 00:00:00');
572
573 -- --------------------------------------------------------
574
575 --
576 -- Table structure for table `groups_permissions`
577 --
578
579 CREATE TABLE `groups_permissions` (
580   `group_id` int(10) unsigned NOT NULL default '0',
581   `permission_id` int(10) unsigned NOT NULL default '0',
582   KEY `group_id` (`group_id`,`permission_id`)
583 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
584
585 --
586 -- Dumping data for table `groups_permissions`
587 --
588
589 INSERT INTO `groups_permissions` (`group_id`, `permission_id`) VALUES
590 (1, 1),
591 (2, 2),
592 (2, 3),
593 (2, 4),
594 (2, 5),
595 (2, 6);
596
597 -- --------------------------------------------------------
598
599 --
600 -- Table structure for table `images`
601 --
602
603 CREATE TABLE `images` (
604   `id` int(8) unsigned NOT NULL auto_increment,
605   `filename` varchar(255) default NULL,
606   `dir` varchar(255) default NULL,
607   `thumb` varchar(255) default NULL,
608   `mimetype` varchar(255) NOT NULL,
609   `alt` varchar(255) default NULL,
610   `subject_id` int(8) default NULL,
611   `copyright_owner` varchar(255) default NULL,
612   `copyright_id` int(8) unsigned default '1',
613   `image_location` varchar(255) default NULL,
614   `image_date` date default NULL,
615   `image_notes` text,
616   `filesize` int(11) unsigned default NULL,
617   `tags` varchar(255) default NULL,
618   `user_id` int(8) unsigned default NULL,
619   `created` datetime default NULL,
620   `modified` datetime default NULL,
621   PRIMARY KEY  (`id`)
622 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=44 ;
623
624 --
625 -- Dumping data for table `images`
626 --
627
628
629 -- --------------------------------------------------------
630
631 --
632 -- Table structure for table `images_tags`
633 --
634
635 CREATE TABLE `images_tags` (
636   `image_id` int(8) NOT NULL,
637   `tag_id` int(8) NOT NULL,
638   KEY `image_id` (`image_id`,`tag_id`)
639 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
640
641 --
642 -- Dumping data for table `images_tags`
643 --
644
645 INSERT INTO `images_tags` (`image_id`, `tag_id`) VALUES
646 (37, 29),
647 (37, 30),
648 (38, 29),
649 (38, 30);
650
651 -- --------------------------------------------------------
652
653 --
654 -- Table structure for table `login_attempts`
655 --
656
657 CREATE TABLE `login_attempts` (
658   `ip` varchar(15) character set utf8 collate utf8_unicode_ci NOT NULL,
659   `num` int(11) NOT NULL default '1',
660   `expire` datetime NOT NULL,
661   `created` datetime NOT NULL,
662   PRIMARY KEY  (`ip`)
663 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
664
665 --
666 -- Dumping data for table `login_attempts`
667 --
668
669
670 -- --------------------------------------------------------
671
672 --
673 -- Table structure for table `menus`
674 --
675
676 CREATE TABLE `menus` (
677   `id` int(11) unsigned NOT NULL auto_increment,
678   `name` varchar(255) NOT NULL,
679   `url` varchar(255) NOT NULL,
680   `position` int(5) NOT NULL,
681   `icon` varchar(255) default NULL,
682   `parent_id` int(11) unsigned NOT NULL,
683   `section_id` int(11) unsigned NOT NULL,
684   `access_level` int(3) NOT NULL,
685   `published` tinyint(1) NOT NULL default '1',
686   `created` datetime