26 lines
810 B
Python
26 lines
810 B
Python
# Generated by Django 4.1.6 on 2023-02-14 08:48
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Patient',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('name', models.CharField(max_length=50)),
|
|
('nationalID', models.CharField(max_length=20)),
|
|
('status', models.CharField(choices=[(0, 'Pending'), (1, 'Processing'), (2, 'Processed')], default=0, max_length=20)),
|
|
('image', models.ImageField(upload_to='uploads/')),
|
|
('description', models.TextField()),
|
|
],
|
|
),
|
|
]
|