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 Inline Diff
flashcards/migrations/0006_auto_20150512_0042.py
View file @
eb751a6
# -*- coding: utf-8 -*- | 1 | 1 | # -*- coding: utf-8 -*- | |
from __future__ import unicode_literals | 2 | 2 | from __future__ import unicode_literals | |
3 | 3 | |||
from django.db import models, migrations | 4 | 4 | from django.db import models, migrations | |
import flashcards.fields | 5 | 5 | import flashcards.fields | |
6 | 6 | |||
7 | 7 | |||
class Migration(migrations.Migration): | 8 | 8 | class Migration(migrations.Migration): | |
9 | 9 | |||
dependencies = [ | 10 | 10 | dependencies = [ | |
('flashcards', '0005_auto_20150510_1458'), | 11 | 11 | ('flashcards', '0005_auto_20150510_1458'), | |
] | 12 | 12 | ] | |
13 | 13 | |||
operations = [ | 14 | 14 | operations = [ | |
migrations.AlterField( | 15 | 15 | migrations.RemoveField( | |
model_name='flashcard', | 16 | 16 | model_name='flashcard', | |
name='mask', | 17 | 17 | name='mask' | |
field=flashcards.fields.MaskField(help_text=b'The mask on the card', max_length=255, null=True, blank=True), | 18 | |||
), | 19 | 18 | ), | |
migrations.AlterField( | 20 | 19 | migrations.AddField( | |
model_name='userflashcard', | 21 | 20 | model_name='flashcard', | |
name='mask', | 22 | 21 | name='mask', | |
field=flashcards.fields.MaskField(help_text=b'The user-specific mask on the card', max_length=255, null=True, blank=True), | 23 | 22 | field=flashcards.fields.MaskField(help_text=b'The mask on the card', max_length=255, null=True, blank=True), | |
), | 24 | 23 | ), | |
migrations.DeleteModel( | 25 | 24 | migrations.DeleteModel( | |
name='FlashcardMask', | 26 | 25 | name='FlashcardMask', | |
), | 27 | 26 | ), | |
] | 28 | 27 | ] |