diff --git a/aerich/inspectdb/__init__.py b/aerich/inspectdb/__init__.py index 996b0c1..94c26bf 100644 --- a/aerich/inspectdb/__init__.py +++ b/aerich/inspectdb/__init__.py @@ -36,7 +36,7 @@ def translate(self) -> dict: 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: