Skip to content

Commit

Permalink
Merge pull request #1399 from uktrade/develop
Browse files Browse the repository at this point in the history
Release PR
  • Loading branch information
davidu1975 authored Jan 28, 2025
2 parents 9155c8a + 3351e63 commit c264b94
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions dataservices/migrations/0059_alter_comtradereport_id.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.2.17 on 2025-01-27 22:43

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('dataservices', '0058_alter_comtradereport_id'),
]

operations = [
migrations.AlterField(
model_name='comtradereport',
name='id',
field=models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
]
2 changes: 1 addition & 1 deletion dataservices/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ class Meta:


class ComtradeReport(models.Model):
id = (models.BigAutoField(auto_created=True, primary_key=True, serialize=False),)
id = models.AutoField(auto_created=True, primary_key=True, serialize=False), # fmt: skip
year = models.IntegerField(null=True, blank=True)
classification = models.CharField(unique=False, blank=False, null=False, max_length=3)
country_iso3 = models.CharField(unique=False, blank=False, null=False, max_length=3)
Expand Down

0 comments on commit c264b94

Please sign in to comment.