Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Analyzer ¶
type Analyzer struct {
Options
}
Analyzer checks data-dependent changes.
func (*Analyzer) Diagnostics ¶
Diagnostics runs the common analysis on the file and returns its diagnostics.
type Options ¶
type Options struct {
// UniqueIndex indicates if the analyzer should check for modification or
// addition of unique indexes to tables that can cause migration to fail.
UniqueIndex *bool `spec:"drop_schema,omitempty"`
// Allow drivers to extend the configuration.
schemahcl.DefaultExtension
}
Options defines the configuration options for the data-dependent changes checker.
Click to show internal directories.
Click to hide internal directories.