Nx Tools
APIExecutorsstatus

status

Displays the current status of your database migrations and schema.

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

apps/your-app/project.json
"prisma-status": {
  "executor": "@nx-tools/nx-prisma:status",
}

You may want to use a custom schema file:

apps/your-app/project.json
"prisma-status": {
  "executor": "@nx-tools/nx-prisma:status",
  "options": {
    "schema": "custom-file.prisma",
  }
}

Options:

Prop

Type

Last updated on

On this page