Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#1533 | removed datatype indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Apr 13, 2023
1 parent 282e0d0 commit f7a4939
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions core/concepts/migrations/0064_alter_concept_datatype.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.1.7 on 2023-04-13 11:44

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('concepts', '0063_alter_concept_concept_class'),
]

operations = [
migrations.AlterField(
model_name='concept',
name='datatype',
field=models.TextField(),
),
]
2 changes: 1 addition & 1 deletion core/concepts/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class Meta:

external_id = models.TextField(null=True, blank=True)
concept_class = models.TextField()
datatype = models.TextField(db_index=True)
datatype = models.TextField()
comment = models.TextField(null=True, blank=True)
parent = models.ForeignKey('sources.Source', related_name='concepts_set', on_delete=models.CASCADE)
sources = models.ManyToManyField('sources.Source', related_name='concepts')
Expand Down

0 comments on commit f7a4939

Please sign in to comment.