From b6328fcb708dba1d3d08e0c47da140b912ee7f10 Mon Sep 17 00:00:00 2001
From: rvelices <rv-github@modusoptimus.com>
Date: Mon, 24 Dec 2012 10:16:33 +0000
Subject: bug 2794: Virtual albums are displayed in physical albums list in
 synchronization tool

git-svn-id: http://piwigo.org/svn/trunk@19548 68402e56-0260-453c-a942-63ccdbb3a9ee
---
 install/piwigo_structure-mysql.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'install/piwigo_structure-mysql.sql')

diff --git a/install/piwigo_structure-mysql.sql b/install/piwigo_structure-mysql.sql
index cde461bcd..0a0d9e611 100644
--- a/install/piwigo_structure-mysql.sql
+++ b/install/piwigo_structure-mysql.sql
@@ -28,7 +28,7 @@ CREATE TABLE `piwigo_categories` (
   `dir` varchar(255) default NULL,
   `rank` smallint(5) unsigned default NULL,
   `status` enum('public','private') NOT NULL default 'public',
-  `site_id` tinyint(4) unsigned default '1',
+  `site_id` tinyint(4) unsigned default NULL,
   `visible` enum('true','false') NOT NULL default 'true',
   `representative_picture_id` mediumint(8) unsigned default NULL,
   `uppercats` varchar(255) NOT NULL default '',
-- 
cgit v1.2.3

