Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Migrations ¶
type Migrations struct {
// contains filtered or unexported fields
}
func NewMigrations ¶
func NewMigrations(cfg *orm.OrmConfig, db *gorm.DB, mConf *MigrationsConfig) *Migrations
func (Migrations) Down ¶
func (m Migrations) Down() (err error)
func (Migrations) Purge ¶
func (m Migrations) Purge() (err error)
func (Migrations) Up ¶
func (m Migrations) Up() (err error)
type MigrationsConfig ¶
func NewMigrationsConfig ¶
func NewMigrationsConfig() *MigrationsConfig
Click to show internal directories.
Click to hide internal directories.