# -*- coding: utf-8 -*-

# UrbanFootprint v1.5
# Copyright (C) 2017 Calthorpe Analytics
#
# This file is part of UrbanFootprint version 1.5
#
# UrbanFootprint is distributed under the terms of the GNU General
# Public License version 3, as published by the Free Software Foundation. This
# code is distributed WITHOUT ANY WARRANTY, without implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
# Public License v3 for more details; see <http://www.gnu.org/licenses/>.

from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models


class Migration(SchemaMigration):

    def forwards(self, orm):
        # Adding model 'Tag'
        db.create_table(u'main_tag', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('tag', self.gf('django.db.models.fields.CharField')(max_length=100)),
        ))
        db.send_create_signal('main', ['Tag'])

        # Adding model 'JoinType'
        db.create_table(u'main_jointype', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('key', self.gf('django.db.models.fields.CharField')(unique=True, max_length=120)),
        ))
        db.send_create_signal('main', ['JoinType'])

        # Adding model 'GeographicType'
        db.create_table(u'main_geographictype', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('key', self.gf('django.db.models.fields.CharField')(unique=True, max_length=120)),
        ))
        db.send_create_signal('main', ['GeographicType'])

        # Adding model 'Intersection'
        db.create_table(u'main_intersection', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('tree', self.gf('picklefield.fields.PickledObjectField')(default=None, null=True)),
            ('is_template', self.gf('django.db.models.fields.BooleanField')(default=False)),
        ))
        db.send_create_signal('main', ['Intersection'])

        # Adding model 'GeographicIntersection'
        db.create_table(u'main_geographicintersection', (
            (u'intersection_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.Intersection'], unique=True, primary_key=True)),
            ('from_geography', self.gf('django.db.models.fields.CharField')(max_length=50, null=True)),
            ('to_geography', self.gf('django.db.models.fields.CharField')(max_length=50, null=True)),
        ))
        db.send_create_signal('main', ['GeographicIntersection'])

        # Adding model 'AttributeIntersection'
        db.create_table(u'main_attributeintersection', (
            (u'intersection_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.Intersection'], unique=True, primary_key=True)),
            ('from_attribute', self.gf('django.db.models.fields.CharField')(max_length=50, null=True)),
            ('to_attribute', self.gf('django.db.models.fields.CharField')(max_length=50, null=True)),
        ))
        db.send_create_signal('main', ['AttributeIntersection'])

        # Adding model 'Behavior'
        db.create_table(u'main_behavior', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('key', self.gf('django.db.models.fields.CharField')(unique=True, max_length=120)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
            ('abstract', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('intersection', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.Intersection'], null=True)),
            ('template_feature_behavior', self.gf('django.db.models.fields.related.ForeignKey')(related_name='owning_behavior', null=True, to=orm['main.FeatureBehavior'])),
            ('readonly', self.gf('django.db.models.fields.BooleanField')(default=False)),
        ))
        db.send_create_signal('main', ['Behavior'])

        # Adding M2M table for field tags on 'Behavior'
        m2m_table_name = db.shorten_name(u'main_behavior_tags')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('behavior', models.ForeignKey(orm['main.behavior'], null=False)),
            ('tag', models.ForeignKey(orm['main.tag'], null=False))
        ))
        db.create_unique(m2m_table_name, ['behavior_id', 'tag_id'])

        # Adding M2M table for field parents on 'Behavior'
        m2m_table_name = db.shorten_name(u'main_behavior_parents')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('from_behavior', models.ForeignKey(orm['main.behavior'], null=False)),
            ('to_behavior', models.ForeignKey(orm['main.behavior'], null=False))
        ))
        db.create_unique(m2m_table_name, ['from_behavior_id', 'to_behavior_id'])

        # Adding model 'AnalysisTool'
        db.create_table(u'main_analysistool', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('key', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('config_entity', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.ConfigEntity'])),
            ('behavior', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.Behavior'], null=True)),
            ('updater', self.gf('django.db.models.fields.related.ForeignKey')(default=1, related_name='analysis_tool_updater', to=orm['auth.User'])),
            ('updated', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)),
        ))
        db.send_create_signal('main', ['AnalysisTool'])

        # Adding model 'Medium'
        db.create_table(u'main_medium', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('key', self.gf('django.db.models.fields.CharField')(unique=True, max_length=120)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
            ('url', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('content_type', self.gf('django.db.models.fields.CharField')(max_length=20, null=True, blank=True)),
            ('content', self.gf('picklefield.fields.PickledObjectField')(null=True)),
        ))
        db.send_create_signal('main', ['Medium'])

        # Adding model 'StyleAttribute'
        db.create_table(u'main_styleattribute', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('key', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('attribute', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('style_type', self.gf('django.db.models.fields.CharField')(max_length=40, null=True, blank=True)),
            ('opacity', self.gf('django.db.models.fields.FloatField')(default=1)),
            ('style_value_contexts', self.gf('picklefield.fields.PickledObjectField')(default=[])),
            ('visible', self.gf('django.db.models.fields.BooleanField')(default=False)),
        ))
        db.send_create_signal('main', ['StyleAttribute'])

        # Adding model 'LayerStyle'
        db.create_table(u'main_layerstyle', (
            (u'medium_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.Medium'], unique=True, primary_key=True)),
            ('geometry_type', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('html_class', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
        ))
        db.send_create_signal('main', ['LayerStyle'])

        # Adding M2M table for field style_attributes on 'LayerStyle'
        m2m_table_name = db.shorten_name(u'main_layerstyle_style_attributes')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('layerstyle', models.ForeignKey(orm['main.layerstyle'], null=False)),
            ('styleattribute', models.ForeignKey(orm['main.styleattribute'], null=False))
        ))
        db.create_unique(m2m_table_name, ['layerstyle_id', 'styleattribute_id'])

        # Adding model 'BuiltFormExample'
        db.create_table(u'main_builtformexample', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('key', self.gf('django.db.models.fields.CharField')(unique=True, max_length=120)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
            ('url_aerial', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('url_street', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('content', self.gf('picklefield.fields.PickledObjectField')(null=True)),
        ))
        db.send_create_signal('main', ['BuiltFormExample'])

        # Adding model 'BuiltForm'
        db.create_table(u'main_builtform', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('key', self.gf('django.db.models.fields.CharField')(unique=True, max_length=120)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
            ('origin_instance', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.BuiltForm'], null=True)),
            ('medium', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.Medium'], null=True)),
            ('medium_context', self.gf('picklefield.fields.PickledObjectField')(null=True)),
            ('creator', self.gf('django.db.models.fields.related.ForeignKey')(related_name='built_form_creator', to=orm['auth.User'])),
            ('updater', self.gf('django.db.models.fields.related.ForeignKey')(related_name='built_form_updater', to=orm['auth.User'])),
        ))
        db.send_create_signal('main', ['BuiltForm'])

        # Adding M2M table for field tags on 'BuiltForm'
        m2m_table_name = db.shorten_name(u'main_builtform_tags')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('builtform', models.ForeignKey(orm['main.builtform'], null=False)),
            ('tag', models.ForeignKey(orm['main.tag'], null=False))
        ))
        db.create_unique(m2m_table_name, ['builtform_id', 'tag_id'])

        # Adding M2M table for field media on 'BuiltForm'
        m2m_table_name = db.shorten_name(u'main_builtform_media')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('builtform', models.ForeignKey(orm['main.builtform'], null=False)),
            ('medium', models.ForeignKey(orm['main.medium'], null=False))
        ))
        db.create_unique(m2m_table_name, ['builtform_id', 'medium_id'])

        # Adding M2M table for field examples on 'BuiltForm'
        m2m_table_name = db.shorten_name(u'main_builtform_examples')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('builtform', models.ForeignKey(orm['main.builtform'], null=False)),
            ('builtformexample', models.ForeignKey(orm['main.builtformexample'], null=False))
        ))
        db.create_unique(m2m_table_name, ['builtform_id', 'builtformexample_id'])

        # Adding model 'BuildingUsePercent'
        db.create_table(u'main_buildingusepercent', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('percent', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=21, decimal_places=20)),
            ('building_attribute_set', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.BuildingAttributeSet'])),
            ('building_use_definition', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.BuildingUseDefinition'])),
            ('efficiency', self.gf('django.db.models.fields.DecimalField')(default=0.85, max_digits=6, decimal_places=4)),
            ('square_feet_per_unit', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=11, decimal_places=3)),
            ('floor_area_ratio', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=12, decimal_places=10)),
            ('unit_density', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=16, decimal_places=10)),
            ('gross_built_up_area', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=13, decimal_places=3)),
            ('net_built_up_area', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=13, decimal_places=3)),
        ))
        db.send_create_signal('main', ['BuildingUsePercent'])

        # Adding model 'BuildingUseDefinition'
        db.create_table(u'main_buildingusedefinition', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
            ('type', self.gf('django.db.models.fields.CharField')(max_length=100)),
        ))
        db.send_create_signal('main', ['BuildingUseDefinition'])

        # Adding model 'BuildingAttributeSet'
        db.create_table(u'main_buildingattributeset', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('address', self.gf('django.db.models.fields.CharField')(default=None, max_length=200, null=True, blank=True)),
            ('website', self.gf('django.db.models.fields.CharField')(default=None, max_length=300, null=True, blank=True)),
            ('vacancy_rate', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=4, decimal_places=3)),
            ('household_size', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=5, decimal_places=3)),
            ('lot_size_square_feet', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=7)),
            ('floors', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=7, decimal_places=4)),
            ('total_far', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=10, decimal_places=7)),
            ('surface_parking_spaces', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('above_ground_structured_parking_spaces', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('below_ground_structured_parking_spaces', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('average_parking_space_square_feet', self.gf('django.db.models.fields.DecimalField')(default=0, null=True, max_digits=14, decimal_places=4)),
            ('surface_parking_square_feet', self.gf('django.db.models.fields.DecimalField')(default=0, null=True, max_digits=14, decimal_places=4)),
            ('building_footprint_square_feet', self.gf('django.db.models.fields.DecimalField')(default=0, null=True, max_digits=14, decimal_places=4)),
            ('hardscape_other_square_feet', self.gf('django.db.models.fields.DecimalField')(default=0, null=True, max_digits=14, decimal_places=4)),
            ('irrigated_softscape_square_feet', self.gf('django.db.models.fields.DecimalField')(default=0, null=True, max_digits=14, decimal_places=3)),
            ('nonirrigated_softscape_square_feet', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=3)),
            ('irrigated_percent', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=10)),
            ('residential_irrigated_square_feet', self.gf('django.db.models.fields.DecimalField')(default=0, null=True, max_digits=9, decimal_places=2)),
            ('commercial_irrigated_square_feet', self.gf('django.db.models.fields.DecimalField')(default=0, null=True, max_digits=9, decimal_places=2)),
            ('gross_net_ratio', self.gf('django.db.models.fields.DecimalField')(default=1, max_digits=14, decimal_places=7)),
        ))
        db.send_create_signal('main', ['BuildingAttributeSet'])

        # Adding model 'PrimaryComponent'
        db.create_table(u'main_primarycomponent', (
            (u'builtform_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.BuiltForm'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['PrimaryComponent'])

        # Adding model 'PlacetypeComponentCategory'
        db.create_table(u'main_placetypecomponentcategory', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
            ('contributes_to_net', self.gf('django.db.models.fields.BooleanField')(default=False)),
        ))
        db.send_create_signal('main', ['PlacetypeComponentCategory'])

        # Adding model 'PlacetypeComponent'
        db.create_table(u'main_placetypecomponent', (
            (u'builtform_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.BuiltForm'], unique=True, primary_key=True)),
            ('component_category', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.PlacetypeComponentCategory'])),
        ))
        db.send_create_signal('main', ['PlacetypeComponent'])

        # Adding model 'BuildingType'
        db.create_table(u'main_buildingtype', (
            (u'placetypecomponent_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.PlacetypeComponent'], unique=True, primary_key=True)),
            ('building_attribute_set', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.BuildingAttributeSet'], null=True)),
        ))
        db.send_create_signal('main', ['BuildingType'])

        # Adding model 'Building'
        db.create_table(u'main_building', (
            (u'primarycomponent_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.PrimaryComponent'], unique=True, primary_key=True)),
            ('building_attribute_set', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.BuildingAttributeSet'], null=True)),
        ))
        db.send_create_signal('main', ['Building'])

        # Adding model 'StreetAttributeSet'
        db.create_table(u'main_streetattributeset', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('lane_width', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=8, decimal_places=4)),
            ('number_of_lanes', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=8, decimal_places=4)),
            ('block_size', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=8, decimal_places=4)),
        ))
        db.send_create_signal('main', ['StreetAttributeSet'])

        # Adding model 'Placetype'
        db.create_table(u'main_placetype', (
            (u'builtform_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.BuiltForm'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['Placetype'])

        # Adding model 'UrbanPlacetype'
        db.create_table(u'main_urbanplacetype', (
            (u'placetype_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.Placetype'], unique=True, primary_key=True)),
            ('building_attribute_set', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.BuildingAttributeSet'], null=True)),
            ('street_attributes', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.StreetAttributeSet'], null=True)),
            ('intersection_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=8, decimal_places=4)),
        ))
        db.send_create_signal('main', ['UrbanPlacetype'])

        # Adding model 'FlatBuiltForm'
        db.create_table(u'main_flatbuiltform', (
            ('built_form_id', self.gf('django.db.models.fields.IntegerField')(primary_key=True)),
            ('key', self.gf('django.db.models.fields.CharField')(max_length=120)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('built_form_type', self.gf('django.db.models.fields.CharField')(max_length=50)),
            ('gross_net_ratio', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=11, decimal_places=10)),
            ('intersection_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('acres_parcel_mixed_use', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('acres_parcel_residential', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('acres_parcel_employment', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('dwelling_unit_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('household_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('population_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('employment_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('single_family_large_lot_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('single_family_small_lot_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('attached_single_family_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('multifamily_2_to_4_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('multifamily_5_plus_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('office_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('public_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('retail_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('industrial_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('agricultural_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('military_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('retail_services_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('restaurant_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('arts_entertainment_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('accommodation_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('other_services_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('office_services_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('public_admin_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('education_services_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('medical_services_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('manufacturing_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('wholesale_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('transport_warehouse_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('construction_utilities_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('agriculture_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('extraction_density', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('acres_parcel_residential_single_family_small_lot', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('acres_parcel_residential_single_family_large_lot', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('acres_parcel_residential_attached_single_family', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('acres_parcel_residential_multifamily', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('acres_parcel_employment_office', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('acres_parcel_employment_public', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('acres_parcel_employment_retail', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('acres_parcel_employment_industrial', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('acres_parcel_employment_agriculture', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=10)),
            ('building_sqft_total', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=7)),
            ('building_sqft_detached_single_family', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=7)),
            ('building_sqft_single_family_small_lot', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=7)),
            ('building_sqft_single_family_large_lot', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=7)),
            ('building_sqft_attached_single_family', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=7)),
            ('building_sqft_multifamily_2_to_4', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=7)),
            ('building_sqft_multifamily_5_plus', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=7)),
            ('building_sqft_retail_services', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=7)),
            ('building_sqft_restaurant', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=7)),
            ('building_sqft_accommodation', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=7)),
            ('building_sqft_arts_entertainment', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=7)),
            ('building_sqft_other_services', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=7)),
            ('building_sqft_office_services', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=7)),
            ('building_sqft_public_admin', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=7)),
            ('building_sqft_education_services', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=7)),
            ('building_sqft_medical_services', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=7)),
            ('building_sqft_wholesale', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=7)),
            ('building_sqft_transport_warehouse', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=7)),
            ('building_sqft_industrial_non_warehouse', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=7)),
            ('residential_irrigated_square_feet', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=7)),
            ('commercial_irrigated_square_feet', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=15, decimal_places=7)),
            ('softscape_and_landscape_percent', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=15, decimal_places=7)),
            ('irrigated_percent', self.gf('django.db.models.fields.DecimalField')(default=0, null=True, max_digits=15, decimal_places=7)),
            ('percent_streets', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=6, decimal_places=5)),
            ('percent_parks', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=6, decimal_places=5)),
            ('percent_civic', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=6, decimal_places=5)),
            ('percent_mixed_use', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=6, decimal_places=5)),
            ('percent_residential', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=6, decimal_places=5)),
            ('percent_employment', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=6, decimal_places=5)),
            ('pt_density', self.gf('django.db.models.fields.IntegerField')(null=True)),
            ('pt_connectivity', self.gf('django.db.models.fields.IntegerField')(null=True)),
            ('pt_land_use_mix', self.gf('django.db.models.fields.IntegerField')(null=True)),
            ('pt_score', self.gf('django.db.models.fields.IntegerField')(null=True)),
            ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
            ('intersections_sqmi', self.gf('django.db.models.fields.IntegerField')(null=True)),
            ('avg_estimated_building_height_feet', self.gf('django.db.models.fields.IntegerField')(null=True)),
            ('building_avg_number_of_floors', self.gf('django.db.models.fields.IntegerField')(null=True)),
            ('block_avg_size_acres', self.gf('django.db.models.fields.IntegerField')(null=True)),
            ('street_pattern', self.gf('django.db.models.fields.CharField')(max_length=100, null=True)),
            ('combined_pop_emp_density', self.gf('django.db.models.fields.DecimalField')(default=0, null=True, max_digits=14, decimal_places=4)),
        ))
        db.send_create_signal('main', ['FlatBuiltForm'])

        # Adding model 'ScenarioUpdaterTool'
        db.create_table(u'main_scenarioupdatertool', (
            (u'analysistool_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.AnalysisTool'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['ScenarioUpdaterTool'])

        # Adding model 'FiscalUpdaterTool'
        db.create_table(u'main_fiscalupdatertool', (
            (u'analysistool_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.AnalysisTool'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['FiscalUpdaterTool'])

        # Adding model 'Category'
        db.create_table(u'main_category', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('key', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('value', self.gf('django.db.models.fields.CharField')(max_length=100)),
        ))
        db.send_create_signal('main', ['Category'])

        # Adding model 'GroupHierarchy'
        db.create_table(u'main_grouphierarchy', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('group', self.gf('django.db.models.fields.related.OneToOneField')(related_name='group_hierarchy', unique=True, to=orm['auth.Group'])),
            ('config_entity', self.gf('django.db.models.fields.related.ForeignKey')(related_name='group_hierarchies', null=True, to=orm['main.ConfigEntity'])),
            ('amigo_project_id', self.gf('django.db.models.fields.IntegerField')(null=True)),
            ('arcgis_project_id', self.gf('django.db.models.fields.IntegerField')(null=True)),
        ))
        db.send_create_signal('main', ['GroupHierarchy'])

        # Adding M2M table for field superiors on 'GroupHierarchy'
        m2m_table_name = db.shorten_name(u'main_grouphierarchy_superiors')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('grouphierarchy', models.ForeignKey(orm['main.grouphierarchy'], null=False)),
            ('group', models.ForeignKey(orm[u'auth.group'], null=False))
        ))
        db.create_unique(m2m_table_name, ['grouphierarchy_id', 'group_id'])

        # Adding model 'BuiltFormSet'
        db.create_table(u'main_builtformset', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('key', self.gf('django.db.models.fields.CharField')(unique=True, max_length=120)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
        ))
        db.send_create_signal('main', ['BuiltFormSet'])

        # Adding M2M table for field built_forms on 'BuiltFormSet'
        m2m_table_name = db.shorten_name(u'main_builtformset_built_forms')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('builtformset', models.ForeignKey(orm['main.builtformset'], null=False)),
            ('builtform', models.ForeignKey(orm['main.builtform'], null=False))
        ))
        db.create_unique(m2m_table_name, ['builtformset_id', 'builtform_id'])

        # Adding model 'Policy'
        db.create_table(u'main_policy', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
            ('key', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('schema', self.gf('django.db.models.fields.CharField')(max_length=100, null=True)),
            ('values', self.gf('picklefield.fields.PickledObjectField')()),
        ))
        db.send_create_signal('main', ['Policy'])

        # Adding M2M table for field tags on 'Policy'
        m2m_table_name = db.shorten_name(u'main_policy_tags')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('policy', models.ForeignKey(orm['main.policy'], null=False)),
            ('tag', models.ForeignKey(orm['main.tag'], null=False))
        ))
        db.create_unique(m2m_table_name, ['policy_id', 'tag_id'])

        # Adding M2M table for field policies on 'Policy'
        m2m_table_name = db.shorten_name(u'main_policy_policies')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('from_policy', models.ForeignKey(orm['main.policy'], null=False)),
            ('to_policy', models.ForeignKey(orm['main.policy'], null=False))
        ))
        db.create_unique(m2m_table_name, ['from_policy_id', 'to_policy_id'])

        # Adding model 'PolicySet'
        db.create_table(u'main_policyset', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('key', self.gf('django.db.models.fields.CharField')(unique=True, max_length=120)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
        ))
        db.send_create_signal('main', ['PolicySet'])

        # Adding M2M table for field policies on 'PolicySet'
        m2m_table_name = db.shorten_name(u'main_policyset_policies')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('policyset', models.ForeignKey(orm['main.policyset'], null=False)),
            ('policy', models.ForeignKey(orm['main.policy'], null=False))
        ))
        db.create_unique(m2m_table_name, ['policyset_id', 'policy_id'])

        # Adding model 'ConfigEntity'
        db.create_table(u'main_configentity', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
            ('origin_instance', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.ConfigEntity'], null=True)),
            ('group_permission_configuration', self.gf('picklefield.fields.PickledObjectField')(null=True)),
            ('key', self.gf('django.db.models.fields.CharField')(max_length=120)),
            ('scope', self.gf('django.db.models.fields.CharField')(max_length=120)),
            ('bounds', self.gf('django.contrib.gis.db.models.fields.MultiPolygonField')()),
            ('creator', self.gf('django.db.models.fields.related.ForeignKey')(related_name='config_entity_creator', null=True, to=orm['auth.User'])),
            ('updater', self.gf('django.db.models.fields.related.ForeignKey')(related_name='config_entity_updater', null=True, to=orm['auth.User'])),
            ('parent_config_entity', self.gf('django.db.models.fields.related.ForeignKey')(related_name='parent_set', null=True, to=orm['main.ConfigEntity'])),
            ('import_key', self.gf('django.db.models.fields.CharField')(max_length=64, null=True)),
            ('behavior', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.Behavior'], null=True)),
            ('selections', self.gf('footprint.main.models.config.model_pickled_object_field.SelectionModelsPickledObjectField')(default={'db_entities': {}, 'sets': {}})),
        ))
        db.send_create_signal('main', ['ConfigEntity'])

        # Adding M2M table for field categories on 'ConfigEntity'
        m2m_table_name = db.shorten_name(u'main_configentity_categories')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('configentity', models.ForeignKey(orm['main.configentity'], null=False)),
            ('category', models.ForeignKey(orm['main.category'], null=False))
        ))
        db.create_unique(m2m_table_name, ['configentity_id', 'category_id'])

        # Adding M2M table for field built_form_sets on 'ConfigEntity'
        m2m_table_name = db.shorten_name(u'main_configentity_built_form_sets')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('configentity', models.ForeignKey(orm['main.configentity'], null=False)),
            ('builtformset', models.ForeignKey(orm['main.builtformset'], null=False))
        ))
        db.create_unique(m2m_table_name, ['configentity_id', 'builtformset_id'])

        # Adding M2M table for field policy_sets on 'ConfigEntity'
        m2m_table_name = db.shorten_name(u'main_configentity_policy_sets')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('configentity', models.ForeignKey(orm['main.configentity'], null=False)),
            ('policyset', models.ForeignKey(orm['main.policyset'], null=False))
        ))
        db.create_unique(m2m_table_name, ['configentity_id', 'policyset_id'])

        # Adding M2M table for field media on 'ConfigEntity'
        m2m_table_name = db.shorten_name(u'main_configentity_media')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('configentity', models.ForeignKey(orm['main.configentity'], null=False)),
            ('medium', models.ForeignKey(orm['main.medium'], null=False))
        ))
        db.create_unique(m2m_table_name, ['configentity_id', 'medium_id'])

        # Adding model 'GlobalConfig'
        db.create_table(u'main_globalconfig', (
            (u'configentity_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.ConfigEntity'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['GlobalConfig'])

        # Adding model 'Region'
        db.create_table(u'main_region', (
            (u'configentity_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.ConfigEntity'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['Region'])

        # Adding model 'Project'
        db.create_table(u'main_project', (
            (u'configentity_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.ConfigEntity'], unique=True, primary_key=True)),
            ('base_year', self.gf('django.db.models.fields.IntegerField')(default=2005)),
        ))
        db.send_create_signal('main', ['Project'])

        # Adding model 'Scenario'
        db.create_table(u'main_scenario', (
            (u'configentity_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.ConfigEntity'], unique=True, primary_key=True)),
            ('year', self.gf('django.db.models.fields.IntegerField')()),
        ))
        db.send_create_signal('main', ['Scenario'])

        # Adding model 'BaseScenario'
        db.create_table(u'main_basescenario', (
            (u'scenario_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.Scenario'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['BaseScenario'])

        # Adding model 'FutureScenario'
        db.create_table(u'main_futurescenario', (
            (u'scenario_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.Scenario'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['FutureScenario'])

        # Adding model 'VmtUpdaterTool'
        db.create_table(u'main_vmtupdatertool', (
            (u'analysistool_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.AnalysisTool'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['VmtUpdaterTool'])

        # Adding model 'PublicHealthOutcomeAnalysis'
        db.create_table(u'main_publichealthoutcomeanalysis', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('source', self.gf('django.db.models.fields.CharField')(max_length=5)),
            ('csv_path', self.gf('django.db.models.fields.CharField')(max_length=200)),
            ('group', self.gf('django.db.models.fields.IntegerField')()),
            ('type', self.gf('django.db.models.fields.CharField')(max_length=15)),
            ('duan', self.gf('django.db.models.fields.FloatField')(default=1)),
            ('age_group', self.gf('django.db.models.fields.CharField')(max_length=10)),
            ('income_group', self.gf('django.db.models.fields.CharField')(max_length=10)),
        ))
        db.send_create_signal('main', ['PublicHealthOutcomeAnalysis'])

        # Adding model 'PublicHealthUpdaterTool'
        db.create_table(u'main_publichealthupdatertool', (
            (u'analysistool_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.AnalysisTool'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['PublicHealthUpdaterTool'])

        # Adding model 'WaterUpdaterTool'
        db.create_table(u'main_waterupdatertool', (
            (u'analysistool_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.AnalysisTool'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['WaterUpdaterTool'])

        # Adding model 'EnergyUpdaterTool'
        db.create_table(u'main_energyupdatertool', (
            (u'analysistool_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.AnalysisTool'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['EnergyUpdaterTool'])

        # Adding model 'Interest'
        db.create_table(u'main_interest', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('key', self.gf('django.db.models.fields.CharField')(unique=True, max_length=120)),
        ))
        db.send_create_signal('main', ['Interest'])

        # Adding model 'ApprovalStatus'
        db.create_table(u'main_approvalstatus', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('key', self.gf('django.db.models.fields.CharField')(unique=True, max_length=120)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
        ))
        db.send_create_signal('main', ['ApprovalStatus'])

        # Adding model 'DbEntity'
        db.create_table(u'main_dbentity', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
            ('key', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('origin_instance', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.DbEntity'], null=True)),
            ('group_permission_configuration', self.gf('picklefield.fields.PickledObjectField')(null=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)),
            ('updated', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)),
            ('schema', self.gf('django.db.models.fields.CharField')(max_length=100, null=True)),
            ('table', self.gf('django.db.models.fields.CharField')(max_length=100, null=True)),
            ('srid', self.gf('django.db.models.fields.CharField')(max_length=100, null=True)),
            ('source_db_entity_key', self.gf('django.db.models.fields.CharField')(max_length=50, null=True)),
            ('creator', self.gf('django.db.models.fields.related.ForeignKey')(related_name='db_entity_creator', to=orm['auth.User'])),
            ('updater', self.gf('django.db.models.fields.related.ForeignKey')(related_name='db_entity_updater', to=orm['auth.User'])),
            ('feature_class_configuration', self.gf('picklefield.fields.PickledObjectField')(null=True)),
            ('is_provisional', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('no_feature_class_configuration', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('url', self.gf('django.db.models.fields.CharField')(max_length=1000, null=True)),
            ('hosts', self.gf('picklefield.fields.PickledObjectField')(null=True)),
            ('behavior_locked', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('query', self.gf('picklefield.fields.PickledObjectField')(null=True)),
            ('group_by', self.gf('picklefield.fields.PickledObjectField')(null=True)),
        ))
        db.send_create_signal('main', ['DbEntity'])

        # Adding M2M table for field tags on 'DbEntity'
        m2m_table_name = db.shorten_name(u'main_dbentity_tags')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('dbentity', models.ForeignKey(orm['main.dbentity'], null=False)),
            ('tag', models.ForeignKey(orm['main.tag'], null=False))
        ))
        db.create_unique(m2m_table_name, ['dbentity_id', 'tag_id'])

        # Adding M2M table for field categories on 'DbEntity'
        m2m_table_name = db.shorten_name(u'main_dbentity_categories')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('dbentity', models.ForeignKey(orm['main.dbentity'], null=False)),
            ('category', models.ForeignKey(orm['main.category'], null=False))
        ))
        db.create_unique(m2m_table_name, ['dbentity_id', 'category_id'])

        # Adding model 'DbEntityInterest'
        db.create_table(u'main_dbentityinterest', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('config_entity', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.ConfigEntity'])),
            ('db_entity', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.DbEntity'])),
            ('interest', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.Interest'])),
        ))
        db.send_create_signal('main', ['DbEntityInterest'])

        # Adding model 'PresentationMedium'
        db.create_table(u'main_presentationmedium', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
            ('medium', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.Medium'], null=True)),
            ('db_entity_interest', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.DbEntityInterest'])),
            ('visible', self.gf('django.db.models.fields.BooleanField')(default=True)),
            ('visible_attributes', self.gf('picklefield.fields.PickledObjectField')(null=True)),
            ('configuration', self.gf('picklefield.fields.PickledObjectField')(null=True)),
            ('rendered_medium', self.gf('picklefield.fields.PickledObjectField')(null=True)),
        ))
        db.send_create_signal('main', ['PresentationMedium'])

        # Adding model 'Layer'
        db.create_table(u'main_layer', (
            (u'presentationmedium_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.PresentationMedium'], unique=True, primary_key=True)),
            ('origin_instance', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.Layer'], null=True)),
            ('create_from_selection', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('active_style_key', self.gf('django.db.models.fields.CharField')(default=None, max_length=200, null=True, blank=True)),
        ))
        db.send_create_signal('main', ['Layer'])

        # Adding model 'AgricultureUpdaterTool'
        db.create_table(u'main_agricultureupdatertool', (
            (u'analysistool_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.AnalysisTool'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['AgricultureUpdaterTool'])

        # Adding model 'EnvironmentalConstraintPercent'
        db.create_table(u'main_environmentalconstraintpercent', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('db_entity', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.DbEntity'])),
            ('analysis_tool', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.EnvironmentalConstraintUpdaterTool'])),
            ('percent', self.gf('django.db.models.fields.DecimalField')(default=1, null=True, max_digits=14, decimal_places=8)),
            ('priority', self.gf('django.db.models.fields.IntegerField')(default=1, null=True)),
        ))
        db.send_create_signal('main', ['EnvironmentalConstraintPercent'])

        # Adding model 'EnvironmentalConstraintUpdaterTool'
        db.create_table(u'main_environmentalconstraintupdatertool', (
            (u'analysistool_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.AnalysisTool'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['EnvironmentalConstraintUpdaterTool'])

        # Adding model 'Job'
        db.create_table(u'main_job', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('hashid', self.gf('django.db.models.fields.CharField')(unique=True, max_length=36)),
            ('task_id', self.gf('django.db.models.fields.CharField')(max_length=36)),
            ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='jobs', to=orm['auth.User'])),
            ('type', self.gf('django.db.models.fields.CharField')(max_length=32)),
            ('status', self.gf('django.db.models.fields.TextField')(blank=True)),
            ('created_on', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)),
            ('ended_on', self.gf('django.db.models.fields.DateTimeField')(null=True)),
            ('data', self.gf('django.db.models.fields.TextField')(null=True)),
        ))
        db.send_create_signal('main', ['Job'])

        # Adding model 'AnalysisModule'
        db.create_table(u'main_analysismodule', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
            ('key', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('started', self.gf('django.db.models.fields.DateField')(null=True)),
            ('completed', self.gf('django.db.models.fields.DateField')(null=True)),
            ('failed', self.gf('django.db.models.fields.DateField')(null=True)),
            ('creator', self.gf('django.db.models.fields.related.ForeignKey')(related_name='analysis_module_creator', null=True, to=orm['auth.User'])),
            ('updater', self.gf('django.db.models.fields.related.ForeignKey')(related_name='analysis_module_updater', null=True, to=orm['auth.User'])),
            ('config_entity', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.ConfigEntity'])),
            ('partner_description', self.gf('django.db.models.fields.TextField')(null=True)),
            ('configuration', self.gf('picklefield.fields.PickledObjectField')(default={}, null=True)),
        ))
        db.send_create_signal('main', ['AnalysisModule'])

        # Adding M2M table for field analysis_tools on 'AnalysisModule'
        m2m_table_name = db.shorten_name(u'main_analysismodule_analysis_tools')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('analysismodule', models.ForeignKey(orm['main.analysismodule'], null=False)),
            ('analysistool', models.ForeignKey(orm['main.analysistool'], null=False))
        ))
        db.create_unique(m2m_table_name, ['analysismodule_id', 'analysistool_id'])

        # Adding model 'AttributeGroup'
        db.create_table(u'main_attributegroup', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('key', self.gf('django.db.models.fields.CharField')(max_length=120)),
            ('scope', self.gf('django.db.models.fields.CharField')(max_length=120)),
            ('attribute_keys', self.gf('picklefield.fields.PickledObjectField')(default=[])),
        ))
        db.send_create_signal('main', ['AttributeGroup'])

        # Adding M2M table for field attribute_permissions on 'AttributeGroup'
        m2m_table_name = db.shorten_name(u'main_attributegroup_attribute_permissions')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('attributegroup', models.ForeignKey(orm['main.attributegroup'], null=False)),
            ('attributepermission', models.ForeignKey(orm['main.attributepermission'], null=False))
        ))
        db.create_unique(m2m_table_name, ['attributegroup_id', 'attributepermission_id'])

        # Adding model 'AttributePermission'
        db.create_table(u'main_attributepermission', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('attribute_name', self.gf('django.db.models.fields.CharField')(max_length=100)),
        ))
        db.send_create_signal('main', ['AttributePermission'])

        # Adding model 'AttributeGroupConfiguration'
        db.create_table(u'main_attributegroupconfiguration', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('group_permission_configuration', self.gf('picklefield.fields.PickledObjectField')(null=True)),
            ('attribute_group', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.AttributeGroup'])),
            ('feature_behavior', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.FeatureBehavior'])),
            ('attribute_mapping', self.gf('picklefield.fields.PickledObjectField')(null=True)),
        ))
        db.send_create_signal('main', ['AttributeGroupConfiguration'])

        # Adding model 'FeatureBehavior'
        db.create_table(u'main_featurebehavior', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('behavior', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.Behavior'])),
            ('db_entity', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.DbEntity'], null=True)),
            ('is_template', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('readonly', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('intersection', self.gf('django.db.models.fields.related.OneToOneField')(related_name='feature_behavior', unique=True, null=True, to=orm['main.Intersection'])),
        ))
        db.send_create_signal('main', ['FeatureBehavior'])

        # Adding M2M table for field tags on 'FeatureBehavior'
        m2m_table_name = db.shorten_name(u'main_featurebehavior_tags')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('featurebehavior', models.ForeignKey(orm['main.featurebehavior'], null=False)),
            ('tag', models.ForeignKey(orm['main.tag'], null=False))
        ))
        db.create_unique(m2m_table_name, ['featurebehavior_id', 'tag_id'])

        # Adding model 'CommercialEnergyBaseline'
        db.create_table(u'main_commercialenergybaseline', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('zone', self.gf('django.db.models.fields.IntegerField')()),
            ('retail_services_electricity', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('restaurant_electricity', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('accommodation_electricity', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('arts_entertainment_electricity', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('other_services_electricity', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('office_services_electricity', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('public_admin_electricity', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('education_electricity', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('medical_services_electricity', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('transport_warehousing_electricity', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('wholesale_electricity', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('retail_services_gas', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('restaurant_gas', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('accommodation_gas', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('arts_entertainment_gas', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('other_services_gas', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('office_services_gas', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('public_admin_gas', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('education_gas', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('medical_services_gas', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('transport_warehousing_gas', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('wholesale_gas', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
        ))
        db.send_create_signal('main', ['CommercialEnergyBaseline'])

        # Adding model 'ResidentialEnergyBaseline'
        db.create_table(u'main_residentialenergybaseline', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('zone', self.gf('django.db.models.fields.IntegerField')()),
            ('du_detsf_ll_electricity', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('du_detsf_sl_electricity', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('du_attsf_electricity', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('du_mf_electricity', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('du_detsf_ll_gas', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('du_detsf_sl_gas', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('du_attsf_gas', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('du_mf_gas', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
        ))
        db.send_create_signal('main', ['ResidentialEnergyBaseline'])

        # Adding model 'EvapotranspirationBaseline'
        db.create_table(u'main_evapotranspirationbaseline', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('zone', self.gf('django.db.models.fields.IntegerField')()),
            ('annual_evapotranspiration', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
        ))
        db.send_create_signal('main', ['EvapotranspirationBaseline'])

        # Adding model 'PrimaryComponentPercent'
        db.create_table(u'main_primarycomponentpercent', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('percent', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=21, decimal_places=20)),
            ('primary_component', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.PrimaryComponent'])),
            ('placetype_component', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.PlacetypeComponent'])),
        ))
        db.send_create_signal('main', ['PrimaryComponentPercent'])

        # Adding model 'PlacetypeComponentPercent'
        db.create_table(u'main_placetypecomponentpercent', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('percent', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=21, decimal_places=20)),
            ('placetype_component', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.PlacetypeComponent'], null=True)),
            ('placetype', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.Placetype'])),
        ))
        db.send_create_signal('main', ['PlacetypeComponentPercent'])

        # Adding model 'AgricultureAttributeSet'
        db.create_table(u'main_agricultureattributeset', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('crop_yield', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('unit_price', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('cost', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('water_consumption', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('labor_input', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('truck_trips', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('seed_cost', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('chemical_cost', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('fertilizer_cost', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('custom_cost', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('contract_cost', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('irrigation_cost', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('labor_cost', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('equipment_cost', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('fuel_cost', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('other_cost', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('feed_cost', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('pasture_cost', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('land_rent_cost', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('other_cash_costs', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('land_cost', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('establishment_cost', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
            ('other_noncash_costs', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=14, decimal_places=4)),
        ))
        db.send_create_signal('main', ['AgricultureAttributeSet'])

        # Adding model 'Crop'
        db.create_table(u'main_crop', (
            (u'primarycomponent_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.PrimaryComponent'], unique=True, primary_key=True)),
            ('agriculture_attribute_set', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.AgricultureAttributeSet'], null=True)),
        ))
        db.send_create_signal('main', ['Crop'])

        # Adding model 'CropType'
        db.create_table(u'main_croptype', (
            (u'placetypecomponent_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.PlacetypeComponent'], unique=True, primary_key=True)),
            ('agriculture_attribute_set', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.AgricultureAttributeSet'], null=True)),
        ))
        db.send_create_signal('main', ['CropType'])

        # Adding model 'LandscapeType'
        db.create_table(u'main_landscapetype', (
            (u'agricultureattributeset_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.AgricultureAttributeSet'], unique=True)),
            (u'placetype_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.Placetype'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['LandscapeType'])

        # Adding model 'Parcel'
        db.create_table(u'main_parcel', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('wkb_geometry', self.gf('django.contrib.gis.db.models.fields.GeometryField')()),
        ))
        db.send_create_signal('main', ['Parcel'])

        # Adding model 'GridCell'
        db.create_table(u'main_gridcell', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('geometry', self.gf('django.contrib.gis.db.models.fields.GeometryField')()),
            ('source_table_id', self.gf('django.db.models.fields.IntegerField')(db_index=True)),
            ('source_id', self.gf('django.db.models.fields.IntegerField')(max_length=200, db_index=True)),
        ))
        db.send_create_signal('main', ['GridCell'])

        # Adding model 'Taz'
        db.create_table(u'main_taz', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('geometry', self.gf('django.contrib.gis.db.models.fields.GeometryField')()),
            ('source_table_id', self.gf('django.db.models.fields.IntegerField')(db_index=True)),
            ('source_id', self.gf('django.db.models.fields.IntegerField')(max_length=200, db_index=True)),
        ))
        db.send_create_signal('main', ['Taz'])

        # Adding model 'Presentation'
        db.create_table(u'main_presentation', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
            ('key', self.gf('django.db.models.fields.CharField')(max_length=120)),
            ('scope', self.gf('django.db.models.fields.CharField')(max_length=120)),
            ('configuration', self.gf('picklefield.fields.PickledObjectField')(null=True)),
            ('config_entity', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.ConfigEntity'])),
        ))
        db.send_create_signal('main', ['Presentation'])

        # Adding model 'ResultLibrary'
        db.create_table(u'main_resultlibrary', (
            (u'presentation_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.Presentation'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['ResultLibrary'])

        # Adding M2M table for field results on 'ResultLibrary'
        m2m_table_name = db.shorten_name(u'main_resultlibrary_results')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('resultlibrary', models.ForeignKey(orm['main.resultlibrary'], null=False)),
            ('result', models.ForeignKey(orm['main.result'], null=False))
        ))
        db.create_unique(m2m_table_name, ['resultlibrary_id', 'result_id'])

        # Adding model 'Result'
        db.create_table(u'main_result', (
            (u'presentationmedium_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.PresentationMedium'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['Result'])

        # Adding model 'Chart'
        db.create_table(u'main_chart', (
            (u'result_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.Result'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['Chart'])

        # Adding model 'GeoLibrary'
        db.create_table(u'main_geolibrary', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
        ))
        db.send_create_signal('main', ['GeoLibrary'])

        # Adding model 'GeoLibraryCatalog'
        db.create_table(u'main_geolibrarycatalog', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('entity', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.DbEntity'])),
            ('geo_library', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.GeoLibrary'])),
            ('position', self.gf('django.db.models.fields.IntegerField')()),
        ))
        db.send_create_signal('main', ['GeoLibraryCatalog'])

        # Adding model 'Grid'
        db.create_table(u'main_grid', (
            (u'result_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.Result'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['Grid'])

        # Adding model 'LayerChart'
        db.create_table(u'main_layerchart', (
            (u'chart_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.Chart'], unique=True, primary_key=True)),
            ('layer', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.Layer'])),
        ))
        db.send_create_signal('main', ['LayerChart'])

        # Adding model 'LayerLibrary'
        db.create_table(u'main_layerlibrary', (
            (u'presentation_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.Presentation'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['LayerLibrary'])

        # Adding M2M table for field layers on 'LayerLibrary'
        m2m_table_name = db.shorten_name(u'main_layerlibrary_layers')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('layerlibrary', models.ForeignKey(orm['main.layerlibrary'], null=False)),
            ('layer', models.ForeignKey(orm['main.layer'], null=False))
        ))
        db.create_unique(m2m_table_name, ['layerlibrary_id', 'layer_id'])

        # Adding model 'Map'
        db.create_table(u'main_map', (
            (u'presentation_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.Presentation'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['Map'])

        # Adding model 'Report'
        db.create_table(u'main_report', (
            (u'presentation_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.Presentation'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['Report'])

        # Adding model 'Style'
        db.create_table(u'main_style', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('key', self.gf('django.db.models.fields.CharField')(unique=True, max_length=120)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
            ('identifier', self.gf('django.db.models.fields.TextField')()),
            ('target', self.gf('django.db.models.fields.TextField')()),
            ('style_property', self.gf('django.db.models.fields.TextField')()),
        ))
        db.send_create_signal('main', ['Style'])

        # Adding model 'PresentationConfiguration'
        db.create_table(u'main_presentationconfiguration', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
            ('key', self.gf('django.db.models.fields.CharField')(max_length=120)),
            ('scope', self.gf('django.db.models.fields.CharField')(max_length=120)),
            ('data', self.gf('picklefield.fields.PickledObjectField')()),
        ))
        db.send_create_signal('main', ['PresentationConfiguration'])

        # Adding model 'SortType'
        db.create_table(u'main_sorttype', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('key', self.gf('django.db.models.fields.CharField')(unique=True, max_length=120)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
            ('order_by', self.gf('django.db.models.fields.CharField')(default=None, max_length=100, unique=True, null=True)),
        ))
        db.send_create_signal('main', ['SortType'])

        # Adding model 'MergeUpdaterTool'
        db.create_table(u'main_mergeupdatertool', (
            (u'analysistool_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.AnalysisTool'], unique=True, primary_key=True)),
            ('db_entity_key', self.gf('django.db.models.fields.CharField')(max_length=100, null=True, blank=True)),
            ('target_config_entity', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.ConfigEntity'], null=True, blank=True)),
        ))
        db.send_create_signal('main', ['MergeUpdaterTool'])

        # Adding model 'EnvironmentalConstraintUnionTool'
        db.create_table(u'main_environmentalconstraintuniontool', (
            (u'analysistool_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.AnalysisTool'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('main', ['EnvironmentalConstraintUnionTool'])

        # Adding model 'SacogLandUseDefinition'
        db.create_table(u'main_sacoglandusedefinition', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('land_use', self.gf('django.db.models.fields.CharField')(max_length=100, null=True, blank=True)),
            ('min_du_ac', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=9, decimal_places=2)),
            ('max_du_ac', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=9, decimal_places=2)),
            ('max_emp_ac', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=9, decimal_places=2)),
            ('rural_flag', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('detached_flag', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('attached_flag', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('pct_ret_rest', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=9, decimal_places=2)),
            ('pct_ret_ret', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=9, decimal_places=2)),
            ('pct_ret_svc', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=9, decimal_places=2)),
            ('pct_off_gov', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=9, decimal_places=2)),
            ('pct_off_off', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=9, decimal_places=2)),
            ('pct_off_svc', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=9, decimal_places=2)),
            ('pct_off_med', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=9, decimal_places=2)),
            ('pct_ind', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=9, decimal_places=2)),
            ('pct_pub_edu', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=9, decimal_places=2)),
            ('pct_pub_med', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=9, decimal_places=2)),
            ('pct_pub_gov', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=9, decimal_places=2)),
            ('pct_other', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=9, decimal_places=2)),
        ))
        db.send_create_signal('main', ['SacogLandUseDefinition'])

        # Adding model 'SacogLandUse'
        db.create_table(u'main_sacoglanduse', (
            (u'builtform_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.BuiltForm'], unique=True, primary_key=True)),
            ('land_use_definition', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.SacogLandUseDefinition'])),
        ))
        db.send_create_signal('main', ['SacogLandUse'])

        # Adding model 'ScagLandUseDefinition'
        db.create_table(u'main_scaglandusedefinition', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('land_use_description', self.gf('django.db.models.fields.CharField')(max_length=100, null=True, blank=True)),
            ('land_use_type', self.gf('django.db.models.fields.CharField')(max_length=100, null=True, blank=True)),
            ('land_use', self.gf('django.db.models.fields.IntegerField')()),
        ))
        db.send_create_signal('main', ['ScagLandUseDefinition'])

        # Adding model 'ScagLandUse'
        db.create_table(u'main_scaglanduse', (
            (u'builtform_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['main.BuiltForm'], unique=True, primary_key=True)),
            ('land_use_definition', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.ScagLandUseDefinition'])),
        ))
        db.send_create_signal('main', ['ScagLandUse'])


    def backwards(self, orm):
        # Deleting model 'Tag'
        db.delete_table(u'main_tag')

        # Deleting model 'JoinType'
        db.delete_table(u'main_jointype')

        # Deleting model 'GeographicType'
        db.delete_table(u'main_geographictype')

        # Deleting model 'Intersection'
        db.delete_table(u'main_intersection')

        # Deleting model 'GeographicIntersection'
        db.delete_table(u'main_geographicintersection')

        # Deleting model 'AttributeIntersection'
        db.delete_table(u'main_attributeintersection')

        # Deleting model 'Behavior'
        db.delete_table(u'main_behavior')

        # Removing M2M table for field tags on 'Behavior'
        db.delete_table(db.shorten_name(u'main_behavior_tags'))

        # Removing M2M table for field parents on 'Behavior'
        db.delete_table(db.shorten_name(u'main_behavior_parents'))

        # Deleting model 'AnalysisTool'
        db.delete_table(u'main_analysistool')

        # Deleting model 'Medium'
        db.delete_table(u'main_medium')

        # Deleting model 'StyleAttribute'
        db.delete_table(u'main_styleattribute')

        # Deleting model 'LayerStyle'
        db.delete_table(u'main_layerstyle')

        # Removing M2M table for field style_attributes on 'LayerStyle'
        db.delete_table(db.shorten_name(u'main_layerstyle_style_attributes'))

        # Deleting model 'BuiltFormExample'
        db.delete_table(u'main_builtformexample')

        # Deleting model 'BuiltForm'
        db.delete_table(u'main_builtform')

        # Removing M2M table for field tags on 'BuiltForm'
        db.delete_table(db.shorten_name(u'main_builtform_tags'))

        # Removing M2M table for field media on 'BuiltForm'
        db.delete_table(db.shorten_name(u'main_builtform_media'))

        # Removing M2M table for field examples on 'BuiltForm'
        db.delete_table(db.shorten_name(u'main_builtform_examples'))

        # Deleting model 'BuildingUsePercent'
        db.delete_table(u'main_buildingusepercent')

        # Deleting model 'BuildingUseDefinition'
        db.delete_table(u'main_buildingusedefinition')

        # Deleting model 'BuildingAttributeSet'
        db.delete_table(u'main_buildingattributeset')

        # Deleting model 'PrimaryComponent'
        db.delete_table(u'main_primarycomponent')

        # Deleting model 'PlacetypeComponentCategory'
        db.delete_table(u'main_placetypecomponentcategory')

        # Deleting model 'PlacetypeComponent'
        db.delete_table(u'main_placetypecomponent')

        # Deleting model 'BuildingType'
        db.delete_table(u'main_buildingtype')

        # Deleting model 'Building'
        db.delete_table(u'main_building')

        # Deleting model 'StreetAttributeSet'
        db.delete_table(u'main_streetattributeset')

        # Deleting model 'Placetype'
        db.delete_table(u'main_placetype')

        # Deleting model 'UrbanPlacetype'
        db.delete_table(u'main_urbanplacetype')

        # Deleting model 'FlatBuiltForm'
        db.delete_table(u'main_flatbuiltform')

        # Deleting model 'ScenarioUpdaterTool'
        db.delete_table(u'main_scenarioupdatertool')

        # Deleting model 'FiscalUpdaterTool'
        db.delete_table(u'main_fiscalupdatertool')

        # Deleting model 'Category'
        db.delete_table(u'main_category')

        # Deleting model 'GroupHierarchy'
        db.delete_table(u'main_grouphierarchy')

        # Removing M2M table for field superiors on 'GroupHierarchy'
        db.delete_table(db.shorten_name(u'main_grouphierarchy_superiors'))

        # Deleting model 'BuiltFormSet'
        db.delete_table(u'main_builtformset')

        # Removing M2M table for field built_forms on 'BuiltFormSet'
        db.delete_table(db.shorten_name(u'main_builtformset_built_forms'))

        # Deleting model 'Policy'
        db.delete_table(u'main_policy')

        # Removing M2M table for field tags on 'Policy'
        db.delete_table(db.shorten_name(u'main_policy_tags'))

        # Removing M2M table for field policies on 'Policy'
        db.delete_table(db.shorten_name(u'main_policy_policies'))

        # Deleting model 'PolicySet'
        db.delete_table(u'main_policyset')

        # Removing M2M table for field policies on 'PolicySet'
        db.delete_table(db.shorten_name(u'main_policyset_policies'))

        # Deleting model 'ConfigEntity'
        db.delete_table(u'main_configentity')

        # Removing M2M table for field categories on 'ConfigEntity'
        db.delete_table(db.shorten_name(u'main_configentity_categories'))

        # Removing M2M table for field built_form_sets on 'ConfigEntity'
        db.delete_table(db.shorten_name(u'main_configentity_built_form_sets'))

        # Removing M2M table for field policy_sets on 'ConfigEntity'
        db.delete_table(db.shorten_name(u'main_configentity_policy_sets'))

        # Removing M2M table for field media on 'ConfigEntity'
        db.delete_table(db.shorten_name(u'main_configentity_media'))

        # Deleting model 'GlobalConfig'
        db.delete_table(u'main_globalconfig')

        # Deleting model 'Region'
        db.delete_table(u'main_region')

        # Deleting model 'Project'
        db.delete_table(u'main_project')

        # Deleting model 'Scenario'
        db.delete_table(u'main_scenario')

        # Deleting model 'BaseScenario'
        db.delete_table(u'main_basescenario')

        # Deleting model 'FutureScenario'
        db.delete_table(u'main_futurescenario')

        # Deleting model 'VmtUpdaterTool'
        db.delete_table(u'main_vmtupdatertool')

        # Deleting model 'PublicHealthOutcomeAnalysis'
        db.delete_table(u'main_publichealthoutcomeanalysis')

        # Deleting model 'PublicHealthUpdaterTool'
        db.delete_table(u'main_publichealthupdatertool')

        # Deleting model 'WaterUpdaterTool'
        db.delete_table(u'main_waterupdatertool')

        # Deleting model 'EnergyUpdaterTool'
        db.delete_table(u'main_energyupdatertool')

        # Deleting model 'Interest'
        db.delete_table(u'main_interest')

        # Deleting model 'ApprovalStatus'
        db.delete_table(u'main_approvalstatus')

        # Deleting model 'DbEntity'
        db.delete_table(u'main_dbentity')

        # Removing M2M table for field tags on 'DbEntity'
        db.delete_table(db.shorten_name(u'main_dbentity_tags'))

        # Removing M2M table for field categories on 'DbEntity'
        db.delete_table(db.shorten_name(u'main_dbentity_categories'))

        # Deleting model 'DbEntityInterest'
        db.delete_table(u'main_dbentityinterest')

        # Deleting model 'PresentationMedium'
        db.delete_table(u'main_presentationmedium')

        # Deleting model 'Layer'
        db.delete_table(u'main_layer')

        # Deleting model 'AgricultureUpdaterTool'
        db.delete_table(u'main_agricultureupdatertool')

        # Deleting model 'EnvironmentalConstraintPercent'
        db.delete_table(u'main_environmentalconstraintpercent')

        # Deleting model 'EnvironmentalConstraintUpdaterTool'
        db.delete_table(u'main_environmentalconstraintupdatertool')

        # Deleting model 'Job'
        db.delete_table(u'main_job')

        # Deleting model 'AnalysisModule'
        db.delete_table(u'main_analysismodule')

        # Removing M2M table for field analysis_tools on 'AnalysisModule'
        db.delete_table(db.shorten_name(u'main_analysismodule_analysis_tools'))

        # Deleting model 'AttributeGroup'
        db.delete_table(u'main_attributegroup')

        # Removing M2M table for field attribute_permissions on 'AttributeGroup'
        db.delete_table(db.shorten_name(u'main_attributegroup_attribute_permissions'))

        # Deleting model 'AttributePermission'
        db.delete_table(u'main_attributepermission')

        # Deleting model 'AttributeGroupConfiguration'
        db.delete_table(u'main_attributegroupconfiguration')

        # Deleting model 'FeatureBehavior'
        db.delete_table(u'main_featurebehavior')

        # Removing M2M table for field tags on 'FeatureBehavior'
        db.delete_table(db.shorten_name(u'main_featurebehavior_tags'))

        # Deleting model 'CommercialEnergyBaseline'
        db.delete_table(u'main_commercialenergybaseline')

        # Deleting model 'ResidentialEnergyBaseline'
        db.delete_table(u'main_residentialenergybaseline')

        # Deleting model 'EvapotranspirationBaseline'
        db.delete_table(u'main_evapotranspirationbaseline')

        # Deleting model 'PrimaryComponentPercent'
        db.delete_table(u'main_primarycomponentpercent')

        # Deleting model 'PlacetypeComponentPercent'
        db.delete_table(u'main_placetypecomponentpercent')

        # Deleting model 'AgricultureAttributeSet'
        db.delete_table(u'main_agricultureattributeset')

        # Deleting model 'Crop'
        db.delete_table(u'main_crop')

        # Deleting model 'CropType'
        db.delete_table(u'main_croptype')

        # Deleting model 'LandscapeType'
        db.delete_table(u'main_landscapetype')

        # Deleting model 'Parcel'
        db.delete_table(u'main_parcel')

        # Deleting model 'GridCell'
        db.delete_table(u'main_gridcell')

        # Deleting model 'Taz'
        db.delete_table(u'main_taz')

        # Deleting model 'Presentation'
        db.delete_table(u'main_presentation')

        # Deleting model 'ResultLibrary'
        db.delete_table(u'main_resultlibrary')

        # Removing M2M table for field results on 'ResultLibrary'
        db.delete_table(db.shorten_name(u'main_resultlibrary_results'))

        # Deleting model 'Result'
        db.delete_table(u'main_result')

        # Deleting model 'Chart'
        db.delete_table(u'main_chart')

        # Deleting model 'GeoLibrary'
        db.delete_table(u'main_geolibrary')

        # Deleting model 'GeoLibraryCatalog'
        db.delete_table(u'main_geolibrarycatalog')

        # Deleting model 'Grid'
        db.delete_table(u'main_grid')

        # Deleting model 'LayerChart'
        db.delete_table(u'main_layerchart')

        # Deleting model 'LayerLibrary'
        db.delete_table(u'main_layerlibrary')

        # Removing M2M table for field layers on 'LayerLibrary'
        db.delete_table(db.shorten_name(u'main_layerlibrary_layers'))

        # Deleting model 'Map'
        db.delete_table(u'main_map')

        # Deleting model 'Report'
        db.delete_table(u'main_report')

        # Deleting model 'Style'
        db.delete_table(u'main_style')

        # Deleting model 'PresentationConfiguration'
        db.delete_table(u'main_presentationconfiguration')

        # Deleting model 'SortType'
        db.delete_table(u'main_sorttype')

        # Deleting model 'MergeUpdaterTool'
        db.delete_table(u'main_mergeupdatertool')

        # Deleting model 'EnvironmentalConstraintUnionTool'
        db.delete_table(u'main_environmentalconstraintuniontool')

        # Deleting model 'SacogLandUseDefinition'
        db.delete_table(u'main_sacoglandusedefinition')

        # Deleting model 'SacogLandUse'
        db.delete_table(u'main_sacoglanduse')

        # Deleting model 'ScagLandUseDefinition'
        db.delete_table(u'main_scaglandusedefinition')

        # Deleting model 'ScagLandUse'
        db.delete_table(u'main_scaglanduse')


    models = {
        u'auth.group': {
            'Meta': {'object_name': 'Group'},
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
        },
        u'auth.permission': {
            'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
            'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
        },
        u'auth.user': {
            'Meta': {'object_name': 'User'},
            'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
            'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
            'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
            'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
            'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
        },
        u'contenttypes.contenttype': {
            'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
            'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
        },
        'main.agricultureattributeset': {
            'Meta': {'object_name': 'AgricultureAttributeSet'},
            'chemical_cost': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'contract_cost': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'cost': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'crop_yield': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'custom_cost': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'equipment_cost': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'establishment_cost': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'feed_cost': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'fertilizer_cost': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'fuel_cost': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'irrigation_cost': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'labor_cost': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'labor_input': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'land_cost': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'land_rent_cost': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'other_cash_costs': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'other_cost': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'other_noncash_costs': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'pasture_cost': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'seed_cost': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'truck_trips': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'unit_price': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'water_consumption': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'})
        },
        'main.agricultureupdatertool': {
            'Meta': {'object_name': 'AgricultureUpdaterTool', '_ormbases': ['main.AnalysisTool']},
            u'analysistool_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.AnalysisTool']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.analysismodule': {
            'Meta': {'object_name': 'AnalysisModule'},
            'analysis_tools': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.AnalysisTool']", 'symmetrical': 'False'}),
            'completed': ('django.db.models.fields.DateField', [], {'null': 'True'}),
            'config_entity': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.ConfigEntity']"}),
            'configuration': ('picklefield.fields.PickledObjectField', [], {'default': '{}', 'null': 'True'}),
            'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'analysis_module_creator'", 'null': 'True', 'to': u"orm['auth.User']"}),
            'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            'failed': ('django.db.models.fields.DateField', [], {'null': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'partner_description': ('django.db.models.fields.TextField', [], {'null': 'True'}),
            'started': ('django.db.models.fields.DateField', [], {'null': 'True'}),
            'updater': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'analysis_module_updater'", 'null': 'True', 'to': u"orm['auth.User']"})
        },
        'main.analysistool': {
            'Meta': {'object_name': 'AnalysisTool'},
            'behavior': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Behavior']", 'null': 'True'}),
            'config_entity': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.ConfigEntity']"}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
            'updater': ('django.db.models.fields.related.ForeignKey', [], {'default': '1', 'related_name': "'analysis_tool_updater'", 'to': u"orm['auth.User']"})
        },
        'main.approvalstatus': {
            'Meta': {'object_name': 'ApprovalStatus'},
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '120'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
        },
        'main.attributegroup': {
            'Meta': {'object_name': 'AttributeGroup'},
            'attribute_keys': ('picklefield.fields.PickledObjectField', [], {'default': '[]'}),
            'attribute_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.AttributePermission']", 'symmetrical': 'False'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
            'scope': ('django.db.models.fields.CharField', [], {'max_length': '120'})
        },
        'main.attributegroupconfiguration': {
            'Meta': {'object_name': 'AttributeGroupConfiguration'},
            'attribute_group': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.AttributeGroup']"}),
            'attribute_mapping': ('picklefield.fields.PickledObjectField', [], {'null': 'True'}),
            'feature_behavior': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.FeatureBehavior']"}),
            'group_permission_configuration': ('picklefield.fields.PickledObjectField', [], {'null': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
        },
        'main.attributeintersection': {
            'Meta': {'object_name': 'AttributeIntersection', '_ormbases': ['main.Intersection']},
            'from_attribute': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}),
            u'intersection_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.Intersection']", 'unique': 'True', 'primary_key': 'True'}),
            'to_attribute': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'})
        },
        'main.attributepermission': {
            'Meta': {'object_name': 'AttributePermission'},
            'attribute_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
        },
        'main.basescenario': {
            'Meta': {'object_name': 'BaseScenario', '_ormbases': ['main.Scenario']},
            u'scenario_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.Scenario']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.behavior': {
            'Meta': {'object_name': 'Behavior'},
            'abstract': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'intersection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Intersection']", 'null': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '120'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'parents': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.Behavior']", 'symmetrical': 'False'}),
            'readonly': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'tags': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.Tag']", 'symmetrical': 'False'}),
            'template_feature_behavior': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owning_behavior'", 'null': 'True', 'to': "orm['main.FeatureBehavior']"})
        },
        'main.building': {
            'Meta': {'object_name': 'Building', '_ormbases': ['main.PrimaryComponent']},
            'building_attribute_set': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.BuildingAttributeSet']", 'null': 'True'}),
            u'primarycomponent_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.PrimaryComponent']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.buildingattributeset': {
            'Meta': {'object_name': 'BuildingAttributeSet'},
            'above_ground_structured_parking_spaces': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'average_parking_space_square_feet': ('django.db.models.fields.DecimalField', [], {'default': '0', 'null': 'True', 'max_digits': '14', 'decimal_places': '4'}),
            'below_ground_structured_parking_spaces': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'building_footprint_square_feet': ('django.db.models.fields.DecimalField', [], {'default': '0', 'null': 'True', 'max_digits': '14', 'decimal_places': '4'}),
            'building_uses': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.BuildingUseDefinition']", 'through': "orm['main.BuildingUsePercent']", 'symmetrical': 'False'}),
            'commercial_irrigated_square_feet': ('django.db.models.fields.DecimalField', [], {'default': '0', 'null': 'True', 'max_digits': '9', 'decimal_places': '2'}),
            'floors': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '7', 'decimal_places': '4'}),
            'gross_net_ratio': ('django.db.models.fields.DecimalField', [], {'default': '1', 'max_digits': '14', 'decimal_places': '7'}),
            'hardscape_other_square_feet': ('django.db.models.fields.DecimalField', [], {'default': '0', 'null': 'True', 'max_digits': '14', 'decimal_places': '4'}),
            'household_size': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '5', 'decimal_places': '3'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'irrigated_percent': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '10'}),
            'irrigated_softscape_square_feet': ('django.db.models.fields.DecimalField', [], {'default': '0', 'null': 'True', 'max_digits': '14', 'decimal_places': '3'}),
            'lot_size_square_feet': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '7'}),
            'nonirrigated_softscape_square_feet': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '3'}),
            'residential_irrigated_square_feet': ('django.db.models.fields.DecimalField', [], {'default': '0', 'null': 'True', 'max_digits': '9', 'decimal_places': '2'}),
            'surface_parking_spaces': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'surface_parking_square_feet': ('django.db.models.fields.DecimalField', [], {'default': '0', 'null': 'True', 'max_digits': '14', 'decimal_places': '4'}),
            'total_far': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '10', 'decimal_places': '7'}),
            'vacancy_rate': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '4', 'decimal_places': '3'}),
            'website': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '300', 'null': 'True', 'blank': 'True'})
        },
        'main.buildingtype': {
            'Meta': {'object_name': 'BuildingType', '_ormbases': ['main.PlacetypeComponent']},
            'building_attribute_set': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.BuildingAttributeSet']", 'null': 'True'}),
            u'placetypecomponent_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.PlacetypeComponent']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.buildingusedefinition': {
            'Meta': {'object_name': 'BuildingUseDefinition'},
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'type': ('django.db.models.fields.CharField', [], {'max_length': '100'})
        },
        'main.buildingusepercent': {
            'Meta': {'object_name': 'BuildingUsePercent'},
            'building_attribute_set': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.BuildingAttributeSet']"}),
            'building_use_definition': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.BuildingUseDefinition']"}),
            'efficiency': ('django.db.models.fields.DecimalField', [], {'default': '0.85', 'max_digits': '6', 'decimal_places': '4'}),
            'floor_area_ratio': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '10'}),
            'gross_built_up_area': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '13', 'decimal_places': '3'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'net_built_up_area': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '13', 'decimal_places': '3'}),
            'percent': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '21', 'decimal_places': '20'}),
            'square_feet_per_unit': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '11', 'decimal_places': '3'}),
            'unit_density': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '16', 'decimal_places': '10'})
        },
        'main.builtform': {
            'Meta': {'object_name': 'BuiltForm'},
            'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'built_form_creator'", 'to': u"orm['auth.User']"}),
            'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            'examples': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.BuiltFormExample']", 'null': 'True', 'symmetrical': 'False'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '120'}),
            'media': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'built_form_media'", 'symmetrical': 'False', 'to': "orm['main.Medium']"}),
            'medium': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Medium']", 'null': 'True'}),
            'medium_context': ('picklefield.fields.PickledObjectField', [], {'null': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'origin_instance': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.BuiltForm']", 'null': 'True'}),
            'tags': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.Tag']", 'symmetrical': 'False'}),
            'updater': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'built_form_updater'", 'to': u"orm['auth.User']"})
        },
        'main.builtformexample': {
            'Meta': {'object_name': 'BuiltFormExample'},
            'content': ('picklefield.fields.PickledObjectField', [], {'null': 'True'}),
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '120'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'url_aerial': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'url_street': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'})
        },
        'main.builtformset': {
            'Meta': {'object_name': 'BuiltFormSet'},
            'built_forms': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.BuiltForm']", 'symmetrical': 'False'}),
            'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '120'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
        },
        'main.category': {
            'Meta': {'object_name': 'Category'},
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'value': ('django.db.models.fields.CharField', [], {'max_length': '100'})
        },
        'main.chart': {
            'Meta': {'object_name': 'Chart', '_ormbases': ['main.Result']},
            u'result_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.Result']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.commercialenergybaseline': {
            'Meta': {'object_name': 'CommercialEnergyBaseline'},
            'accommodation_electricity': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'accommodation_gas': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'arts_entertainment_electricity': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'arts_entertainment_gas': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'education_electricity': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'education_gas': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'medical_services_electricity': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'medical_services_gas': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'office_services_electricity': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'office_services_gas': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'other_services_electricity': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'other_services_gas': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'public_admin_electricity': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'public_admin_gas': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'restaurant_electricity': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'restaurant_gas': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'retail_services_electricity': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'retail_services_gas': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'transport_warehousing_electricity': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'transport_warehousing_gas': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'wholesale_electricity': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'wholesale_gas': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'zone': ('django.db.models.fields.IntegerField', [], {})
        },
        'main.configentity': {
            'Meta': {'object_name': 'ConfigEntity'},
            'behavior': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Behavior']", 'null': 'True'}),
            'bounds': ('django.contrib.gis.db.models.fields.MultiPolygonField', [], {}),
            'built_form_sets': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.BuiltFormSet']", 'symmetrical': 'False'}),
            'categories': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.Category']", 'symmetrical': 'False'}),
            'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'config_entity_creator'", 'null': 'True', 'to': u"orm['auth.User']"}),
            'db_entities': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.DbEntity']", 'through': "orm['main.DbEntityInterest']", 'symmetrical': 'False'}),
            'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            'group_permission_configuration': ('picklefield.fields.PickledObjectField', [], {'null': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'import_key': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
            'media': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.Medium']", 'null': 'True', 'symmetrical': 'False'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'origin_instance': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.ConfigEntity']", 'null': 'True'}),
            'parent_config_entity': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'parent_set'", 'null': 'True', 'to': "orm['main.ConfigEntity']"}),
            'policy_sets': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.PolicySet']", 'symmetrical': 'False'}),
            'scope': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
            'selections': ('footprint.main.models.config.model_pickled_object_field.SelectionModelsPickledObjectField', [], {'default': "{'db_entities': {}, 'sets': {}}"}),
            'updater': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'config_entity_updater'", 'null': 'True', 'to': u"orm['auth.User']"})
        },
        'main.crop': {
            'Meta': {'object_name': 'Crop', '_ormbases': ['main.PrimaryComponent']},
            'agriculture_attribute_set': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.AgricultureAttributeSet']", 'null': 'True'}),
            u'primarycomponent_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.PrimaryComponent']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.croptype': {
            'Meta': {'object_name': 'CropType', '_ormbases': ['main.PlacetypeComponent']},
            'agriculture_attribute_set': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.AgricultureAttributeSet']", 'null': 'True'}),
            u'placetypecomponent_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.PlacetypeComponent']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.dbentity': {
            'Meta': {'object_name': 'DbEntity'},
            'behavior_locked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'categories': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.Category']", 'symmetrical': 'False'}),
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
            'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'db_entity_creator'", 'to': u"orm['auth.User']"}),
            'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            'feature_class_configuration': ('picklefield.fields.PickledObjectField', [], {'null': 'True'}),
            'group_by': ('picklefield.fields.PickledObjectField', [], {'null': 'True'}),
            'group_permission_configuration': ('picklefield.fields.PickledObjectField', [], {'null': 'True'}),
            'hosts': ('picklefield.fields.PickledObjectField', [], {'null': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'is_provisional': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'no_feature_class_configuration': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'origin_instance': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.DbEntity']", 'null': 'True'}),
            'query': ('picklefield.fields.PickledObjectField', [], {'null': 'True'}),
            'schema': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'}),
            'source_db_entity_key': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}),
            'srid': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'}),
            'table': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'}),
            'tags': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.Tag']", 'symmetrical': 'False'}),
            'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
            'updater': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'db_entity_updater'", 'to': u"orm['auth.User']"}),
            'url': ('django.db.models.fields.CharField', [], {'max_length': '1000', 'null': 'True'})
        },
        'main.dbentityinterest': {
            'Meta': {'object_name': 'DbEntityInterest'},
            'config_entity': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.ConfigEntity']"}),
            'db_entity': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.DbEntity']"}),
            'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'interest': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Interest']"})
        },
        'main.energyupdatertool': {
            'Meta': {'object_name': 'EnergyUpdaterTool', '_ormbases': ['main.AnalysisTool']},
            u'analysistool_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.AnalysisTool']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.environmentalconstraintpercent': {
            'Meta': {'object_name': 'EnvironmentalConstraintPercent'},
            'analysis_tool': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.EnvironmentalConstraintUpdaterTool']"}),
            'db_entity': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.DbEntity']"}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'percent': ('django.db.models.fields.DecimalField', [], {'default': '1', 'null': 'True', 'max_digits': '14', 'decimal_places': '8'}),
            'priority': ('django.db.models.fields.IntegerField', [], {'default': '1', 'null': 'True'})
        },
        'main.environmentalconstraintuniontool': {
            'Meta': {'object_name': 'EnvironmentalConstraintUnionTool', '_ormbases': ['main.AnalysisTool']},
            u'analysistool_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.AnalysisTool']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.environmentalconstraintupdatertool': {
            'Meta': {'object_name': 'EnvironmentalConstraintUpdaterTool', '_ormbases': ['main.AnalysisTool']},
            u'analysistool_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.AnalysisTool']", 'unique': 'True', 'primary_key': 'True'}),
            'db_entities': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.DbEntity']", 'through': "orm['main.EnvironmentalConstraintPercent']", 'symmetrical': 'False'})
        },
        'main.evapotranspirationbaseline': {
            'Meta': {'object_name': 'EvapotranspirationBaseline'},
            'annual_evapotranspiration': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'zone': ('django.db.models.fields.IntegerField', [], {})
        },
        'main.featurebehavior': {
            'Meta': {'object_name': 'FeatureBehavior'},
            'attribute_groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.AttributeGroup']", 'through': "orm['main.AttributeGroupConfiguration']", 'symmetrical': 'False'}),
            'behavior': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Behavior']"}),
            'db_entity': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.DbEntity']", 'null': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'intersection': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'feature_behavior'", 'unique': 'True', 'null': 'True', 'to': "orm['main.Intersection']"}),
            'is_template': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'readonly': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'tags': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.Tag']", 'symmetrical': 'False'})
        },
        'main.fiscalupdatertool': {
            'Meta': {'object_name': 'FiscalUpdaterTool', '_ormbases': ['main.AnalysisTool']},
            u'analysistool_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.AnalysisTool']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.flatbuiltform': {
            'Meta': {'object_name': 'FlatBuiltForm'},
            'accommodation_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'acres_parcel_employment': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'acres_parcel_employment_agriculture': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'acres_parcel_employment_industrial': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'acres_parcel_employment_office': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'acres_parcel_employment_public': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'acres_parcel_employment_retail': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'acres_parcel_mixed_use': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'acres_parcel_residential': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'acres_parcel_residential_attached_single_family': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'acres_parcel_residential_multifamily': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'acres_parcel_residential_single_family_large_lot': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'acres_parcel_residential_single_family_small_lot': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'agricultural_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'agriculture_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'arts_entertainment_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'attached_single_family_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'avg_estimated_building_height_feet': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
            'block_avg_size_acres': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
            'building_avg_number_of_floors': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
            'building_sqft_accommodation': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '7'}),
            'building_sqft_arts_entertainment': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '7'}),
            'building_sqft_attached_single_family': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '7'}),
            'building_sqft_detached_single_family': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '7'}),
            'building_sqft_education_services': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '7'}),
            'building_sqft_industrial_non_warehouse': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '7'}),
            'building_sqft_medical_services': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '7'}),
            'building_sqft_multifamily_2_to_4': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '7'}),
            'building_sqft_multifamily_5_plus': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '7'}),
            'building_sqft_office_services': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '7'}),
            'building_sqft_other_services': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '7'}),
            'building_sqft_public_admin': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '7'}),
            'building_sqft_restaurant': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '7'}),
            'building_sqft_retail_services': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '7'}),
            'building_sqft_single_family_large_lot': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '7'}),
            'building_sqft_single_family_small_lot': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '7'}),
            'building_sqft_total': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '7'}),
            'building_sqft_transport_warehouse': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '7'}),
            'building_sqft_wholesale': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '7'}),
            'built_form_id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
            'built_form_type': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
            'combined_pop_emp_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'null': 'True', 'max_digits': '14', 'decimal_places': '4'}),
            'commercial_irrigated_square_feet': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '7'}),
            'construction_utilities_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            'dwelling_unit_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'education_services_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'employment_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'extraction_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'gross_net_ratio': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '11', 'decimal_places': '10'}),
            'household_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'industrial_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'intersection_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'intersections_sqmi': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
            'irrigated_percent': ('django.db.models.fields.DecimalField', [], {'default': '0', 'null': 'True', 'max_digits': '15', 'decimal_places': '7'}),
            'key': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
            'manufacturing_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'medical_services_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'military_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'multifamily_2_to_4_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'multifamily_5_plus_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'office_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'office_services_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'other_services_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'percent_civic': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '6', 'decimal_places': '5'}),
            'percent_employment': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '6', 'decimal_places': '5'}),
            'percent_mixed_use': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '6', 'decimal_places': '5'}),
            'percent_parks': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '6', 'decimal_places': '5'}),
            'percent_residential': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '6', 'decimal_places': '5'}),
            'percent_streets': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '6', 'decimal_places': '5'}),
            'population_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'pt_connectivity': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
            'pt_density': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
            'pt_land_use_mix': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
            'pt_score': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
            'public_admin_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'public_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'residential_irrigated_square_feet': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '7'}),
            'restaurant_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'retail_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'retail_services_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'single_family_large_lot_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'single_family_small_lot_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'softscape_and_landscape_percent': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '15', 'decimal_places': '7'}),
            'street_pattern': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'}),
            'transport_warehouse_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'}),
            'wholesale_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '10'})
        },
        'main.futurescenario': {
            'Meta': {'object_name': 'FutureScenario', '_ormbases': ['main.Scenario']},
            u'scenario_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.Scenario']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.geographicintersection': {
            'Meta': {'object_name': 'GeographicIntersection', '_ormbases': ['main.Intersection']},
            'from_geography': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}),
            u'intersection_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.Intersection']", 'unique': 'True', 'primary_key': 'True'}),
            'to_geography': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'})
        },
        'main.geographictype': {
            'Meta': {'object_name': 'GeographicType'},
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '120'})
        },
        'main.geolibrary': {
            'Meta': {'object_name': 'GeoLibrary'},
            'entities': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.DbEntity']", 'through': "orm['main.GeoLibraryCatalog']", 'symmetrical': 'False'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
        },
        'main.geolibrarycatalog': {
            'Meta': {'object_name': 'GeoLibraryCatalog'},
            'entity': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.DbEntity']"}),
            'geo_library': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.GeoLibrary']"}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'position': ('django.db.models.fields.IntegerField', [], {})
        },
        'main.globalconfig': {
            'Meta': {'object_name': 'GlobalConfig', '_ormbases': ['main.ConfigEntity']},
            u'configentity_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.ConfigEntity']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.grid': {
            'Meta': {'object_name': 'Grid', '_ormbases': ['main.Result']},
            u'result_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.Result']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.gridcell': {
            'Meta': {'object_name': 'GridCell'},
            'geometry': ('django.contrib.gis.db.models.fields.GeometryField', [], {}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'source_id': ('django.db.models.fields.IntegerField', [], {'max_length': '200', 'db_index': 'True'}),
            'source_table_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True'})
        },
        'main.grouphierarchy': {
            'Meta': {'object_name': 'GroupHierarchy'},
            'amigo_project_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
            'arcgis_project_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
            'config_entity': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'group_hierarchies'", 'null': 'True', 'to': "orm['main.ConfigEntity']"}),
            'group': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'group_hierarchy'", 'unique': 'True', 'to': u"orm['auth.Group']"}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'superiors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'subordinates'", 'null': 'True', 'to': u"orm['auth.Group']"})
        },
        'main.interest': {
            'Meta': {'object_name': 'Interest'},
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '120'})
        },
        'main.intersection': {
            'Meta': {'object_name': 'Intersection'},
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'is_template': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'tree': ('picklefield.fields.PickledObjectField', [], {'default': 'None', 'null': 'True'})
        },
        'main.job': {
            'Meta': {'ordering': "['-created_on']", 'object_name': 'Job'},
            'created_on': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
            'data': ('django.db.models.fields.TextField', [], {'null': 'True'}),
            'ended_on': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
            'hashid': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '36'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'status': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
            'task_id': ('django.db.models.fields.CharField', [], {'max_length': '36'}),
            'type': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'jobs'", 'to': u"orm['auth.User']"})
        },
        'main.jointype': {
            'Meta': {'object_name': 'JoinType'},
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '120'})
        },
        'main.landscapetype': {
            'Meta': {'object_name': 'LandscapeType', '_ormbases': ['main.Placetype', 'main.AgricultureAttributeSet']},
            u'agricultureattributeset_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.AgricultureAttributeSet']", 'unique': 'True'}),
            u'placetype_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.Placetype']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.layer': {
            'Meta': {'object_name': 'Layer', '_ormbases': ['main.PresentationMedium']},
            'active_style_key': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'create_from_selection': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'origin_instance': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Layer']", 'null': 'True'}),
            u'presentationmedium_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.PresentationMedium']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.layerchart': {
            'Meta': {'object_name': 'LayerChart', '_ormbases': ['main.Chart']},
            u'chart_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.Chart']", 'unique': 'True', 'primary_key': 'True'}),
            'layer': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Layer']"})
        },
        'main.layerlibrary': {
            'Meta': {'object_name': 'LayerLibrary', '_ormbases': ['main.Presentation']},
            'layers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'presentation'", 'symmetrical': 'False', 'to': "orm['main.Layer']"}),
            u'presentation_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.Presentation']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.layerstyle': {
            'Meta': {'object_name': 'LayerStyle', '_ormbases': ['main.Medium']},
            'geometry_type': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'html_class': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            u'medium_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.Medium']", 'unique': 'True', 'primary_key': 'True'}),
            'style_attributes': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.StyleAttribute']", 'null': 'True', 'symmetrical': 'False'})
        },
        'main.map': {
            'Meta': {'object_name': 'Map', '_ormbases': ['main.Presentation']},
            u'presentation_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.Presentation']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.medium': {
            'Meta': {'object_name': 'Medium'},
            'content': ('picklefield.fields.PickledObjectField', [], {'null': 'True'}),
            'content_type': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
            'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '120'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'url': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'})
        },
        'main.mergeupdatertool': {
            'Meta': {'object_name': 'MergeUpdaterTool', '_ormbases': ['main.AnalysisTool']},
            u'analysistool_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.AnalysisTool']", 'unique': 'True', 'primary_key': 'True'}),
            'db_entity_key': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
            'target_config_entity': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.ConfigEntity']", 'null': 'True', 'blank': 'True'})
        },
        'main.parcel': {
            'Meta': {'object_name': 'Parcel'},
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'wkb_geometry': ('django.contrib.gis.db.models.fields.GeometryField', [], {})
        },
        'main.placetype': {
            'Meta': {'object_name': 'Placetype', '_ormbases': ['main.BuiltForm']},
            u'builtform_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.BuiltForm']", 'unique': 'True', 'primary_key': 'True'}),
            'placetype_components': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.PlacetypeComponent']", 'through': "orm['main.PlacetypeComponentPercent']", 'symmetrical': 'False'})
        },
        'main.placetypecomponent': {
            'Meta': {'object_name': 'PlacetypeComponent', '_ormbases': ['main.BuiltForm']},
            u'builtform_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.BuiltForm']", 'unique': 'True', 'primary_key': 'True'}),
            'component_category': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.PlacetypeComponentCategory']"}),
            'primary_components': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.PrimaryComponent']", 'through': "orm['main.PrimaryComponentPercent']", 'symmetrical': 'False'})
        },
        'main.placetypecomponentcategory': {
            'Meta': {'object_name': 'PlacetypeComponentCategory'},
            'contributes_to_net': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
        },
        'main.placetypecomponentpercent': {
            'Meta': {'object_name': 'PlacetypeComponentPercent'},
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'percent': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '21', 'decimal_places': '20'}),
            'placetype': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Placetype']"}),
            'placetype_component': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.PlacetypeComponent']", 'null': 'True'})
        },
        'main.policy': {
            'Meta': {'object_name': 'Policy'},
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'policies': ('django.db.models.fields.related.ManyToManyField', [], {'default': '[]', 'to': "orm['main.Policy']", 'symmetrical': 'False'}),
            'schema': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'}),
            'tags': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.Tag']", 'symmetrical': 'False'}),
            'values': ('picklefield.fields.PickledObjectField', [], {})
        },
        'main.policyset': {
            'Meta': {'object_name': 'PolicySet'},
            'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '120'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'policies': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.Policy']", 'symmetrical': 'False'})
        },
        'main.presentation': {
            'Meta': {'object_name': 'Presentation'},
            'config_entity': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.ConfigEntity']"}),
            'configuration': ('picklefield.fields.PickledObjectField', [], {'null': 'True'}),
            'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'scope': ('django.db.models.fields.CharField', [], {'max_length': '120'})
        },
        'main.presentationconfiguration': {
            'Meta': {'object_name': 'PresentationConfiguration'},
            'data': ('picklefield.fields.PickledObjectField', [], {}),
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'scope': ('django.db.models.fields.CharField', [], {'max_length': '120'})
        },
        'main.presentationmedium': {
            'Meta': {'object_name': 'PresentationMedium'},
            'configuration': ('picklefield.fields.PickledObjectField', [], {'null': 'True'}),
            'db_entity_interest': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.DbEntityInterest']"}),
            'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'medium': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Medium']", 'null': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'rendered_medium': ('picklefield.fields.PickledObjectField', [], {'null': 'True'}),
            'visible': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
            'visible_attributes': ('picklefield.fields.PickledObjectField', [], {'null': 'True'})
        },
        'main.primarycomponent': {
            'Meta': {'object_name': 'PrimaryComponent', '_ormbases': ['main.BuiltForm']},
            u'builtform_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.BuiltForm']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.primarycomponentpercent': {
            'Meta': {'object_name': 'PrimaryComponentPercent'},
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'percent': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '21', 'decimal_places': '20'}),
            'placetype_component': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.PlacetypeComponent']"}),
            'primary_component': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.PrimaryComponent']"})
        },
        'main.project': {
            'Meta': {'object_name': 'Project', '_ormbases': ['main.ConfigEntity']},
            'base_year': ('django.db.models.fields.IntegerField', [], {'default': '2005'}),
            u'configentity_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.ConfigEntity']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.publichealthoutcomeanalysis': {
            'Meta': {'object_name': 'PublicHealthOutcomeAnalysis'},
            'age_group': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
            'csv_path': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
            'duan': ('django.db.models.fields.FloatField', [], {'default': '1'}),
            'group': ('django.db.models.fields.IntegerField', [], {}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'income_group': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'source': ('django.db.models.fields.CharField', [], {'max_length': '5'}),
            'type': ('django.db.models.fields.CharField', [], {'max_length': '15'})
        },
        'main.publichealthupdatertool': {
            'Meta': {'object_name': 'PublicHealthUpdaterTool', '_ormbases': ['main.AnalysisTool']},
            u'analysistool_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.AnalysisTool']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.region': {
            'Meta': {'object_name': 'Region', '_ormbases': ['main.ConfigEntity']},
            u'configentity_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.ConfigEntity']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.report': {
            'Meta': {'object_name': 'Report', '_ormbases': ['main.Presentation']},
            u'presentation_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.Presentation']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.residentialenergybaseline': {
            'Meta': {'object_name': 'ResidentialEnergyBaseline'},
            'du_attsf_electricity': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'du_attsf_gas': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'du_detsf_ll_electricity': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'du_detsf_ll_gas': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'du_detsf_sl_electricity': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'du_detsf_sl_gas': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'du_mf_electricity': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            'du_mf_gas': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '14', 'decimal_places': '4'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'zone': ('django.db.models.fields.IntegerField', [], {})
        },
        'main.result': {
            'Meta': {'object_name': 'Result', '_ormbases': ['main.PresentationMedium']},
            u'presentationmedium_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.PresentationMedium']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.resultlibrary': {
            'Meta': {'object_name': 'ResultLibrary', '_ormbases': ['main.Presentation']},
            u'presentation_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.Presentation']", 'unique': 'True', 'primary_key': 'True'}),
            'results': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'result_libraries'", 'symmetrical': 'False', 'to': "orm['main.Result']"})
        },
        'main.sacoglanduse': {
            'Meta': {'object_name': 'SacogLandUse'},
            u'builtform_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.BuiltForm']", 'unique': 'True', 'primary_key': 'True'}),
            'land_use_definition': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.SacogLandUseDefinition']"})
        },
        'main.sacoglandusedefinition': {
            'Meta': {'object_name': 'SacogLandUseDefinition'},
            'attached_flag': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'detached_flag': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'land_use': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
            'max_du_ac': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '9', 'decimal_places': '2'}),
            'max_emp_ac': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '9', 'decimal_places': '2'}),
            'min_du_ac': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '9', 'decimal_places': '2'}),
            'pct_ind': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '9', 'decimal_places': '2'}),
            'pct_off_gov': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '9', 'decimal_places': '2'}),
            'pct_off_med': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '9', 'decimal_places': '2'}),
            'pct_off_off': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '9', 'decimal_places': '2'}),
            'pct_off_svc': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '9', 'decimal_places': '2'}),
            'pct_other': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '9', 'decimal_places': '2'}),
            'pct_pub_edu': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '9', 'decimal_places': '2'}),
            'pct_pub_gov': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '9', 'decimal_places': '2'}),
            'pct_pub_med': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '9', 'decimal_places': '2'}),
            'pct_ret_rest': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '9', 'decimal_places': '2'}),
            'pct_ret_ret': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '9', 'decimal_places': '2'}),
            'pct_ret_svc': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '9', 'decimal_places': '2'}),
            'rural_flag': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
        },
        'main.scaglanduse': {
            'Meta': {'object_name': 'ScagLandUse'},
            u'builtform_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.BuiltForm']", 'unique': 'True', 'primary_key': 'True'}),
            'land_use_definition': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.ScagLandUseDefinition']"})
        },
        'main.scaglandusedefinition': {
            'Meta': {'object_name': 'ScagLandUseDefinition'},
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'land_use': ('django.db.models.fields.IntegerField', [], {}),
            'land_use_description': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
            'land_use_type': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'})
        },
        'main.scenario': {
            'Meta': {'object_name': 'Scenario', '_ormbases': ['main.ConfigEntity']},
            u'configentity_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.ConfigEntity']", 'unique': 'True', 'primary_key': 'True'}),
            'year': ('django.db.models.fields.IntegerField', [], {})
        },
        'main.scenarioupdatertool': {
            'Meta': {'object_name': 'ScenarioUpdaterTool', '_ormbases': ['main.AnalysisTool']},
            u'analysistool_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.AnalysisTool']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.sorttype': {
            'Meta': {'object_name': 'SortType'},
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '120'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'order_by': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '100', 'unique': 'True', 'null': 'True'})
        },
        'main.streetattributeset': {
            'Meta': {'object_name': 'StreetAttributeSet'},
            'block_size': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '8', 'decimal_places': '4'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'lane_width': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '8', 'decimal_places': '4'}),
            'number_of_lanes': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '8', 'decimal_places': '4'})
        },
        'main.style': {
            'Meta': {'object_name': 'Style'},
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'identifier': ('django.db.models.fields.TextField', [], {}),
            'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '120'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'style_property': ('django.db.models.fields.TextField', [], {}),
            'target': ('django.db.models.fields.TextField', [], {})
        },
        'main.styleattribute': {
            'Meta': {'object_name': 'StyleAttribute'},
            'attribute': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'opacity': ('django.db.models.fields.FloatField', [], {'default': '1'}),
            'style_type': ('django.db.models.fields.CharField', [], {'max_length': '40', 'null': 'True', 'blank': 'True'}),
            'style_value_contexts': ('picklefield.fields.PickledObjectField', [], {'default': '[]'}),
            'visible': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
        },
        'main.tag': {
            'Meta': {'object_name': 'Tag'},
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'tag': ('django.db.models.fields.CharField', [], {'max_length': '100'})
        },
        'main.taz': {
            'Meta': {'object_name': 'Taz'},
            'geometry': ('django.contrib.gis.db.models.fields.GeometryField', [], {}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'source_id': ('django.db.models.fields.IntegerField', [], {'max_length': '200', 'db_index': 'True'}),
            'source_table_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True'})
        },
        'main.urbanplacetype': {
            'Meta': {'object_name': 'UrbanPlacetype', '_ormbases': ['main.Placetype']},
            'building_attribute_set': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.BuildingAttributeSet']", 'null': 'True'}),
            'intersection_density': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '8', 'decimal_places': '4'}),
            u'placetype_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.Placetype']", 'unique': 'True', 'primary_key': 'True'}),
            'street_attributes': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.StreetAttributeSet']", 'null': 'True'})
        },
        'main.vmtupdatertool': {
            'Meta': {'object_name': 'VmtUpdaterTool', '_ormbases': ['main.AnalysisTool']},
            u'analysistool_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.AnalysisTool']", 'unique': 'True', 'primary_key': 'True'})
        },
        'main.waterupdatertool': {
            'Meta': {'object_name': 'WaterUpdaterTool', '_ormbases': ['main.AnalysisTool']},
            u'analysistool_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['main.AnalysisTool']", 'unique': 'True', 'primary_key': 'True'})
        }
    }

    complete_apps = ['main']
