format🥚 :调整主键key和自增长tag
This commit is contained in:
1 parent
561566f172
commit
f22f654c91
17 files changed
+21
-21
No files matched your search
@@ -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"`
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user