mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-25 00:36:00 +00:00
fix: add trigger event type to oracle triggers query
This commit is contained in:
@@ -193,6 +193,7 @@ class Analyser extends DatabaseAnalyser {
|
|||||||
definition: row.DEFINITION,
|
definition: row.DEFINITION,
|
||||||
tableName: row.TABLE_NAME,
|
tableName: row.TABLE_NAME,
|
||||||
triggerLevel: row.TRIGGER_LEVEL,
|
triggerLevel: row.TRIGGER_LEVEL,
|
||||||
|
triggerTiming: row.TRIGGER_TIMING,
|
||||||
eventType: row.EVENT_TYPE,
|
eventType: row.EVENT_TYPE,
|
||||||
})),
|
})),
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
module.exports = `
|
module.exports = `
|
||||||
SELECT
|
SELECT
|
||||||
TRIGGER_TYPE AS event_type,
|
TRIGGER_TYPE AS trigger_timing,
|
||||||
|
TRIGGERING_EVENT AS event_type,
|
||||||
TRIGGER_BODY AS definition,
|
TRIGGER_BODY AS definition,
|
||||||
TRIGGER_NAME AS trigger_name,
|
TRIGGER_NAME AS trigger_name,
|
||||||
TABLE_NAME AS table_name,
|
TABLE_NAME AS table_name,
|
||||||
|
|||||||
Reference in New Issue
Block a user