Skip to content
Snippets Groups Projects
Commit 46afb50b authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

change Compound's type from CharField to TextField

WIP on #205
parent 4869ddd3
No related branches found
No related tags found
1 merge request!13Master
Pipeline #28557 failed
# Generated by Django 2.2.1 on 2020-04-16 13:59
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('ippidb', '0046_compoundjob'),
]
operations = [
migrations.AlterField(
model_name='compound',
name='iupac_name',
field=models.TextField(blank=True, null=True, verbose_name='IUPAC name'),
),
]
...@@ -717,8 +717,8 @@ class Compound(AutoFillableModel): ...@@ -717,8 +717,8 @@ class Compound(AutoFillableModel):
chembl_id = models.CharField( chembl_id = models.CharField(
verbose_name="Chembl ID", max_length=30, blank=True, null=True verbose_name="Chembl ID", max_length=30, blank=True, null=True
) )
iupac_name = models.CharField( iupac_name = models.TextField(
verbose_name="IUPAC name", max_length=255, blank=True, null=True verbose_name="IUPAC name", blank=True, null=True
) )
ligand_id = models.CharField("PDB Ligand ID", max_length=3, blank=True, null=True) ligand_id = models.CharField("PDB Ligand ID", max_length=3, blank=True, null=True)
pubs = models.IntegerField( pubs = models.IntegerField(
......
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