From b2ec021296153679d39207804e78d0abf9dad551 Mon Sep 17 00:00:00 2001 From: Grigi Date: Fri, 5 Jul 2019 14:47:56 +0200 Subject: [PATCH] v0.12.3 * Added description attribute to Field class. (#124) * Added the ability to leverage field description from (#124) to generate table column comments and ability to add table level comments (#149) --- docs/models.rst | 6 +++--- tortoise/__init__.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/models.rst b/docs/models.rst index 413834910..a4e32902e 100644 --- a/docs/models.rst +++ b/docs/models.rst @@ -114,10 +114,10 @@ The ``Meta`` class Set this to configure a manual table name, instead of a generated one - .. attribute:: table_description - :annotation: = "" + .. attribute:: table_description + :annotation: = "" - Set this to generate a comment message for the table being created for the current model + Set this to generate a comment message for the table being created for the current model .. attribute:: unique_together :annotation: = None diff --git a/tortoise/__init__.py b/tortoise/__init__.py index 06ce42e3f..5ae8c5f8c 100644 --- a/tortoise/__init__.py +++ b/tortoise/__init__.py @@ -413,4 +413,4 @@ async def do_stuff(): loop.run_until_complete(Tortoise.close_connections()) -__version__ = "0.12.2" +__version__ = "0.12.3"