Skip to content

Commit

Permalink
add some comments to the migration itself
Browse files Browse the repository at this point in the history
  • Loading branch information
rtpg committed Sep 20, 2023
1 parent da33f5a commit 6e75ec4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion taggit/migrations/0002_auto_20150616_2121.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ class Migration(migrations.Migration):
dependencies = [("taggit", "0001_initial")]

operations = [
# this migration was modified from previously being
# a ModifyIndexTogether operation.
#
# If you are a long-enough user of this library, the name
# of the index does not match what is written here. Please
# query the DB itself to find out what the name originally was.
migrations.AddIndex(
"taggeditem",
models.Index(
fields=("content_type", "object_id"),
# this is not the name of the index in previous version,
# but this is ncessary to deal with index_together issues.
# but this is necessary to deal with index_together issues.
name="taggit_tagg_content_8fc721_idx",
),
)
Expand Down

0 comments on commit 6e75ec4

Please sign in to comment.