1
0
Fork 0
mirror of synced 2024-07-02 04:50:44 +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. Please run your query to fetch some data.
{:else} {:else}
{JSON.stringify(data[0], undefined, 2)} {JSON.stringify(data[0], undefined, 2)}
{/if} {/if}

View file

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