{"repo":"tj-django/django-migration-fixer","free":true,"listed":false,"github":"https://github.com/tj-django/django-migration-fixer","clone":"git clone https://github.com/tj-django/django-migration-fixer.git","description":"Resolve multiple leaf nodes error running django migrations.","language":"Python","stars":35,"topics":["django","migrations","migration","django-migrations","django-migration-fixer","resolves-migration-conflicts","makemigrations","django-makemigrations","django-models","django-project"],"license":"MIT","category":"workflow-automation","readme_excerpt":"django-migration-fixer Resolve django makemigrations multiple leaf nodes in the migration graph by ensuring that migration files and dependencies are always ordered regardless of remote changes, without having to run python manage.py makemigrations --merge . Table of Contents Features Installation Add migration fixer to your INSTALLED\\ APPS Usage Example After merging the default branch After running django-migration-fixer Assumptions Specifying a different default branch Setup using Github Actions Inputs Test Platforms Found a Bug? Features Resolve migration conflicts on Pull Request branches Resolve migration conflicts on the default branch (NOT RECOMMENDED) Installation Add migration fixer to your INSTALLED\\ APPS Usage Merge the changes from the default branch or the target branch of the pull request. Fix the migration conflicts By default this uses main as the default branch Example After merging the default branch After running django-migration-fixer Assumptions The final migration on the default branch would be used as the base for all subsequent migrations. Specifying a different default branch Run: Setup using Github Actions NOTE: :warning: To get this action to work you'll need to install django-migration-fixer and update your INSTALLED APPS setting. Inputs Input type required default description :-------------: :-----------: :--------------: :-----------------------------: :--------------------------: managepy-path string true ./manage.py The location of manage.py. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/tj-django","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tj-django/django-migration-fixer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}