mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 03:16:01 +00:00
DBGATE_TOOLS => DBGATE_PACKAGES
This commit is contained in:
@@ -4,7 +4,7 @@ const driverBase = require('../frontend/driver');
|
||||
const Analyser = require('./Analyser');
|
||||
const { splitQuery, sqliteSplitterOptions } = require('dbgate-query-splitter');
|
||||
const { createBulkInsertStreamBase, makeUniqueColumnNames } = require('dbgate-tools');
|
||||
const { getLogger } = global.DBGATE_TOOLS;
|
||||
const { getLogger } = global.DBGATE_PACKAGES['dbgate-tools'];
|
||||
|
||||
const logger = getLogger('sqliteDriver');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const { SqlDumper, arrayToHexString } = global.DBGATE_TOOLS;
|
||||
const { SqlDumper, arrayToHexString } = global.DBGATE_PACKAGES['dbgate-tools'];
|
||||
|
||||
class Dumper extends SqlDumper {
|
||||
renameColumn(column, newcol) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const { driverBase } = global.DBGATE_TOOLS;
|
||||
const { driverBase } = global.DBGATE_PACKAGES['dbgate-tools'];
|
||||
const Dumper = require('./Dumper');
|
||||
const { sqliteSplitterOptions, noSplitSplitterOptions } = require('dbgate-query-splitter/lib/options');
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ var config = {
|
||||
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
'global.DBGATE_TOOLS': 'window.DBGATE_TOOLS',
|
||||
'global.DBGATE_PACKAGES': 'window.DBGATE_PACKAGES',
|
||||
}),
|
||||
],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user