Skip to content

Commit dcdaa9f

Browse files
committed
fix: lint
1 parent 1d4d977 commit dcdaa9f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

pkg/parser/ast.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -982,16 +982,16 @@ func (cs *ContinueStatement) String() string { return "CONTINUE" }
982982
// CreateTriggerStatement represents CREATE TRIGGER
983983
type CreateTriggerStatement struct {
984984
BaseNode
985-
TriggerName string // Trigger name
986-
Timing string // BEFORE, AFTER, INSTEAD OF
987-
Events []string // INSERT, UPDATE, DELETE
988-
TableName TableReference // Table the trigger is on
989-
ForEachRow bool // FOR EACH ROW (vs FOR EACH STATEMENT)
990-
WhenCondition Expression // Optional WHEN condition
991-
Body *ProcedureBody // Trigger body (BEGIN...END or single statement)
992-
OrReplace bool // OR REPLACE (PostgreSQL)
993-
IfNotExists bool // IF NOT EXISTS (MySQL)
994-
Options map[string]string // Dialect-specific options
985+
TriggerName string // Trigger name
986+
Timing string // BEFORE, AFTER, INSTEAD OF
987+
Events []string // INSERT, UPDATE, DELETE
988+
TableName TableReference // Table the trigger is on
989+
ForEachRow bool // FOR EACH ROW (vs FOR EACH STATEMENT)
990+
WhenCondition Expression // Optional WHEN condition
991+
Body *ProcedureBody // Trigger body (BEGIN...END or single statement)
992+
OrReplace bool // OR REPLACE (PostgreSQL)
993+
IfNotExists bool // IF NOT EXISTS (MySQL)
994+
Options map[string]string // Dialect-specific options
995995
}
996996

997997
func (cts *CreateTriggerStatement) statementNode() {}

0 commit comments

Comments
 (0)