@@ -0,0 +1,1235 @@
+# -*- coding: utf-8 -*-%0A# Generated by Django 1.10.4 on 2017-01-10 17:37%0Afrom __future__ import unicode_literals%0A%0Afrom django.conf import settings%0Aimport django.core.validators%0Afrom django.db import migrations, models%0A%0A%0Aclass Migration(migrations.Migration):%0A%0A    dependencies = %5B%0A        migrations.swappable_dependency(settings.AUTH_USER_MODEL),%0A        ('journal', '0015_remove_uid_null'),%0A    %5D%0A%0A    operations = %5B%0A        migrations.AlterField(%0A            model_name='entry',%0A            name='uid',%0A            field=models.CharField(db_index=True, max_length=64, validators=%5Bdjango.core.validators.RegexValidator(message='Not a sha256 value.', regex='%5Ba-fA-F0-9%5D%7B64%7D')%5D),%0A        ),%0A        migrations.AlterField(%0A            model_name='journal',%0A            name='uid',%0A            field=models.CharField(db_index=True, max_length=64, validators=%5Bdjango.core.validators.RegexValidator(message='Not a sha256 value.', regex='%5Ba-fA-F0-9%5D%7B64%7D')%5D),%0A        ),%0A        migrations.AlterUniqueTogether(%0A            name='entry',%0A            unique_together=set(%5B('uid', 'journal')%5D),%0A        ),%0A        migrations.AlterUniqueTogether(%0A            name='journal',%0A            unique_together=set(%5B('uid', 'owner')%5D),%0A        ),%0A    %5D%0A

Make uid unique together with journal/user, not on its own.