format🥚 :调整主键key和自增长tag

This commit is contained in:
zhangwenjian committed 2021-02-24 14:22:33 +08:00
1 parent 561566f172
commit f22f654c91
17 files changed
+21 -21

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ package models
import "time"
type Migration struct {
Version string `gorm:"primary_key"`
Version string `gorm:"primaryKey"`
ApplyTime time.Time `gorm:"autoCreateTime"`
}