mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
console: show PG trigger condition on Table modify page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8555 GitOrigin-RevId: 5cfac5789bee2f61c7be24db20e155bb4f07cb50
This commit is contained in:
parent
a7053fd9b5
commit
16bd34f9c3
@ -99,7 +99,10 @@ const TriggerEditorList = ({ tableSchema, dispatch }) => {
|
||||
<div>
|
||||
<i>
|
||||
{trigger.action_timing} {trigger.event_manipulation}, FOR EACH{' '}
|
||||
{trigger.action_orientation}
|
||||
{trigger.action_orientation}{' '}
|
||||
{trigger.action_condition
|
||||
? ' WHEN ' + trigger.action_condition
|
||||
: ''}
|
||||
</i>
|
||||
<AceEditor
|
||||
mode="sql"
|
||||
|
@ -63,6 +63,7 @@ export interface PostgresTrigger {
|
||||
trigger_schema: string;
|
||||
action_statement: string;
|
||||
action_orientation: string;
|
||||
action_condition: string;
|
||||
event_manipulation: string;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user