2020-05-14 10:43:49 +00:00
|
|
|
# Generated by Django 3.0.3 on 2020-05-14 09:51
|
|
|
|
|
|
|
|
from django.conf import settings
|
|
|
|
from django.db import migrations, models
|
|
|
|
import django.db.models.deletion
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
2020-11-14 15:04:41 +00:00
|
|
|
("myauth", "0001_initial"),
|
|
|
|
("django_etebase", "0001_initial"),
|
2020-05-14 10:43:49 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
2020-11-14 15:04:41 +00:00
|
|
|
name="UserInfo",
|
2020-05-14 10:43:49 +00:00
|
|
|
fields=[
|
2020-11-14 15:04:41 +00:00
|
|
|
(
|
|
|
|
"owner",
|
|
|
|
models.OneToOneField(
|
|
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
|
|
primary_key=True,
|
|
|
|
serialize=False,
|
|
|
|
to=settings.AUTH_USER_MODEL,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
("version", models.PositiveSmallIntegerField(default=1)),
|
|
|
|
("pubkey", models.BinaryField(editable=True)),
|
|
|
|
("salt", models.BinaryField(editable=True)),
|
2020-05-14 10:43:49 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
]
|