Skip to content

Commit e387aaa

Browse files
committed
fix: add UUID type
1 parent c6e3374 commit e387aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utilities/isStringType.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @see https://www.postgresql.org/docs/current/static/datatype-numeric.html
55
*/
6-
const characterTypeRule = /^(?:text|character|coordinates)(\s|$)/;
6+
const characterTypeRule = /^(?:text|character|coordinates|uuid)(\s|$)/;
77

88
export default (databaseTypeName: string): boolean => {
99
return characterTypeRule.test(databaseTypeName);

0 commit comments

Comments
 (0)