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.

(cherry picked from commit 87e1dcd)
  • Loading branch information
Arijit Das committed Apr 22, 2020
1 parent 9b7240a commit 79c68dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dgraph/cmd/migrate/datatype.go
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 79c68dc

Please sign in to comment.