fix(mssql): correct order of MSSQL type mappings
This commit is contained in:
@@ -21,13 +21,13 @@ var CanonicalToMSSQLTypes = map[string]string{
|
|||||||
"uint32": "BIGINT",
|
"uint32": "BIGINT",
|
||||||
"uint64": "BIGINT",
|
"uint64": "BIGINT",
|
||||||
// Integer — SQL canonical (serial types map to base integer; IDENTITY is set via AutoIncrement)
|
// Integer — SQL canonical (serial types map to base integer; IDENTITY is set via AutoIncrement)
|
||||||
"integer": "INT",
|
"integer": "INT",
|
||||||
"smallint": "SMALLINT",
|
"smallint": "SMALLINT",
|
||||||
"bigint": "BIGINT",
|
"bigint": "BIGINT",
|
||||||
"tinyint": "TINYINT",
|
"tinyint": "TINYINT",
|
||||||
"serial": "INT",
|
"serial": "INT",
|
||||||
"smallserial": "SMALLINT",
|
"smallserial": "SMALLINT",
|
||||||
"bigserial": "BIGINT",
|
"bigserial": "BIGINT",
|
||||||
// Float — Go canonical
|
// Float — Go canonical
|
||||||
"float32": "REAL",
|
"float32": "REAL",
|
||||||
"float64": "FLOAT",
|
"float64": "FLOAT",
|
||||||
|
|||||||
Reference in New Issue
Block a user