diff --git a/GeoffreyApp/migrations/0005_auto_20200109_0154.py b/GeoffreyApp/migrations/0005_auto_20200109_0154.py new file mode 100644 index 0000000..43a80fe --- /dev/null +++ b/GeoffreyApp/migrations/0005_auto_20200109_0154.py @@ -0,0 +1,18 @@ +# Generated by Django 2.1.2 on 2020-01-09 01:54 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('GeoffreyApp', '0004_auto_20191223_1610'), + ] + + operations = [ + migrations.AlterField( + model_name='player', + name='discord_uuid', + field=models.CharField(blank=True, max_length=50, null=True, unique=True), + ), + ] diff --git a/GeoffreyApp/models.py b/GeoffreyApp/models.py index 76de4c7..9931801 100644 --- a/GeoffreyApp/models.py +++ b/GeoffreyApp/models.py @@ -78,7 +78,7 @@ class Player(models.Model): Minecraft UUID """ - discord_uuid = models.CharField(max_length=50, unique=True, blank=True) + discord_uuid = models.CharField(max_length=50, unique=True, blank=True, null=True) """ Discord UUID """