2020-06-23 10:00:51 +00:00
|
|
|
# Generated by Django 3.0.3 on 2020-06-23 09:58
|
|
|
|
|
|
|
|
import django.core.validators
|
|
|
|
from django.db import migrations, models
|
|
|
|
import django.db.models.deletion
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
2020-11-14 15:04:41 +00:00
|
|
|
("django_etebase", "0016_auto_20200623_0820"),
|
2020-06-23 10:00:51 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AlterField(
|
2020-11-14 15:04:41 +00:00
|
|
|
model_name="collection",
|
|
|
|
name="main_item",
|
|
|
|
field=models.ForeignKey(
|
|
|
|
null=True,
|
|
|
|
on_delete=django.db.models.deletion.SET_NULL,
|
|
|
|
related_name="parent",
|
|
|
|
to="django_etebase.CollectionItem",
|
|
|
|
),
|
2020-06-23 10:00:51 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2020-11-14 15:04:41 +00:00
|
|
|
model_name="collectionitem",
|
|
|
|
name="uid",
|
|
|
|
field=models.CharField(
|
|
|
|
db_index=True,
|
|
|
|
max_length=43,
|
|
|
|
validators=[django.core.validators.RegexValidator(message="Not a valid UID", regex="^[a-zA-Z0-9]*$")],
|
|
|
|
),
|
2020-06-23 10:00:51 +00:00
|
|
|
),
|
|
|
|
]
|