<commit_before># encoding: 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 model 'Invoice'
        db.create_table(u'accounting_invoice', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('subscription', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['accounting.Subscription'])),
            ('tax_rate', self.gf('django.db.models.fields.DecimalField')(default='0.0000', max_digits=10, decimal_places=4)),
            ('balance', self.gf('django.db.models.fields.DecimalField')(default='0.0000', max_digits=10, decimal_places=4)),
            ('date_due', self.gf('django.db.models.fields.DateField')(db_index=True)),
            ('date_paid', self.gf('django.db.models.fields.DateField')(null=True, blank=True)),
            ('date_created', self.gf('django.db.models.fields.DateField')(auto_now_add=True, blank=True)),
            ('date_received', self.gf('django.db.models.fields.DateField')(db_index=True, null=True, blank=True)),
            ('date_start', self.gf('django.db.models.fields.DateField')()),
            ('date_end', self.gf('django.db.models.fields.DateField')()),
        ))
        db.send_create_signal(u'accounting', ['Invoice'])

        # Adding model 'FeatureRate'
        db.create_table(u'accounting_featurerate', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),<commit_msg>add dependency on prbac role to accounting migration pt 2<commit_after># encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models

class Migration(SchemaMigration):

    depends_on = (
        ("django_prbac", "0001_initial"),
    )

    def forwards(self, orm):
        
        # Adding model 'Invoice'
        db.create_table(u'accounting_invoice', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('subscription', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['accounting.Subscription'])),
            ('tax_rate', self.gf('django.db.models.fields.DecimalField')(default='0.0000', max_digits=10, decimal_places=4)),
            ('balance', self.gf('django.db.models.fields.DecimalField')(default='0.0000', max_digits=10, decimal_places=4)),
            ('date_due', self.gf('django.db.models.fields.DateField')(db_index=True)),
            ('date_paid', self.gf('django.db.models.fields.DateField')(null=True, blank=True)),
            ('date_created', self.gf('django.db.models.fields.DateField')(auto_now_add=True, blank=True)),
            ('date_received', self.gf('django.db.models.fields.DateField')(db_index=True, null=True, blank=True)),
            ('date_start', self.gf('django.db.models.fields.DateField')()),
            ('date_end', self.gf('django.db.models.fields.DateField')()),
        ))
        db.send_create_signal(u'accounting', ['Invoice'])

        # Adding model 'FeatureRate'
        db.create_table(u'accounting_featurerate', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
{'fraction_non_alphanumeric': 0.17027194066749074, 'fraction_numerical': 0.012669962917181705, 'mean_word_length': 3.69811320754717, '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': '1470395', 'n_tokens_mistral': 1071, 'n_tokens_neox': 1014, 'n_words': 135}