Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Migrations ¶
type Migrations struct { DB *sql.DB Logger logger.Logger Schema string MetadataTableName string MetadataKey string // contains filtered or unexported fields }
Migrations performs migrations for the database schema
func (*Migrations) Perform ¶
func (m *Migrations) Perform(ctx context.Context, migrationFns []commonsql.MigrationFn) (err error)
Perform the required migrations
Click to show internal directories.
Click to hide internal directories.