MasoniteFramework / orm

Masonite ORM is a beautiful Python ORM. It's also a nearly drop in replacement of the Orator ORM
https://orm.masoniteproject.com
MIT License
165 stars 48 forks source link

PostgresPlatform's `modify_column_string` missing `{length}`? #727

Closed os-nikita closed 2 years ago

os-nikita commented 2 years ago

Describe the bug It looks like for Postgres, using for example table.string("foo", 36).change() in a migration results in the column taking on a varchar field without any length specified. This seems to be due to the what is mentioned in this issue's title.

Expected behavior Migrating a table to change a column should add the appropriate string length. Compare this to MySQLPlatform.py, for example.