From a69fb4922d4945f08f4a6b0f1367efff10b4d233 Mon Sep 17 00:00:00 2001 From: smilerz Date: Fri, 16 Apr 2021 07:44:53 -0500 Subject: [PATCH] updated model --- cookbook/migrations/0120_bookmarklet.py | 2 +- cookbook/models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbook/migrations/0120_bookmarklet.py b/cookbook/migrations/0120_bookmarklet.py index 903978ac..24c40261 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 0c49e1b3..7bbda1b3 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)