fix: Add comma to separate value in join

This commit is contained in:
Isaque Alves 2022-06-17 01:51:47 -03:00
parent 1ac16188fc
commit d7b1c07d13

View File

@ -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: