null support for createdAt field