Index creation fails on field.db_type() is None

Sometimes field.db_type doesn't return a value what should raise an index creation error.