Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadSchemaSnapshot ¶
LoadSchemaSnapshot shells out to a generated helper so user schema packages can stay regular Go code.
Types ¶
type Config ¶
type Config struct {
Dialect string `yaml:"dialect"`
SchemaPackage string `yaml:"schema_package"`
SchemaFunction string `yaml:"schema_function"`
Out string `yaml:"out"`
MigrationTable string `yaml:"migration_table"`
DSN string `yaml:"dsn"`
}
Config defines the CLI settings loaded from disk and flags.
Click to show internal directories.
Click to hide internal directories.