Fixed null issue for discord uuid

doc_update
Joey Hines 2020-01-08 19:55:21 -06:00
parent 7018e83ddc
commit aa9505a04d
2 changed files with 19 additions and 1 deletions

View File

@ -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),
),
]

View File

@ -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
"""