fix for changing non-nullable fields in postgres

This commit is contained in:
shrykedude 2004-01-25 06:40:59 +00:00
parent 6b6d8f250e
commit 9e0d88fd69

View File

@ -409,9 +409,16 @@
}
}
else
{
if(isset($arraydef['nullable']) && $arraydef['nullable'])
{
$sSQL .= 'null';
}
else
{
$sSQL .= "''";
}
}
$i++;
}
$sSQL .= ')';