mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
Code administration: convert all text files to Unix file format (CR as eol
and not CRLF) git-svn-id: http://piwigo.org/svn/branches/2.0@3054 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user