Skip to content

Commit

Permalink
CM-381: added new status 'waiting for verification' for upload
Browse files Browse the repository at this point in the history
  • Loading branch information
sniedzielski committed Jan 9, 2024
1 parent 6f5caff commit 74c9eb9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions individual/migrations/0009_auto_20240109_0953.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 3.2.19 on 2024-01-09 09:53

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('individual', '0008_auto_20240105_1527'),
]

operations = [
migrations.AlterField(
model_name='historicalindividualdatasourceupload',
name='status',
field=models.CharField(choices=[('PENDING', 'Pending'), ('TRIGGERED', 'Triggered'), ('IN_PROGRESS', 'In progress'), ('SUCCESS', 'Success'), ('WAITING_FOR_VERIFICATION', 'WAITING_FOR_VERIFICATION'), ('FAIL', 'Fail')], default='PENDING', max_length=255),
),
migrations.AlterField(
model_name='individualdatasourceupload',
name='status',
field=models.CharField(choices=[('PENDING', 'Pending'), ('TRIGGERED', 'Triggered'), ('IN_PROGRESS', 'In progress'), ('SUCCESS', 'Success'), ('WAITING_FOR_VERIFICATION', 'WAITING_FOR_VERIFICATION'), ('FAIL', 'Fail')], default='PENDING', max_length=255),
),
]
1 change: 1 addition & 0 deletions individual/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class Status(models.TextChoices):
TRIGGERED = 'TRIGGERED', _('Triggered')
IN_PROGRESS = 'IN_PROGRESS', _('In progress')
SUCCESS = 'SUCCESS', _('Success')
WAITING_FOR_VERIFICATION = 'WAITING_FOR_VERIFICATION', _('WAITING_FOR_VERIFICATION')
FAIL = 'FAIL', _('Fail')

source_name = models.CharField(max_length=255, null=False)
Expand Down

0 comments on commit 74c9eb9

Please sign in to comment.