Skip to content

Commit c667ba1

Browse files
author
Loay Gewily
committed
Change method name
1 parent d3f4fe3 commit c667ba1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/discovery.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,8 @@ function mixinDiscovery(PostgreSQL) {
275275
* @param {Function} [cb] The callback function
276276
*/
277277

278-
PostgreSQL.prototype.mysqlDataTypeToJSONType = function(mysqlType, dataLength) {
278+
PostgreSQL.prototype.buildPropertyType = function(columnDefinition, dataLength) {
279+
var mysqlType = columnDefinition.dataType;
279280
var type = mysqlType.toUpperCase();
280281
switch (type) {
281282
case 'BOOLEAN':

0 commit comments

Comments
 (0)