Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MigrationHandler ¶
type MigrationHandler struct {
*migrate.Migrate
}
func NewMigrationHandler ¶
func NewMigrationHandler() (*MigrationHandler, error)
func (*MigrationHandler) ListMigrations ¶
func (m *MigrationHandler) ListMigrations()
func (*MigrationHandler) MigrationStep ¶
func (m *MigrationHandler) MigrationStep(step int)
func (*MigrationHandler) RunMigrations ¶
func (m *MigrationHandler) RunMigrations() error
func (*MigrationHandler) ViewMigration ¶
func (m *MigrationHandler) ViewMigration(file string) []byte
Click to show internal directories.
Click to hide internal directories.