From d7b1c07d134aa0562249e2fdbf17169d36277473 Mon Sep 17 00:00:00 2001 From: Isaque Alves Date: Fri, 17 Jun 2022 01:51:47 -0300 Subject: [PATCH] fix: Add comma to separate value in join --- aerich/inspect/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aerich/inspect/__init__.py b/aerich/inspect/__init__.py index ee7fd1b..1b7f8db 100644 --- a/aerich/inspect/__init__.py +++ b/aerich/inspect/__init__.py @@ -36,7 +36,7 @@ class Column(BaseModel): length_parts.append(f"max_digits={self.max_digits}") if self.decimal_places: length_parts.append(f"decimal_places={self.decimal_places}") - length = "".join(length_parts) + length = ",".join(length_parts) if self.null: null = "null=True, " if self.default is not None: