From e4361d2364c3ab0c0b808cb4c546bf6d36e53694 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Wed, 27 Jan 2021 18:48:56 +0200 Subject: [PATCH] Patch old DB migration in order to fix mysql issues. Really fix #69. --- django_etebase/migrations/0032_auto_20201013_1409.py | 2 +- django_etebase/migrations/0037_auto_20210127_1237.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/django_etebase/migrations/0032_auto_20201013_1409.py b/django_etebase/migrations/0032_auto_20201013_1409.py index 2bb3cb0..c6e92a2 100644 --- a/django_etebase/migrations/0032_auto_20201013_1409.py +++ b/django_etebase/migrations/0032_auto_20201013_1409.py @@ -13,6 +13,6 @@ class Migration(migrations.Migration): migrations.AlterField( model_name="collectiontype", name="uid", - field=models.BinaryField(db_index=True, editable=True, unique=True), + field=models.BinaryField(db_index=True, editable=True, max_length=1024, unique=True), ), ] diff --git a/django_etebase/migrations/0037_auto_20210127_1237.py b/django_etebase/migrations/0037_auto_20210127_1237.py index 06c31b2..deaba1e 100644 --- a/django_etebase/migrations/0037_auto_20210127_1237.py +++ b/django_etebase/migrations/0037_auto_20210127_1237.py @@ -6,13 +6,13 @@ from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ('django_etebase', '0036_auto_20201214_1128'), + ("django_etebase", "0036_auto_20201214_1128"), ] operations = [ migrations.AlterField( - model_name='collectiontype', - name='uid', + model_name="collectiontype", + name="uid", field=models.BinaryField(db_index=True, editable=True, max_length=1024, unique=True), ), ]