Browse Source

Fix #35 : Cannot read property 'isView'

There was an error reading isView.
pull/46/head
o1lab 6 years ago
parent
commit
5ffa983a70
  1. 2
      lib/xsql.js

2
lib/xsql.js

@ -72,7 +72,7 @@ class Xsql {
this.metaDb.tables[tableName]['foreignKeys'] = [] this.metaDb.tables[tableName]['foreignKeys'] = []
this.metaDb.tables[tableName]['columns'] = [] this.metaDb.tables[tableName]['columns'] = []
this.metaDb.tables[tableName]['indicies'] = [] this.metaDb.tables[tableName]['indicies'] = []
this.metaDb.tables[tableName]['isView'] = schemaRow['table_name']['isView'] this.metaDb.tables[tableName]['isView'] = schemaRow['isView']
} }
} }
} }

Loading…
Cancel
Save