<commit_before><commit_msg>31 Generate migration file for Review model<commit_after># -*- coding: utf-8 -*-
# Generated by Django 1.10 on 2016-10-17 20:52
from __future__ import unicode_literals

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('timetables', '0014_serving'),
    ]

    operations = [
        migrations.CreateModel(
            name='Review',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('date_created', models.DateTimeField(auto_now_add=True)),
                ('date_modified', models.DateTimeField(auto_now=True)),
                ('value', models.PositiveSmallIntegerField(choices=[(5, 'EXCELLENT'), (4, 'GOOD'), (3, 'FAIR'), (2, 'POOR'), (1, 'TERRIBLE')])),
                ('comment', models.TextField(blank=True)),
                ('serving', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='timetables.Serving')),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.AlterUniqueTogether(
            name='review',
            unique_together=set([('user', 'serving')]),
        ),
    ]
{'fraction_non_alphanumeric': 0.141785957736878, 'fraction_numerical': 0.018404907975460124, 'mean_word_length': 2.978319783197832, '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': '1543898', 'n_tokens_mistral': 461, 'n_tokens_neox': 426, 'n_words': 75}