Commit 09cfa6c2e92575c4ef6ad3b1966bd7abc82fc98d
1 parent
eb751a6428
Exists in
master
fixed missing changes in migration
Showing 2 changed files with 30 additions and 4 deletions Side-by-side Diff
flashcards/migrations/0006_auto_20150512_0042.py
View file @
09cfa6c
1 | 1 | # -*- coding: utf-8 -*- |
2 | 2 | from __future__ import unicode_literals |
3 | 3 | |
4 | -from django.db import models, migrations | |
4 | +from django.db import migrations | |
5 | 5 | import flashcards.fields |
6 | 6 | |
7 | 7 | |
8 | 8 | class Migration(migrations.Migration): |
9 | - | |
10 | 9 | dependencies = [ |
11 | 10 | ('flashcards', '0005_auto_20150510_1458'), |
12 | 11 | ] |
13 | 12 | |
... | ... | @@ -16,13 +15,24 @@ |
16 | 15 | model_name='flashcard', |
17 | 16 | name='mask' |
18 | 17 | ), |
18 | + | |
19 | + migrations.RemoveField( | |
20 | + model_name='userflashcard', | |
21 | + name='mask' | |
22 | + ), | |
23 | + migrations.DeleteModel( | |
24 | + name='FlashcardMask', | |
25 | + ), | |
19 | 26 | migrations.AddField( |
20 | 27 | model_name='flashcard', |
21 | 28 | name='mask', |
22 | 29 | field=flashcards.fields.MaskField(help_text=b'The mask on the card', max_length=255, null=True, blank=True), |
23 | 30 | ), |
24 | - migrations.DeleteModel( | |
25 | - name='FlashcardMask', | |
31 | + migrations.AddField( | |
32 | + model_name='userflashcard', | |
33 | + name='mask', | |
34 | + field=flashcards.fields.MaskField(help_text=b'The user-specific mask on the card', max_length=255, | |
35 | + null=True, blank=True), | |
26 | 36 | ), |
27 | 37 | ] |
flashcards/migrations/0007_userflashcard_mask.py
View file @
09cfa6c
1 | +# -*- coding: utf-8 -*- | |
2 | +from __future__ import unicode_literals | |
3 | + | |
4 | +from django.db import models, migrations | |
5 | +import flashcards.fields | |
6 | + | |
7 | + | |
8 | +class Migration(migrations.Migration): | |
9 | + | |
10 | + dependencies = [ | |
11 | + ('flashcards', '0006_auto_20150512_0042'), | |
12 | + ] | |
13 | + | |
14 | + operations = [ | |
15 | + | |
16 | + ] |