Skip to content

Commit

Permalink
docs: fix IgnoreMigration link
Browse files Browse the repository at this point in the history
  • Loading branch information
blimmer authored and David-Wobrock committed Feb 15, 2022
1 parent 4fa6a33 commit 61237c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/incompatibilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Deletion operations often lead to errors during deployment.
:white_check_mark: **Solutions**:
- Deprecate the column before dropping it using [django-deprecate-fields](https://github.com/3YOURMIND/django-deprecate-fields/).
This process requires to first make sure that the field is unused (for which `django-deprecate-fields` is made for).
Once the column is unsed, drop it in a migration. This migration will require to be ignored through the [IgnoreMigration](docs/usage.md#ignoring-migrations) for instance.
Once the column is unsed, drop it in a migration. This migration will require to be ignored through the [IgnoreMigration](/docs/usage.md#ignoring-migrations) for instance.
- Don't actually drop the column, but fake the drop migration until you are sure you won't roll back.
Be careful :warning: fake dropping a non-nullable column without a database default will create errors once the code is not aware of the column anymore.

Expand Down

0 comments on commit 61237c3

Please sign in to comment.