Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MigrateStatusSuccess success MigrateStatusSuccess = "SUCCESS" // MigrateStatusSkipped skipped MigrateStatusSkipped = "SKIPPED" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DBImporterMigrate ¶
type DBImporterMigrate struct { ID string `gorm:"type:varchar(255);primary_key;"` // fileName as ID Status string `gorm:"type:varchar(20);not null;default:0"` // status: pending, success, failed, skipped FailedMsg string `gorm:"type:text"` // failed msg ExecStart time.Time ExecEnd time.Time }
DBImporterMigrate model
Click to show internal directories.
Click to hide internal directories.