func (Histories) TableName() string {
	return "history"
}
TableName overrides the table name calculated by gorm
package models
import "time"
type History struct {
	ID        int32     `gorm:"primary_key,column:id"`
	Datetime  time.Time `gorm:"column:datetime"`
	Filename  string    `gorm:"column:filename"`
	IsSuccess bool      `gorm:"column:is_success"`
	Err       string    `gorm:"column:err"`
}
type Histories []History