# Generated by Django 3.1 on 2020-09-06 15:04

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('hospital', '__first__'),
    ]

    operations = [
        migrations.CreateModel(
            name='Department',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('department_name', models.CharField(max_length=200)),
            ],
        ),
        migrations.CreateModel(
            name='Doctor',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=100)),
                ('experience', models.IntegerField(default=1)),
                ('contact_number', models.IntegerField()),
                ('email', models.EmailField(max_length=254)),
                ('department', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='categories.department')),
                ('hospital', models.ManyToManyField(to='hospital.Hospital')),
            ],
            options={
                'ordering': ['name'],
            },
        ),
    ]

cf11837fa6c82785e8ce667279353f30be35be4b
<mask token>

<mask token>


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

<mask token>


class Migration(migrations.Migration):
    initial = True
    dependencies = [('hospital', '__first__')]
    operations = [migrations.CreateModel(name='Department', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('department_name', models.CharField(
        max_length=200))]), migrations.CreateModel(name='Doctor', fields=[(
        'id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('name', models.CharField(
        max_length=100)), ('experience', models.IntegerField(default=1)), (
        'contact_number', models.IntegerField()), ('email', models.
        EmailField(max_length=254)), ('department', models.ForeignKey(
        on_delete=django.db.models.deletion.CASCADE, to=
        'categories.department')), ('hospital', models.ManyToManyField(to=
        'hospital.Hospital'))], options={'ordering': ['name']})]

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


class Migration(migrations.Migration):
    initial = True
    dependencies = [('hospital', '__first__')]
    operations = [migrations.CreateModel(name='Department', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('department_name', models.CharField(
        max_length=200))]), migrations.CreateModel(name='Doctor', fields=[(
        'id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('name', models.CharField(
        max_length=100)), ('experience', models.IntegerField(default=1)), (
        'contact_number', models.IntegerField()), ('email', models.
        EmailField(max_length=254)), ('department', models.ForeignKey(
        on_delete=django.db.models.deletion.CASCADE, to=
        'categories.department')), ('hospital', models.ManyToManyField(to=
        'hospital.Hospital'))], options={'ordering': ['name']})]

# Generated by Django 3.1 on 2020-09-06 15:04

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('hospital', '__first__'),
    ]

    operations = [
        migrations.CreateModel(
            name='Department',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('department_name', models.CharField(max_length=200)),
            ],
        ),
        migrations.CreateModel(
            name='Doctor',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=100)),
                ('experience', models.IntegerField(default=1)),
                ('contact_number', models.IntegerField()),
                ('email', models.EmailField(max_length=254)),
                ('department', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='categories.department')),
                ('hospital', models.ManyToManyField(to='hospital.Hospital')),
            ],
            options={
                'ordering': ['name'],
            },
        ),
    ]
