switched to auto_increment on associationobject and associationtype