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