Disable an old migration

This commit is contained in:
2024-12-22 21:59:14 +01:00
parent 3fbae0417e
commit 2695358d9b

View File

@@ -31,19 +31,21 @@ class Migration(migrations.Migration):
("bookshelf", "0008_alter_author_options_alter_publisher_options"), ("bookshelf", "0008_alter_author_options_alter_publisher_options"),
] ]
# Migration is stale and shouldn't be used since model hes been heavily
# modified since then. Leaving it here for reference.
operations = [ operations = [
migrations.AlterField( # migrations.AlterField(
model_name="bookimage", # model_name="bookimage",
name="image", # name="image",
field=models.ImageField( # field=models.ImageField(
blank=True, # blank=True,
null=True, # null=True,
storage=ram.utils.DeduplicatedStorage, # storage=ram.utils.DeduplicatedStorage,
upload_to=bookshelf.models.book_image_upload, # upload_to=bookshelf.models.book_image_upload,
), # ),
), # ),
migrations.RunPython( # migrations.RunPython(
move_images, # move_images,
reverse_code=migrations.RunPython.noop # reverse_code=migrations.RunPython.noop
), # ),
] ]