onadata.apps.logger.migrations package

Submodules

onadata.apps.logger.migrations.0001_initial module

onadata.apps.logger.migrations.0002_auto_20150717_0048 module

class onadata.apps.logger.migrations.0002_auto_20150717_0048.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0001_initial')]
operations = [<AddField  model_name='attachment', name='date_created', field=<django.db.models.fields.DateTimeField>, preserve_default=True>, <AddField  model_name='attachment', name='date_modified', field=<django.db.models.fields.DateTimeField>, preserve_default=True>, <AddField  model_name='attachment', name='deleted_at', field=<django.db.models.fields.DateTimeField>, preserve_default=True>]

onadata.apps.logger.migrations.0003_dataview_instances_with_geopoints module

class onadata.apps.logger.migrations.0003_dataview_instances_with_geopoints.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0002_auto_20150717_0048')]
operations = [<AddField  model_name='dataview', name='instances_with_geopoints', field=<django.db.models.fields.BooleanField>, preserve_default=True>]

onadata.apps.logger.migrations.0004_auto_20150910_0056 module

class onadata.apps.logger.migrations.0004_auto_20150910_0056.Migration(name, app_label)

Bases: Migration

dependencies = [('auth', '0001_initial'), ('auth', '__first__'), ('logger', '0003_dataview_instances_with_geopoints')]
operations = [<CreateModel  name='ProjectGroupObjectPermission', fields=[('id', <django.db.models.fields.AutoField>), ('content_object', <django.db.models.fields.related.ForeignKey>), ('group', <django.db.models.fields.related.ForeignKey>), ('permission', <django.db.models.fields.related.ForeignKey>)], options={'abstract': False}, bases=(<class 'django.db.models.base.Model'>,)>, <CreateModel  name='ProjectUserObjectPermission', fields=[('id', <django.db.models.fields.AutoField>), ('content_object', <django.db.models.fields.related.ForeignKey>), ('permission', <django.db.models.fields.related.ForeignKey>), ('user', <django.db.models.fields.related.ForeignKey>)], options={'abstract': False}, bases=(<class 'django.db.models.base.Model'>,)>, <AlterUniqueTogether  name='projectuserobjectpermission', unique_together={('user', 'permission', 'content_object')}>, <AlterUniqueTogether  name='projectgroupobjectpermission', unique_together={('group', 'permission', 'content_object')}>]

onadata.apps.logger.migrations.0005_auto_20151015_0758 module

class onadata.apps.logger.migrations.0005_auto_20151015_0758.Migration(name, app_label)

Bases: Migration

dependencies = [('auth', '0001_initial'), ('auth', '__first__'), ('logger', '0004_auto_20150910_0056')]
operations = [<CreateModel  name='XFormGroupObjectPermission', fields=[('id', <django.db.models.fields.AutoField>), ('content_object', <django.db.models.fields.related.ForeignKey>), ('group', <django.db.models.fields.related.ForeignKey>), ('permission', <django.db.models.fields.related.ForeignKey>)], options={'abstract': False}, bases=(<class 'django.db.models.base.Model'>,)>, <CreateModel  name='XFormUserObjectPermission', fields=[('id', <django.db.models.fields.AutoField>), ('content_object', <django.db.models.fields.related.ForeignKey>), ('permission', <django.db.models.fields.related.ForeignKey>), ('user', <django.db.models.fields.related.ForeignKey>)], options={'abstract': False}, bases=(<class 'django.db.models.base.Model'>,)>, <AlterUniqueTogether  name='xformuserobjectpermission', unique_together={('user', 'permission', 'content_object')}>, <AlterUniqueTogether  name='xformgroupobjectpermission', unique_together={('group', 'permission', 'content_object')}>]

onadata.apps.logger.migrations.0006_auto_20151106_0130 module

class onadata.apps.logger.migrations.0006_auto_20151106_0130.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0005_auto_20151015_0758')]
operations = [<CreateModel  name='OsmData', fields=[('id', <django.db.models.fields.AutoField>), ('xml', <django.db.models.fields.TextField>), ('osm_id', <django.db.models.fields.CharField>), ('tags', <django.db.models.fields.json.JSONField>), ('geom', <django.contrib.gis.db.models.fields.GeometryCollectionField>), ('filename', <django.db.models.fields.CharField>), ('date_created', <django.db.models.fields.DateTimeField>), ('date_modified', <django.db.models.fields.DateTimeField>), ('deleted_at', <django.db.models.fields.DateTimeField>), ('instance', <django.db.models.fields.related.ForeignKey>)], options={}, bases=(<class 'django.db.models.base.Model'>,)>, <AlterModelOptions  name='xform', options={'ordering': ('id_string',), 'verbose_name': 'XForm', 'verbose_name_plural': 'XForms', 'permissions': (('view_xform', 'Can view associated data'), ('report_xform', 'Can make submissions to the form'), ('move_xform', 'Can move form between projects'), ('transfer_xform', 'Can transfer form ownership.'), ('can_export_xform_data', 'Can export form data'), ('delete_submission', 'Can delete submissions from form'))}>]

onadata.apps.logger.migrations.0007_osmdata_field_name module

class onadata.apps.logger.migrations.0007_osmdata_field_name.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0006_auto_20151106_0130')]
operations = [<AddField  model_name='osmdata', name='field_name', field=<django.db.models.fields.CharField>, preserve_default=True>]

onadata.apps.logger.migrations.0008_osmdata_osm_type module

class onadata.apps.logger.migrations.0008_osmdata_osm_type.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0007_osmdata_field_name')]
operations = [<AddField  model_name='osmdata', name='osm_type', field=<django.db.models.fields.CharField>, preserve_default=True>]

onadata.apps.logger.migrations.0009_auto_20151111_0438 module

class onadata.apps.logger.migrations.0009_auto_20151111_0438.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0008_osmdata_osm_type')]
operations = [<AlterUniqueTogether  name='osmdata', unique_together={('instance', 'field_name')}>]

onadata.apps.logger.migrations.0010_attachment_file_size module

class onadata.apps.logger.migrations.0010_attachment_file_size.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0009_auto_20151111_0438')]
operations = [<AddField  model_name='attachment', name='file_size', field=<django.db.models.fields.PositiveIntegerField>, preserve_default=True>]

onadata.apps.logger.migrations.0011_dataview_matches_parent module

class onadata.apps.logger.migrations.0011_dataview_matches_parent.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0010_attachment_file_size')]
operations = [<AddField  model_name='dataview', name='matches_parent', field=<django.db.models.fields.BooleanField>, preserve_default=True>]

onadata.apps.logger.migrations.0012_auto_20160114_0708 module

class onadata.apps.logger.migrations.0012_auto_20160114_0708.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0011_dataview_matches_parent')]
operations = [<AlterField  model_name='attachment', name='mimetype', field=<django.db.models.fields.CharField>, preserve_default=True>]

onadata.apps.logger.migrations.0013_note_created_by module

class onadata.apps.logger.migrations.0013_note_created_by.Migration(name, app_label)

Bases: Migration

dependencies = [('auth', '__first__'), ('logger', '0012_auto_20160114_0708')]
operations = [<AddField  model_name='note', name='created_by', field=<django.db.models.fields.related.ForeignKey>, preserve_default=True>]

onadata.apps.logger.migrations.0014_note_instance_field module

class onadata.apps.logger.migrations.0014_note_instance_field.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0013_note_created_by')]
operations = [<AddField  model_name='note', name='instance_field', field=<django.db.models.fields.TextField>, preserve_default=True>]

onadata.apps.logger.migrations.0015_auto_20160222_0559 module

class onadata.apps.logger.migrations.0015_auto_20160222_0559.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0014_note_instance_field')]
operations = [<AlterModelOptions  name='widget', options={'ordering': ('order',)}>, <AddField  model_name='widget', name='order', field=<django.db.models.fields.PositiveIntegerField>, preserve_default=False>]

onadata.apps.logger.migrations.0016_widget_aggregation module

class onadata.apps.logger.migrations.0016_widget_aggregation.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0015_auto_20160222_0559')]
operations = [<AddField  model_name='widget', name='aggregation', field=<django.db.models.fields.CharField>, preserve_default=True>]

onadata.apps.logger.migrations.0017_auto_20160224_0130 module

class onadata.apps.logger.migrations.0017_auto_20160224_0130.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0016_widget_aggregation')]
operations = [<AlterField  model_name='instance', name='uuid', field=<django.db.models.fields.CharField>, preserve_default=True>, <AlterField  model_name='instance', name='xform', field=<django.db.models.fields.related.ForeignKey>, preserve_default=False>, <AlterUniqueTogether  name='instance', unique_together={('xform', 'uuid')}>]

