Skip to content

Commit bfe9637

Browse files
Arijit Dasdanielmai
Arijit Das
authored andcommitted
Add support for tinyint in migrate tool. (#4842)
* Add support for tinyint in migrate tool. (cherry picked from commit 87e1dcd)
1 parent acd2d93 commit bfe9637

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dgraph/cmd/migrate/datatype.go

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ func initDataTypes() {
4444

4545
sqlTypeToInternal = make(map[string]dataType)
4646
sqlTypeToInternal["int"] = intType
47+
sqlTypeToInternal["tinyint"] = intType
4748
sqlTypeToInternal["varchar"] = stringType
4849
sqlTypeToInternal["text"] = stringType
4950
sqlTypeToInternal["date"] = datetimeType

0 commit comments

Comments
 (0)