schema

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WithIncludeSchemas = internalschema.WithIncludeSchemas
	WithExcludeSchemas = internalschema.WithExcludeSchemas
)

Functions

func GetPublicSchemaHash

func GetPublicSchemaHash(ctx context.Context, queryable sqldb.Queryable) (string, error)

GetPublicSchemaHash hash gets the hash of the "public" schema. It can be used to compare against the hash in the migration plan to determine if the plan is still valid We do not expose the Schema struct yet because it is subject to change, and we do not want folks depending on its API

Types

type GetSchemaOpt added in v0.6.0

type GetSchemaOpt = internalschema.GetSchemaOpt

Jump to

Keyboard shortcuts

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