diff --git a/cookbook/migrations/0120_bookmarklet.py b/cookbook/migrations/0120_bookmarklet.py index 903978aca..24c402610 100644 --- a/cookbook/migrations/0120_bookmarklet.py +++ b/cookbook/migrations/0120_bookmarklet.py @@ -24,7 +24,7 @@ class Migration(migrations.Migration): fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('html', models.TextField()), - ('url', models.CharField(blank=True, max_length=128, null=True)), + ('url', models.CharField(blank=True, max_length=256, null=True)), ('created_at', models.DateTimeField(auto_now_add=True)), ('created_by', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ('space', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='cookbook.space')), diff --git a/cookbook/models.py b/cookbook/models.py index 0c49e1b30..7bbda1b30 100644 --- a/cookbook/models.py +++ b/cookbook/models.py @@ -679,7 +679,7 @@ class ImportLog(models.Model, PermissionModelMixin): class BookmarkletImport(models.Model, PermissionModelMixin): html = models.TextField() - url = models.CharField(max_length=128, null=True, blank=True) + url = models.CharField(max_length=256, null=True, blank=True) created_at = models.DateTimeField(auto_now_add=True) created_by = models.ForeignKey(User, on_delete=models.CASCADE)