From 5ffa983a70cb828fee8d1c90d8ca31f5cdc01ba4 Mon Sep 17 00:00:00 2001 From: o1lab Date: Sat, 21 Jul 2018 18:23:07 +0100 Subject: [PATCH] Fix #35 : Cannot read property 'isView' There was an error reading isView. --- lib/xsql.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/xsql.js b/lib/xsql.js index 8e59f114d1..eb6963d337 100644 --- a/lib/xsql.js +++ b/lib/xsql.js @@ -72,7 +72,7 @@ class Xsql { this.metaDb.tables[tableName]['foreignKeys'] = [] this.metaDb.tables[tableName]['columns'] = [] this.metaDb.tables[tableName]['indicies'] = [] - this.metaDb.tables[tableName]['isView'] = schemaRow['table_name']['isView'] + this.metaDb.tables[tableName]['isView'] = schemaRow['isView'] } } }