we're in the process of integrating peeringdb/django-peeringdb in our application.
As part of our CI pipeline we run poetry run python3 manage.py makemigrations --dry-run --check to make sure the model declaration matches the existing migrations and that migrations are in order.
The command fails because django-peeringdb is missing a database migration for the models IXLan, Network, NetworkFacility and NetworkIXLan:
/home/johann/.cache/pypoetry/virtualenvs/peeringdb-dummy-Qsf6NlwP-py3.11/lib/python3.11/site-packages/django_peeringdb/migrations/0030_alter_ixlan_rs_asn_alter_network_asn_and_more.py
- Alter field rs_asn on ixlan
- Alter field asn on network
- Alter field local_asn on networkfacility
- Alter field asn on networkixlan
Hi,
we're in the process of integrating peeringdb/django-peeringdb in our application. As part of our CI pipeline we run
poetry run python3 manage.py makemigrations --dry-run --check
to make sure the model declaration matches the existing migrations and that migrations are in order.The command fails because django-peeringdb is missing a database migration for the models IXLan, Network, NetworkFacility and NetworkIXLan:
When created, the migration looks like this:
django-peeringdb-3.3.0 peeringdb-2.0.0
Could you please verify the changes and add the migration? Running the command above in the CI might be a good idea too.
Thanks!