Skip to content

Commit 0f2dbef

Browse files
author
Loay Gewily
committed
Fix linting issues
1 parent cf31d40 commit 0f2dbef

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/discovery.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function mixinDiscovery(PostgreSQL) {
2626
sql += ' ORDER BY ' + orderBy;
2727
}
2828
return sql + limit;
29-
}
29+
};
3030

3131
/*!
3232
* Build sql for listing tables
@@ -128,7 +128,8 @@ function mixinDiscovery(PostgreSQL) {
128128
+ (table ? ' AND table_name=\'' + table + '\'' : ''),
129129
'table_name, ordinal_position', {});
130130
} else {
131-
sql = this.paginateSQL('SELECT current_schema() AS "owner", table_name AS "tableName", column_name AS "columnName",'
131+
sql = this.paginateSQL('SELECT current_schema() AS "owner", table_name AS "tableName",'
132+
+ ' column_name AS "columnName",'
132133
+ ' data_type AS "dataType", character_maximum_length AS "dataLength", numeric_precision AS "dataPrecision",'
133134
+ ' numeric_scale AS "dataScale", is_nullable AS "nullable"'
134135
+ ' FROM information_schema.columns'

0 commit comments

Comments
 (0)