-
Notifications
You must be signed in to change notification settings - Fork 2.1k
--migrations to specify output directory for migrations #4720
Copy link
Copy link
Closed
Labels
kind/featureA request for a new feature.A request for a new feature.tech/typescriptIssue for tech TypeScript.Issue for tech TypeScript.topic: migratetopic: usefulAn issue that we want to actively work on relatively soonAn issue that we want to actively work on relatively soon
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/featureA request for a new feature.A request for a new feature.tech/typescriptIssue for tech TypeScript.Issue for tech TypeScript.topic: migratetopic: usefulAn issue that we want to actively work on relatively soonAn issue that we want to actively work on relatively soon