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
Pipeline #28557 failed with stages
in 6 minutes and 2 seconds
# 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):
chembl_id = models.CharField(
verbose_name="Chembl ID", max_length=30, blank=True, null=True
)
iupac_name = models.CharField(
verbose_name="IUPAC name", max_length=255, blank=True, null=True
iupac_name = models.TextField(
verbose_name="IUPAC name", blank=True, null=True
)
ligand_id = models.CharField("PDB Ligand ID", max_length=3, blank=True, null=True)
pubs = models.IntegerField(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment