mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 17:16:01 +00:00
fix: add createSql to firebird triggers
This commit is contained in:
@@ -2,7 +2,8 @@ module.exports = `
|
||||
SELECT
|
||||
TRIM(rtr.RDB$TRIGGER_NAME) as "pureName",
|
||||
TRIM(rtr.RDB$RELATION_NAME) as "tableName",
|
||||
rtr.RDB$TRIGGER_TYPE as TRIGGERTYPE
|
||||
rtr.RDB$TRIGGER_TYPE as TRIGGERTYPE,
|
||||
CAST(rtr.RDB$TRIGGER_SOURCE AS VARCHAR(8191)) AS TRIGGER_BODY_SQL
|
||||
FROM
|
||||
RDB$TRIGGERS rtr
|
||||
JOIN RDB$RELATIONS rel ON rtr.RDB$RELATION_NAME = rel.RDB$RELATION_NAME
|
||||
|
||||
Reference in New Issue
Block a user