Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MigrantMake ¶
type MigrantMake struct { FolderPath string PackageName string Logger cbmigrant.Logger ErrorHandler cbmigrant.ErrorHandler }
func (MigrantMake) GetGroup ¶
func (m MigrantMake) GetGroup() string
func (MigrantMake) GetName ¶
func (m MigrantMake) GetName() string
func (MigrantMake) GetSchedule ¶
func (m MigrantMake) GetSchedule() string
func (MigrantMake) Run ¶
func (m MigrantMake) Run() error
type MigrantMigrate ¶
type MigrantMigrate struct { Db *gorm.DB CreateMigrantDatabaseFunc func(db *gorm.DB) error MigrantDatabaseName string MigrantTableName string Logger cbmigrant.Logger ErrorHandler cbmigrant.ErrorHandler }
func (MigrantMigrate) GetGroup ¶
func (m MigrantMigrate) GetGroup() string
func (MigrantMigrate) GetName ¶
func (m MigrantMigrate) GetName() string
func (MigrantMigrate) GetSchedule ¶
func (m MigrantMigrate) GetSchedule() string
func (MigrantMigrate) Run ¶
func (m MigrantMigrate) Run() error
type MigrantRollback ¶
type MigrantRollback struct { Db *gorm.DB CreateMigrantDatabaseFunc func(db *gorm.DB) error MigrantDatabaseName string MigrantTableName string Logger cbmigrant.Logger ErrorHandler cbmigrant.ErrorHandler }
func (MigrantRollback) GetGroup ¶
func (m MigrantRollback) GetGroup() string
func (MigrantRollback) GetName ¶
func (m MigrantRollback) GetName() string
func (MigrantRollback) GetSchedule ¶
func (m MigrantRollback) GetSchedule() string
func (MigrantRollback) Run ¶
func (m MigrantRollback) Run() error
Click to show internal directories.
Click to hide internal directories.