# -*- coding: utf-8 -*-
# Generated by Django 1.9.10 on 2016-12-01 02:37
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    dependencies = [
        ('profiles_v2', '0002_auto_20161130_1017'),
    ]

    operations = [
        migrations.CreateModel(
            name='Person',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(blank=True, max_length=128, null=True)),
                ('position', models.CharField(blank=True, max_length=128, null=True)),
                ('background', models.CharField(blank=True, max_length=500, null=True)),
                ('phone_number', models.CharField(blank=True, max_length=128, null=True)),
                ('email', models.CharField(blank=True, max_length=128, null=True)),
                ('photo', models.ImageField(blank=True, null=True, upload_to='profiles/person_photo')),
                ('order', models.IntegerField(blank=True, default=0, null=True)),
                ('organisation_profile', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='people', to='profiles_v2.OrganisationProfile')),
            ],
            bases=(models.Model, profiles_v2.models.ImageModel),
        ),
    ]
