ReviewR.Web.Migrations.GoBackToTablePerHierarchyForFileChange.Up C# (CSharp) Method

Up() public method

public Up ( ) : void
return void
        public override void Up()
        {
            DropForeignKey("Participants", "ReviewId", "Reviews");
            DropForeignKey("Participants", "UserId", "Users");
            DropIndex("Participants", new[] { "ReviewId" });
            DropIndex("Participants", new[] { "UserId" });
            AddColumn("FileChanges", "Discriminator", c => c.String(nullable: false, maxLength: 128));
            DropTable("Participants");
        }
GoBackToTablePerHierarchyForFileChange