Commit eb751a6428e3ea65d10aa30e1fccf7f9495804d3
1 parent
352c9933d8
Exists in
master
can't cast a mask reference to an int array. irreversible migration!
Showing 1 changed file with 5 additions and 6 deletions Side-by-side Diff
flashcards/migrations/0006_auto_20150512_0042.py
View file @
eb751a6
... | ... | @@ -12,15 +12,14 @@ |
12 | 12 | ] |
13 | 13 | |
14 | 14 | operations = [ |
15 | - migrations.AlterField( | |
15 | + migrations.RemoveField( | |
16 | 16 | model_name='flashcard', |
17 | - name='mask', | |
18 | - field=flashcards.fields.MaskField(help_text=b'The mask on the card', max_length=255, null=True, blank=True), | |
17 | + name='mask' | |
19 | 18 | ), |
20 | - migrations.AlterField( | |
21 | - model_name='userflashcard', | |
19 | + migrations.AddField( | |
20 | + model_name='flashcard', | |
22 | 21 | name='mask', |
23 | - field=flashcards.fields.MaskField(help_text=b'The user-specific mask on the card', max_length=255, null=True, blank=True), | |
22 | + field=flashcards.fields.MaskField(help_text=b'The mask on the card', max_length=255, null=True, blank=True), | |
24 | 23 | ), |
25 | 24 | migrations.DeleteModel( |
26 | 25 | name='FlashcardMask', |