yams #35380 type_from_constraints uses hardcoded VARCHAR [resolved]
in yams.schema2sql, the fonction type_from_constraints uses a hardcoded varchar(%s) when there is a size constraint on the column, instead of using dbhelper.TYPE_MAPPING. Bad things ensue when using e.g. SQL Server for which varchar and nvarchar are very different beasts (the first one does not support Unicode in the way we want in CW, for one thing). | |
priority | important |
---|---|
type | bug |
done in | 0.29.1 |
load | 0.200 |
load left | 0.000 |
closed by | <not specified> |
Comments
-
2010/06/20 11:24
add commentThe following function can be used in migration scripts for cubes running on SQL Server to fix the column type: