]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
Add link to Alembic Utils as an example of replaceable objects.
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 27 Apr 2020 23:02:57 +0000 (19:02 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 27 Apr 2020 23:02:57 +0000 (19:02 -0400)
Change-Id: I9f8f423a363970814d2ca5fea2c0b2c35c34d19d
References: #686

docs/build/cookbook.rst

index 83cabdb8c08129b139388edc3a4505376064a16d..324c580c12ebae1bbeb4c1b2174b5fcb2779150c 100644 (file)
@@ -270,6 +270,14 @@ what we might call a *replaceable* schema object.  A replaceable object
 is a schema object that needs to be created and dropped all at once.
 Examples of such objects include views, stored procedures, and triggers.
 
+.. seealso::
+
+    The Replaceable Object concept has been integrated by the
+    `Alembic Utils <https://github.com/olirice/alembic_utils>`_ project,
+    which provides autogenerate and migration
+    support for PostgreSQL functions and views.   See
+    Alembic Utils at https://github.com/olirice/alembic_utils .
+
 Replaceable objects present a problem in that in order to make incremental
 changes to them, we have to refer to the whole definition at once.
 If we need to add a new column to a view, for example, we have to drop