# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('django_intranet_stuff', '0007_add_gap_id_in_table_book'),
        ('budget_position', '0013_changeregistry_oebs_idempotence_key'),
    ]

    operations = [
        migrations.CreateModel(
            name='BudgetPositionComment',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('comment', models.TextField()),
                ('budget_position', models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.PROTECT, to='budget_position.BudgetPosition')),
                ('person', models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.PROTECT, to='django_intranet_stuff.Staff')),
            ],
        ),
        migrations.AlterUniqueTogether(
            name='budgetpositioncomment',
            unique_together=set([('person', 'budget_position')]),
        ),
    ]
