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"),
|
("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
|
||||||
),
|
# ),
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user