42 lines
1.3 KiB
Python
42 lines
1.3 KiB
Python
# Generated by Django 4.2.5 on 2023-09-27 10:44
|
|
|
|
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("authentik_core", "0031_alter_user_type"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="GroupSourceConnection",
|
|
fields=[
|
|
(
|
|
"id",
|
|
models.AutoField(
|
|
auto_created=True, primary_key=True, serialize=False, verbose_name="ID"
|
|
),
|
|
),
|
|
("created", models.DateTimeField(auto_now_add=True)),
|
|
("last_updated", models.DateTimeField(auto_now=True)),
|
|
(
|
|
"group",
|
|
models.ForeignKey(
|
|
on_delete=django.db.models.deletion.CASCADE, to="authentik_core.group"
|
|
),
|
|
),
|
|
(
|
|
"source",
|
|
models.ForeignKey(
|
|
on_delete=django.db.models.deletion.CASCADE, to="authentik_core.source"
|
|
),
|
|
),
|
|
],
|
|
options={
|
|
"unique_together": {("group", "source")},
|
|
},
|
|
),
|
|
]
|