diff --git a/api_app/data_model_manager/migrations/0006_alter_ipdatamodel_asn_rank.py b/api_app/data_model_manager/migrations/0006_alter_ipdatamodel_asn_rank.py new file mode 100644 index 0000000000..36d753f76d --- /dev/null +++ b/api_app/data_model_manager/migrations/0006_alter_ipdatamodel_asn_rank.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.16 on 2024-12-17 10:37 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ( + "data_model_manager", + "0005_alter_domaindatamodel_external_references_and_more", + ), + ] + + operations = [ + migrations.AlterField( + model_name="ipdatamodel", + name="asn_rank", + field=models.DecimalField( + blank=True, decimal_places=20, default=None, max_digits=21, null=True + ), + ), + ] diff --git a/api_app/data_model_manager/models.py b/api_app/data_model_manager/models.py index 67bfd51fff..4960c16459 100644 --- a/api_app/data_model_manager/models.py +++ b/api_app/data_model_manager/models.py @@ -148,7 +148,7 @@ class IPDataModel(BaseDataModel): null=True, blank=True, default=None ) # BGPRanking, MaxMind asn_rank = models.DecimalField( - null=True, blank=True, default=None, decimal_places=2, max_digits=3 + null=True, blank=True, default=None, decimal_places=20, max_digits=21 ) # BGPRanking certificates = models.JSONField(null=True, blank=True, default=None) # CIRCL_PSSL org_name = LowercaseCharField(