<commit_before><commit_msg>Added unique index to database name<commit_after># -*- coding: utf-8 -*-
# Generated by Django 1.10.3 on 2016-12-13 02:29
from __future__ import unicode_literals

from django.db import migrations

forward_sql = '''
CREATE UNIQUE INDEX unique_database_name on mainsite_database (database_name);
'''

backward_sql = '''
DROP UNIQUE INDEX unique_database_name;
'''

class Migration(migrations.Migration):

    dependencies = [
        ('mainsite', '0003_auto_20161211_0108'),
    ]

    operations = [
        migrations.RunSQL(forward_sql, backward_sql)
    ]
{'fraction_non_alphanumeric': 0.10616438356164383, 'fraction_numerical': 0.05650684931506849, 'mean_word_length': 4.36697247706422, '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': '1211426', 'n_tokens_mistral': 209, 'n_tokens_neox': 185, 'n_words': 44}