onadata.apps.viewer.migrations package

Submodules

onadata.apps.viewer.migrations.0001_initial module

class onadata.apps.viewer.migrations.0001_initial.Migration(name, app_label)

Bases: Migration

dependencies = [('logger', '0001_initial')]
operations = [<CreateModel  name='ColumnRename', fields=[('id', <django.db.models.fields.AutoField>), ('xpath', <django.db.models.fields.CharField>), ('column_name', <django.db.models.fields.CharField>)], options={}, bases=(<class 'django.db.models.base.Model'>,)>, <CreateModel  name='Export', fields=[('id', <django.db.models.fields.AutoField>), ('created_on', <django.db.models.fields.DateTimeField>), ('filename', <django.db.models.fields.CharField>), ('filedir', <django.db.models.fields.CharField>), ('export_type', <django.db.models.fields.CharField>), ('task_id', <django.db.models.fields.CharField>), ('time_of_last_submission', <django.db.models.fields.DateTimeField>), ('internal_status', <django.db.models.fields.SmallIntegerField>), ('export_url', <django.db.models.fields.URLField>), ('xform', <django.db.models.fields.related.ForeignKey>)], options={}, bases=(<class 'django.db.models.base.Model'>,)>, <CreateModel  name='ParsedInstance', fields=[('id', <django.db.models.fields.AutoField>), ('start_time', <django.db.models.fields.DateTimeField>), ('end_time', <django.db.models.fields.DateTimeField>), ('lat', <django.db.models.fields.FloatField>), ('lng', <django.db.models.fields.FloatField>), ('instance', <django.db.models.fields.related.OneToOneField>)], options={}, bases=(<class 'django.db.models.base.Model'>,)>, <AlterUniqueTogether  name='export', unique_together={('xform', 'filename')}>, <CreateModel  name='DataDictionary', fields=[], options={'proxy': True}, bases=('logger.xform',)>]

onadata.apps.viewer.migrations.0002_export_options module

class onadata.apps.viewer.migrations.0002_export_options.Migration(name, app_label)

Bases: Migration

dependencies = [('viewer', '0001_initial')]
operations = [<AddField  model_name='export', name='options', field=<django.db.models.fields.json.JSONField>, preserve_default=True>]

onadata.apps.viewer.migrations.0003_auto_20151226_0100 module

class onadata.apps.viewer.migrations.0003_auto_20151226_0100.Migration(name, app_label)

Bases: Migration

dependencies = [('viewer', '0002_export_options')]
operations = [<AlterField  model_name='export', name='created_on', field=<django.db.models.fields.DateTimeField>>]

onadata.apps.viewer.migrations.0004_auto_20151226_0109 module

class onadata.apps.viewer.migrations.0004_auto_20151226_0109.Migration(name, app_label)

Bases: Migration

dependencies = [('viewer', '0003_auto_20151226_0100')]
operations = [<AlterField  model_name='export', name='internal_status', field=<django.db.models.fields.SmallIntegerField>>]

onadata.apps.viewer.migrations.0005_auto_20160408_0325 module

class onadata.apps.viewer.migrations.0005_auto_20160408_0325.Migration(name, app_label)

Bases: Migration

dependencies = [('viewer', '0004_auto_20151226_0109')]
operations = [<AlterField  model_name='export', name='options', field=<django.contrib.postgres.fields.jsonb.JSONField>>]

onadata.apps.viewer.migrations.0006_auto_20160418_0525 module

class onadata.apps.viewer.migrations.0006_auto_20160418_0525.Migration(name, app_label)

Bases: Migration

dependencies = [('viewer', '0005_auto_20160408_0325')]
operations = [<AlterField  model_name='export', name='export_type', field=<django.db.models.fields.CharField>>]

onadata.apps.viewer.migrations.0007_export_error_message module

class onadata.apps.viewer.migrations.0007_export_error_message.Migration(name, app_label)

Bases: Migration

dependencies = [('viewer', '0006_auto_20160418_0525')]
operations = [<AddField  model_name='export', name='error_message', field=<django.db.models.fields.CharField>>]

Module contents