Chore: add/update sqlstore-related helper functions (#77408)
* add/update sqlstore-related helper functions * add documentation & tests for InsertQuery and UpdateQuery, make generated SQL deterministic by sorting columns * remove old log line
This commit is contained in:
@@ -69,6 +69,9 @@ func (db *MySQLDialect) SQLType(c *Column) string {
|
||||
c.Length = 64
|
||||
case DB_NVarchar:
|
||||
res = DB_Varchar
|
||||
case DB_Uuid:
|
||||
res = DB_Char
|
||||
c.Length = 36
|
||||
default:
|
||||
res = c.Type
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user