table: support single index in definition