mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 02:06:01 +00:00
fix - mysql has not schema
This commit is contained in:
@@ -212,7 +212,7 @@ class Analyser extends DatabaseAnalyser {
|
||||
})),
|
||||
procedures: programmables.rows
|
||||
.filter(x => x.objectType == 'PROCEDURE')
|
||||
.map(x => _.omit(x, ['objectType']))
|
||||
.map(x => _.omit(x, ['objectType', 'schemaName']))
|
||||
.map(x => ({
|
||||
...x,
|
||||
createSql: `DELIMITER //\n\nCREATE PROCEDURE \`${x.pureName}\`(${getParametersSqlString(
|
||||
@@ -224,7 +224,7 @@ class Analyser extends DatabaseAnalyser {
|
||||
})),
|
||||
functions: programmables.rows
|
||||
.filter(x => x.objectType == 'FUNCTION')
|
||||
.map(x => _.omit(x, ['objectType']))
|
||||
.map(x => _.omit(x, ['objectType', 'schemaName']))
|
||||
.map(x => ({
|
||||
...x,
|
||||
createSql: `CREATE FUNCTION \`${x.pureName}\`(${getParametersSqlString(
|
||||
|
||||
Reference in New Issue
Block a user