# Generated by Django 3.0.4 on 2020-03-17 21:09

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('appointments', '0002_workblocks'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='appointments',
            name='profile',
        ),
        migrations.RemoveField(
            model_name='appointments',
            name='title',
        ),
        migrations.RemoveField(
            model_name='appointments',
            name='user',
        ),
        migrations.RemoveField(
            model_name='workblocks',
            name='doctor_id',
        ),
        migrations.AddField(
            model_name='appointments',
            name='block_id',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='appointments.WorkBlocks'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='appointments',
            name='status',
            field=models.CharField(default=1, max_length=255),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='appointments',
            name='user_id',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='workblocks',
            name='doctor',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
            preserve_default=False,
        ),
    ]
