1
0
Fork 0

Don't fav things multiple times

Fixes #28
This commit is contained in:
Mouse Reeve 2020-02-19 00:22:55 -08:00
parent a664ad3328
commit 77841909fe
4 changed files with 21 additions and 6 deletions

View file

@ -1,4 +1,4 @@
# Generated by Django 3.0.3 on 2020-02-19 08:04
# Generated by Django 3.0.3 on 2020-02-19 08:16
from django.conf import settings
from django.db import migrations, models
@ -22,7 +22,7 @@ class Migration(migrations.Migration):
('user', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL)),
],
options={
'abstract': False,
'unique_together': {('user', 'status')},
},
),
migrations.AddField(