This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/passbook/oauth_provider/migrations/0001_initial.py

27 lines
905 B
Python
Raw Normal View History

2018-11-22 12:12:07 +00:00
# Generated by Django 2.1.3 on 2018-11-22 10:03
2018-11-16 08:10:35 +00:00
import django.db.models.deletion
2018-11-16 08:10:35 +00:00
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
2018-11-22 12:12:07 +00:00
('passbook_core', '0001_initial'),
2018-11-16 08:10:35 +00:00
migrations.swappable_dependency(settings.OAUTH2_PROVIDER_APPLICATION_MODEL),
]
operations = [
migrations.CreateModel(
2018-11-16 10:41:14 +00:00
name='OAuth2Provider',
2018-11-16 08:10:35 +00:00
fields=[
2018-11-16 10:41:14 +00:00
('provider_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='passbook_core.Provider')),
('oauth2_app', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.OAUTH2_PROVIDER_APPLICATION_MODEL)),
2018-11-16 08:10:35 +00:00
],
2018-11-16 10:41:14 +00:00
bases=('passbook_core.provider',),
2018-11-16 08:10:35 +00:00
),
]