mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 05:07:50 +02:00
Disable an old migration
This commit is contained in:
@@ -31,19 +31,21 @@ class Migration(migrations.Migration):
|
||||
("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 = [
|
||||
migrations.AlterField(
|
||||
model_name="bookimage",
|
||||
name="image",
|
||||
field=models.ImageField(
|
||||
blank=True,
|
||||
null=True,
|
||||
storage=ram.utils.DeduplicatedStorage,
|
||||
upload_to=bookshelf.models.book_image_upload,
|
||||
),
|
||||
),
|
||||
migrations.RunPython(
|
||||
move_images,
|
||||
reverse_code=migrations.RunPython.noop
|
||||
),
|
||||
# migrations.AlterField(
|
||||
# model_name="bookimage",
|
||||
# name="image",
|
||||
# field=models.ImageField(
|
||||
# blank=True,
|
||||
# null=True,
|
||||
# storage=ram.utils.DeduplicatedStorage,
|
||||
# upload_to=bookshelf.models.book_image_upload,
|
||||
# ),
|
||||
# ),
|
||||
# migrations.RunPython(
|
||||
# move_images,
|
||||
# reverse_code=migrations.RunPython.noop
|
||||
# ),
|
||||
]
|
||||
|
Reference in New Issue
Block a user