onadata.apps.api.migrations package¶
Submodules¶
onadata.apps.api.migrations.0001_initial module¶
- class onadata.apps.api.migrations.0001_initial.Migration(name, app_label)¶
Bases:
Migration
- dependencies = [('logger', '0001_initial'), ('main', '0001_initial'), ('auth', '__first__'), ('auth', '0001_initial')]¶
- operations = [<CreateModel name='OrganizationProfile', fields=[('userprofile_ptr', <django.db.models.fields.related.OneToOneField>), ('is_organization', <django.db.models.fields.BooleanField>), ('creator', <django.db.models.fields.related.ForeignKey>)], options={'permissions': (('can_add_xform', 'Can add/upload an xform to organization'), ('view_organizationprofile', 'Can view organization profile'))}, bases=('main.userprofile',)>, <CreateModel name='Team', fields=[('group_ptr', <django.db.models.fields.related.OneToOneField>), ('date_created', <django.db.models.fields.DateTimeField>), ('date_modified', <django.db.models.fields.DateTimeField>), ('created_by', <django.db.models.fields.related.ForeignKey>), ('organization', <django.db.models.fields.related.ForeignKey>), ('projects', <django.db.models.fields.related.ManyToManyField>)], options={'permissions': (('view_team', 'Can view team.'),)}, bases=('auth.group',)>, <CreateModel name='TempToken', fields=[('key', <django.db.models.fields.CharField>), ('created', <django.db.models.fields.DateTimeField>), ('user', <django.db.models.fields.related.OneToOneField>)], options={}, bases=(<class 'django.db.models.base.Model'>,)>]¶
onadata.apps.api.migrations.0002_auto_20151014_0909 module¶
- class onadata.apps.api.migrations.0002_auto_20151014_0909.Migration(name, app_label)¶
Bases:
Migration
- dependencies = [('auth', '0001_initial'), ('auth', '__first__'), ('api', '0001_initial')]¶
- operations = [<CreateModel name='OrgProfileGroupObjectPermission', 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='OrgProfileUserObjectPermission', 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='orgprofileuserobjectpermission', unique_together={('user', 'permission', 'content_object')}>, <AlterUniqueTogether name='orgprofilegroupobjectpermission', unique_together={('group', 'permission', 'content_object')}>]¶