From 118b84d384106ebfde767931119204b80fcbbac5 Mon Sep 17 00:00:00 2001 From: Brian Cappello Date: Sun, 4 Dec 2016 15:02:06 -0500 Subject: [PATCH] update autogenerate capabilities --- docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index 988f752..a671013 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -44,7 +44,7 @@ You can then generate an initial migration:: $ flask db migrate -The migration script needs to be reviewed and edited, as Alembic currently does not detect every change you make to your models. In particular, Alembic is currently unable to detect indexes. Once finalized, the migration script also needs to be added to version control. +The migration script needs to be reviewed and edited, as Alembic currently does not detect every change you make to your models. In particular, Alembic is currently unable to detect table name changes, column name changes, or anonymously named constraints. A detailed summary of limitations can be found in the `Alembic autogenerate documentation `_. Once finalized, the migration script also needs to be added to version control. Then you can apply the migration to the database::