Migration error while changing the id field to UUID

Hello Everyone,

I am getting an attribute error while trying to migrate the changes on Lesson 4 of Designing and Implementing a Shopping Cart API.

the error shows as follows:
AttributeError: ‘DatabaseIntrospection’ object has no attribute '_parse_constraint_columns’

I already searched on google and stack overflow but couldn’t get an answer.