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 e49cb9d commit 3e2eb6aCopy full SHA for 3e2eb6a
src/output/sqlite.js
@@ -138,7 +138,7 @@ class SqliteDatabaseAbstraction {
138
*
139
* @param name
140
* @param columnNameTypes
141
- * @returns {Promise<any>}
+ * @returns {Promise<void>}
142
*/
143
async createTable(name, columnNameTypes) {
144
await new Promise((resolve, reject) => {
@@ -226,8 +226,8 @@ class Sqlite extends Base {
226
async provisionDatabase() {
227
await this.db.open();
228
229
- for(const table of this.tables) {
230
- await this.db.buildTable(table[1]);
+ for(const table of this.tables.values()) {
+ await this.db.buildTable(table);
231
}
232
233
if (this.config.get('report').includes('stats')) {
0 commit comments