From 07e094fd5077e12150099390eb4ed2d8532db707 Mon Sep 17 00:00:00 2001 From: Harsha Laxman Date: Sun, 5 Apr 2020 06:15:39 -0700 Subject: [PATCH] :memo: Add note about Alembic in project generator in SQL docs (#1183) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update sql-databases alembic docs Was helpful to refer to the full-stack project when integrating alembic into my own project * :memo: Update Alembic note in docs Co-authored-by: Sebastián Ramírez --- docs/en/docs/tutorial/sql-databases.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/en/docs/tutorial/sql-databases.md b/docs/en/docs/tutorial/sql-databases.md index 726acc7c4..c60eda0f8 100644 --- a/docs/en/docs/tutorial/sql-databases.md +++ b/docs/en/docs/tutorial/sql-databases.md @@ -437,6 +437,8 @@ And you would also use Alembic for "migrations" (that's its main job). A "migration" is the set of steps needed whenever you change the structure of your SQLAlchemy models, add a new attribute, etc. to replicate those changes in the database, add a new column, a new table, etc. +You can find an example of Alembic in a FastAPI project in the templates from [Project Generation - Template](../project-generation.md){.internal-link target=_blank}. Specifically in the `alembic` directory in the source code. + ### Create a dependency !!! info