diff options
author | luxagraf <sng@luxagraf.net> | 2018-07-03 11:33:35 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-07-03 11:33:35 -0400 |
commit | b44803b1db4e80afc038b74796df0171318d5e34 (patch) | |
tree | f77237f93a4e3cdcc54fee5bb10184a6faa87fdf /app/locations/migrations/0004_location_child.py | |
parent | 38631380ae8fb469b81c048c7d9e80466db99bdb (diff) |
added location as child of other locations
Diffstat (limited to 'app/locations/migrations/0004_location_child.py')
-rw-r--r-- | app/locations/migrations/0004_location_child.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/locations/migrations/0004_location_child.py b/app/locations/migrations/0004_location_child.py new file mode 100644 index 0000000..94fd324 --- /dev/null +++ b/app/locations/migrations/0004_location_child.py @@ -0,0 +1,19 @@ +# Generated by Django 2.0.1 on 2018-06-29 17:11 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('locations', '0003_auto_20180307_1027'), + ] + + operations = [ + migrations.AddField( + model_name='location', + name='child', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location'), + ), + ] |