From: Peter Cock Date: Tue, 5 Nov 2024 20:59:25 +0000 (+0000) Subject: Adjust terminology as per review X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dec968b136a813d27e1d2bca04574a2399343a1a;p=thirdparty%2Fsqlalchemy%2Falembic.git Adjust terminology as per review --- diff --git a/docs/build/autogenerate.rst b/docs/build/autogenerate.rst index 835d4073..c7641fe4 100644 --- a/docs/build/autogenerate.rst +++ b/docs/build/autogenerate.rst @@ -2,8 +2,8 @@ Auto Generating Migrations =========================== Alembic can view the status of the database (pointed to by ``sqlalchemy.url`` in -your ``alemic.ini`` file using the *previous* schema) and compare against the -table metadata in the application (your ORM which defines the *latest* schema), +your ``alemic.ini`` file using the *current* schema) and compare against the +table metadata in the application (your ORM which defines the *proposed* schema), generating the "obvious" migrations based on a comparison. This is achieved using the ``--autogenerate`` option to the ``alembic revision`` command, which places so-called *candidate* migrations into our new migrations file. We