mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-18 12:13:24 +00:00
29 lines
729 B
Python
29 lines
729 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('accounting', '0011_auto_20160718_1805'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterModelOptions(
|
|
name='operation',
|
|
options={'ordering': ['-number']},
|
|
),
|
|
migrations.AddField(
|
|
model_name='operation',
|
|
name='number',
|
|
field=models.IntegerField(default=1, verbose_name='number'),
|
|
preserve_default=False,
|
|
),
|
|
migrations.AlterUniqueTogether(
|
|
name='operation',
|
|
unique_together=set([('number', 'journal')]),
|
|
),
|
|
]
|