tortoise / aerich

A database migrations tool for TortoiseORM, ready to production.
https://github.com/tortoise/aerich
Apache License 2.0
804 stars 90 forks source link

Fix the issue of parameter concatenation when generating ORM with ins… #331

Open floodpillar opened 3 months ago

floodpillar commented 3 months ago

Before fixing the parameter concatenation: d_price = fields.DecimalField(max_digits=10, decimal_places=2null=True, ) p_price = fields.DecimalField(max_digits=10, decimal_places=2null=True, )

After fixing the parameter concatenation: d_price = fields.DecimalField(max_digits=10, decimal_places=2, null=True, ) p_price = fields.DecimalField(max_digits=10, decimal_places=2, null=True, )