From 43e4a9ed5fd494d354e3f9cfa0aa6a8e05c747c7 Mon Sep 17 00:00:00 2001 From: Horilla Date: Wed, 12 Nov 2025 12:18:59 +0530 Subject: [PATCH] [ADD] HORILLA_LDAP: Migration files for horilla_ldap --- horilla_ldap/migrations/0001_initial.py | 43 +++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 horilla_ldap/migrations/0001_initial.py diff --git a/horilla_ldap/migrations/0001_initial.py b/horilla_ldap/migrations/0001_initial.py new file mode 100644 index 000000000..5c5525570 --- /dev/null +++ b/horilla_ldap/migrations/0001_initial.py @@ -0,0 +1,43 @@ +# Generated by Django 5.2.8 on 2025-11-12 06:48 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + initial = True + + dependencies = [] + + operations = [ + migrations.CreateModel( + name="LDAPSettings", + fields=[ + ( + "id", + models.BigAutoField( + auto_created=True, + primary_key=True, + serialize=False, + verbose_name="ID", + ), + ), + ( + "ldap_server", + models.CharField(default="ldap://127.0.0.1:389", max_length=255), + ), + ( + "bind_dn", + models.CharField( + default="cn=admin,dc=horilla,dc=com", max_length=255 + ), + ), + ("bind_password", models.CharField(max_length=255)), + ( + "base_dn", + models.CharField( + default="ou=users,dc=horilla,dc=com", max_length=255 + ), + ), + ], + ), + ]