text: # Generated by Django 2.1.11 on 2020-05-12 11:49
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
          ('api', '0001_initial'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Image2seqAnnotation',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('prob', models.FloatField(default=0.0)),
                  ('manual', models.BooleanField(default=False)),
                  ('created_at', models.DateTimeField(auto_now_add=True)),
                  ('updated_at', models.DateTimeField(auto_now=True)),
                  ('text', models.TextField()),
                  ('document', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='img2seq_annotations', to='api.Document')),
                  ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.CreateModel(
              name='Image2seqProject',
              fields=[
                  ('project_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='api.Project')),
              ],
              options={
                  'abstract': False,
                  'base_manager_name': 'objects',
              },
              bases=('api.project',),
          ),
          migrations.AlterField(
              model_name='label',
              name='suffix_key',
              field=models.CharField(blank=True, choices=[('0', '0'), ('1', '1'), ('2', '2'), ('3', '3'), ('4', '4'), ('5', '5'), ('6', '6'), ('7', '7'), ('8', '8'), ('9', '9'), ('a', 'a'), ('b', 'b'), ('c', 'c'), ('d', 'd'), ('e', 'e'), ('f', 'f'), ('g', 'g'), ('h', 'h'), ('i', 'i'), ('j', 'j'), ('k', 'k'), ('l', 'l'), ('m', 'm'), ('n', 'n'), ('o', 'o'), ('p', 'p'), ('q', 'q'), ('r', 'r'), ('s', 's'), ('t', 't'), ('u', 'u'), ('v', 'v'), ('w', 'w'), ('x', 'x'), ('y', 'y'), ('z', 'z')], max_length=1, null=True),
          ),
          migrations.AlterField(
              model_name='project',
              name='project_type',
              field=models.CharField(choices=[('DocumentClassification', 'document classification'), ('SequenceLabeling', 'sequence labeling'), ('Seq2seq', 'sequence to sequence'), ('Image2seq', 'image to sequence')], max_length=30),
          ),
          migrations.AlterUniqueTogether(
              name='image2seqannotation',
              unique_together={('document', 'user', 'text')},
          ),
      ]
  