Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DBMigration ¶ added in v1.5.10
func DBMigration(spec *DBMigrationSpec) (*environment.Environment, error)
DBMigration returns an environment with DB migrated from FromVersionSpec to ToVersionSpec
Types ¶
type DBMigrationSpec ¶ added in v1.5.10
type DBMigrationSpec struct { FromSpec FromVersionSpec ToSpec ToVersionSpec KeepConnection bool RemoveOnInterrupt bool }
type FromVersionSpec ¶ added in v1.5.10
type ToVersionSpec ¶ added in v1.5.10
Click to show internal directories.
Click to hide internal directories.