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


class Migration(SchemaMigration):

    def forwards(self, orm):
        # Adding M2M table for field favourite_countries on 'BlueBottleUser'
        m2m_table_name = db.shorten_name(u'accounts_bluebottleuser_favourite_countries')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('bluebottleuser', models.ForeignKey(orm[u'accounts.bluebottleuser'], null=False)),
            ('country', models.ForeignKey(orm[u'geo.country'], null=False))
        ))
        db.create_unique(m2m_table_name, ['bluebottleuser_id', 'country_id'])

        # Adding M2M table for field favourite_themes on 'BlueBottleUser'
        m2m_table_name = db.shorten_name(u'accounts_bluebottleuser_favourite_themes')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('bluebottleuser', models.ForeignKey(orm[u'accounts.bluebottleuser'], null=False)),
            ('projecttheme', models.ForeignKey(orm[u'projects.projecttheme'], null=False))
        ))
        db.create_unique(m2m_table_name, ['bluebottleuser_id', 'projecttheme_id'])

        # Adding M2M table for field skills on 'BlueBottleUser'
        m2m_table_name = db.shorten_name(u'accounts_bluebottleuser_skills')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('bluebottleuser', models.ForeignKey(orm[u'accounts.bluebottleuser'], null=False)),<commit_msg>Set dependencies for user migrations<commit_after># -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models


class Migration(SchemaMigration):

    depends_on = (
        ('geo', '0001_initial'),
        ('projects', '0001_initial'),
        ('tasks', '0001_initial'),
    )

    def forwards(self, orm):
        # Adding M2M table for field favourite_countries on 'BlueBottleUser'
        m2m_table_name = db.shorten_name(u'accounts_bluebottleuser_favourite_countries')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('bluebottleuser', models.ForeignKey(orm[u'accounts.bluebottleuser'], null=False)),
            ('country', models.ForeignKey(orm[u'geo.country'], null=False))
        ))
        db.create_unique(m2m_table_name, ['bluebottleuser_id', 'country_id'])

        # Adding M2M table for field favourite_themes on 'BlueBottleUser'
        m2m_table_name = db.shorten_name(u'accounts_bluebottleuser_favourite_themes')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('bluebottleuser', models.ForeignKey(orm[u'accounts.bluebottleuser'], null=False)),
            ('projecttheme', models.ForeignKey(orm[u'projects.projecttheme'], null=False))
        ))
        db.create_unique(m2m_table_name, ['bluebottleuser_id', 'projecttheme_id'])

        # Adding M2M table for field skills on 'BlueBottleUser'
        m2m_table_name = db.shorten_name(u'accounts_bluebottleuser_skills')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('bluebottleuser', models.ForeignKey(orm[u'accounts.bluebottleuser'], null=False)),
{'fraction_non_alphanumeric': 0.12489660876757651, 'fraction_numerical': 0.010476978218913703, 'mean_word_length': 4.011049723756906, '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': '2390777', 'n_tokens_mistral': 1207, 'n_tokens_neox': 1176, 'n_words': 186}