mirror of
https://github.com/ent/ent.git
synced 2026-05-22 09:31:45 +03:00
@@ -174,7 +174,7 @@ func (d *MySQL) cType(c *Column) (t string) {
|
||||
case field.TypeUint16:
|
||||
t = "smallint unsigned"
|
||||
case field.TypeInt32:
|
||||
t = c.scanTypeOr("int") // Or mediumint.
|
||||
t = "int"
|
||||
case field.TypeUint32:
|
||||
t = "int unsigned"
|
||||
case field.TypeInt, field.TypeInt64:
|
||||
|
||||
Reference in New Issue
Block a user