diff --git a/polyclinic_scheduling/apps/employee/migrations/0004_auto_20200519_1351.py b/polyclinic_scheduling/apps/employee/migrations/0004_auto_20200519_1351.py new file mode 100644 index 0000000..7aff09b --- /dev/null +++ b/polyclinic_scheduling/apps/employee/migrations/0004_auto_20200519_1351.py @@ -0,0 +1,26 @@ +# Generated by Django 3.0.6 on 2020-05-19 13:51 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('hospital', '0003_auto_20200518_1227'), + ('polyclinic', '0003_auto_20200518_1227'), + ('employee', '0003_auto_20200518_1227'), + ] + + operations = [ + migrations.AlterField( + model_name='employee', + name='hospital', + field=models.ForeignKey(help_text='Select the hospital for this employee', on_delete=django.db.models.deletion.CASCADE, to='hospital.Hospital', verbose_name='hospital'), + ), + migrations.AlterField( + model_name='employee', + name='polyclinic', + field=models.ManyToManyField(blank=True, help_text='Select the polyclinic(s) for this employee', to='polyclinic.Polyclinic', verbose_name='polyclinic'), + ), + ] diff --git a/polyclinic_scheduling/apps/polyclinic/migrations/0004_auto_20200519_1351.py b/polyclinic_scheduling/apps/polyclinic/migrations/0004_auto_20200519_1351.py new file mode 100644 index 0000000..3d37e09 --- /dev/null +++ b/polyclinic_scheduling/apps/polyclinic/migrations/0004_auto_20200519_1351.py @@ -0,0 +1,20 @@ +# Generated by Django 3.0.6 on 2020-05-19 13:51 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('hospital', '0003_auto_20200518_1227'), + ('polyclinic', '0003_auto_20200518_1227'), + ] + + operations = [ + migrations.AlterField( + model_name='polyclinic', + name='hospital', + field=models.ForeignKey(help_text='To which hospital belongs this polyclinic', on_delete=django.db.models.deletion.CASCADE, to='hospital.Hospital', verbose_name='hospital'), + ), + ] diff --git a/polyclinic_scheduling/apps/schedule/migrations/0006_auto_20200519_1351.py b/polyclinic_scheduling/apps/schedule/migrations/0006_auto_20200519_1351.py new file mode 100644 index 0000000..efe957c --- /dev/null +++ b/polyclinic_scheduling/apps/schedule/migrations/0006_auto_20200519_1351.py @@ -0,0 +1,20 @@ +# Generated by Django 3.0.6 on 2020-05-19 13:51 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('employee', '0004_auto_20200519_1351'), + ('schedule', '0005_auto_20200519_0821'), + ] + + operations = [ + migrations.AlterField( + model_name='schedule', + name='employee', + field=models.ForeignKey(help_text='Select the employee that is responsible for this schedule request', on_delete=django.db.models.deletion.CASCADE, to='employee.Employee', verbose_name='employee'), + ), + ]