# -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2017-11-16 13:16
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 = [
        ('users', '0010_feedback'),
        ('dashboard', '0004_remove_product_description'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Appointment',
            fields=[
                ('appointment_id', models.AutoField(primary_key=True, serialize=False)),
                ('date', models.DateField(unique=True)),
                ('status', models.CharField(default='Pending', max_length=255)),
                ('admin', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='users.AdministratorDetails')),
                ('service', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='dashboard.Service')),
            ],
        ),
        migrations.CreateModel(
            name='Timeslot',
            fields=[
                ('timeslot_id', models.AutoField(primary_key=True, serialize=False)),
                ('start_time', models.CharField(max_length=255, null=True)),
                ('end_time', models.CharField(max_length=255, null=True)),
            ],
        ),
        migrations.AddField(
            model_name='appointment',
            name='timeslot',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='appointments.Timeslot', unique=True),
        ),
        migrations.AddField(
            model_name='appointment',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
        ),
    ]

631fcfb8497d3bec86c9d36021a63238c128da9f
<mask token>

<mask token>


class Migration(migrations.Migration):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Migration(migrations.Migration):
    initial = True
    dependencies = [('users', '0010_feedback'), ('dashboard',
        '0004_remove_product_description'), migrations.swappable_dependency
        (settings.AUTH_USER_MODEL)]
    operations = [migrations.CreateModel(name='Appointment', fields=[(
        'appointment_id', models.AutoField(primary_key=True, serialize=
        False)), ('date', models.DateField(unique=True)), ('status', models
        .CharField(default='Pending', max_length=255)), ('admin', models.
        ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=
        'users.AdministratorDetails')), ('service', models.ForeignKey(
        on_delete=django.db.models.deletion.CASCADE, to='dashboard.Service'
        ))]), migrations.CreateModel(name='Timeslot', fields=[(
        'timeslot_id', models.AutoField(primary_key=True, serialize=False)),
        ('start_time', models.CharField(max_length=255, null=True)), (
        'end_time', models.CharField(max_length=255, null=True))]),
        migrations.AddField(model_name='appointment', name='timeslot',
        field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
        to='appointments.Timeslot', unique=True)), migrations.AddField(
        model_name='appointment', name='user', field=models.ForeignKey(
        on_delete=django.db.models.deletion.CASCADE, to=settings.
        AUTH_USER_MODEL))]

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 = [('users', '0010_feedback'), ('dashboard',
        '0004_remove_product_description'), migrations.swappable_dependency
        (settings.AUTH_USER_MODEL)]
    operations = [migrations.CreateModel(name='Appointment', fields=[(
        'appointment_id', models.AutoField(primary_key=True, serialize=
        False)), ('date', models.DateField(unique=True)), ('status', models
        .CharField(default='Pending', max_length=255)), ('admin', models.
        ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=
        'users.AdministratorDetails')), ('service', models.ForeignKey(
        on_delete=django.db.models.deletion.CASCADE, to='dashboard.Service'
        ))]), migrations.CreateModel(name='Timeslot', fields=[(
        'timeslot_id', models.AutoField(primary_key=True, serialize=False)),
        ('start_time', models.CharField(max_length=255, null=True)), (
        'end_time', models.CharField(max_length=255, null=True))]),
        migrations.AddField(model_name='appointment', name='timeslot',
        field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
        to='appointments.Timeslot', unique=True)), migrations.AddField(
        model_name='appointment', name='user', field=models.ForeignKey(
        on_delete=django.db.models.deletion.CASCADE, to=settings.
        AUTH_USER_MODEL))]

# -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2017-11-16 13:16
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 = [
        ('users', '0010_feedback'),
        ('dashboard', '0004_remove_product_description'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Appointment',
            fields=[
                ('appointment_id', models.AutoField(primary_key=True, serialize=False)),
                ('date', models.DateField(unique=True)),
                ('status', models.CharField(default='Pending', max_length=255)),
                ('admin', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='users.AdministratorDetails')),
                ('service', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='dashboard.Service')),
            ],
        ),
        migrations.CreateModel(
            name='Timeslot',
            fields=[
                ('timeslot_id', models.AutoField(primary_key=True, serialize=False)),
                ('start_time', models.CharField(max_length=255, null=True)),
                ('end_time', models.CharField(max_length=255, null=True)),
            ],
        ),
        migrations.AddField(
            model_name='appointment',
            name='timeslot',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='appointments.Timeslot', unique=True),
        ),
        migrations.AddField(
            model_name='appointment',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
        ),
    ]
