Skip to content

--migrations to specify output directory for migrations #4720

@janpio

Description

@janpio

With --schema we can now specify the file path of where the Prisma Schema is located, instead of the default ./prisma/schema.prisma. This has the unfortunate side effect, that migrations are also output next to that file - which might not be what you want.

We want to have a --migrations parameter that takes the path to a folder where all the migration related content is output. The default path for that parameter, if it is not supplied, thus is ./prisma/migrations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureA request for a new feature.tech/typescriptIssue for tech TypeScript.topic: migratetopic: usefulAn issue that we want to actively work on relatively soon

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions