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

from django.db import migrations, models
import jsonfield.fields
import django.db.models.deletion
import django.utils.timezone
import model_utils.fields
import uuidfield.fields


class Migration(migrations.Migration):

    dependencies = [
        ('openstack', '0005_ipmapping'),
    ]

    operations = [
        migrations.CreateModel(
            name='DRBackupRestoration',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now, verbose_name='created', editable=False)),
                ('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now, verbose_name='modified', editable=False)),
                ('uuid', uuidfield.fields.UUIDField(unique=True, max_length=32, editable=False, blank=True)),
                ('runtime_state', models.CharField(max_length=150, verbose_name='runtime state', blank=True)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='VolumeBackupRecord',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('uuid', uuidfield.fields.UUIDField(unique=True, max_length=32, editable=False, blank=True)),
                ('service', models.CharField(max_length=200)),
                ('details', jsonfield.fields.JSONField(blank=True)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='VolumeBackupRestoration',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now, verbose_name='created', editable=False)),
                ('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now, verbose_name='modified', editable=False)),
                ('uuid', uuidfield.fields.UUIDField(unique=True, max_length=32, editable=False, blank=True)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.AddField(
            model_name='drbackup',
            name='metadata',
            field=jsonfield.fields.JSONField(help_text='Information about instance that will be used on restoration', blank=True),
        ),
        migrations.AddField(
            model_name='volumebackup',
            name='size',
            field=models.PositiveIntegerField(default=0, help_text='Size of source volume in MiB'),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='snapshot',
            name='source_volume',
            field=models.ForeignKey(related_name='shapshots', on_delete=django.db.models.deletion.SET_NULL, to='openstack.Volume', null=True),
        ),
        migrations.AlterField(
            model_name='volumebackup',
            name='metadata',
            field=jsonfield.fields.JSONField(help_text='Information about volume that will be used on restoration', blank=True),
        ),
        migrations.AddField(
            model_name='volumebackuprestoration',
            name='mirorred_volume_backup',
            field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.SET_NULL, to='openstack.VolumeBackup', null=True),
        ),
        migrations.AddField(
            model_name='volumebackuprestoration',
            name='tenant',
            field=models.ForeignKey(related_name='volume_backup_restorations', to='openstack.Tenant'),
        ),
        migrations.AddField(
            model_name='volumebackuprestoration',
            name='volume',<commit_msg>Fix typo in related name<commit_after># -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models
import jsonfield.fields
import django.db.models.deletion
import django.utils.timezone
import model_utils.fields
import uuidfield.fields


class Migration(migrations.Migration):

    dependencies = [
        ('openstack', '0005_ipmapping'),
    ]

    operations = [
        migrations.CreateModel(
            name='DRBackupRestoration',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now, verbose_name='created', editable=False)),
                ('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now, verbose_name='modified', editable=False)),
                ('uuid', uuidfield.fields.UUIDField(unique=True, max_length=32, editable=False, blank=True)),
                ('runtime_state', models.CharField(max_length=150, verbose_name='runtime state', blank=True)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='VolumeBackupRecord',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('uuid', uuidfield.fields.UUIDField(unique=True, max_length=32, editable=False, blank=True)),
                ('service', models.CharField(max_length=200)),
                ('details', jsonfield.fields.JSONField(blank=True)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='VolumeBackupRestoration',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now, verbose_name='created', editable=False)),
                ('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now, verbose_name='modified', editable=False)),
                ('uuid', uuidfield.fields.UUIDField(unique=True, max_length=32, editable=False, blank=True)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.AddField(
            model_name='drbackup',
            name='metadata',
            field=jsonfield.fields.JSONField(help_text='Information about instance that will be used on restoration', blank=True),
        ),
        migrations.AddField(
            model_name='volumebackup',
            name='size',
            field=models.PositiveIntegerField(default=0, help_text='Size of source volume in MiB'),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='snapshot',
            name='source_volume',
            field=models.ForeignKey(related_name='snapshots', on_delete=django.db.models.deletion.SET_NULL, to='openstack.Volume', null=True),
        ),
        migrations.AlterField(
            model_name='volumebackup',
            name='metadata',
            field=jsonfield.fields.JSONField(help_text='Information about volume that will be used on restoration', blank=True),
        ),
        migrations.AddField(
            model_name='volumebackuprestoration',
            name='mirorred_volume_backup',
            field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.SET_NULL, to='openstack.VolumeBackup', null=True),
        ),
        migrations.AddField(
            model_name='volumebackuprestoration',
            name='tenant',
            field=models.ForeignKey(related_name='volume_backup_restorations', to='openstack.Tenant'),
        ),
        migrations.AddField(
            model_name='volumebackuprestoration',
            name='volume',
{'fraction_non_alphanumeric': 0.1219240756770125, 'fraction_numerical': 0.0044515889699517745, 'mean_word_length': 2.5930697467792094, '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': '5563974', 'n_tokens_mistral': 2181, 'n_tokens_neox': 2142, 'n_words': 323}