creates gear model with type column for a single table inheritance association