Fix: made brand nullable
This commit is contained in:
parent
bb978e29ce
commit
e74fa36128
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 4.0.3 on 2022-04-13 14:58
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('asset', '0003_gtinproduct'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='gtinproduct',
|
||||
name='brand',
|
||||
field=models.CharField(blank=True, max_length=40, null=True),
|
||||
),
|
||||
]
|
|
@ -33,7 +33,7 @@ class GtinProduct(models.Model):
|
|||
api_request = models.CharField(max_length=250)
|
||||
api_response = models.CharField(max_length=4096)
|
||||
name = models.CharField(max_length=200, blank=True)
|
||||
brand = models.CharField(max_length=40, blank=True)
|
||||
brand = models.CharField(max_length=40, blank=True, null=True)
|
||||
created_ts = models.DateTimeField('datetime created', auto_now_add=True)
|
||||
changed_ts = models.DateTimeField('datetime updated', auto_now=True)
|
||||
|
||||
|
|
Loading…
Reference in New Issue