parent
002c17bbe9
commit
bb6e889589
12 changed files with 169 additions and 22 deletions
@ -0,0 +1,53 @@ |
||||
# -*- coding: utf-8 -*- |
||||
# Generated by Django 1.9.7 on 2016-09-21 20:24 |
||||
from __future__ import unicode_literals |
||||
|
||||
from django.db import migrations, models |
||||
import django.db.models.deletion |
||||
import django.db.models.manager |
||||
import mptt.fields |
||||
|
||||
|
||||
class Migration(migrations.Migration): |
||||
|
||||
dependencies = [ |
||||
('projects', '0042_portfolio_work_type'), |
||||
] |
||||
|
||||
operations = [ |
||||
migrations.AlterModelManagers( |
||||
name='buildingclassfication', |
||||
managers=[ |
||||
('_default_manager', django.db.models.manager.Manager()), |
||||
], |
||||
), |
||||
migrations.AddField( |
||||
model_name='buildingclassfication', |
||||
name='level', |
||||
field=models.PositiveIntegerField(db_index=True, default=0, editable=False), |
||||
preserve_default=False, |
||||
), |
||||
migrations.AddField( |
||||
model_name='buildingclassfication', |
||||
name='lft', |
||||
field=models.PositiveIntegerField(db_index=True, default=0, editable=False), |
||||
preserve_default=False, |
||||
), |
||||
migrations.AddField( |
||||
model_name='buildingclassfication', |
||||
name='parent', |
||||
field=mptt.fields.TreeForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='children', to='projects.BuildingClassfication'), |
||||
), |
||||
migrations.AddField( |
||||
model_name='buildingclassfication', |
||||
name='rght', |
||||
field=models.PositiveIntegerField(db_index=True, default=0, editable=False), |
||||
preserve_default=False, |
||||
), |
||||
migrations.AddField( |
||||
model_name='buildingclassfication', |
||||
name='tree_id', |
||||
field=models.PositiveIntegerField(db_index=True, default=0, editable=False), |
||||
preserve_default=False, |
||||
), |
||||
] |
||||
@ -0,0 +1,22 @@ |
||||
# -*- coding: utf-8 -*- |
||||
# Generated by Django 1.9.7 on 2016-09-21 20:53 |
||||
from __future__ import unicode_literals |
||||
|
||||
from django.db import migrations |
||||
import django.db.models.deletion |
||||
import mptt.fields |
||||
|
||||
|
||||
class Migration(migrations.Migration): |
||||
|
||||
dependencies = [ |
||||
('projects', '0043_auto_20160921_2324'), |
||||
] |
||||
|
||||
operations = [ |
||||
migrations.AlterField( |
||||
model_name='realty', |
||||
name='building_classification', |
||||
field=mptt.fields.TreeForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='realties', to='projects.BuildingClassfication'), |
||||
), |
||||
] |
||||
@ -0,0 +1,22 @@ |
||||
# -*- coding: utf-8 -*- |
||||
# Generated by Django 1.9.7 on 2016-09-21 21:39 |
||||
from __future__ import unicode_literals |
||||
|
||||
from django.db import migrations |
||||
import django.db.models.deletion |
||||
import mptt.fields |
||||
|
||||
|
||||
class Migration(migrations.Migration): |
||||
|
||||
dependencies = [ |
||||
('projects', '0044_auto_20160921_2353'), |
||||
] |
||||
|
||||
operations = [ |
||||
migrations.AlterField( |
||||
model_name='portfolio', |
||||
name='building_classification', |
||||
field=mptt.fields.TreeForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='portfolios', to='projects.BuildingClassfication'), |
||||
), |
||||
] |
||||
@ -0,0 +1,22 @@ |
||||
# -*- coding: utf-8 -*- |
||||
# Generated by Django 1.9.7 on 2016-09-21 21:57 |
||||
from __future__ import unicode_literals |
||||
|
||||
from django.db import migrations |
||||
import django.db.models.deletion |
||||
import mptt.fields |
||||
|
||||
|
||||
class Migration(migrations.Migration): |
||||
|
||||
dependencies = [ |
||||
('work_sell', '0016_worksell_work_type'), |
||||
] |
||||
|
||||
operations = [ |
||||
migrations.AlterField( |
||||
model_name='worksell', |
||||
name='building_classification', |
||||
field=mptt.fields.TreeForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='worksells', to='projects.BuildingClassfication'), |
||||
), |
||||
] |
||||
Loading…
Reference in new issue