kumidc/core/migrations/0006_authorizationlog.py
2022-08-10 06:07:17 +00:00

27 lines
993 B
Python

# Generated by Django 3.2.15 on 2022-08-10 06:05
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('oidc_provider', '0027_auto_20220810_0605'),
('core', '0005_profile_last_name'),
]
operations = [
migrations.CreateModel(
name='AuthorizationLog',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('scope', models.TextField()),
('granted', models.BooleanField()),
('timestamp', models.DateTimeField(auto_now_add=True)),
('client', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='oidc_provider.client')),
('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
),
]