aboutsummaryrefslogtreecommitdiffstats
path: root/install/dbscheme.txt
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2004-12-20 12:30:36 +0000
committerplegall <plg@piwigo.org>2004-12-20 12:30:36 +0000
commit5a8ecfbfb140333e08d85b1d4a7e97bbba78bfcc (patch)
treec1150d0d69d278bd32abb4e318ad8e12fa8c9ed5 /install/dbscheme.txt
parentf0e9cd804af6512529982e66f73a27fa7658c46c (diff)
- in picture.php, $user['maxwidth'] and $user['maxheight'] can be unset if
NULL in database - new table user_forbidden {user_id,need_update,forbidden_categories} and deletion of field users.forbidden_categories - new function calculate_permissions to update table user_forbidden when needed - simplification of include/user.inc.php - in footer of each page, use "-" instead of "::" to separate page information git-svn-id: http://piwigo.org/svn/trunk@648 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'install/dbscheme.txt')
-rw-r--r--install/dbscheme.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/install/dbscheme.txt b/install/dbscheme.txt
index 8caeb48e6..d53e742c4 100644
--- a/install/dbscheme.txt
+++ b/install/dbscheme.txt
@@ -12,6 +12,7 @@ table:rate
table:sessions
table:sites
table:user_access
+table:user_forbidden
table:user_group
table:users
table:waiting
@@ -83,6 +84,9 @@ column:id table:sites type:tinyint
column:galleries_url table:sites type:varchar nullable:N length:255 binary:N
column:user_id table:user_access type:smallint nullable:N length:5 signed:N
column:cat_id table:user_access type:smallint nullable:N length:5 signed:N
+column:user_id table:user_forbidden type:smallint nullable:N length:5 signed:N
+column:need_update table:user_forbidden type:enum('true','false') nullable:N
+column:forbidden_categories table:user_forbidden type:text nullable:Y
column:user_id table:user_group type:smallint nullable:N length:5 signed:N
column:group_id table:user_group type:smallint nullable:N length:5 signed:N
column:id table:users type:smallint nullable:N length:5 signed:N
@@ -99,7 +103,6 @@ column:expand table:users type:enum('true','false')
column:show_nb_comments table:users type:enum('true','false') nullable:N
column:recent_period table:users type:tinyint nullable:N length:3 signed:N
column:template table:users type:varchar nullable:N length:255 binary:N
-column:forbidden_categories table:users type:text nullable:Y
column:id table:waiting type:int nullable:N length:10 signed:N
column:storage_category_id table:waiting type:smallint nullable:N length:5 signed:N
column:file table:waiting type:varchar nullable:N length:255 binary:N
@@ -127,6 +130,7 @@ PK:sessions_pk table:sessions column:id
PK:sites_pk table:sites column:id
PK:user_access_pk table:user_access column:user_id
PK:user_access_pk table:user_access column:cat_id
+PK:user_forbidden_pk table:user_forbidden column:user_id
PK:user_group_pk table:user_group column:group_id
PK:user_group_pk table:user_group column:user_id
PK:users_pk table:users column:id