Documentation
¶
Overview ¶
Package sqlserver plans SQL Server schema migrations without a database connection.
Index ¶
- func BuildArtifact(input migrate.ArtifactRequest) (migrate.Artifact, error)
- func CheckArtifact(artifact migrate.Artifact, actual migrate.Schema) (migrate.ArtifactState, error)
- func FromAtlas(input *schema.Realm) (migrate.Schema, error)
- func Plan(request migrate.Request) (migrate.Plan, error)
- func ValidateArtifact(artifact migrate.Artifact) error
- type DriftError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildArtifact ¶ added in v1.0.6
func BuildArtifact(input migrate.ArtifactRequest) (migrate.Artifact, error)
func CheckArtifact ¶ added in v1.0.6
func FromAtlas ¶ added in v1.0.6
FromAtlas projects supported declarative SQL Server tables and routines into the native model.
func Plan ¶
Plan validates both snapshots and returns ordered SQL and typed change metadata. Names are exact catalog identifiers; callers must supply complete foreign-key targets.
func ValidateArtifact ¶ added in v1.0.6
Types ¶
type DriftError ¶ added in v1.0.6
func (*DriftError) Error ¶ added in v1.0.6
func (e *DriftError) Error() string
Click to show internal directories.
Click to hide internal directories.