diff --git a/breathecode/assignments/migrations/0021_alter_repositorydeletionorder_repository_name_and_more.py b/breathecode/assignments/migrations/0021_alter_repositorydeletionorder_repository_name_and_more.py new file mode 100644 index 000000000..4605bc8f5 --- /dev/null +++ b/breathecode/assignments/migrations/0021_alter_repositorydeletionorder_repository_name_and_more.py @@ -0,0 +1,33 @@ +# Generated by Django 5.1.4 on 2024-12-09 20:59 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("assignments", "0020_alter_userattachment_mime"), + ] + + operations = [ + migrations.AlterField( + model_name="repositorydeletionorder", + name="repository_name", + field=models.CharField(max_length=256), + ), + migrations.AlterField( + model_name="repositorydeletionorder", + name="repository_user", + field=models.CharField(max_length=256), + ), + migrations.AlterField( + model_name="repositorywhitelist", + name="repository_name", + field=models.CharField(max_length=256), + ), + migrations.AlterField( + model_name="repositorywhitelist", + name="repository_user", + field=models.CharField(max_length=256), + ), + ] diff --git a/breathecode/assignments/models.py b/breathecode/assignments/models.py index 2a66a33b9..142588d82 100644 --- a/breathecode/assignments/models.py +++ b/breathecode/assignments/models.py @@ -268,8 +268,8 @@ def __init__(self, *args, **kwargs): status = models.CharField(max_length=15, choices=Status, default=Status.PENDING) status_text = models.TextField(default=None, null=True, blank=True) - repository_user = models.CharField(max_length=100) - repository_name = models.CharField(max_length=100) + repository_user = models.CharField(max_length=256) + repository_name = models.CharField(max_length=256) starts_transferring_at = models.DateTimeField(default=None, null=True, blank=True) created_at = models.DateTimeField(auto_now_add=True, editable=False) @@ -296,8 +296,8 @@ class RepositoryWhiteList(models.Model): Provider = Provider provider = models.CharField(max_length=15, choices=Provider, default=Provider.GITHUB) - repository_user = models.CharField(max_length=100) - repository_name = models.CharField(max_length=100) + repository_user = models.CharField(max_length=256) + repository_name = models.CharField(max_length=256) created_at = models.DateTimeField(auto_now_add=True, editable=False)