Documentation ¶
Index ¶
- type OldMigrationRecord
- type Persister
- func (p *Persister) Connection(_ context.Context) *pop.Connection
- func (p *Persister) MigrateDown(_ context.Context, steps int) error
- func (p *Persister) MigrateUp(_ context.Context) error
- func (p *Persister) MigrateUpTo(_ context.Context, steps int) (int, error)
- func (p *Persister) MigrationStatus(_ context.Context, w io.Writer) error
- func (p *Persister) PrepareMigration(_ context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OldMigrationRecord ¶
this type is copied from sql-migrate to remove the dependency
type Persister ¶
type Persister struct {
// contains filtered or unexported fields
}
func NewPersister ¶
func (*Persister) Connection ¶
func (*Persister) MigrateUpTo ¶
func (*Persister) MigrationStatus ¶
Click to show internal directories.
Click to hide internal directories.