Fixed null issue for discord uuid
parent
7018e83ddc
commit
aa9505a04d
|
@ -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),
|
||||||
|
),
|
||||||
|
]
|
|
@ -78,7 +78,7 @@ class Player(models.Model):
|
||||||
Minecraft UUID
|
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
|
Discord UUID
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue