diff --git a/plugins/dbgate-plugin-clickhouse/src/backend/Analyser.js b/plugins/dbgate-plugin-clickhouse/src/backend/Analyser.js index 798e0309..ca2e5553 100644 --- a/plugins/dbgate-plugin-clickhouse/src/backend/Analyser.js +++ b/plugins/dbgate-plugin-clickhouse/src/backend/Analyser.js @@ -1,4 +1,4 @@ -const { DatabaseAnalyser } = global.DBGATE_PACKAGES['dbgate-tools']; +const { DatabaseAnalyser } = require('dbgate-tools'); const sql = require('./sql'); function extractDataType(dataType) {