From 57e8ee56f4430a3cfb8eba59fd71202a629e2743 Mon Sep 17 00:00:00 2001 From: Henrik Johansson Date: Mon, 11 Mar 2019 09:18:44 +0100 Subject: [PATCH] schema: not using "date" as a type yet Date fails in an anknown fashion and until we know why we are not using it. --- schema.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/schema.go b/schema.go index f04a3088..08489068 100644 --- a/schema.go +++ b/schema.go @@ -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) @@ -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 {