Skip to content

Commit

Permalink
Merge pull request #21 from scylladb/hj/using_more_types
Browse files Browse the repository at this point in the history
schema: not using "date" as a type yet since it…
  • Loading branch information
Henrik Johansson authored Mar 11, 2019
2 parents ed14bab + 57e8ee5 commit 14989fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (s *Schema) GetDropSchema() []string {
}
}

var types = [...]string{"int", "bigint", "blob", "uuid", "text", "varchar", "timestamp", "date"}
var types = [...]string{"int", "bigint", "blob", "uuid", "text", "varchar", "timestamp"}

func genColumnName(prefix string, idx int) string {
return fmt.Sprintf("%s%d", prefix, idx)
Expand All @@ -85,9 +85,9 @@ func genColumnDef(prefix string, idx int) ColumnDef {
}

const (
MaxPartitionKeys = 2
MaxPartitionKeys = 2
MaxClusteringKeys = 4
MaxColumns = 8
MaxColumns = 8
)

func GenSchema() *Schema {
Expand Down

0 comments on commit 14989fd

Please sign in to comment.