You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
2.2 KiB
56 lines
2.2 KiB
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.9.6 on 2016-07-07 14:24
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
import mptt.fields
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('projects', '0038_auto_20160706_1249'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RemoveField(
|
|
model_name='portfolio',
|
|
name='budget_by_agreement',
|
|
),
|
|
migrations.AddField(
|
|
model_name='portfolio',
|
|
name='currency',
|
|
field=models.CharField(blank=True, choices=[('rur', 'RUR'), ('usd', 'USD'), ('eur', 'EUR')], default='rur', max_length=20, null=True),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='portfolio',
|
|
name='budget',
|
|
field=models.DecimalField(blank=True, decimal_places=0, default=0, max_digits=10, null=True),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='portfolio',
|
|
name='building_classification',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='portfolios', to='projects.BuildingClassfication'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='portfolio',
|
|
name='construction_type',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='portfolios', to='projects.ConstructionType'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='portfolio',
|
|
name='specialization',
|
|
field=mptt.fields.TreeForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='portfolios', to='specializations.Specialization'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='portfolio',
|
|
name='term',
|
|
field=models.IntegerField(blank=True, default=0, null=True),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='portfolio',
|
|
name='term_type',
|
|
field=models.CharField(blank=True, choices=[('project', 'За проект'), ('hour', 'За час'), ('day', 'За день'), ('month', 'За месяц')], default='hour', max_length=20, null=True),
|
|
),
|
|
]
|
|
|