diff --git a/vrobbler/apps/profiles/migrations/0015_userprofile_bgg_username.py b/vrobbler/apps/profiles/migrations/0015_userprofile_bgg_username.py new file mode 100644 index 0000000..d4e5831 --- /dev/null +++ b/vrobbler/apps/profiles/migrations/0015_userprofile_bgg_username.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.13 on 2024-08-06 15:27 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("profiles", "0014_alter_userprofile_timezone"), + ] + + operations = [ + migrations.AddField( + model_name="userprofile", + name="bgg_username", + field=models.CharField(blank=True, max_length=255, null=True), + ), + ] diff --git a/vrobbler/apps/profiles/models.py b/vrobbler/apps/profiles/models.py index 493948b..eb403c0 100644 --- a/vrobbler/apps/profiles/models.py +++ b/vrobbler/apps/profiles/models.py @@ -30,6 +30,8 @@ class UserProfile(TimeStampedModel): archivebox_password = EncryptedField(**BNULL) archivebox_url = models.CharField(max_length=255, **BNULL) + bgg_username = models.CharField(max_length=255, **BNULL) + redirect_to_webpage = models.BooleanField(default=True) def __str__(self):