function

InspectArtifacts

func InspectArtifacts( ctx context.Context, path, directory string, executableManifest schema.Manifest, ) ([]MigrationStatus, error)

Report immutable migration state without creating or changing the selected SQLite database.

Source adapters/sqlite/migrations.go:1221

@param ctx
The ctx value.
@param path
The path value.
@param directory
The directory value.
@param executableManifest
The executableManifest value.
@returns
The declared result.

A missing database is reported with every artifact pending. Existing databases are opened read-only without adapter write pragmas or journal sidecars.

Related types

  • Manifest

    An immutable versioned schema contract.

  • MigrationStatus

    One immutable artifact relative to the SQLite ledger.