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:
@ -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
|
||||
|
Reference in New Issue
Block a user