1
0
Fork 0
mirror of synced 2024-06-30 03:50:37 +12:00

Fixing test case.

This commit is contained in:
mike12345567 2021-02-22 12:05:59 +00:00
parent a81b44ccaf
commit 564b16e623
2 changed files with 4 additions and 2 deletions

View file

@ -203,11 +203,13 @@
Please run your query to fetch some data.
{:else}
{JSON.stringify(data[0], undefined, 2)}
{/if}

View file

@ -7,7 +7,7 @@ const { inputProcessing } = require("../../../utilities/rowProcessor")
const { USERS_TABLE_SCHEMA } = require("../../../constants")
exports.checkForColumnUpdates = async (db, oldTable, updatedTable) => {
let updatedRows
let updatedRows = []
const rename = updatedTable._rename
let deletedColumns = []
if (oldTable && oldTable.schema && updatedTable.schema) {
@ -172,7 +172,7 @@ class TableSaveFunctions {
this.oldTable,
table
)
this.rows.concat(response.rows)
this.rows = this.rows.concat(response.rows)
return table
}