You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.0 KiB
Python
32 lines
1.0 KiB
Python
4 years ago
|
# Generated by Django 3.1.1 on 2020-10-13 13:36
|
||
|
|
||
|
from django.conf import settings
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||
4 years ago
|
("django_etebase", "0030_auto_20200922_0832"),
|
||
4 years ago
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
4 years ago
|
name="CollectionType",
|
||
4 years ago
|
fields=[
|
||
4 years ago
|
("id", models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name="ID")),
|
||
|
("uid", models.BinaryField(db_index=True, editable=True)),
|
||
|
("owner", models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
|
||
4 years ago
|
],
|
||
|
),
|
||
|
migrations.AddField(
|
||
4 years ago
|
model_name="collectionmember",
|
||
|
name="collectionType",
|
||
|
field=models.ForeignKey(
|
||
|
null=True, on_delete=django.db.models.deletion.PROTECT, to="django_etebase.collectiontype"
|
||
|
),
|
||
4 years ago
|
),
|
||
|
]
|