From 78f901c48afb74420cc02663866c8cf7d016ba7e Mon Sep 17 00:00:00 2001 From: PCoder Date: Wed, 18 Dec 2019 16:24:27 +0530 Subject: [PATCH] Simplify migrations --- .../migrations/0011_auto_20191218_1050.py | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 membership/migrations/0011_auto_20191218_1050.py diff --git a/membership/migrations/0011_auto_20191218_1050.py b/membership/migrations/0011_auto_20191218_1050.py new file mode 100644 index 00000000..58ad06ba --- /dev/null +++ b/membership/migrations/0011_auto_20191218_1050.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.4 on 2019-12-18 10:50 +from __future__ import unicode_literals + +from django.db import migrations, models +import membership.models + + +class Migration(migrations.Migration): + + dependencies = [ + ('membership', '0010_customuser_import_stripe_bill_remark'), + ] + + operations = [ + migrations.AddField( + model_name='customuser', + name='in_ldap', + field=models.BooleanField(default=False), + ), + migrations.AddField( + model_name='customuser', + name='username', + field=models.CharField(max_length=60, null=True, unique=True), + ), + migrations.AlterField( + model_name='customuser', + name='name', + field=models.CharField(max_length=50, validators=[membership.models.validate_name]), + ), + ]