aboutsummaryrefslogtreecommitdiffstats
path: root/install/db/33-database.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2009-01-06 21:39:04 +0000
committerplegall <plg@piwigo.org>2009-01-06 21:39:04 +0000
commitbe3c66f112170f1865cd7041836cd598959133e5 (patch)
tree312b7d62ede7deefdc2e8d6d5908e800aad4e55c /install/db/33-database.php
parent1b711ad2365b47cb1f1969cad2195c180ad62609 (diff)
merge r3054 from branch 2.0 to trunk
Code administration: convert all text files to Unix file format (CR as eol and not CRLF) git-svn-id: http://piwigo.org/svn/trunk@3055 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'install/db/33-database.php')
-rw-r--r--install/db/33-database.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/install/db/33-database.php b/install/db/33-database.php
index 2a972f92f..4efd0f9ed 100644
--- a/install/db/33-database.php
+++ b/install/db/33-database.php
@@ -26,7 +26,7 @@ if (!defined('PHPWG_ROOT_PATH'))
die('Hacking attempt!');
}
-$upgrade_description = 'Add column #group.is_default';
+$upgrade_description = 'Add column #group.is_default';
include_once(PHPWG_ROOT_PATH.'include/constants.php');
@@ -35,12 +35,12 @@ include_once(PHPWG_ROOT_PATH.'include/constants.php');
// +-----------------------------------------------------------------------+
echo "Add column is_default on ".GROUPS_TABLE;
-$query = '
-alter table '.GROUPS_TABLE.' add column
-`is_default` enum(\'true\',\'false\') NOT NULL default \'false\'
-;';
-pwg_query($query);
-
+$query = '
+alter table '.GROUPS_TABLE.' add column
+`is_default` enum(\'true\',\'false\') NOT NULL default \'false\'
+;';
+pwg_query($query);
+
echo
"\n"