

def forwards(self, orm):
    db.create_table('odk_logger_xform', (('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('xml', self.gf('django.db.models.fields.TextField')()), ('downloadable', self.gf('django.db.models.fields.BooleanField')(default=False)), ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='xforms', null=True, to=orm['auth.User'])), ('id_string', self.gf('django.db.models.fields.SlugField')(unique=True, max_length=50, db_index=True)), ('title', self.gf('django.db.models.fields.CharField')(max_length=64)), ('date_created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), ('date_modified', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True))))
    db.send_create_signal('odk_logger', ['XForm'])
    db.create_table('odk_logger_surveytype', (('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('slug', self.gf('django.db.models.fields.CharField')(max_length=100))))
    db.send_create_signal('odk_logger', ['SurveyType'])
    db.create_table('odk_logger_instance', (('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('xml', self.gf('django.db.models.fields.TextField')()), ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='surveys', null=True, to=orm['auth.User'])), ('xform', self.gf('django.db.models.fields.related.ForeignKey')(related_name='surveys', null=True, to=orm['odk_logger.XForm'])), ('start_time', self.gf('django.db.models.fields.DateTimeField')(null=True)), ('date', self.gf('django.db.models.fields.DateField')(null=True)), ('survey_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['odk_logger.SurveyType'])), ('date_created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), ('date_modified', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), ('status', self.gf('django.db.models.fields.CharField')(default='submitted_via_web', max_length=20))))
    db.send_create_signal('odk_logger', ['Instance'])
    db.create_table('odk_logger_attachment', (('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('instance', self.gf('django.db.models.fields.related.ForeignKey')(related_name='attachments', to=orm['odk_logger.Instance'])), ('media_file', self.gf('django.db.models.fields.files.FileField')(max_length=100))))
    db.send_create_signal('odk_logger', ['Attachment'])

dataset/ETHPy150Open kobotoolbox/kobocat/onadata/apps/logger/south_migrations/0001_initial.py Migration.forwards/original