Skip to content

Commit

Permalink
IgnoreMigrationOp: add class comment to explain purpose of no-op
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Wobrock committed May 19, 2019
1 parent e7b3361 commit e23e46e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions django_migration_linter/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@


class IgnoreMigration(Operation):
"""
No-op migration operation that will enable the Django Migration Linter
to detect if the entire migration should be ignored (through code).
"""

reversible = True
reduces_to_sql = False
Expand Down

0 comments on commit e23e46e

Please sign in to comment.