<commit_before># -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models


class Migration(SchemaMigration):

    def forwards(self, orm):
        # Adding field 'CourseProfessor.picture'
        db.add_column(u'core_courseprofessor', 'picture',
                      self.gf('django.db.models.fields.files.ImageField')(max_length=100, null=True, blank=True),
                      keep_default=False)

        # Adding field 'CourseProfessor.name'
        db.add_column(u'core_courseprofessor', 'name',
                      self.gf('django.db.models.fields.TextField')(max_length=30, null=True, blank=True),
                      keep_default=False)


        # Changing field 'CourseProfessor.user'
        db.alter_column(u'core_courseprofessor', 'user_id', self.gf('django.db.models.fields.related.ForeignKey')(null=True, to=orm['accounts.TimtecUser']))

    def backwards(self, orm):
        # Deleting field 'CourseProfessor.picture'
        db.delete_column(u'core_courseprofessor', 'picture')

        # Deleting field 'CourseProfessor.name'
        db.delete_column(u'core_courseprofessor', 'name')


        # Changing field 'CourseProfessor.user'
        db.alter_column(u'core_courseprofessor', 'user_id', self.gf('django.db.models.fields.related.ForeignKey')(default=1, to=orm['accounts.TimtecUser']))
<commit_msg>make migration work on infuser<commit_after># -*- coding: utf-8 -*-
from south.db import db
from south.v2 import SchemaMigration
from django.contrib.auth import get_user_model


class Migration(SchemaMigration):

    def forwards(self, orm):
        # Adding field 'CourseProfessor.picture'
        db.add_column(u'core_courseprofessor', 'picture',
                      self.gf('django.db.models.fields.files.ImageField')(max_length=100, null=True, blank=True),
                      keep_default=False)

        # Adding field 'CourseProfessor.name'
        db.add_column(u'core_courseprofessor', 'name',
                      self.gf('django.db.models.fields.TextField')(max_length=30, null=True, blank=True),
                      keep_default=False)

        # Changing field 'CourseProfessor.user'
        db.alter_column(u'core_courseprofessor', 'user_id', self.gf('django.db.models.fields.related.ForeignKey')(null=True, to=get_user_model()))

    def backwards(self, orm):
        # Deleting field 'CourseProfessor.picture'
        db.delete_column(u'core_courseprofessor', 'picture')

        # Deleting field 'CourseProfessor.name'
        db.delete_column(u'core_courseprofessor', 'name')

        # Changing field 'CourseProfessor.user'
        db.alter_column(u'core_courseprofessor', 'user_id', self.gf('django.db.models.fields.related.ForeignKey')(default=1, to=get_user_model()))

{'fraction_non_alphanumeric': 0.125, 'fraction_numerical': 0.005649717514124294, 'mean_word_length': 3.3651771956856704, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1224707', 'n_tokens_mistral': 935, 'n_tokens_neox': 826, 'n_words': 140}