Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MigrateMgr ¶
type MigrateMgr struct {
// contains filtered or unexported fields
}
func NewMigrateMgr ¶
func NewMigrateMgr(db *sql.DB, dbType string) *MigrateMgr
func (*MigrateMgr) ApplyRequiredMigrations ¶
func (m *MigrateMgr) ApplyRequiredMigrations() (int, int, error)
func (*MigrateMgr) CheckIfMigrationIsRequired ¶
func (m *MigrateMgr) CheckIfMigrationIsRequired() (int, error)
func (*MigrateMgr) GetLastMigrationInstalled ¶
func (m *MigrateMgr) GetLastMigrationInstalled() (int, error)
func (*MigrateMgr) LoadMigrations ¶
func (m *MigrateMgr) LoadMigrations() error
Click to show internal directories.
Click to hide internal directories.