IDM 6.0, 5.x, 4.x.
In the openidm.objecttypes table (in db/scripts/openidm.sql), the column "objecttype" is defined differently for different DBs.
for mssql and db2, the column is defined as "NOT NULL";
for mysql, it is "NULL";
for postgres, it is "DEFAULT NULL".