aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/migrations/0006_auto_20200121_1732.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-01-21 18:03:43 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2020-01-21 18:04:15 +0000
commit5f06e5559c00db759574467c3884a4645346b224 (patch)
tree8fcd68579d7441823da3e90d913a0694fc65855e /ctrack/organisations/migrations/0006_auto_20200121_1732.py
parent490fc024506c9ed9f9c0b5a4cfbcdecc95127dbe (diff)
reconfigured Address and Organisation relationship
Diffstat (limited to 'ctrack/organisations/migrations/0006_auto_20200121_1732.py')
-rw-r--r--ctrack/organisations/migrations/0006_auto_20200121_1732.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/ctrack/organisations/migrations/0006_auto_20200121_1732.py b/ctrack/organisations/migrations/0006_auto_20200121_1732.py
new file mode 100644
index 0000000..48a0636
--- /dev/null
+++ b/ctrack/organisations/migrations/0006_auto_20200121_1732.py
@@ -0,0 +1,24 @@
+# Generated by Django 2.2.9 on 2020-01-21 17:32
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('organisations', '0005_auto_20200121_1028'),
+ ]
+
+ operations = [
+ migrations.RemoveField(
+ model_name='organisation',
+ name='address',
+ ),
+ migrations.AddField(
+ model_name='address',
+ name='organisation',
+ field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='organisations.Organisation'),
+ preserve_default=False,
+ ),
+ ]