# -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2017-09-04 10:21
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Service',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('draft', models.BooleanField(default=False)),
                ('published_at', models.DateField()),
                ('updated', models.DateTimeField(auto_now=True)),
                ('timestamp', models.DateTimeField(auto_now_add=True)),
                ('service_title', models.CharField(max_length=120)),
                ('service_slug', models.SlugField(unique=True)),
                ('service_image', models.FileField(null=True, upload_to=b'')),
                ('service_description', models.TextField()),
                ('service_category', models.CharField(choices=[('Marketing', 'Marketing'), ('Branding', 'Branding'), ('Digitalism', 'Digitalism'), ('Design', 'Design')], default='Digitalism', max_length=12)),
                ('user', models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'ordering': ['-timestamp', '-updated'],
            },
        ),
        migrations.CreateModel(
            name='ServiceImages',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('service_image_title', models.CharField(max_length=120)),
                ('service_image_file', models.FileField(blank=True, null=True, upload_to=b'')),
                ('service', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='service_related_images', to='services.Service')),
            ],
        ),
    ]
