[sql gen] Control size of index name using an md5 hash [applied]