1 | -- MySQL dump 9.11 |
---|
2 | -- |
---|
3 | -- Host: localhost Database: pwg-bsf |
---|
4 | -- ------------------------------------------------------ |
---|
5 | -- Server version 4.0.24_Debian-10-log |
---|
6 | |
---|
7 | -- |
---|
8 | -- Table structure for table `phpwebgallery_caddie` |
---|
9 | -- |
---|
10 | |
---|
11 | DROP TABLE IF EXISTS `phpwebgallery_caddie`; |
---|
12 | CREATE TABLE `phpwebgallery_caddie` ( |
---|
13 | `user_id` smallint(5) NOT NULL default '0', |
---|
14 | `element_id` mediumint(8) NOT NULL default '0', |
---|
15 | PRIMARY KEY (`user_id`,`element_id`) |
---|
16 | ) TYPE=MyISAM; |
---|
17 | |
---|
18 | -- |
---|
19 | -- Table structure for table `phpwebgallery_categories` |
---|
20 | -- |
---|
21 | |
---|
22 | DROP TABLE IF EXISTS `phpwebgallery_categories`; |
---|
23 | CREATE TABLE `phpwebgallery_categories` ( |
---|
24 | `id` smallint(5) unsigned NOT NULL auto_increment, |
---|
25 | `date_last` datetime default NULL, |
---|
26 | `nb_images` mediumint(8) unsigned NOT NULL default '0', |
---|
27 | `name` varchar(255) NOT NULL default '', |
---|
28 | `id_uppercat` smallint(5) unsigned default NULL, |
---|
29 | `comment` text, |
---|
30 | `dir` varchar(255) default NULL, |
---|
31 | `rank` smallint(5) unsigned default NULL, |
---|
32 | `status` enum('public','private') NOT NULL default 'public', |
---|
33 | `site_id` tinyint(4) unsigned default '1', |
---|
34 | `visible` enum('true','false') NOT NULL default 'true', |
---|
35 | `uploadable` enum('true','false') NOT NULL default 'false', |
---|
36 | `representative_picture_id` mediumint(8) unsigned default NULL, |
---|
37 | `uppercats` varchar(255) NOT NULL default '', |
---|
38 | `commentable` enum('true','false') NOT NULL default 'true', |
---|
39 | `global_rank` varchar(255) default NULL, |
---|
40 | `image_order` varchar(128) default NULL, |
---|
41 | `permalink` varchar(64) default NULL, |
---|
42 | PRIMARY KEY (`id`), |
---|
43 | UNIQUE KEY `categories_i3` (`permalink`), |
---|
44 | KEY `categories_i2` (`id_uppercat`) |
---|
45 | ) TYPE=MyISAM; |
---|
46 | |
---|
47 | -- |
---|
48 | -- Table structure for table `phpwebgallery_comments` |
---|
49 | -- |
---|
50 | |
---|
51 | DROP TABLE IF EXISTS `phpwebgallery_comments`; |
---|
52 | CREATE TABLE `phpwebgallery_comments` ( |
---|
53 | `id` int(11) unsigned NOT NULL auto_increment, |
---|
54 | `image_id` mediumint(8) unsigned NOT NULL default '0', |
---|
55 | `date` datetime NOT NULL default '0000-00-00 00:00:00', |
---|
56 | `author` varchar(255) default NULL, |
---|
57 | `content` longtext, |
---|
58 | `validated` enum('true','false') NOT NULL default 'false', |
---|
59 | `validation_date` datetime default NULL, |
---|
60 | PRIMARY KEY (`id`), |
---|
61 | KEY `comments_i2` (`validation_date`), |
---|
62 | KEY `comments_i1` (`image_id`) |
---|
63 | ) TYPE=MyISAM; |
---|
64 | |
---|
65 | -- |
---|
66 | -- Table structure for table `phpwebgallery_config` |
---|
67 | -- |
---|
68 | |
---|
69 | DROP TABLE IF EXISTS `phpwebgallery_config`; |
---|
70 | CREATE TABLE `phpwebgallery_config` ( |
---|
71 | `param` varchar(40) NOT NULL default '', |
---|
72 | `value` text, |
---|
73 | `comment` varchar(255) default NULL, |
---|
74 | PRIMARY KEY (`param`) |
---|
75 | ) TYPE=MyISAM COMMENT='configuration table'; |
---|
76 | |
---|
77 | -- |
---|
78 | -- Table structure for table `phpwebgallery_favorites` |
---|
79 | -- |
---|
80 | |
---|
81 | DROP TABLE IF EXISTS `phpwebgallery_favorites`; |
---|
82 | CREATE TABLE `phpwebgallery_favorites` ( |
---|
83 | `user_id` smallint(5) NOT NULL default '0', |
---|
84 | `image_id` mediumint(8) unsigned NOT NULL default '0', |
---|
85 | PRIMARY KEY (`user_id`,`image_id`) |
---|
86 | ) TYPE=MyISAM; |
---|
87 | |
---|
88 | -- |
---|
89 | -- Table structure for table `phpwebgallery_group_access` |
---|
90 | -- |
---|
91 | |
---|
92 | DROP TABLE IF EXISTS `phpwebgallery_group_access`; |
---|
93 | CREATE TABLE `phpwebgallery_group_access` ( |
---|
94 | `group_id` smallint(5) unsigned NOT NULL default '0', |
---|
95 | `cat_id` smallint(5) unsigned NOT NULL default '0', |
---|
96 | PRIMARY KEY (`group_id`,`cat_id`) |
---|
97 | ) TYPE=MyISAM; |
---|
98 | |
---|
99 | -- |
---|
100 | -- Table structure for table `phpwebgallery_groups` |
---|
101 | -- |
---|
102 | |
---|
103 | DROP TABLE IF EXISTS `phpwebgallery_groups`; |
---|
104 | CREATE TABLE `phpwebgallery_groups` ( |
---|
105 | `id` smallint(5) unsigned NOT NULL auto_increment, |
---|
106 | `name` varchar(255) NOT NULL default '', |
---|
107 | `is_default` enum('true','false') NOT NULL default 'false', |
---|
108 | PRIMARY KEY (`id`) |
---|
109 | ) TYPE=MyISAM; |
---|
110 | |
---|
111 | -- |
---|
112 | -- Table structure for table `phpwebgallery_history` |
---|
113 | -- |
---|
114 | |
---|
115 | DROP TABLE IF EXISTS `phpwebgallery_history`; |
---|
116 | CREATE TABLE `phpwebgallery_history` ( |
---|
117 | `id` int(10) unsigned NOT NULL auto_increment, |
---|
118 | `date` date NOT NULL default '0000-00-00', |
---|
119 | `time` time NOT NULL default '00:00:00', |
---|
120 | `year` smallint(4) NOT NULL default '0', |
---|
121 | `month` tinyint(2) NOT NULL default '0', |
---|
122 | `day` tinyint(2) NOT NULL default '0', |
---|
123 | `hour` tinyint(2) NOT NULL default '0', |
---|
124 | `user_id` smallint(5) NOT NULL default '0', |
---|
125 | `IP` varchar(15) NOT NULL default '', |
---|
126 | `section` enum('categories','tags','search','list','favorites','most_visited','best_rated','recent_pics','recent_cats') default NULL, |
---|
127 | `category_id` smallint(5) default NULL, |
---|
128 | `tag_ids` varchar(50) default NULL, |
---|
129 | `image_id` mediumint(8) default NULL, |
---|
130 | `summarized` enum('true','false') default 'false', |
---|
131 | `image_type` enum('picture','high','other') default NULL, |
---|
132 | PRIMARY KEY (`id`), |
---|
133 | KEY `history_i1` (`summarized`) |
---|
134 | ) TYPE=MyISAM; |
---|
135 | |
---|
136 | -- |
---|
137 | -- Table structure for table `phpwebgallery_history_summary` |
---|
138 | -- |
---|
139 | |
---|
140 | DROP TABLE IF EXISTS `phpwebgallery_history_summary`; |
---|
141 | CREATE TABLE `phpwebgallery_history_summary` ( |
---|
142 | `id` varchar(13) NOT NULL default '', |
---|
143 | `year` smallint(4) NOT NULL default '0', |
---|
144 | `month` tinyint(2) default NULL, |
---|
145 | `day` tinyint(2) default NULL, |
---|
146 | `hour` tinyint(2) default NULL, |
---|
147 | `nb_pages` int(11) default NULL, |
---|
148 | PRIMARY KEY (`id`) |
---|
149 | ) TYPE=MyISAM; |
---|
150 | |
---|
151 | -- |
---|
152 | -- Table structure for table `phpwebgallery_image_category` |
---|
153 | -- |
---|
154 | |
---|
155 | DROP TABLE IF EXISTS `phpwebgallery_image_category`; |
---|
156 | CREATE TABLE `phpwebgallery_image_category` ( |
---|
157 | `image_id` mediumint(8) unsigned NOT NULL default '0', |
---|
158 | `category_id` smallint(5) unsigned NOT NULL default '0', |
---|
159 | PRIMARY KEY (`image_id`,`category_id`), |
---|
160 | KEY `image_category_i1` (`category_id`) |
---|
161 | ) TYPE=MyISAM; |
---|
162 | |
---|
163 | -- |
---|
164 | -- Table structure for table `phpwebgallery_image_tag` |
---|
165 | -- |
---|
166 | |
---|
167 | DROP TABLE IF EXISTS `phpwebgallery_image_tag`; |
---|
168 | CREATE TABLE `phpwebgallery_image_tag` ( |
---|
169 | `image_id` mediumint(8) unsigned NOT NULL default '0', |
---|
170 | `tag_id` smallint(5) unsigned NOT NULL default '0', |
---|
171 | PRIMARY KEY (`image_id`,`tag_id`), |
---|
172 | KEY `image_tag_i1` (`tag_id`) |
---|
173 | ) TYPE=MyISAM; |
---|
174 | |
---|
175 | -- |
---|
176 | -- Table structure for table `phpwebgallery_images` |
---|
177 | -- |
---|
178 | |
---|
179 | DROP TABLE IF EXISTS `phpwebgallery_images`; |
---|
180 | CREATE TABLE `phpwebgallery_images` ( |
---|
181 | `id` mediumint(8) unsigned NOT NULL auto_increment, |
---|
182 | `file` varchar(255) NOT NULL default '', |
---|
183 | `date_available` datetime NOT NULL default '0000-00-00 00:00:00', |
---|
184 | `date_creation` date default NULL, |
---|
185 | `tn_ext` varchar(4) default '', |
---|
186 | `name` varchar(255) default NULL, |
---|
187 | `comment` text, |
---|
188 | `author` varchar(255) default NULL, |
---|
189 | `hit` int(10) unsigned NOT NULL default '0', |
---|
190 | `filesize` mediumint(9) unsigned default NULL, |
---|
191 | `width` smallint(9) unsigned default NULL, |
---|
192 | `height` smallint(9) unsigned default NULL, |
---|
193 | `representative_ext` varchar(4) default NULL, |
---|
194 | `date_metadata_update` date default NULL, |
---|
195 | `average_rate` float(5,2) unsigned default NULL, |
---|
196 | `has_high` enum('true') default NULL, |
---|
197 | `path` varchar(255) NOT NULL default '', |
---|
198 | `storage_category_id` smallint(5) unsigned default NULL, |
---|
199 | `high_filesize` mediumint(9) unsigned default NULL, |
---|
200 | PRIMARY KEY (`id`), |
---|
201 | KEY `images_i2` (`date_available`), |
---|
202 | KEY `images_i3` (`average_rate`), |
---|
203 | KEY `images_i4` (`hit`), |
---|
204 | KEY `images_i5` (`date_creation`), |
---|
205 | KEY `images_i1` (`storage_category_id`) |
---|
206 | ) TYPE=MyISAM; |
---|
207 | |
---|
208 | -- |
---|
209 | -- Table structure for table `phpwebgallery_old_permalinks` |
---|
210 | -- |
---|
211 | |
---|
212 | DROP TABLE IF EXISTS `phpwebgallery_old_permalinks`; |
---|
213 | CREATE TABLE `phpwebgallery_old_permalinks` ( |
---|
214 | `cat_id` smallint(5) unsigned NOT NULL default '0', |
---|
215 | `permalink` varchar(64) NOT NULL default '', |
---|
216 | `date_deleted` datetime NOT NULL default '0000-00-00 00:00:00', |
---|
217 | `last_hit` datetime default NULL, |
---|
218 | `hit` int(10) unsigned NOT NULL default '0', |
---|
219 | PRIMARY KEY (`permalink`) |
---|
220 | ) TYPE=MyISAM; |
---|
221 | |
---|
222 | -- |
---|
223 | -- Table structure for table `phpwebgallery_plugins` |
---|
224 | -- |
---|
225 | |
---|
226 | DROP TABLE IF EXISTS `phpwebgallery_plugins`; |
---|
227 | CREATE TABLE `phpwebgallery_plugins` ( |
---|
228 | `id` varchar(64) binary NOT NULL default '', |
---|
229 | `state` enum('inactive','active') NOT NULL default 'inactive', |
---|
230 | `version` varchar(64) NOT NULL default '0', |
---|
231 | PRIMARY KEY (`id`) |
---|
232 | ) TYPE=MyISAM; |
---|
233 | |
---|
234 | -- |
---|
235 | -- Table structure for table `phpwebgallery_rate` |
---|
236 | -- |
---|
237 | |
---|
238 | DROP TABLE IF EXISTS `phpwebgallery_rate`; |
---|
239 | CREATE TABLE `phpwebgallery_rate` ( |
---|
240 | `user_id` smallint(5) NOT NULL default '0', |
---|
241 | `element_id` mediumint(8) unsigned NOT NULL default '0', |
---|
242 | `anonymous_id` varchar(45) NOT NULL default '', |
---|
243 | `rate` tinyint(2) unsigned NOT NULL default '0', |
---|
244 | `date` date NOT NULL default '0000-00-00', |
---|
245 | PRIMARY KEY (`element_id`,`user_id`,`anonymous_id`) |
---|
246 | ) TYPE=MyISAM; |
---|
247 | |
---|
248 | -- |
---|
249 | -- Table structure for table `phpwebgallery_search` |
---|
250 | -- |
---|
251 | |
---|
252 | DROP TABLE IF EXISTS `phpwebgallery_search`; |
---|
253 | CREATE TABLE `phpwebgallery_search` ( |
---|
254 | `id` int(10) unsigned NOT NULL auto_increment, |
---|
255 | `last_seen` date default NULL, |
---|
256 | `rules` text, |
---|
257 | PRIMARY KEY (`id`) |
---|
258 | ) TYPE=MyISAM; |
---|
259 | |
---|
260 | -- |
---|
261 | -- Table structure for table `phpwebgallery_sessions` |
---|
262 | -- |
---|
263 | |
---|
264 | DROP TABLE IF EXISTS `phpwebgallery_sessions`; |
---|
265 | CREATE TABLE `phpwebgallery_sessions` ( |
---|
266 | `id` varchar(255) binary NOT NULL default '', |
---|
267 | `data` text NOT NULL, |
---|
268 | `expiration` datetime NOT NULL default '0000-00-00 00:00:00', |
---|
269 | PRIMARY KEY (`id`) |
---|
270 | ) TYPE=MyISAM; |
---|
271 | |
---|
272 | -- |
---|
273 | -- Table structure for table `phpwebgallery_sites` |
---|
274 | -- |
---|
275 | |
---|
276 | DROP TABLE IF EXISTS `phpwebgallery_sites`; |
---|
277 | CREATE TABLE `phpwebgallery_sites` ( |
---|
278 | `id` tinyint(4) NOT NULL auto_increment, |
---|
279 | `galleries_url` varchar(255) NOT NULL default '', |
---|
280 | PRIMARY KEY (`id`), |
---|
281 | UNIQUE KEY `sites_ui1` (`galleries_url`) |
---|
282 | ) TYPE=MyISAM; |
---|
283 | |
---|
284 | -- |
---|
285 | -- Table structure for table `phpwebgallery_tags` |
---|
286 | -- |
---|
287 | |
---|
288 | DROP TABLE IF EXISTS `phpwebgallery_tags`; |
---|
289 | CREATE TABLE `phpwebgallery_tags` ( |
---|
290 | `id` smallint(5) unsigned NOT NULL auto_increment, |
---|
291 | `name` varchar(255) binary NOT NULL default '', |
---|
292 | `url_name` varchar(255) binary NOT NULL default '', |
---|
293 | PRIMARY KEY (`id`), |
---|
294 | KEY `tags_i1` (`url_name`) |
---|
295 | ) TYPE=MyISAM; |
---|
296 | |
---|
297 | -- |
---|
298 | -- Table structure for table `phpwebgallery_upgrade` |
---|
299 | -- |
---|
300 | |
---|
301 | DROP TABLE IF EXISTS `phpwebgallery_upgrade`; |
---|
302 | CREATE TABLE `phpwebgallery_upgrade` ( |
---|
303 | `id` varchar(20) NOT NULL default '', |
---|
304 | `applied` datetime NOT NULL default '0000-00-00 00:00:00', |
---|
305 | `description` varchar(255) default NULL, |
---|
306 | PRIMARY KEY (`id`) |
---|
307 | ) TYPE=MyISAM; |
---|
308 | |
---|
309 | -- |
---|
310 | -- Table structure for table `phpwebgallery_user_access` |
---|
311 | -- |
---|
312 | |
---|
313 | DROP TABLE IF EXISTS `phpwebgallery_user_access`; |
---|
314 | CREATE TABLE `phpwebgallery_user_access` ( |
---|
315 | `user_id` smallint(5) NOT NULL default '0', |
---|
316 | `cat_id` smallint(5) unsigned NOT NULL default '0', |
---|
317 | PRIMARY KEY (`user_id`,`cat_id`) |
---|
318 | ) TYPE=MyISAM; |
---|
319 | |
---|
320 | -- |
---|
321 | -- Table structure for table `phpwebgallery_user_cache` |
---|
322 | -- |
---|
323 | |
---|
324 | DROP TABLE IF EXISTS `phpwebgallery_user_cache`; |
---|
325 | CREATE TABLE `phpwebgallery_user_cache` ( |
---|
326 | `user_id` smallint(5) NOT NULL default '0', |
---|
327 | `need_update` enum('true','false') NOT NULL default 'true', |
---|
328 | `forbidden_categories` text, |
---|
329 | `nb_total_images` mediumint(8) unsigned default NULL, |
---|
330 | PRIMARY KEY (`user_id`) |
---|
331 | ) TYPE=MyISAM; |
---|
332 | |
---|
333 | -- |
---|
334 | -- Table structure for table `phpwebgallery_user_cache_categories` |
---|
335 | -- |
---|
336 | |
---|
337 | DROP TABLE IF EXISTS `phpwebgallery_user_cache_categories`; |
---|
338 | CREATE TABLE `phpwebgallery_user_cache_categories` ( |
---|
339 | `user_id` smallint(5) NOT NULL default '0', |
---|
340 | `cat_id` smallint(5) unsigned NOT NULL default '0', |
---|
341 | `max_date_last` datetime default NULL, |
---|
342 | `count_images` mediumint(8) unsigned default '0', |
---|
343 | `count_categories` mediumint(8) unsigned default '0', |
---|
344 | PRIMARY KEY (`user_id`,`cat_id`) |
---|
345 | ) TYPE=MyISAM; |
---|
346 | |
---|
347 | -- |
---|
348 | -- Table structure for table `phpwebgallery_user_feed` |
---|
349 | -- |
---|
350 | |
---|
351 | DROP TABLE IF EXISTS `phpwebgallery_user_feed`; |
---|
352 | CREATE TABLE `phpwebgallery_user_feed` ( |
---|
353 | `id` varchar(50) binary NOT NULL default '', |
---|
354 | `user_id` smallint(5) NOT NULL default '0', |
---|
355 | `last_check` datetime default NULL, |
---|
356 | PRIMARY KEY (`id`) |
---|
357 | ) TYPE=MyISAM; |
---|
358 | |
---|
359 | -- |
---|
360 | -- Table structure for table `phpwebgallery_user_group` |
---|
361 | -- |
---|
362 | |
---|
363 | DROP TABLE IF EXISTS `phpwebgallery_user_group`; |
---|
364 | CREATE TABLE `phpwebgallery_user_group` ( |
---|
365 | `user_id` smallint(5) NOT NULL default '0', |
---|
366 | `group_id` smallint(5) unsigned NOT NULL default '0', |
---|
367 | PRIMARY KEY (`group_id`,`user_id`) |
---|
368 | ) TYPE=MyISAM; |
---|
369 | |
---|
370 | -- |
---|
371 | -- Table structure for table `phpwebgallery_user_infos` |
---|
372 | -- |
---|
373 | |
---|
374 | DROP TABLE IF EXISTS `phpwebgallery_user_infos`; |
---|
375 | CREATE TABLE `phpwebgallery_user_infos` ( |
---|
376 | `user_id` smallint(5) NOT NULL default '0', |
---|
377 | `nb_image_line` tinyint(1) unsigned NOT NULL default '5', |
---|
378 | `nb_line_page` tinyint(3) unsigned NOT NULL default '3', |
---|
379 | `status` enum('webmaster','admin','normal','generic','guest') NOT NULL default 'guest', |
---|
380 | `adviser` enum('true','false') NOT NULL default 'false', |
---|
381 | `language` varchar(50) NOT NULL default 'en_UK.iso-8859-1', |
---|
382 | `maxwidth` smallint(6) default NULL, |
---|
383 | `maxheight` smallint(6) default NULL, |
---|
384 | `expand` enum('true','false') NOT NULL default 'false', |
---|
385 | `show_nb_comments` enum('true','false') NOT NULL default 'false', |
---|
386 | `show_nb_hits` enum('true','false') NOT NULL default 'false', |
---|
387 | `recent_period` tinyint(3) unsigned NOT NULL default '7', |
---|
388 | `template` varchar(255) NOT NULL default 'yoga/clear', |
---|
389 | `registration_date` datetime NOT NULL default '0000-00-00 00:00:00', |
---|
390 | `enabled_high` enum('true','false') NOT NULL default 'true', |
---|
391 | UNIQUE KEY `user_infos_ui1` (`user_id`) |
---|
392 | ) TYPE=MyISAM; |
---|
393 | |
---|
394 | -- |
---|
395 | -- Table structure for table `phpwebgallery_user_mail_notification` |
---|
396 | -- |
---|
397 | |
---|
398 | DROP TABLE IF EXISTS `phpwebgallery_user_mail_notification`; |
---|
399 | CREATE TABLE `phpwebgallery_user_mail_notification` ( |
---|
400 | `user_id` smallint(5) NOT NULL default '0', |
---|
401 | `check_key` varchar(16) binary NOT NULL default '', |
---|
402 | `enabled` enum('true','false') NOT NULL default 'false', |
---|
403 | `last_send` datetime default NULL, |
---|
404 | PRIMARY KEY (`user_id`), |
---|
405 | UNIQUE KEY `user_mail_notification_ui1` (`check_key`) |
---|
406 | ) TYPE=MyISAM; |
---|
407 | |
---|
408 | -- |
---|
409 | -- Table structure for table `phpwebgallery_users` |
---|
410 | -- |
---|
411 | |
---|
412 | DROP TABLE IF EXISTS `phpwebgallery_users`; |
---|
413 | CREATE TABLE `phpwebgallery_users` ( |
---|
414 | `id` smallint(5) NOT NULL auto_increment, |
---|
415 | `username` varchar(100) binary NOT NULL default '', |
---|
416 | `password` varchar(32) default NULL, |
---|
417 | `mail_address` varchar(255) default NULL, |
---|
418 | PRIMARY KEY (`id`), |
---|
419 | UNIQUE KEY `users_ui1` (`username`) |
---|
420 | ) TYPE=MyISAM; |
---|
421 | |
---|
422 | -- |
---|
423 | -- Table structure for table `phpwebgallery_waiting` |
---|
424 | -- |
---|
425 | |
---|
426 | DROP TABLE IF EXISTS `phpwebgallery_waiting`; |
---|
427 | CREATE TABLE `phpwebgallery_waiting` ( |
---|
428 | `id` int(10) unsigned NOT NULL auto_increment, |
---|
429 | `storage_category_id` smallint(5) unsigned NOT NULL default '0', |
---|
430 | `file` varchar(255) NOT NULL default '', |
---|
431 | `username` varchar(255) NOT NULL default '', |
---|
432 | `mail_address` varchar(255) NOT NULL default '', |
---|
433 | `date` int(10) unsigned NOT NULL default '0', |
---|
434 | `tn_ext` char(3) default NULL, |
---|
435 | `validated` enum('true','false') NOT NULL default 'false', |
---|
436 | `infos` text, |
---|
437 | PRIMARY KEY (`id`) |
---|
438 | ) TYPE=MyISAM; |
---|
439 | |
---|
440 | -- |
---|
441 | -- Table structure for table `phpwebgallery_ws_access` |
---|
442 | -- |
---|
443 | |
---|
444 | DROP TABLE IF EXISTS `phpwebgallery_ws_access`; |
---|
445 | CREATE TABLE `phpwebgallery_ws_access` ( |
---|
446 | `id` smallint(5) unsigned NOT NULL auto_increment, |
---|
447 | `name` varchar(32) NOT NULL default '', |
---|
448 | `access` varchar(255) default NULL, |
---|
449 | `start` datetime default NULL, |
---|
450 | `end` datetime default NULL, |
---|
451 | `request` varchar(255) default NULL, |
---|
452 | `limit` smallint(5) unsigned default NULL, |
---|
453 | `comment` varchar(255) default NULL, |
---|
454 | PRIMARY KEY (`id`), |
---|
455 | UNIQUE KEY `ws_access_ui1` (`name`) |
---|
456 | ) TYPE=MyISAM COMMENT='Access for Web Services'; |
---|
457 | |
---|