diff options
| author | David M <davidmj@users.sourceforge.net> | 2007-07-09 17:17:04 +0000 |
|---|---|---|
| committer | David M <davidmj@users.sourceforge.net> | 2007-07-09 17:17:04 +0000 |
| commit | 61703b1ed28ed3327f121acb7329dc04d387f418 (patch) | |
| tree | f1d6aa644444a4b06f933ec44ab7799eec85b7db | |
| parent | 2bb247d2bd62bf2e089bd6da11c67cf9e47a697c (diff) | |
| download | forums-61703b1ed28ed3327f121acb7329dc04d387f418.tar forums-61703b1ed28ed3327f121acb7329dc04d387f418.tar.gz forums-61703b1ed28ed3327f121acb7329dc04d387f418.tar.bz2 forums-61703b1ed28ed3327f121acb7329dc04d387f418.tar.xz forums-61703b1ed28ed3327f121acb7329dc04d387f418.zip | |
*** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@7852 89ea8834-ac86-4346-8a33-228a782c2dd0
| -rw-r--r-- | phpBB/docs/CHANGELOG.html | 1 | ||||
| -rw-r--r-- | phpBB/install/database_update.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 823ec15562..bcb0bcc847 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -193,6 +193,7 @@ p a { <li>[Fix] Added a missing global to get_file() (Bug #13149)</li> <li>[Fix] Hide autologin box when autologin is disabled (Bug #13093)</li> <li>[Fix] Account for the forum id not being part of the request uri in prosilver (Bug #13121)</li> + <li>[Fix] Properly alter PostgreSQL tables</li> </ul> diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index 8b20d0c942..559de678bf 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -1001,9 +1001,9 @@ function prepare_column_data($dbms, $column_data) case 'postgres': $sql .= " {$column_type} "; + $sql .= 'NOT NULL'; $sql .= (!is_null($column_data[1])) ? "DEFAULT '{$column_data[1]}' " : ''; - $sql .= 'NOT NULL'; // Unsigned? Then add a CHECK contraint if (in_array($orig_column_type, $unsigned_types)) |
