mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
- non picture files management (adds column images.representative_ext)
- short_period + long_period replaced by a single recent_period git-svn-id: http://piwigo.org/svn/trunk@474 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -125,7 +125,7 @@ CREATE TABLE phpwebgallery_images (
|
||||
file varchar(255) NOT NULL default '',
|
||||
date_available date NOT NULL default '0000-00-00',
|
||||
date_creation date default NULL,
|
||||
tn_ext char(3) NOT NULL default 'jpg',
|
||||
tn_ext varchar(4) default '',
|
||||
name varchar(255) default NULL,
|
||||
comment text,
|
||||
author varchar(255) default NULL,
|
||||
@@ -135,6 +135,7 @@ CREATE TABLE phpwebgallery_images (
|
||||
height smallint(9) unsigned default NULL,
|
||||
keywords varchar(255) default NULL,
|
||||
storage_category_id smallint(5) unsigned default NULL,
|
||||
representative_ext varchar(4) default NULL,
|
||||
PRIMARY KEY (id),
|
||||
KEY images_i2 (date_available),
|
||||
KEY images_i1 (storage_category_id)
|
||||
@@ -205,8 +206,7 @@ CREATE TABLE phpwebgallery_users (
|
||||
maxheight smallint(6) default NULL,
|
||||
expand enum('true','false') NOT NULL default 'false',
|
||||
show_nb_comments enum('true','false') NOT NULL default 'false',
|
||||
short_period tinyint(3) unsigned NOT NULL default '7',
|
||||
long_period tinyint(3) unsigned NOT NULL default '14',
|
||||
recent_period tinyint(3) unsigned NOT NULL default '7',
|
||||
template varchar(255) NOT NULL default 'default',
|
||||
forbidden_categories text,
|
||||
PRIMARY KEY (id),
|
||||
|
||||
Reference in New Issue
Block a user