mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 09:05:59 +00:00
feat: add triggers loading message
This commit is contained in:
@@ -185,6 +185,9 @@ class Analyser extends DatabaseAnalyser {
|
||||
geographyColumns = await this.analyserQuery('geographyColumns', ['tables']);
|
||||
}
|
||||
|
||||
this.feedback({ analysingMessage: 'Loading triggers' });
|
||||
const triggers = await this.analyserQuery('triggers');
|
||||
|
||||
this.feedback({ analysingMessage: 'Finalizing DB structure' });
|
||||
|
||||
const columnColumnsMapped = fkColumns.rows.map(x => ({
|
||||
@@ -241,8 +244,6 @@ class Analyser extends DatabaseAnalyser {
|
||||
return acc;
|
||||
}, {});
|
||||
|
||||
const triggers = await this.analyserQuery('triggers');
|
||||
|
||||
const res = {
|
||||
tables: tables.rows.map(table => {
|
||||
const newTable = {
|
||||
|
||||
Reference in New Issue
Block a user