diff --git a/schema_converter.go b/schema_converter.go index f56f704..6063d2a 100644 --- a/schema_converter.go +++ b/schema_converter.go @@ -257,9 +257,9 @@ func main() { log.Printf("[Skipping non-CREATE TABLE statement]\n") } else { log.Printf("[Converted Spanner statement]\n%s\n", spannerCreateTableStmt) + spannerCreateTableStmts = append(spannerCreateTableStmts, spannerCreateTableStmt) } log.Printf("----------------------------------------------") - spannerCreateTableStmts = append(spannerCreateTableStmts, spannerCreateTableStmt) } outputFile := "schema.txt"