public override void Down()
{
CreateTable(
"Participants",
c => new
{
Id = c.Int(nullable: false, identity: true),
ReviewId = c.Int(nullable: false),
UserId = c.Int(nullable: false),
Required = c.Boolean(nullable: false),
})
.PrimaryKey(t => t.Id);
DropColumn("FileChanges", "Discriminator");
CreateIndex("Participants", "UserId");
CreateIndex("Participants", "ReviewId");
AddForeignKey("Participants", "UserId", "Users", "Id");
AddForeignKey("Participants", "ReviewId", "Reviews", "Id", cascadeDelete: true);
}