mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 11:26:00 +00:00
compare model fix
This commit is contained in:
@@ -401,6 +401,10 @@ module.exports = {
|
||||
|
||||
structure_meta: true,
|
||||
async structure({ conid, database, modelTransFile = null }, req) {
|
||||
if (!conid || !database) {
|
||||
return null;
|
||||
}
|
||||
|
||||
testConnectionPermission(conid, req);
|
||||
if (conid == '__model') {
|
||||
const model = await importDbModel(database);
|
||||
|
||||
Reference in New Issue
Block a user