mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 16:13:58 +00:00
pg more analyser logs
This commit is contained in:
@@ -43,7 +43,10 @@
|
|||||||
|
|
||||||
{#if htmlUrl}
|
{#if htmlUrl}
|
||||||
<div>
|
<div>
|
||||||
<p>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.</p>
|
<p>
|
||||||
|
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.
|
||||||
|
</p>
|
||||||
<p><Link href={htmlUrl}>Open uploaded data</Link></p>
|
<p><Link href={htmlUrl}>Open uploaded data</Link></p>
|
||||||
</div>
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
|
|||||||
@@ -306,6 +306,22 @@ class Analyser extends DatabaseAnalyser {
|
|||||||
|
|
||||||
this.feedback({ analysingMessage: null });
|
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;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user