# Generated by Django 2.2.5 on 2019-09-29 05:46

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('medico', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Paciente',
            fields=[
                ('nss_paciente', models.CharField(max_length=10, primary_key=True, serialize=False, unique=True)),
                ('apellido_paterno', models.CharField(max_length=50)),
                ('apellido_materno', models.CharField(max_length=50)),
                ('nombres', models.CharField(max_length=50)),
                ('fecha_nacimiento', models.DateField()),
                ('sexo', models.CharField(max_length=15)),
                ('domicilio', models.TextField()),
                ('especialidad', models.CharField(max_length=60)),
                ('correo_electronico', models.EmailField(max_length=255)),
                ('telefono', models.CharField(max_length=20)),
                ('celular', models.CharField(max_length=20)),
                ('cedula_medico', models.ForeignKey(on_delete=models.SET(0), related_name='medicos_rel', to='medico.Medico')),
            ],
        ),
    ]
