diff --git a/CHANGES.rst b/CHANGES.rst index 7228846af..c21a9fd4a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,30 @@ Changes ======= +1.4.1 +----- + +Fixed an edge case with auto migrations. + +If starting from a table like this, with a custom primary key column: + +.. code-block:: python + + class MyTable(Table): + id = UUID(primary_key=True) + +When a foreign key is added to the table which references itself: + +.. code-block:: python + + class MyTable(Table): + id = UUID(primary_key=True) + fk = ForeignKey("self") + +The auto migrations could fail in some situations. + +------------------------------------------------------------------------------- + 1.4.0 ----- diff --git a/piccolo/__init__.py b/piccolo/__init__.py index b2c6a8de9..8c69db6f3 100644 --- a/piccolo/__init__.py +++ b/piccolo/__init__.py @@ -1 +1 @@ -__VERSION__ = "1.4.0" +__VERSION__ = "1.4.1"