aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/migrations/0004_auto_20200121_1027.py
diff options
context:
space:
mode:
Diffstat (limited to 'ctrack/organisations/migrations/0004_auto_20200121_1027.py')
-rw-r--r--ctrack/organisations/migrations/0004_auto_20200121_1027.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/ctrack/organisations/migrations/0004_auto_20200121_1027.py b/ctrack/organisations/migrations/0004_auto_20200121_1027.py
new file mode 100644
index 0000000..a2e8dd1
--- /dev/null
+++ b/ctrack/organisations/migrations/0004_auto_20200121_1027.py
@@ -0,0 +1,26 @@
+# Generated by Django 2.2.9 on 2020-01-21 10:27
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('organisations', '0003_organisation_address'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='AddressType',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('descriptor', models.CharField(max_length=50)),
+ ],
+ ),
+ migrations.AddField(
+ model_name='address',
+ name='type',
+ field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='organisations.AddressType'),
+ ),
+ ]