Skip to content

[Feature] Multiple locations for migration files #460

Description

@snimshchikov

I find aerich tool very useful but my migrations/models folder contains 25 migrations files, which makes it difficult to manage. Would be nice if I could specify multiple locations for migration files (./migrations/v1 ./migrations/v2 etc).

Something like

[tool.aerich]
tortoise_orm = "db.database.TORTOISE_ORM"
location = "./migrations/v3"
readonly_locations = ["./migrations/v1", "./migrations/v2"]
src_folder = "./."

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions