mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 06:46: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,
|
||||
tableName: row.TABLE_NAME,
|
||||
triggerLevel: row.TRIGGER_LEVEL,
|
||||
triggerTiming: row.TRIGGER_TIMING,
|
||||
eventType: row.EVENT_TYPE,
|
||||
})),
|
||||
};
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
module.exports = `
|
||||
SELECT
|
||||
TRIGGER_TYPE AS event_type,
|
||||
TRIGGER_TYPE AS trigger_timing,
|
||||
TRIGGERING_EVENT AS event_type,
|
||||
TRIGGER_BODY AS definition,
|
||||
TRIGGER_NAME AS trigger_name,
|
||||
TABLE_NAME AS table_name,
|
||||
|
||||
Reference in New Issue
Block a user