exodus-framework 2.0.984 → 2.0.985

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -153,7 +153,7 @@ class DatabaseService extends _app.Service {
153
153
  const k = `${tenantId}#${entity.name}`;
154
154
  const connection = await this.getConnection(tenantId);
155
155
  const loadedEntity = entity.initialize(connection);
156
- const [tables] = await connection.query(`
156
+ const [tables] = await loadedEntity.sequelize.query(`
157
157
  SELECT table_name
158
158
  FROM information_schema.tables
159
159
  WHERE table_schema = DATABASE()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exodus-framework",
3
- "version": "2.0.984",
3
+ "version": "2.0.985",
4
4
  "description": "Exodus Framework",
5
5
  "author": "jhownpaixao",
6
6
  "license": "ISC",