From d660190e27d3ca393b06148b28cd05a6ad3bf769 Mon Sep 17 00:00:00 2001 From: Vivek Yadav Date: Mon, 18 Nov 2024 10:19:30 +0530 Subject: [PATCH] formated the schema --- spanner/ddl/ast.go | 4 ++-- webv2/config.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spanner/ddl/ast.go b/spanner/ddl/ast.go index 8afcd3349..171311ab6 100644 --- a/spanner/ddl/ast.go +++ b/spanner/ddl/ast.go @@ -513,9 +513,9 @@ func PrintCheckConstraintTable(cks []Checkconstraint) string { s = "" for index, col := range cks { if index == len(cks)-1 { - s = s + fmt.Sprintf("CONSTRAINT %s CHECK %s\n", col.Name, col.Expr) + s = s + fmt.Sprintf("\tCONSTRAINT %s CHECK %s\n", col.Name, col.Expr) } else { - s = s + fmt.Sprintf("CONSTRAINT %s CHECK %s,\n", col.Name, col.Expr) + s = s + fmt.Sprintf("\tCONSTRAINT %s CHECK %s,\n", col.Name, col.Expr) } } diff --git a/webv2/config.json b/webv2/config.json index 0cdc52870..e2e1684f5 100644 --- a/webv2/config.json +++ b/webv2/config.json @@ -1,5 +1,5 @@ { - "GCPProjectID": "vivekyadav-1731558466", - "SpannerProjectID": "vivekyadav-1731558466", + "GCPProjectID": "vivekyadav-1731900261", + "SpannerProjectID": "vivekyadav-1731900261", "SpannerInstanceID": "spanner-demo" }