Trigger name.
The table it fires on: a name, or the model mapped to it.
When it runs.
What fires it.
What it does.
OptionalforPer row (default) or per statement.
OptionalwhenGuard, in the usual where syntax — use NEW() / OLD() for the rows:
when: { [NEW('status')]: … } // not valid: keys must be strings
when: { status: { ne: OLD('status') } } // fires only when status changed
OptionalupdateColumns an UPDATE trigger watches (UPDATE OF a, b). PostgreSQL, Oracle.
A trigger.
Tnames the row shape when you have one, sosetand the column helpers are checked against real columns rather than accepting any string.