resolve
Resolves migration conflicts and synchronizes the migration history.
Options can be configured in project.json when defining the executor, or when invoking it. Read more about how to configure targets and executors here: https://nx.dev/reference/project-configuration#targets.
Warning
This command is not supported on MongoDB. Use db push instead.
Examples
"prisma-resolve": {
"executor": "@nx-tools/nx-prisma:resolve",
}You may want to use a custom schema file:
"prisma-resolve": {
"executor": "@nx-tools/nx-prisma:resolve",
"options": {
"schema": "custom-file.prisma",
}
}Resolve a specific migration as applied:
"prisma-resolve": {
"executor": "@nx-tools/nx-prisma:resolve",
"options": {
"schema": "prisma/schema.prisma",
"applied": "20231201000000_migration_name"
}
}Options:
Prop
Type
Last updated on