mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-03 13:25:05 +01:00
fix for changing non-nullable fields in postgres
This commit is contained in:
parent
6b6d8f250e
commit
9e0d88fd69
@ -410,7 +410,14 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
$sSQL .= 'null';
|
||||
if(isset($arraydef['nullable']) && $arraydef['nullable'])
|
||||
{
|
||||
$sSQL .= 'null';
|
||||
}
|
||||
else
|
||||
{
|
||||
$sSQL .= "''";
|
||||
}
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user