# Generated by Django 3.1.7 on 2021-05-07 05:29

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),
        ('auth', '0012_alter_user_first_name_max_length'),
    ]

    operations = [
        migrations.CreateModel(
            name='Drug',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=255)),
                ('drugtype', models.CharField(blank=True, choices=[('Injection', 'Injection'), ('Tablet', 'Tablet')], max_length=255, null=True)),
                ('quantity', models.IntegerField(blank=True, null=True)),
                ('price', models.DecimalField(blank=True, decimal_places=2, max_digits=10, null=True)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
            ],
        ),
        migrations.CreateModel(
            name='DrugCategory',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=255)),
            ],
        ),
        migrations.CreateModel(
            name='Staff',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('staff_id', models.IntegerField()),
                ('firstname', models.CharField(max_length=255)),
                ('middlename', models.CharField(blank=True, max_length=255, null=True)),
                ('surname', models.CharField(max_length=255)),
                ('dob', models.DateField()),
                ('gender', models.CharField(choices=[('', '- Gender -'), ('Male', 'Male'), ('Female', 'Female')], max_length=10)),
                ('marital_status', models.CharField(choices=[('', '- Marital Status -'), ('Single', 'Single'), ('Married', 'Married'), ('Divorced', 'Divorced'), ('Widowed', 'Widowed')], max_length=20)),
                ('phone_number', models.CharField(max_length=20)),
                ('address', models.TextField(blank=True, null=True)),
                ('city_town', models.CharField(blank=True, max_length=255, null=True)),
                ('state', models.CharField(blank=True, max_length=255, null=True)),
                ('zipcode', models.CharField(blank=True, max_length=255, null=True)),
                ('profile_image', models.ImageField(default='avatar.png', upload_to='profile_images')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('group', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='auth.group', verbose_name='Group')),
                ('user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL, verbose_name='User')),
            ],
        ),
        migrations.AddField(
            model_name='drug',
            name='drugcategory',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='app.drugcategory', verbose_name='DrugCategory'),
        ),
    ]

5985539dd56ab22cbdf8496be68489552ec23672
<mask token>

<mask token>


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

<mask token>


class Migration(migrations.Migration):
    initial = True
    dependencies = [migrations.swappable_dependency(settings.
        AUTH_USER_MODEL), ('auth', '0012_alter_user_first_name_max_length')]
    operations = [migrations.CreateModel(name='Drug', fields=[('id', models
        .AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('name', models.CharField(max_length=255)), (
        'drugtype', models.CharField(blank=True, choices=[('Injection',
        'Injection'), ('Tablet', 'Tablet')], max_length=255, null=True)), (
        'quantity', models.IntegerField(blank=True, null=True)), ('price',
        models.DecimalField(blank=True, decimal_places=2, max_digits=10,
        null=True)), ('created_at', models.DateTimeField(auto_now_add=True)
        ), ('updated_at', models.DateTimeField(auto_now=True))]),
        migrations.CreateModel(name='DrugCategory', fields=[('id', models.
        AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('name', models.CharField(max_length=255))]),
        migrations.CreateModel(name='Staff', fields=[('id', models.
        AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('staff_id', models.IntegerField()), (
        'firstname', models.CharField(max_length=255)), ('middlename',
        models.CharField(blank=True, max_length=255, null=True)), (
        'surname', models.CharField(max_length=255)), ('dob', models.
        DateField()), ('gender', models.CharField(choices=[('',
        '- Gender -'), ('Male', 'Male'), ('Female', 'Female')], max_length=
        10)), ('marital_status', models.CharField(choices=[('',
        '- Marital Status -'), ('Single', 'Single'), ('Married', 'Married'),
        ('Divorced', 'Divorced'), ('Widowed', 'Widowed')], max_length=20)),
        ('phone_number', models.CharField(max_length=20)), ('address',
        models.TextField(blank=True, null=True)), ('city_town', models.
        CharField(blank=True, max_length=255, null=True)), ('state', models
        .CharField(blank=True, max_length=255, null=True)), ('zipcode',
        models.CharField(blank=True, max_length=255, null=True)), (
        'profile_image', models.ImageField(default='avatar.png', upload_to=
        'profile_images')), ('created_at', models.DateTimeField(
        auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=
        True)), ('group', models.ForeignKey(on_delete=django.db.models.
        deletion.CASCADE, to='auth.group', verbose_name='Group')), ('user',
        models.ForeignKey(blank=True, null=True, on_delete=django.db.models
        .deletion.CASCADE, to=settings.AUTH_USER_MODEL, verbose_name='User'
        ))]), migrations.AddField(model_name='drug', name='drugcategory',
        field=models.ForeignKey(blank=True, null=True, on_delete=django.db.
        models.deletion.CASCADE, to='app.drugcategory', verbose_name=
        'DrugCategory'))]

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), ('auth', '0012_alter_user_first_name_max_length')]
    operations = [migrations.CreateModel(name='Drug', fields=[('id', models
        .AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('name', models.CharField(max_length=255)), (
        'drugtype', models.CharField(blank=True, choices=[('Injection',
        'Injection'), ('Tablet', 'Tablet')], max_length=255, null=True)), (
        'quantity', models.IntegerField(blank=True, null=True)), ('price',
        models.DecimalField(blank=True, decimal_places=2, max_digits=10,
        null=True)), ('created_at', models.DateTimeField(auto_now_add=True)
        ), ('updated_at', models.DateTimeField(auto_now=True))]),
        migrations.CreateModel(name='DrugCategory', fields=[('id', models.
        AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('name', models.CharField(max_length=255))]),
        migrations.CreateModel(name='Staff', fields=[('id', models.
        AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('staff_id', models.IntegerField()), (
        'firstname', models.CharField(max_length=255)), ('middlename',
        models.CharField(blank=True, max_length=255, null=True)), (
        'surname', models.CharField(max_length=255)), ('dob', models.
        DateField()), ('gender', models.CharField(choices=[('',
        '- Gender -'), ('Male', 'Male'), ('Female', 'Female')], max_length=
        10)), ('marital_status', models.CharField(choices=[('',
        '- Marital Status -'), ('Single', 'Single'), ('Married', 'Married'),
        ('Divorced', 'Divorced'), ('Widowed', 'Widowed')], max_length=20)),
        ('phone_number', models.CharField(max_length=20)), ('address',
        models.TextField(blank=True, null=True)), ('city_town', models.
        CharField(blank=True, max_length=255, null=True)), ('state', models
        .CharField(blank=True, max_length=255, null=True)), ('zipcode',
        models.CharField(blank=True, max_length=255, null=True)), (
        'profile_image', models.ImageField(default='avatar.png', upload_to=
        'profile_images')), ('created_at', models.DateTimeField(
        auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=
        True)), ('group', models.ForeignKey(on_delete=django.db.models.
        deletion.CASCADE, to='auth.group', verbose_name='Group')), ('user',
        models.ForeignKey(blank=True, null=True, on_delete=django.db.models
        .deletion.CASCADE, to=settings.AUTH_USER_MODEL, verbose_name='User'
        ))]), migrations.AddField(model_name='drug', name='drugcategory',
        field=models.ForeignKey(blank=True, null=True, on_delete=django.db.
        models.deletion.CASCADE, to='app.drugcategory', verbose_name=
        'DrugCategory'))]

# Generated by Django 3.1.7 on 2021-05-07 05:29

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),
        ('auth', '0012_alter_user_first_name_max_length'),
    ]

    operations = [
        migrations.CreateModel(
            name='Drug',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=255)),
                ('drugtype', models.CharField(blank=True, choices=[('Injection', 'Injection'), ('Tablet', 'Tablet')], max_length=255, null=True)),
                ('quantity', models.IntegerField(blank=True, null=True)),
                ('price', models.DecimalField(blank=True, decimal_places=2, max_digits=10, null=True)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
            ],
        ),
        migrations.CreateModel(
            name='DrugCategory',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=255)),
            ],
        ),
        migrations.CreateModel(
            name='Staff',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('staff_id', models.IntegerField()),
                ('firstname', models.CharField(max_length=255)),
                ('middlename', models.CharField(blank=True, max_length=255, null=True)),
                ('surname', models.CharField(max_length=255)),
                ('dob', models.DateField()),
                ('gender', models.CharField(choices=[('', '- Gender -'), ('Male', 'Male'), ('Female', 'Female')], max_length=10)),
                ('marital_status', models.CharField(choices=[('', '- Marital Status -'), ('Single', 'Single'), ('Married', 'Married'), ('Divorced', 'Divorced'), ('Widowed', 'Widowed')], max_length=20)),
                ('phone_number', models.CharField(max_length=20)),
                ('address', models.TextField(blank=True, null=True)),
                ('city_town', models.CharField(blank=True, max_length=255, null=True)),
                ('state', models.CharField(blank=True, max_length=255, null=True)),
                ('zipcode', models.CharField(blank=True, max_length=255, null=True)),
                ('profile_image', models.ImageField(default='avatar.png', upload_to='profile_images')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('group', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='auth.group', verbose_name='Group')),
                ('user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL, verbose_name='User')),
            ],
        ),
        migrations.AddField(
            model_name='drug',
            name='drugcategory',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='app.drugcategory', verbose_name='DrugCategory'),
        ),
    ]
