Skip to content

Commit

Permalink
Chore: cleanup key call
Browse files Browse the repository at this point in the history
  • Loading branch information
tobymao committed May 26, 2023
1 parent 83abb53 commit 425af88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlglot/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ def create_sql(self, expression: exp.Create) -> str:
prefix=" ",
)

indexes = self.expressions(expression, "indexes", indent=False, sep=" ")
indexes = self.expressions(expression, key="indexes", indent=False, sep=" ")
indexes = f" {indexes}" if indexes else ""
index_sql = indexes + postindex_props_sql

Expand Down

0 comments on commit 425af88

Please sign in to comment.