<commit_before><commit_msg>Add migration for manifest manger plugin, #6979<commit_after># -*- coding: utf-8 -*-
from django.db import migrations, models
import django.db.models.deletion
import uuid


class Migration(migrations.Migration):

    dependencies = [
        ('models', '6843_manifest_file_model'),
    ]

    sql = """
        insert into plugins (
            pluginid,
            name,
            icon,
            component,
            componentname,
            config,
            slug,
            sortorder)
        values (
            '6f707d86-d49c-4ece-9883-8cbb2ecda1b5',
            'Manifest Manager',
            'fa fa-image',
            'views/components/plugins/manifest-manager',
            'manifest-manager',
            '{"show": false}',
            'manifest-manager',
            1);
        """
    reverse_sql = """
        delete from plugins where pluginid = '6f707d86-d49c-4ece-9883-8cbb2ecda1b5';
        """

    operations = [
        migrations.RunSQL(
            sql,
            reverse_sql,
        )
    ]
{'fraction_non_alphanumeric': 0.10943396226415095, 'fraction_numerical': 0.04150943396226415, 'mean_word_length': 1.5815085158150852, 'pattern_counts': {'":': 1, '<': 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': '4224694', 'n_tokens_mistral': 327, 'n_tokens_neox': 308, 'n_words': 58}