text: # Generated by Django 3.1.5 on 2021-01-14 00:08
  
  from django.db import migrations, models
  import django.db.models.deletion
  import s3_file_field.fields
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('core', '0004_auto_20201123_1606'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='RegisteredImage',
              fields=[
                  (
                      'id',
                      models.AutoField(
                          auto_created=True, primary_key=True, serialize=False, verbose_name='ID'
                      ),
                  ),
                  (
                      'blob',
                      s3_file_field.fields.S3FileField(
                          max_length=2000,
                          upload_to=s3_file_field.fields.S3FileField.uuid_prefix_filename,
                      ),
                  ),
                  ('registration_type', models.CharField(default='affine', max_length=100)),
                  (
                      'atlas',
                      models.ForeignKey(
                          on_delete=django.db.models.deletion.PROTECT,
                          related_name='registered_images',
                          to='core.atlas',
                      ),
                  ),
                  (
                      'source_image',
                      models.ForeignKey(
                          on_delete=django.db.models.deletion.CASCADE,
                          related_name='registered_images',
                          to='core.image',
                      ),
                  ),
              ],
          ),
          migrations.CreateModel(
              name='JacobianImage',
              fields=[
                  (
                      'id',
                      models.AutoField(
                          auto_created=True, primary_key=True, serialize=False, verbose_name='ID'
                      ),
                  ),
                  (
                      'blob',
                      s3_file_field.fields.S3FileField(
                          max_length=2000,
                          upload_to=s3_file_field.fields.S3FileField.uuid_prefix_filename,
                      ),
                  ),
                  ('registration_type', models.CharField(default='affine', max_length=100)),
                  (
                      'atlas',
                      models.ForeignKey(
                          on_delete=django.db.models.deletion.PROTECT,
                          related_name='jacobian_images',
                          to='core.atlas',
                      ),
                  ),
                  (
                      'source_image',
                      models.ForeignKey(
                          on_delete=django.db.models.deletion.CASCADE,
                          related_name='jacobian_images',
                          to='core.image',
                      ),
                  ),
              ],
          ),
      ]
  