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.
With
--schemawe 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
--migrationsparameter 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.