0004_auto_20151129_2340.py 952 B

1234567891011121314151617181920212223242526272829
  1. # -*- coding: utf-8 -*-
  2. from __future__ import unicode_literals
  3. from django.db import migrations, models
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ('costs', '0003_auto_20151128_1044'),
  7. ]
  8. operations = [
  9. migrations.CreateModel(
  10. name='Document',
  11. fields=[
  12. ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
  13. ('name', models.CharField(max_length=130)),
  14. ('comment', models.TextField(blank=True)),
  15. ('date', models.DateField(auto_now_add=True)),
  16. ('type', models.CharField(choices=[('fact', 'relevé'), ('plan', 'scénario/estimation')], max_length='10')),
  17. ],
  18. ),
  19. migrations.AlterField(
  20. model_name='service',
  21. name='subscriptions_count',
  22. field=models.PositiveIntegerField(default=0),
  23. ),
  24. ]