Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AddCalculateLostForDisputeGameTable = gormigrate.Migration{ ID: "v2", Migrate: func(tx *gorm.DB) error { type DisputeGame struct { CalculateLost bool `json:"calculate_lost" gorm:"type:tinyint(1);notnull;default:0"` } return tx.Table("dispute_game").AutoMigrate(&DisputeGame{}) }, Rollback: func(db *gorm.DB) error { return db.Migrator().DropColumn("dispute_game", "calculate_lost") }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.