Use of enum for column indexes