Skip to content

1.4.1

Compare
Choose a tag to compare
@dantownsend dantownsend released this 12 Mar 22:15
· 107 commits to master since this release

Fixed an edge case with auto migrations.

If starting from a table like this, with a custom primary key column:

class MyTable(Table):
    id = UUID(primary_key=True)

When a foreign key is added to the table which references itself:

class MyTable(Table):
    id = UUID(primary_key=True)
    fk = ForeignKey("self")

The auto migrations could fail in some situations.