We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfa61c9 commit 1ac0d14Copy full SHA for 1ac0d14
src/NHibernate/Dialect/Schema/PostgreSQLMetadata.cs
@@ -157,6 +157,11 @@ private static string Normalize(string typeName)
157
return "int8";
158
}
159
160
+ if (typeName.StartsWith("character"))
161
+ {
162
+ return typeName.Replace("character varying", "varchar").Replace("character", "char");
163
+ }
164
+
165
if (typeName.EndsWith("with timezone"))
166
{
167
return (typeName.StartsWith("timestamp")
@@ -169,7 +174,7 @@ private static string Normalize(string typeName)
169
174
170
175
return typeName.Replace("without timezone", "").Trim();
171
176
172
-
177
173
178
return typeName;
179
180
0 commit comments