Skip to content

Commit

Permalink
Fix migration
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvarner committed Feb 2, 2024
1 parent ac7ee18 commit d19bcad
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions readux_ingest_ecds/migrations/0002_auto_20240201_1406.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
import readux_ingest_ecds.models
import uuid

Manifest = settings.IIIF_MANIFEST_MODEL
ImageServer = settings.IIIF_IMAGE_SERVER_MODEL
Collection = settings.IIIF_COLLECTION_MODEL

class Migration(migrations.Migration):

dependencies = [
Expand All @@ -30,9 +34,9 @@ class Migration(migrations.Migration):
name='Bulk',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('collections', models.ManyToManyField(blank=True, help_text='Optional: Collections to attach to the volume ingested in this form.', related_name='ecds_bulk_ingest_collections', to='iiif.Collection')),
('collections', models.ManyToManyField(blank=True, help_text='Optional: Collections to attach to the volume ingested in this form.', related_name='ecds_bulk_ingest_collections', to=Collection)),
('creator', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='ecds_bulk_ingest_created_locals', to=settings.AUTH_USER_MODEL)),
('image_server', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='ecds_bulk_ingest_image_server', to='iiif.imageserver')),
('image_server', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='ecds_bulk_ingest_image_server', to=ImageServer)),
('volume_files', models.ManyToManyField(blank=True, to='readux_ingest_ecds.VolumeFile')),
],
options={
Expand Down

0 comments on commit d19bcad

Please sign in to comment.