Documentation
¶
Index ¶
- func Ensure(ctx context.Context, d *db.DB) error
- func GetSchemaVersion(ctx context.Context, d *db.DB) (int, error)
- func GetToolVersion(ctx context.Context, d *db.DB) (string, error)
- func GetYAMLSha(ctx context.Context, d *db.DB) (string, error)
- func Initialized(ctx context.Context, d *db.DB) (bool, error)
- func SetSchemaVersion(ctx context.Context, d *db.DB, v int, toolVersion string) error
- func WriteYAMLSha(ctx context.Context, d *db.DB, newSha, toolVersion string) error
- type YAMLSnapshot
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialized ¶ added in v1.3.9
Initialized reports whether the samna_migrate schema chain has been established, detected by the presence of state.schema_version.
func SetSchemaVersion ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.