Skip to content

Commit

Permalink
formated the schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivek Yadav committed Nov 18, 2024
1 parent 95b5c95 commit d660190
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions spanner/ddl/ast.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

}
Expand Down
4 changes: 2 additions & 2 deletions webv2/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"GCPProjectID": "vivekyadav-1731558466",
"SpannerProjectID": "vivekyadav-1731558466",
"GCPProjectID": "vivekyadav-1731900261",
"SpannerProjectID": "vivekyadav-1731900261",
"SpannerInstanceID": "spanner-demo"
}

0 comments on commit d660190

Please sign in to comment.