diff --git a/packages/web/src/modals/UploadErrorModal.svelte b/packages/web/src/modals/UploadErrorModal.svelte index ab9b94b27..5395310f5 100644 --- a/packages/web/src/modals/UploadErrorModal.svelte +++ b/packages/web/src/modals/UploadErrorModal.svelte @@ -43,7 +43,10 @@ {#if htmlUrl}
-

Upload error to gist was successful. You could check uploaded data, if don't want to make them public, use Delete button to remove them from gist.

+

+ Upload error to gist was successful. Please copy gist URL abnd paste it to related github issue. You could check + uploaded data, if don't want to make them public, use Delete button to remove them from gist. +

Open uploaded data

{:else} diff --git a/plugins/dbgate-plugin-postgres/src/backend/Analyser.js b/plugins/dbgate-plugin-postgres/src/backend/Analyser.js index aea3d9bd0..4ec6c674b 100644 --- a/plugins/dbgate-plugin-postgres/src/backend/Analyser.js +++ b/plugins/dbgate-plugin-postgres/src/backend/Analyser.js @@ -306,6 +306,22 @@ class Analyser extends DatabaseAnalyser { this.feedback({ analysingMessage: null }); + this.logger.debug( + { + tables: res.tables.length, + columns: _.sum(res.tables.map(x => x.columns.length)), + primaryKeys: res.tables.filter(x => x.primaryKey).length, + foreignKeys: _.sum(res.tables.map(x => x.foreignKeys.length)), + indexes: _.sum(res.tables.map(x => x.indexes.length)), + uniques: _.sum(res.tables.map(x => x.uniques.length)), + views: res.views.length, + matviews: res.matviews.length, + procedures: res.procedures.length, + functions: res.functions.length, + }, + 'Database structured finalized' + ); + return res; }