Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer struct {
Options
}
Analyzer checks for destructive changes.
type Options ¶
type Options struct { // DropSchema indicates if the analyzer should check for schema dropping. DropSchema *bool `spec:"drop_schema,omitempty"` // DropTable indicates if the analyzer should check for table dropping. DropTable *bool `spec:"drop_schema,omitempty"` // DropColumn indicates if the analyzer should check for column dropping. DropColumn *bool `spec:"drop_column,omitempty"` // Allow drivers to extend the configuration. schemahcl.DefaultExtension }
Options defines the configuration options for the destructive changes checker.
Click to show internal directories.
Click to hide internal directories.