1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-03 17:10:18 +00:00

orm: Add test case for integer pk

This commit is contained in:
miraclesu
2016-03-18 21:58:11 +08:00
parent a3d4218d9d
commit 84ae930c64
2 changed files with 27 additions and 0 deletions

View File

@ -387,6 +387,11 @@ func NewInLineOneToOne() *InLineOneToOne {
return new(InLineOneToOne)
}
type IntegerPk struct {
Id int64 `orm:"pk"`
Value string
}
var DBARGS = struct {
Driver string
Source string