type

ProjectRequest

Structural paths selected by a portable project migration command.

Properties

PropertyTypeDescription
ActionProjectActionRequested migration lifecycle action.
DatabasePathstringSelected adapter database path.
DatabaseURLstringThe DatabaseURL value.
DirectorystringCommitted migration artifact directory.
AllowInsecureDatabaseboolThe AllowInsecureDatabase value.
AllowMaintenanceboolThe AllowMaintenance value.
AllowUnboundedboolThe AllowUnbounded value.
LockWaittime.DurationThe LockWait value.
OperationTimeouttime.DurationThe OperationTimeout value.
LockTimeouttime.DurationThe LockTimeout value.
StatementTimeouttime.DurationThe StatementTimeout value.
BatchTimeouttime.DurationThe BatchTimeout value.
IdleTransactionTimeouttime.DurationThe IdleTransactionTimeout value.
StopAfterPhasestringThe StopAfterPhase value.
StopAfterStepstringThe StopAfterStep value.

Full signature

type ProjectRequest struct { Action ProjectAction DatabasePath string DatabaseURL string Directory string AllowInsecureDatabase bool AllowMaintenance bool AllowUnbounded bool LockWait time.Duration OperationTimeout time.Duration LockTimeout time.Duration StatementTimeout time.Duration BatchTimeout time.Duration IdleTransactionTimeout time.Duration StopAfterPhase string StopAfterStep string }

Source migration/project.go:28

Methods