private String alignRight(String substring, int totalWidth) {
        final String formatString = "%" + totalWidth + "s";
        return String.format(formatString, substring);
    }
Set all typemappers in the given project that match dbms, schema, table, column and column database type.

The idea is to use this method to reset TypeMappers from an old project when new metadata has been loaded.
We make sure to match column database type to avoid setting an incompatible mapper if the new project has
changed database type for the referenced column.

@param to the project to mutate
@param dbms the dbms holding the typemapper
@param schema the schema of the typemapper
@param table the table of the typemapper
@param column the column of the typemapper
@param typeMapperClass the new type mapper class to set
tool-parent/tool-core/src/main/java/com/speedment/tool/core/internal/util/ConfigFileHelper.java