Skip to content
Snippets Groups Projects
Commit c5f3034c authored by Erwan Rouchet's avatar Erwan Rouchet
Browse files

Merge branch 'remove-_unique_entity_in_corpus' into 'master'

change model to remove unique_together in entity

See merge request !334
parents a102f418 0d2bc896
No related branches found
No related tags found
1 merge request!334change model to remove unique_together in entity
# Generated by Django 2.1 on 2019-05-02 13:40
# Generated by Django 2.1 on 2019-05-23 14:51
import arkindex.documents.models
import django.contrib.postgres.fields.hstore
......
# Generated by Django 2.1 on 2019-05-02 13:18
# Generated by Django 2.1 on 2019-05-23 14:53
from django.db import migrations
from django.db.models import Q, OuterRef, Subquery
......
# Generated by Django 2.1 on 2019-05-24 08:01
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('documents', '0004_entities_data_migration'),
]
operations = [
migrations.AlterUniqueTogether(
name='entity',
unique_together=set(),
),
]
......@@ -606,9 +606,6 @@ class Entity(models.Model):
metas = HStoreField(null=True, blank=True)
class Meta:
unique_together = (
('corpus', 'type', 'name'),
)
verbose_name_plural = 'Entities'
def __str__(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment