# pt_map.migrations package — Transport Accessibility 0.1 Beta 1 documentation

# pt_map.migrations package

## Submodules

## pt_map.migrations.0001_initial module

class pt_map.migrations.0001_initial.Migration(name, app_label)

  Bases: `Migration`

  dependencies = []
  initial = True
  operations = [<CreateModel name='Agency', fields=[('agency_id', <django.db.models.fields.IntegerField>), ('agency_name', <django.db.models.fields.CharField>), ('agency_url', <django.db.models.fields.URLField>), ('agency_phone', <django.db.models.fields.CharField>), ('agency_email', <django.db.models.fields.EmailField>), ('agency_fare_url', <django.db.models.fields.URLField>)]>, <CreateModel name='Calendar', fields=[('service_id', <django.db.models.fields.CharField>), ('monday', <django.db.models.fields.BooleanField>), ('tuesday', <django.db.models.fields.BooleanField>), ('wednesday', <django.db.models.fields.BooleanField>), ('thursday', <django.db.models.fields.BooleanField>), ('friday', <django.db.models.fields.BooleanField>), ('saturday', <django.db.models.fields.BooleanField>), ('sunday', <django.db.models.fields.BooleanField>), ('start_date', <django.db.models.fields.DateField>), ('end_date', <django.db.models.fields.DateField>)]>, <CreateModel name='FeedInfo', fields=[('feed_publisher_name', <django.db.models.fields.CharField>), ('feed_publisher_url', <django.db.models.fields.URLField>), ('feed_lang', <django.db.models.fields.CharField>), ('feed_start_date', <django.db.models.fields.DateField>), ('feed_end_date', <django.db.models.fields.DateField>), ('feed_version', <django.db.models.fields.CharField>), ('feed_id', <django.db.models.fields.CharField>)]>, <CreateModel name='Shape', fields=[('id', <django.db.models.fields.BigAutoField>), ('shape_id', <django.db.models.fields.CharField>), ('shape_pt_lat', <django.db.models.fields.FloatField>), ('shape_pt_lon', <django.db.models.fields.FloatField>), ('shape_pt_sequence', <django.db.models.fields.IntegerField>), ('shape_dist_traveled', <django.db.models.fields.FloatField>)]>, <CreateModel name='CalendarDate', fields=[('id', <django.db.models.fields.BigAutoField>), ('date', <django.db.models.fields.DateField>), ('exception_type', <django.db.models.fields.IntegerField>), ('service_id', <django.db.models.fields.related.ForeignKey>)]>, <CreateModel name='FareAttribute', fields=[('fare_id', <django.db.models.fields.CharField>), ('price', <django.db.models.fields.FloatField>), ('currency_type', <django.db.models.fields.CharField>), ('payment_method', <django.db.models.fields.IntegerField>), ('transfers', <django.db.models.fields.IntegerField>), ('transfer_duration', <django.db.models.fields.IntegerField>), ('agency', <django.db.models.fields.related.ForeignKey>)]>, <CreateModel name='Route', fields=[('route_id', <django.db.models.fields.CharField>), ('route_short_name', <django.db.models.fields.CharField>), ('route_long_name', <django.db.models.fields.CharField>), ('route_desc', <django.db.models.fields.TextField>), ('route_type', <django.db.models.fields.IntegerField>), ('route_url', <django.db.models.fields.URLField>), ('route_color', <django.db.models.fields.CharField>), ('route_text_color', <django.db.models.fields.CharField>), ('agency', <django.db.models.fields.related.ForeignKey>)]>, <CreateModel name='FareRule', fields=[('id', <django.db.models.fields.BigAutoField>), ('origin_id', <django.db.models.fields.CharField>), ('destination_id', <django.db.models.fields.CharField>), ('contains_id', <django.db.models.fields.CharField>), ('fare', <django.db.models.fields.related.ForeignKey>), ('route', <django.db.models.fields.related.ForeignKey>)]>, <CreateModel name='Stop', fields=[('stop_id', <django.db.models.fields.IntegerField>), ('stop_code', <django.db.models.fields.CharField>), ('stop_name', <django.db.models.fields.CharField>), ('tts_stop_name', <django.db.models.fields.CharField>), ('stop_desc', <django.db.models.fields.CharField>), ('stop_lat', <django.db.models.fields.IntegerField>), ('stop_lon', <django.db.models.fields.IntegerField>), ('zone_id', <django.db.models.fields.IntegerField>), ('stop_url', <django.db.models.fields.URLField>), ('location_type', <django.db.models.fields.IntegerField>), ('stop_timezone', <django.db.models.fields.CharField>), ('wheelchair_boarding', <django.db.models.fields.IntegerField>), ('level_id', <django.db.models.fields.CharField>), ('platform_code', <django.db.models.fields.CharField>), ('parent_station', <django.db.models.fields.related.ForeignKey>)]>, <CreateModel name='Transfer', fields=[('id', <django.db.models.fields.BigAutoField>), ('transfer_type', <django.db.models.fields.IntegerField>), ('min_transfer_time', <django.db.models.fields.IntegerField>), ('from_stop', <django.db.models.fields.related.ForeignKey>), ('to_stop', <django.db.models.fields.related.ForeignKey>)]>, <CreateModel name='Trip', fields=[('trip_id', <django.db.models.fields.CharField>), ('service_id', <django.db.models.fields.CharField>), ('trip_headsign', <django.db.models.fields.CharField>), ('trip_short_name', <django.db.models.fields.CharField>), ('direction_id', <django.db.models.fields.IntegerField>), ('block_id', <django.db.models.fields.CharField>), ('shape_id', <django.db.models.fields.CharField>), ('wheelchair_accessible', <django.db.models.fields.IntegerField>), ('bikes_allowed', <django.db.models.fields.IntegerField>), ('route', <django.db.models.fields.related.ForeignKey>)]>, <CreateModel name='StopTime', fields=[('id', <django.db.models.fields.BigAutoField>), ('arrival_time', <django.db.models.fields.TimeField>), ('departure_time', <django.db.models.fields.TimeField>), ('stop_sequence', <django.db.models.fields.IntegerField>), ('stop_headsign', <django.db.models.fields.CharField>), ('pickup_type', <django.db.models.fields.IntegerField>), ('drop_off_type', <django.db.models.fields.IntegerField>), ('shape_dist_traveled', <django.db.models.fields.FloatField>), ('timepoint', <django.db.models.fields.IntegerField>), ('stop', <django.db.models.fields.related.ForeignKey>), ('trip', <django.db.models.fields.related.ForeignKey>)]>, <CreateModel name='Frequency', fields=[('id', <django.db.models.fields.BigAutoField>), ('start_time', <django.db.models.fields.TimeField>), ('end_time', <django.db.models.fields.TimeField>), ('headway_secs', <django.db.models.fields.IntegerField>), ('exact_times', <django.db.models.fields.IntegerField>), ('trip', <django.db.models.fields.related.ForeignKey>)]>]

## pt_map.migrations.0002_alter_calendardate_unique_together_and_more module

class pt_map.migrations.0002_alter_calendardate_unique_together_and_more.Migration(name, app_label)

  Bases: `Migration`

  dependencies = [('pt_map', '0001_initial')]
  operations = [<AlterUniqueTogether name='calendardate', unique_together={('service_id', 'date')}>, <AlterUniqueTogether name='shape', unique_together={('shape_id', 'shape_pt_sequence')}>, <AlterUniqueTogether name='stoptime', unique_together={('trip', 'stop_sequence')}>, <AlterUniqueTogether name='transfer', unique_together={('from_stop', 'to_stop')}>]

## pt_map.migrations.0003_alter_calendar_service_id_and_more module

class pt_map.migrations.0003_alter_calendar_service_id_and_more.Migration(name, app_label)

  Bases: `Migration`

  dependencies = [('pt_map', '0002_alter_calendardate_unique_together_and_more')]
  operations = [<AlterField model_name='calendar', name='service_id', field=<django.db.models.fields.IntegerField>>, <AlterField model_name='fareattribute', name='fare_id', field=<django.db.models.fields.IntegerField>>, <AlterField model_name='feedinfo', name='feed_id', field=<django.db.models.fields.IntegerField>>, <AlterField model_name='route', name='route_id', field=<django.db.models.fields.IntegerField>>, <AlterField model_name='trip', name='trip_id', field=<django.db.models.fields.IntegerField>>]

## pt_map.migrations.0004_alter_agency_agency_id_alter_calendar_service_id_and_more module

class pt_map.migrations.0004_alter_agency_agency_id_alter_calendar_service_id_and_more.Migration(name, app_label)

  Bases: `Migration`

  dependencies = [('pt_map', '0003_alter_calendar_service_id_and_more')]
  operations = [<AlterField model_name='agency', name='agency_id', field=<django.db.models.fields.BigAutoField>>, <AlterField model_name='calendar', name='service_id', field=<django.db.models.fields.BigAutoField>>, <AlterField model_name='fareattribute', name='fare_id', field=<django.db.models.fields.BigAutoField>>, <AlterField model_name='feedinfo', name='feed_id', field=<django.db.models.fields.BigAutoField>>, <AlterField model_name='route', name='route_id', field=<django.db.models.fields.BigAutoField>>, <AlterField model_name='stop', name='stop_id', field=<django.db.models.fields.BigAutoField>>, <AlterField model_name='trip', name='trip_id', field=<django.db.models.fields.BigAutoField>>]

## pt_map.migrations.0005_level_remove_stop_tts_stop_name_agency_agency_lang_and_more module

class pt_map.migrations.0005_level_remove_stop_tts_stop_name_agency_agency_lang_and_more.Migration(name, app_label)

  Bases: `Migration`

  dependencies = [('pt_map', '0004_alter_agency_agency_id_alter_calendar_service_id_and_more')]
  operations = [<CreateModel name='Level', fields=[('level_id', <django.db.models.fields.CharField>), ('level_index', <django.db.models.fields.FloatField>), ('level_name', <django.db.models.fields.CharField>)]>, <RemoveField model_name='stop', name='tts_stop_name'>, <AddField model_name='agency', name='agency_lang', field=<django.db.models.fields.CharField>>, <AddField model_name='agency', name='agency_timezone', field=<django.db.models.fields.CharField>, preserve_default=False>, <AddField model_name='feedinfo', name='default_lang', field=<django.db.models.fields.CharField>>, <AddField model_name='feedinfo', name='feed_contact_email', field=<django.db.models.fields.EmailField>>, <AddField model_name='feedinfo', name='feed_contact_url', field=<django.db.models.fields.URLField>>, <AddField model_name='route', name='continuous_drop_off', field=<django.db.models.fields.IntegerField>>, <AddField model_name='route', name='continuous_pickup', field=<django.db.models.fields.IntegerField>>, <AddField model_name='route', name='route_sort_order', field=<django.db.models.fields.IntegerField>>, <AlterField model_name='agency', name='agency_email', field=<django.db.models.fields.EmailField>>, <AlterField model_name='agency', name='agency_fare_url', field=<django.db.models.fields.URLField>>, <AlterField model_name='agency', name='agency_id', field=<django.db.models.fields.CharField>>, <AlterField model_name='agency', name='agency_name', field=<django.db.models.fields.CharField>>, <AlterField model_name='agency', name='agency_phone', field=<django.db.models.fields.CharField>>, <AlterField model_name='calendar', name='service_id', field=<django.db.models.fields.CharField>>, <AlterField model_name='calendardate', name='service_id', field=<django.db.models.fields.CharField>>, <AlterField model_name='fareattribute', name='currency_type', field=<django.db.models.fields.CharField>>, <AlterField model_name='fareattribute', name='fare_id', field=<django.db.models.fields.CharField>>, <AlterField model_name='route', name='agency', field=<django.db.models.fields.related.ForeignKey>>, <AlterField model_name='route', name='route_id', field=<django.db.models.fields.CharField>>, <AlterField model_name='route', name='route_long_name', field=<django.db.models.fields.CharField>>, <AlterField model_name='route', name='route_short_name', field=<django.db.models.fields.CharField>>, <AlterField model_name='stop', name='platform_code', field=<django.db.models.fields.CharField>>, <AlterField model_name='stop', name='stop_code', field=<django.db.models.fields.CharField>>, <AlterField model_name='stop', name='stop_desc', field=<django.db.models.fields.TextField>>, <AlterField model_name='stop', name='stop_id', field=<django.db.models.fields.CharField>>, <AlterField model_name='stop', name='stop_lat', field=<django.db.models.fields.FloatField>>, <AlterField model_name='stop', name='stop_lon', field=<django.db.models.fields.FloatField>>, <AlterField model_name='stop', name='stop_name', field=<django.db.models.fields.CharField>>, <AlterField model_name='stop', name='zone_id', field=<django.db.models.fields.CharField>>, <AlterField model_name='stoptime', name='arrival_time', field=<django.db.models.fields.TimeField>>, <AlterField model_name='stoptime', name='departure_time', field=<django.db.models.fields.TimeField>>, <AlterField model_name='trip', name='trip_id', field=<django.db.models.fields.CharField>>, <CreateModel name='Pathway', fields=[('pathway_id', <django.db.models.fields.CharField>), ('pathway_mode', <django.db.models.fields.IntegerField>), ('is_bidirectional', <django.db.models.fields.IntegerField>), ('length', <django.db.models.fields.FloatField>), ('traversal_time', <django.db.models.fields.IntegerField>), ('stair_count', <django.db.models.fields.IntegerField>), ('max_slope', <django.db.models.fields.FloatField>), ('min_width', <django.db.models.fields.FloatField>), ('signposted_as', <django.db.models.fields.CharField>), ('reversed_signposted_as', <django.db.models.fields.CharField>), ('from_stop', <django.db.models.fields.related.ForeignKey>), ('to_stop', <django.db.models.fields.related.ForeignKey>)]>]

## pt_map.migrations.0006_alter_route_route_type module

class pt_map.migrations.0006_alter_route_route_type.Migration(name, app_label)

  Bases: `Migration`

  dependencies = [('pt_map', '0005_level_remove_stop_tts_stop_name_agency_agency_lang_and_more')]
  operations = [<AlterField model_name='route', name='route_type', field=<django.db.models.fields.IntegerField>>]

## pt_map.migrations.0007_location_translation_attribution_bookingrule module

class pt_map.migrations.0007_location_translation_attribution_bookingrule.Migration(name, app_label)

  Bases: `Migration`

  dependencies = [('pt_map', '0006_alter_route_route_type')]
  operations = [<CreateModel name='Location', fields=[('location_id', <django.db.models.fields.CharField>), ('location_name', <django.db.models.fields.CharField>), ('location_lat', <django.db.models.fields.FloatField>), ('location_lon', <django.db.models.fields.FloatField>), ('location_type', <django.db.models.fields.CharField>), ('parent_location_id', <django.db.models.fields.CharField>), ('wheelchair_boarding', <django.db.models.fields.BooleanField>)]>, <CreateModel name='Translation', fields=[('id', <django.db.models.fields.BigAutoField>), ('table_name', <django.db.models.fields.CharField>), ('field_name', <django.db.models.fields.CharField>), ('language', <django.db.models.fields.CharField>), ('translation', <django.db.models.fields.TextField>)]>, <CreateModel name='Attribution', fields=[('attribution_id', <django.db.models.fields.CharField>), ('attribution_name', <django.db.models.fields.CharField>), ('attribution_url', <django.db.models.fields.URLField>), ('attribution_email', <django.db.models.fields.EmailField>), ('attribution_phone', <django.db.models.fields.CharField>), ('agency', <django.db.models.fields.related.ForeignKey>)]>, <CreateModel name='BookingRule', fields=[('booking_rule_id', <django.db.models.fields.CharField>), ('start_time', <django.db.models.fields.TimeField>), ('end_time', <django.db.models.fields.TimeField>), ('booking_type', <django.db.models.fields.CharField>), ('rule_criteria', <django.db.models.fields.TextField>), ('booking_rule_instructions', <django.db.models.fields.TextField>), ('trip', <django.db.models.fields.related.ForeignKey>)]>]

## pt_map.migrations.0008_area_farelegrule_faremedia_fareproduct_and_more module

class pt_map.migrations.0008_area_farelegrule_faremedia_fareproduct_and_more.Migration(name, app_label)

  Bases: `Migration`

  dependencies = [('pt_map', '0007_location_translation_attribution_bookingrule')]
  operations = [<CreateModel name='Area', fields=[('area_id', <django.db.models.fields.CharField>), ('area_name', <django.db.models.fields.CharField>), ('area_description', <django.db.models.fields.TextField>)]>, <CreateModel name='FareLegRule', fields=[('fare_leg_rule_id', <django.db.models.fields.CharField>), ('fare_leg_rule_name', <django.db.models.fields.CharField>), ('fare_leg_rule_description', <django.db.models.fields.TextField>)]>, <CreateModel name='FareMedia', fields=[('fare_media_id', <django.db.models.fields.CharField>), ('fare_media_name', <django.db.models.fields.CharField>), ('fare_media_description', <django.db.models.fields.TextField>)]>, <CreateModel name='FareProduct', fields=[('fare_product_id', <django.db.models.fields.CharField>), ('fare_product_name', <django.db.models.fields.CharField>), ('fare_product_description', <django.db.models.fields.TextField>)]>, <CreateModel name='FareTransferRule', fields=[('fare_transfer_rule_id', <django.db.models.fields.CharField>), ('fare_transfer_rule_name', <django.db.models.fields.CharField>), ('fare_transfer_rule_description', <django.db.models.fields.TextField>)]>, <CreateModel name='LocationGroup', fields=[('location_group_id', <django.db.models.fields.CharField>), ('location_group_name', <django.db.models.fields.CharField>), ('location_group_type', <django.db.models.fields.CharField>)]>, <CreateModel name='Network', fields=[('network_id', <django.db.models.fields.CharField>), ('network_name', <django.db.models.fields.CharField>)]>, <CreateModel name='RouteNetwork', fields=[('route_network_id', <django.db.models.fields.CharField>), ('route_network_name', <django.db.models.fields.CharField>)]>, <CreateModel name='StopArea', fields=[('stop_area_id', <django.db.models.fields.CharField>), ('stop_area_name', <django.db.models.fields.CharField>), ('stop_area_description', <django.db.models.fields.TextField>)]>, <CreateModel name='TimeFrame', fields=[('time_frame_id', <django.db.models.fields.CharField>), ('start_date', <django.db.models.fields.DateField>), ('end_date', <django.db.models.fields.DateField>), ('start_time', <django.db.models.fields.TimeField>), ('end_time', <django.db.models.fields.TimeField>)]>, <CreateModel name='LocationGroupStop', fields=[('id', <django.db.models.fields.BigAutoField>), ('location_group', <django.db.models.fields.related.ForeignKey>), ('stop', <django.db.models.fields.related.ForeignKey>)]>]

## pt_map.migrations.0009_rename_faremedia_faremedium module

class pt_map.migrations.0009_rename_faremedia_faremedium.Migration(name, app_label)

  Bases: `Migration`

  dependencies = [('pt_map', '0008_area_farelegrule_faremedia_fareproduct_and_more')]
  operations = [<RenameModel old_name='FareMedia', new_name='FareMedium'>]

## pt_map.migrations.0010_rename_location_locationgeojson module

class pt_map.migrations.0010_rename_location_locationgeojson.Migration(name, app_label)

  Bases: `Migration`

  dependencies = [('pt_map', '0009_rename_faremedia_faremedium')]
  operations = [<RenameModel old_name='Location', new_name='LocationGeojson'>]

## pt_map.migrations.0011_rename_locationgeojson_locationsgeojson module

class pt_map.migrations.0011_rename_locationgeojson_locationsgeojson.Migration(name, app_label)

  Bases: `Migration`

  dependencies = [('pt_map', '0010_rename_location_locationgeojson')]
  operations = [<RenameModel old_name='LocationGeojson', new_name='LocationsGeojson'>]

## Module contents