Skip to content

Commit

Permalink
Add support for tinyint in migrate tool. (#4842)
Browse files Browse the repository at this point in the history
* Add support for tinyint in migrate tool.
  • Loading branch information
Arijit Das authored and vardhanapoorv committed Mar 3, 2020
1 parent fbcf732 commit 7e8015e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dgraph/cmd/migrate/datatype.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ func initDataTypes() {

sqlTypeToInternal = make(map[string]dataType)
sqlTypeToInternal["int"] = intType
sqlTypeToInternal["tinyint"] = intType
sqlTypeToInternal["varchar"] = stringType
sqlTypeToInternal["text"] = stringType
sqlTypeToInternal["date"] = datetimeType
Expand Down

0 comments on commit 7e8015e

Please sign in to comment.