aboutsummaryrefslogtreecommitdiffstats
path: root/client/migrations
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--client/migrations/0015_personaldata_email.py18
-rw-r--r--client/migrations/0016_auto_20200620_1733.py26
-rw-r--r--client/migrations/0017_usercode_medic.py19
-rw-r--r--client/migrations/0018_auto_20200620_2007.py18
-rw-r--r--client/migrations/0019_auto_20200620_2008.py18
-rw-r--r--client/migrations/0020_auto_20200620_2200.py109
-rw-r--r--client/migrations/0021_documenttype_sign_req.py18
-rw-r--r--client/migrations/0022_auto_20200620_2316.py18
8 files changed, 244 insertions, 0 deletions
diff --git a/client/migrations/0015_personaldata_email.py b/client/migrations/0015_personaldata_email.py
new file mode 100644
index 0000000..86f7213
--- /dev/null
+++ b/client/migrations/0015_personaldata_email.py
@@ -0,0 +1,18 @@
+# Generated by Django 3.0.7 on 2020-06-20 15:29
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('client', '0014_auto_20200620_1506'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='personaldata',
+ name='email',
+ field=models.CharField(default='', max_length=250),
+ ),
+ ]
diff --git a/client/migrations/0016_auto_20200620_1733.py b/client/migrations/0016_auto_20200620_1733.py
new file mode 100644
index 0000000..11fb49f
--- /dev/null
+++ b/client/migrations/0016_auto_20200620_1733.py
@@ -0,0 +1,26 @@
+# Generated by Django 3.0.7 on 2020-06-20 15:33
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('client', '0015_personaldata_email'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='MedicalData',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('medic_name', models.CharField(default='', max_length=250)),
+ ],
+ ),
+ migrations.AddField(
+ model_name='document',
+ name='medical_data',
+ field=models.ForeignKey(default=None, null=True, on_delete=django.db.models.deletion.PROTECT, to='client.MedicalData'),
+ ),
+ ]
diff --git a/client/migrations/0017_usercode_medic.py b/client/migrations/0017_usercode_medic.py
new file mode 100644
index 0000000..1c4071a
--- /dev/null
+++ b/client/migrations/0017_usercode_medic.py
@@ -0,0 +1,19 @@
+# Generated by Django 3.0.7 on 2020-06-20 18:04
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('client', '0016_auto_20200620_1733'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='usercode',
+ name='medic',
+ field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.PROTECT, to='client.MedicalData'),
+ ),
+ ]
diff --git a/client/migrations/0018_auto_20200620_2007.py b/client/migrations/0018_auto_20200620_2007.py
new file mode 100644
index 0000000..17f40b3
--- /dev/null
+++ b/client/migrations/0018_auto_20200620_2007.py
@@ -0,0 +1,18 @@
+# Generated by Django 3.0.7 on 2020-06-20 18:07
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('client', '0017_usercode_medic'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='medicaldata',
+ name='medic_name',
+ field=models.CharField(default='', max_length=250, null=True),
+ ),
+ ]
diff --git a/client/migrations/0019_auto_20200620_2008.py b/client/migrations/0019_auto_20200620_2008.py
new file mode 100644
index 0000000..15dff2f
--- /dev/null
+++ b/client/migrations/0019_auto_20200620_2008.py
@@ -0,0 +1,18 @@
+# Generated by Django 3.0.7 on 2020-06-20 18:08
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('client', '0018_auto_20200620_2007'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='medicaldata',
+ name='medic_name',
+ field=models.CharField(default='', max_length=250),
+ ),
+ ]
diff --git a/client/migrations/0020_auto_20200620_2200.py b/client/migrations/0020_auto_20200620_2200.py
new file mode 100644
index 0000000..cdf9cc9
--- /dev/null
+++ b/client/migrations/0020_auto_20200620_2200.py
@@ -0,0 +1,109 @@
+# Generated by Django 3.0.7 on 2020-06-20 20:00
+
+import datetime
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('client', '0019_auto_20200620_2008'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='medicaldata',
+ name='address',
+ field=models.CharField(default='', max_length=250),
+ ),
+ migrations.AddField(
+ model_name='medicaldata',
+ name='allergy',
+ field=models.CharField(default='', max_length=250),
+ ),
+ migrations.AddField(
+ model_name='medicaldata',
+ name='cell_phone',
+ field=models.CharField(default='', max_length=250),
+ ),
+ migrations.AddField(
+ model_name='medicaldata',
+ name='drugs',
+ field=models.CharField(default='', max_length=250),
+ ),
+ migrations.AddField(
+ model_name='medicaldata',
+ name='drugs_bool',
+ field=models.BooleanField(default=False),
+ ),
+ migrations.AddField(
+ model_name='medicaldata',
+ name='emer_name',
+ field=models.CharField(default='', max_length=250),
+ ),
+ migrations.AddField(
+ model_name='medicaldata',
+ name='emer_phone',
+ field=models.CharField(default='', max_length=250),
+ ),
+ migrations.AddField(
+ model_name='medicaldata',
+ name='emer_relative',
+ field=models.CharField(default='', max_length=250),
+ ),
+ migrations.AddField(
+ model_name='medicaldata',
+ name='health_care',
+ field=models.CharField(default='', max_length=250),
+ ),
+ migrations.AddField(
+ model_name='medicaldata',
+ name='injuries',
+ field=models.CharField(default='', max_length=250),
+ ),
+ migrations.AddField(
+ model_name='medicaldata',
+ name='medic_address',
+ field=models.CharField(default='', max_length=250),
+ ),
+ migrations.AddField(
+ model_name='medicaldata',
+ name='medic_phone',
+ field=models.CharField(default='', max_length=250),
+ ),
+ migrations.AddField(
+ model_name='medicaldata',
+ name='misc',
+ field=models.CharField(default='', max_length=250),
+ ),
+ migrations.AddField(
+ model_name='medicaldata',
+ name='misc_bool',
+ field=models.BooleanField(default=False),
+ ),
+ migrations.AddField(
+ model_name='medicaldata',
+ name='rc',
+ field=models.CharField(default='', max_length=250),
+ ),
+ migrations.AddField(
+ model_name='medicaldata',
+ name='rega',
+ field=models.BooleanField(default=False),
+ ),
+ migrations.AddField(
+ model_name='medicaldata',
+ name='sickness',
+ field=models.CharField(default='', max_length=250),
+ ),
+ migrations.AddField(
+ model_name='medicaldata',
+ name='tetanus_date',
+ field=models.DateField(default=datetime.datetime(1970, 1, 1, 1, 0), null=True),
+ ),
+ migrations.AddField(
+ model_name='medicaldata',
+ name='vaccine',
+ field=models.CharField(default='', max_length=250),
+ ),
+ ]
diff --git a/client/migrations/0021_documenttype_sign_req.py b/client/migrations/0021_documenttype_sign_req.py
new file mode 100644
index 0000000..5538a2f
--- /dev/null
+++ b/client/migrations/0021_documenttype_sign_req.py
@@ -0,0 +1,18 @@
+# Generated by Django 3.0.7 on 2020-06-20 21:11
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('client', '0020_auto_20200620_2200'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='documenttype',
+ name='sign_req',
+ field=models.BooleanField(default=False),
+ ),
+ ]
diff --git a/client/migrations/0022_auto_20200620_2316.py b/client/migrations/0022_auto_20200620_2316.py
new file mode 100644
index 0000000..37a602b
--- /dev/null
+++ b/client/migrations/0022_auto_20200620_2316.py
@@ -0,0 +1,18 @@
+# Generated by Django 3.0.7 on 2020-06-20 21:16
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('client', '0021_documenttype_sign_req'),
+ ]
+
+ operations = [
+ migrations.RenameField(
+ model_name='documenttype',
+ old_name='sign_req',
+ new_name='auto_sign',
+ ),
+ ]