Skip to content

Commit

Permalink
Fix: Error in pgsql upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Mar 9, 2011
1 parent f142d4f commit 26c3bd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions htdocs/lib/databases/pgsql.lib.php
Expand Up @@ -241,6 +241,7 @@ function convertSQLFromMysql($line,$type='auto')
{
$line = "-- ".$line." replaced by --\n";
$newreg3=$reg[3];
$newreg3=preg_replace('/ DEFAULT NULL/i','',$newreg3);
$newreg3=preg_replace('/ NOT NULL/i','',$newreg3);
$newreg3=preg_replace('/ NULL/i','',$newreg3);
$newreg3=preg_replace('/ DEFAULT 0/i','',$newreg3);
Expand Down

0 comments on commit 26c3bd4

Please sign in to comment.