Help us shape the future of Go! Take the 2026 Go Developer Survey

sqlserver

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package sqlserver plans SQL Server schema migrations without a database connection.

Index

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 CheckArtifact(artifact migrate.Artifact, actual migrate.Schema) (migrate.ArtifactState, error)

func FromAtlas added in v1.0.6

func FromAtlas(input *schema.Realm) (migrate.Schema, error)

FromAtlas projects supported declarative SQL Server tables and routines into the native model.

func Plan

func Plan(request migrate.Request) (migrate.Plan, error)

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

func ValidateArtifact(artifact migrate.Artifact) error

Types

type DriftError added in v1.0.6

type DriftError struct{ Changes []migrate.Change }

func (*DriftError) Error added in v1.0.6

func (e *DriftError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL