renamed dbgate packages, because of npmjs policy

This commit is contained in:
Jan Prochazka
2020-11-16 21:59:08 +01:00
parent 09b26319f0
commit f7ebcd9537
96 changed files with 179 additions and 179 deletions

View File

@@ -3,7 +3,7 @@ const _ = require('lodash');
const sql = require('./sql');
const DatabaseAnalayser = require('../default/DatabaseAnalyser');
const { isTypeString, isTypeNumeric } = require('@dbgate/tools');
const { isTypeString, isTypeNumeric } = require('dbgate-tools');
function normalizeTypeName(dataType) {
if (dataType == 'character varying') return 'varchar';
@@ -127,7 +127,7 @@ class PostgreAnalyser extends DatabaseAnalayser {
// console.log('MODIFICATION OF ', objectTypeField, schemaName, pureName);
/** @type {import('@dbgate/types').DatabaseModification} */
/** @type {import('dbgate-types').DatabaseModification} */
const action = obj
? {
newName: { schemaName, pureName },