1
0
mirror of https://github.com/etesync/server synced 2024-11-26 02:38:15 +00:00
etesync-server/django_etebase/migrations/0002_userinfo.py

34 lines
973 B
Python
Raw Normal View History

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 = [
("myauth", "0001_initial"),
("django_etebase", "0001_initial"),
2020-05-14 10:43:49 +00:00
]
operations = [
migrations.CreateModel(
name="UserInfo",
2020-05-14 10:43:49 +00:00
fields=[
(
"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
],
),
]