mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-23 19:31:53 +02:00
fix for changing non-nullable fields in postgres
This commit is contained in:
parent
6b6d8f250e
commit
9e0d88fd69
@ -409,9 +409,16 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
if(isset($arraydef['nullable']) && $arraydef['nullable'])
|
||||||
{
|
{
|
||||||
$sSQL .= 'null';
|
$sSQL .= 'null';
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$sSQL .= "''";
|
||||||
|
}
|
||||||
|
}
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
$sSQL .= ')';
|
$sSQL .= ')';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user