Skip to content

Commit ade74e8

Browse files
author
Loay Gewily
committed
Fix linting issues
1 parent 42dcc73 commit ade74e8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lib/discovery.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function mixinDiscovery(PostgreSQL) {
4949
'table_name', options);
5050
}
5151
return sqlTables;
52-
}
52+
};
5353

5454
/*!
5555
* Build sql for listing views
@@ -76,7 +76,7 @@ function mixinDiscovery(PostgreSQL) {
7676
}
7777
}
7878
return sqlViews;
79-
}
79+
};
8080

8181
/**
8282
* Discover model definitions
@@ -109,7 +109,7 @@ function mixinDiscovery(PostgreSQL) {
109109
options: options,
110110
cb: cb,
111111
};
112-
}
112+
};
113113

114114
/*!
115115
* Build the sql statement to query columns for a given table
@@ -136,7 +136,7 @@ function mixinDiscovery(PostgreSQL) {
136136
'table_name, ordinal_position', {});
137137
}
138138
return sql;
139-
}
139+
};
140140

141141
/**
142142
* Discover model properties from a table
@@ -183,7 +183,7 @@ function mixinDiscovery(PostgreSQL) {
183183
}
184184
sql += ' ORDER BY kc.table_schema, kc.table_name, kc.ordinal_position';
185185
return sql;
186-
}
186+
};
187187

188188
/**
189189
* Discover primary keys for a given table
@@ -231,7 +231,7 @@ function mixinDiscovery(PostgreSQL) {
231231
sql += ' AND tc.table_name=\'' + table + '\'';
232232
}
233233
return sql;
234-
}
234+
};
235235

236236
/**
237237
* Discover foreign keys for a given table
@@ -266,7 +266,7 @@ function mixinDiscovery(PostgreSQL) {
266266
sql += ' order by kcu.table_schema, kcu.table_name, kcu.ordinal_position';
267267

268268
return sql;
269-
}
269+
};
270270

271271
/**
272272
* Discover foreign keys that reference to the primary key of this table
@@ -306,7 +306,7 @@ function mixinDiscovery(PostgreSQL) {
306306
default:
307307
return 'String';
308308
}
309-
}
309+
};
310310

311311
/**
312312
* Discover database indexes for the specified table

0 commit comments

Comments
 (0)