Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckNonIdempotentDDLFix ¶
func CheckNonIdempotentDDLFix( migName string, hasSkipIf bool, stmts []classifysql.Statement, ) error
CheckNonIdempotentDDLFix validates DDL idempotency requirements. For any statement flagged as non-idempotent but easily fixable (missing IF EXISTS / IF NOT EXISTS) we require a SkipIf-style safeguard (indicated by hasSkipIf). If absent, we error. Non-idempotent hard cases also error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.