onadata.apps.logger.migrations.0018_auto_20160301_0330 module

class onadata.apps.logger.migrations.0018_auto_20160301_0330.Migration(name, app_label)

Bases: Migration

dependencies = [('auth', '__first__'), ('logger', '0017_auto_20160224_0130')]
operations = [<AddField  model_name='instancehistory', name='geom', field=<django.contrib.gis.db.models.fields.GeometryCollectionField>, preserve_default=True>, <AddField  model_name='instancehistory', name='user', field=<django.db.models.fields.related.ForeignKey>, preserve_default=True>]

onadata.apps.logger.migrations.0019_auto_20160307_0256 module

class onadata.apps.logger.migrations.0019_auto_20160307_0256.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0018_auto_20160301_0330')]
operations = [<AddField  model_name='widget', name='metadata', field=<django.db.models.fields.json.JSONField>, preserve_default=True>, <AlterField  model_name='instance', name='uuid', field=<django.db.models.fields.CharField>, preserve_default=True>, <AlterField  model_name='instance', name='xform', field=<django.db.models.fields.related.ForeignKey>, preserve_default=True>]

onadata.apps.logger.migrations.0020_auto_20160408_0325 module

class onadata.apps.logger.migrations.0020_auto_20160408_0325.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0019_auto_20160307_0256')]
operations = [<AlterField  model_name='dataview', name='columns', field=<django.contrib.postgres.fields.jsonb.JSONField>>, <AlterField  model_name='dataview', name='query', field=<django.contrib.postgres.fields.jsonb.JSONField>>, <AlterField  model_name='instance', name='json', field=<django.contrib.postgres.fields.jsonb.JSONField>>, <AlterField  model_name='osmdata', name='tags', field=<django.contrib.postgres.fields.jsonb.JSONField>>, <AlterField  model_name='project', name='metadata', field=<django.contrib.postgres.fields.jsonb.JSONField>>, <AlterField  model_name='widget', name='metadata', field=<django.contrib.postgres.fields.jsonb.JSONField>>]

onadata.apps.logger.migrations.0021_auto_20160408_0919 module

class onadata.apps.logger.migrations.0021_auto_20160408_0919.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0020_auto_20160408_0325')]
operations = [<AlterField  model_name='project', name='metadata', field=<django.contrib.postgres.fields.jsonb.JSONField>>]

onadata.apps.logger.migrations.0022_auto_20160418_0518 module

class onadata.apps.logger.migrations.0022_auto_20160418_0518.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0021_auto_20160408_0919')]
operations = [<AddField  model_name='instance', name='last_edited', field=<django.db.models.fields.DateTimeField>>, <AddField  model_name='instancehistory', name='submission_date', field=<django.db.models.fields.DateTimeField>>]

onadata.apps.logger.migrations.0023_auto_20160419_0403 module

class onadata.apps.logger.migrations.0023_auto_20160419_0403.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0022_auto_20160418_0518')]
operations = [<AlterField  model_name='widget', name='column', field=<django.db.models.fields.CharField>>, <AlterField  model_name='widget', name='group_by', field=<django.db.models.fields.CharField>>]

onadata.apps.logger.migrations.0024_xform_has_hxl_support module

class onadata.apps.logger.migrations.0024_xform_has_hxl_support.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0023_auto_20160419_0403')]
operations = [<AddField  model_name='xform', name='has_hxl_support', field=<django.db.models.fields.BooleanField>>]

onadata.apps.logger.migrations.0025_xform_last_updated_at module

class onadata.apps.logger.migrations.0025_xform_last_updated_at.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0024_xform_has_hxl_support')]
operations = [<AddField  model_name='xform', name='last_updated_at', field=<django.db.models.fields.DateTimeField>, preserve_default=False>]

onadata.apps.logger.migrations.0026_auto_20160913_0239 module

class onadata.apps.logger.migrations.0026_auto_20160913_0239.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0025_xform_last_updated_at')]
operations = [<AlterField  model_name='osmdata', name='osm_id', field=<django.db.models.fields.CharField>>]

onadata.apps.logger.migrations.0027_auto_20161201_0730 module

class onadata.apps.logger.migrations.0027_auto_20161201_0730.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0026_auto_20160913_0239')]
operations = [<AlterField  model_name='widget', name='title', field=<django.db.models.fields.CharField>>]

Module contents