<commit_before># -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models
import django.contrib.postgres.fields.hstore
from django.contrib.postgres.operations import HStoreExtension


class Migration(migrations.Migration):

    dependencies = []

    operations = [
        HStoreExtension(),
        migrations.CreateModel(
            name='LineItemTaxation',
            fields=[
                ('id', models.AutoField(primary_key=True, auto_created=True, serialize=False, verbose_name='ID')),
                ('country_code', models.CharField(max_length=5)),
                ('state_code', models.CharField(max_length=5)),
                ('total_tax_applied', models.DecimalField(max_digits=12, decimal_places=2)),
                ('line_item', models.OneToOneField(to='order.Line', related_name='taxation')),
            ],
        ),
        migrations.CreateModel(
            name='LineItemTaxationDetail',
            fields=[
                ('id', models.AutoField(primary_key=True, auto_created=True, serialize=False, verbose_name='ID')),
                ('data', django.contrib.postgres.fields.hstore.HStoreField()),
                ('taxation', models.ForeignKey(to='cch.LineItemTaxation', related_name='details')),
            ],
        ),
        migrations.CreateModel(
            name='OrderTaxation',
            fields=[
                ('order', models.OneToOneField(primary_key=True, serialize=False, to='order.Order', related_name='taxation')),
                ('transaction_id', models.IntegerField()),
                ('transaction_status', models.IntegerField()),
                ('total_tax_applied', models.DecimalField(max_digits=12, decimal_places=2)),
                ('messages', models.TextField(null=True)),
            ],
        ),
    ]
<commit_msg>Fix a few more deprecation warnings<commit_after># -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models
import django.contrib.postgres.fields.hstore
from django.contrib.postgres.operations import HStoreExtension


class Migration(migrations.Migration):

    dependencies = []

    operations = [
        HStoreExtension(),
        migrations.CreateModel(
            name='LineItemTaxation',
            fields=[
                ('id', models.AutoField(primary_key=True, auto_created=True, serialize=False, verbose_name='ID')),
                ('country_code', models.CharField(max_length=5)),
                ('state_code', models.CharField(max_length=5)),
                ('total_tax_applied', models.DecimalField(max_digits=12, decimal_places=2)),
                ('line_item', models.OneToOneField(to='order.Line', related_name='taxation', on_delete=models.CASCADE)),
            ],
        ),
        migrations.CreateModel(
            name='LineItemTaxationDetail',
            fields=[
                ('id', models.AutoField(primary_key=True, auto_created=True, serialize=False, verbose_name='ID')),
                ('data', django.contrib.postgres.fields.hstore.HStoreField()),
                ('taxation', models.ForeignKey(to='cch.LineItemTaxation', related_name='details', on_delete=models.CASCADE)),
            ],
        ),
        migrations.CreateModel(
            name='OrderTaxation',
            fields=[
                ('order', models.OneToOneField(primary_key=True, serialize=False, to='order.Order', related_name='taxation', on_delete=models.CASCADE)),
                ('transaction_id', models.IntegerField()),
                ('transaction_status', models.IntegerField()),
                ('total_tax_applied', models.DecimalField(max_digits=12, decimal_places=2)),
                ('messages', models.TextField(null=True)),
            ],
        ),
    ]

{'fraction_non_alphanumeric': 0.1327503974562798, 'fraction_numerical': 0.0047694753577106515, 'mean_word_length': 2.6579457364341086, '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': '7544239', 'n_tokens_mistral': 1050, 'n_tokens_neox': 1011, 'n_words': 150}