Confused with alembic + SQLAlchemy Base.metadata #960
-
For using alembic autogenerate feature it is mentioned in the documentation to import the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
I suggest reading the fist sections of this documentation page https://alembic.sqlalchemy.org/en/latest/autogenerate.html#auto-generating-migrations TLDR: it compares what's in the metadata with was is in the db and writes the difference in the generated revision |
Beta Was this translation helpful? Give feedback.
I suggest reading the fist sections of this documentation page https://alembic.sqlalchemy.org/en/latest/autogenerate.html#auto-generating-migrations
TLDR: it compares what's in the metadata with was is in the db and writes the difference in the generated revision