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'] } } }