mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-11 03:51:25 +01:00
Fix: Error in pgsql upgrade
This commit is contained in:
@@ -241,6 +241,7 @@ class DoliDb
|
|||||||
{
|
{
|
||||||
$line = "-- ".$line." replaced by --\n";
|
$line = "-- ".$line." replaced by --\n";
|
||||||
$newreg3=$reg[3];
|
$newreg3=$reg[3];
|
||||||
|
$newreg3=preg_replace('/ DEFAULT NULL/i','',$newreg3);
|
||||||
$newreg3=preg_replace('/ NOT NULL/i','',$newreg3);
|
$newreg3=preg_replace('/ NOT NULL/i','',$newreg3);
|
||||||
$newreg3=preg_replace('/ NULL/i','',$newreg3);
|
$newreg3=preg_replace('/ NULL/i','',$newreg3);
|
||||||
$newreg3=preg_replace('/ DEFAULT 0/i','',$newreg3);
|
$newreg3=preg_replace('/ DEFAULT 0/i','',$newreg3);
|
||||||
|
|||||||
Reference in New Issue
Block a user