Skip to content

Commit

Permalink
Fix for broken migration (#6873)
Browse files Browse the repository at this point in the history
* Fix for broken migration

- Ref: https://github.com/inventree/InvenTree/actions/runs/8451665220/job/23150490238

* Update migration

* Renove nullable from test_station field

* File cleanup
  • Loading branch information
SchrodingersGat committed Mar 27, 2024
1 parent ffd1229 commit 8c64fed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions InvenTree/stock/migrations/0109_add_additional_test_fields.py
Expand Up @@ -13,12 +13,12 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='stockitemtestresult',
name='finished_datetime',
field=models.DateTimeField(blank=True, help_text='The timestamp of the test finish', verbose_name='Finished'),
field=models.DateTimeField(blank=True, help_text='The timestamp of the test finish', null=True, verbose_name='Finished'),
),
migrations.AddField(
model_name='stockitemtestresult',
name='started_datetime',
field=models.DateTimeField(blank=True, help_text='The timestamp of the test start', verbose_name='Started'),
field=models.DateTimeField(blank=True, help_text='The timestamp of the test start', null=True, verbose_name='Started'),
),
migrations.AddField(
model_name='stockitemtestresult',
Expand Down

0 comments on commit 8c64fed

Please sign in to comment.