forked from etianen/django-reversion
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make removed fields nullable and non-indexed
- Loading branch information
1 parent
2d57a52
commit e545eb4
Showing
2 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
15 changes: 13 additions & 2 deletions
15
reversion/migrations/0001_squashed_0004_auto_20160611_1202.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,20 @@ | ||
from django.db import migrations | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("reversion", "0002_add_index_on_version_for_content_type_and_db"), | ||
] | ||
|
||
operations = [] | ||
operations = [ | ||
migrations.AlterField( | ||
model_name="revision", | ||
name="manager_slug", | ||
field=models.CharField(default="default", max_length=191, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="version", | ||
name="object_id_int", | ||
field=models.IntegerField(blank=True, null=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters