Skip to content

Commit

Permalink
Add Domains app migrations
Browse files Browse the repository at this point in the history
This commit adds the migrations based on the Domains model.

Signed-off-by: Francisco Trivino <[email protected]>
  • Loading branch information
f-trivino committed Jan 13, 2023
1 parent 8648c46 commit 178e6bd
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/ipa-tuura/domains/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -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)),
],
),
]
Empty file.

0 comments on commit 178e6bd

Please sign in to comment.