alembic/versions
directory, containing schema changes based on your SQLAlchemy models.
You can also find the existing migrations between different versions in the same directory.
revision
: A unique identifier automatically generated by Alembic, representing this migration script.down_revision
: Indicates the migration script this one builds upon. Set to None
if this is the initial migration.branch_labels
: Allows assigning labels to support branching in complex migration scenarios.depends_on
: Specifies dependencies, ensuring migrations run in the correct order if they depend on others..env
file.