<commit_before>namespace Infrastructure.DataAccess.Migrations
{
    using System;
    using System.Data.Entity.Migrations;

    public partial class DefaultOrgUnit : DbMigration
    {
        public override void Up()
        {
            DropForeignKey("User", "DefaultOrganizationUnitId", "OrganizationUnit");
            DropIndex("User", new[] { "DefaultOrganizationUnitId" });
            CreateIndex("InfUsage", "ItInterfaceId");
            DropColumn("User", "DefaultOrganizationUnitId");
        }

        public override void Down()
        {
            AddColumn("User", "DefaultOrganizationUnitId", c => c.Int());
            DropIndex("InfUsage", new[] { "ItInterfaceId" });
            CreateIndex("User", "DefaultOrganizationUnitId");
            AddForeignKey("User", "DefaultOrganizationUnitId", "OrganizationUnit");
        }
    }
}
<commit_msg>The index ItInterfaceId apparently already exist on the test and prod databases so removing it. Not sure why the dev database is out of sync.<commit_after>namespace Infrastructure.DataAccess.Migrations
{
    using System;
    using System.Data.Entity.Migrations;

    public partial class DefaultOrgUnit : DbMigration
    {
        public override void Up()
        {
            DropForeignKey("User", "DefaultOrganizationUnitId", "OrganizationUnit");
            DropIndex("User", new[] { "DefaultOrganizationUnitId" });
            DropColumn("User", "DefaultOrganizationUnitId");
        }

        public override void Down()
        {
            AddColumn("User", "DefaultOrganizationUnitId", c => c.Int());
            CreateIndex("User", "DefaultOrganizationUnitId");
            AddForeignKey("User", "DefaultOrganizationUnitId", "OrganizationUnit");
        }
    }
}

{'fraction_non_alphanumeric': 0.11225658648339061, 'fraction_numerical': 0.0, 'mean_word_length': 2.882222222222222, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6988556', 'n_tokens_mistral': 447, 'n_tokens_neox': 437, 'n_words': 101}