nautobot / cookiecutter-nautobot-app

Cookiecutter template for creating new Nautobot Apps.
https://docs.nautobot.com/projects/cookiecutter-nautobot-app/en/latest/
Apache License 2.0
14 stars 5 forks source link

`invoke check-migrations` Should Include App Name #135

Open bryanculver opened 1 month ago

bryanculver commented 1 month ago

If an App is dependent on another App (and installs it as a part of it's testing), and the dependent App has missing migrations, the migrations check for the App(s) depending on them will fail.

The check command for the migrations should be updated to include the App name, ex: nautobot-server makemigrations --dry-run --check <app_name>