ljg.sh/ljg/core/migrations/0001_initial.py

30 lines
776 B
Python
Raw Permalink Normal View History

2023-10-11 17:48:04 +02:00
# Generated by Django 4.2.4 on 2023-10-11 14:47
import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name="OIDCUser",
fields=[
("uuid", models.UUIDField(primary_key=True, serialize=False)),
(
"user",
models.OneToOneField(
on_delete=django.db.models.deletion.CASCADE,
to=settings.AUTH_USER_MODEL,
),
),
],
),
]