mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-16 11:13:23 +00:00
Fix migration scripts
This commit is contained in:
parent
d92a706920
commit
1649d14518
@ -25,9 +25,4 @@ class Migration(migrations.Migration):
|
|||||||
name='viewed',
|
name='viewed',
|
||||||
field=models.BooleanField(verbose_name='viewed', default=False),
|
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),
|
|
||||||
),
|
|
||||||
]
|
]
|
||||||
|
19
core/migrations/0014_auto_20161210_0009.py
Normal file
19
core/migrations/0014_auto_20161210_0009.py
Normal file
@ -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')]),
|
||||||
|
),
|
||||||
|
]
|
Loading…
Reference in New Issue
Block a user