Collection Item Revision: dissalow blank for the current field.
This commit is contained in:
parent
0ee00e1a9f
commit
e0d593a9b6
18
django_etesync/migrations/0018_auto_20200226_1803.py
Normal file
18
django_etesync/migrations/0018_auto_20200226_1803.py
Normal file
@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.0.3 on 2020-02-26 18:03
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('django_etesync', '0017_auto_20200226_1455'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='collectionitemrevision',
|
||||
name='current',
|
||||
field=models.BooleanField(db_index=True, default=True, null=True),
|
||||
),
|
||||
]
|
@ -80,7 +80,7 @@ class CollectionItemRevision(models.Model):
|
||||
item = models.ForeignKey(CollectionItem, related_name='revisions', on_delete=models.CASCADE)
|
||||
chunks = models.ManyToManyField(CollectionItemChunk, related_name='items')
|
||||
hmac = models.CharField(max_length=50, blank=False, null=False)
|
||||
current = models.BooleanField(db_index=True, default=True, blank=True, null=True)
|
||||
current = models.BooleanField(db_index=True, default=True, null=True)
|
||||
deleted = models.BooleanField(default=False)
|
||||
|
||||
class Meta:
|
||||
|
Loading…
Reference in New Issue
Block a user