diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2020-02-19 21:22:21 +0000 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2020-02-19 21:22:21 +0000 |
commit | ac2a715c0bc38e8a03640c604b8ed082456b2109 (patch) | |
tree | dec73bfcbf7920e18e94c493484e7368641d3387 /ctrack/organisations/migrations/0002_auto_20200218_2221.py | |
parent | afed43baeb9b4f9ee9f449b7be4e8a89a65ce9a8 (diff) |
new migrations and working through factory issue
Diffstat (limited to 'ctrack/organisations/migrations/0002_auto_20200218_2221.py')
-rw-r--r-- | ctrack/organisations/migrations/0002_auto_20200218_2221.py | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/ctrack/organisations/migrations/0002_auto_20200218_2221.py b/ctrack/organisations/migrations/0002_auto_20200218_2221.py new file mode 100644 index 0000000..45022d6 --- /dev/null +++ b/ctrack/organisations/migrations/0002_auto_20200218_2221.py @@ -0,0 +1,43 @@ +# Generated by Django 2.2.9 on 2020-02-18 22:21 + +from django.conf import settings +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ('organisations', '0001_initial'), + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ] + + operations = [ + migrations.AddField( + model_name='person', + name='updated_by', + field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='organisation', + name='submode', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='organisations.Submode'), + ), + migrations.AddField( + model_name='organisation', + name='updated_by', + field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='address', + name='organisation', + field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='addresses', to='organisations.Organisation'), + ), + migrations.AddField( + model_name='address', + name='type', + field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='organisations.AddressType', verbose_name='Address Type'), + ), + ] |