• haoyanbin's avatar
    1 · c65e78f1
    haoyanbin authored
    c65e78f1
migrate.go 208 Bytes
package models

import "time"

type Migration struct {
	Version   string    `gorm:"primaryKey"`
	ApplyTime time.Time `gorm:"autoCreateTime"`
}

func (Migration) TableName() string {
	return "sys_migration"
}