Fix: Error in pgsql upgrade
This commit is contained in:
parent
f142d4f0f1
commit
26c3bd4993
@ -241,6 +241,7 @@ class DoliDb
|
||||
{
|
||||
$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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user