Allow the datatype override for autogenerated relational keys