resolved go-xorm/xorm#416
This commit is contained in:
parent
1768a08d82
commit
b1f8a9cefb
|
@ -23,7 +23,7 @@ type Column struct {
|
||||||
Length2 int
|
Length2 int
|
||||||
Nullable bool
|
Nullable bool
|
||||||
Default string
|
Default string
|
||||||
Indexes map[string]bool
|
Indexes map[string]int
|
||||||
IsPrimaryKey bool
|
IsPrimaryKey bool
|
||||||
IsAutoIncrement bool
|
IsAutoIncrement bool
|
||||||
MapType int
|
MapType int
|
||||||
|
@ -50,7 +50,7 @@ func NewColumn(name, fieldName string, sqlType SQLType, len1, len2 int, nullable
|
||||||
Length2: len2,
|
Length2: len2,
|
||||||
Nullable: nullable,
|
Nullable: nullable,
|
||||||
Default: "",
|
Default: "",
|
||||||
Indexes: make(map[string]bool),
|
Indexes: make(map[string]int),
|
||||||
IsPrimaryKey: false,
|
IsPrimaryKey: false,
|
||||||
IsAutoIncrement: false,
|
IsAutoIncrement: false,
|
||||||
MapType: TWOSIDES,
|
MapType: TWOSIDES,
|
||||||
|
|
Loading…
Reference in New Issue