type

BaselineReplacementOptions

BaselineReplacementOptions controls an explicit rewrite of recorded history. PreviousDirectory must contain the immutable artifacts the database records; when empty, the replacement directory is also used as the previous history.

Properties

PropertyTypeDescription
PreviousDirectorystringThe PreviousDirectory value.
AllowProductionboolAllowProduction permits rewriting the history of a database that is exactly at its recorded head, where binaries built from that history may still pass readiness. Stop every application process and writer first.

Full signature

type BaselineReplacementOptions struct { PreviousDirectory string // AllowProduction permits rewriting the history of a database that is // exactly at its recorded head, where binaries built from that history may // still pass readiness. Stop every application process and writer first. AllowProduction bool }

Source migration/baseline.go:8