fixed getIndexSqlDefinition

when use binary column with index.
migrate command doesn't work.