From 1649d145185ae8abe812a6ab16655489948ea448 Mon Sep 17 00:00:00 2001 From: Skia Date: Sat, 10 Dec 2016 00:30:52 +0100 Subject: [PATCH] Fix migration scripts --- core/migrations/0013_auto_20161209_2338.py | 5 ----- core/migrations/0014_auto_20161210_0009.py | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 core/migrations/0014_auto_20161210_0009.py diff --git a/core/migrations/0013_auto_20161209_2338.py b/core/migrations/0013_auto_20161209_2338.py index 15343814..e0c6cff8 100644 --- a/core/migrations/0013_auto_20161209_2338.py +++ b/core/migrations/0013_auto_20161209_2338.py @@ -25,9 +25,4 @@ class Migration(migrations.Migration): name='viewed', field=models.BooleanField(verbose_name='viewed', default=False), ), - migrations.AlterField( - model_name='notification', - name='type', - field=models.CharField(verbose_name='type', default='GENERIC', choices=[('FILE_MODERATION', 'New files to be moderated'), ('SAS_MODERATION', 'New pictures/album to be moderated in the SAS'), ('NEW_PICTURES', "You've been identified on some pictures"), ('REFILLING', 'You just refilled of %(amount)s €'), ('SELLING', 'You just bought %(selling)s'), ('GENERIC', 'You have a notification')], max_length=32), - ), ] diff --git a/core/migrations/0014_auto_20161210_0009.py b/core/migrations/0014_auto_20161210_0009.py new file mode 100644 index 00000000..c6f8db7b --- /dev/null +++ b/core/migrations/0014_auto_20161210_0009.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('core', '0013_auto_20161209_2338'), + ] + + operations = [ + migrations.AlterField( + model_name='notification', + name='type', + field=models.CharField(verbose_name='type', max_length=32, default='GENERIC', choices=[('FILE_MODERATION', 'New files to be moderated'), ('SAS_MODERATION', 'New pictures/album to be moderated in the SAS'), ('NEW_PICTURES', "You've been identified on some pictures"), ('REFILLING', 'You just refilled of %s €'), ('SELLING', 'You just bought %s'), ('GENERIC', 'You have a notification')]), + ), + ]