Skip to content

Commit

Permalink
[gen] #7 forgot to update column type mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
pingginp committed Feb 19, 2019
1 parent 33f9519 commit 7fc6fe0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generator/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ var customImportPaths = map[string]string{
var columnTypes = map[gocql.Type]string{
gocql.TypeAscii: "cqlc.String_Column",
gocql.TypeVarchar: "cqlc.String_Column",
gocql.TypeText: "cqlc.String_Column", // the ~~only~~ second fix needed for support C*3 ...
gocql.TypeInt: "cqlc.Int32_Column",
gocql.TypeBigInt: "cqlc.Int64_Column",
gocql.TypeFloat: "cqlc.Float32_Column",
Expand Down

0 comments on commit 7fc6fe0

Please sign in to comment.