From 82f2ee1a757098017e923e8430ff2daac4394ca1 Mon Sep 17 00:00:00 2001 From: Francisco Trivino Date: Fri, 13 Jan 2023 13:03:23 +0100 Subject: [PATCH] Add Domains app migrations This commit adds the migrations based on the Domains model. Signed-off-by: Francisco Trivino --- .../domains/migrations/0001_initial.py | 27 +++++++++++++++++++ src/ipa-tuura/domains/migrations/__init__.py | 0 2 files changed, 27 insertions(+) create mode 100644 src/ipa-tuura/domains/migrations/0001_initial.py create mode 100644 src/ipa-tuura/domains/migrations/__init__.py diff --git a/src/ipa-tuura/domains/migrations/0001_initial.py b/src/ipa-tuura/domains/migrations/0001_initial.py new file mode 100644 index 00000000..e6d4549e --- /dev/null +++ b/src/ipa-tuura/domains/migrations/0001_initial.py @@ -0,0 +1,27 @@ +# Generated by Django 4.1.5 on 2023-01-13 12:02 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='Domain', + fields=[ + ('name', models.CharField(max_length=80, primary_key=True, serialize=False)), + ('integration_domain_url', models.CharField(max_length=80)), + ('client_id', models.CharField(max_length=20)), + ('client_secret', models.CharField(max_length=20)), + ('description', models.TextField(blank=True)), + ('id_provider', models.CharField(choices=[('ipa', 'FreeIPA Provider'), ('ad', 'LDAP AD Provider'), ('ldap', 'LDAP Provider')], default='ipa', max_length=5)), + ('user_extra_attrs', models.CharField(max_length=100)), + ('ldap_tls_cacert', models.CharField(max_length=100)), + ], + ), + ] diff --git a/src/ipa-tuura/domains/migrations/__init__.py b/src/ipa-tuura/domains/migrations/__init__.py new file mode 100644 index 00000000..e69de29b