Skip to content

add "recursive_version_locations = [false|true]" alembic.ini config  #760

@PMLP-novo

Description

@PMLP-novo

Describe your question
I have an applications where the number of migrations we have done goes past 50. So I would like to organize the migrations into a subfolder system inside the alembic versions. When I try to just move the files into subfolders it does not work out of the box any suggestions on how to do this or is this a feature request?

Example of a folder structure

alembic/versions
└───version_0
│ └───relaease_1
│ │ 439873242343_feature_bla_bla.py
│ │ 43987324fwaer_feature_blu_blu.py
└───version_1
│ └───relaease_2
│ │ 439873243243_feature_bi_foo.py
│ │ 43987324ewraer_feature_we_br.py

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions