public override void Up()
{
CreateTable(
"dbo.GamingGroupInvitation",
c => new
{
Id = c.Guid(nullable: false),
GamingGroupId = c.Int(nullable: false),
InviteeEmail = c.String(maxLength: 255),
InvitingUserId = c.String(maxLength: 128),
DateSent = c.DateTime(nullable: false),
})
.PrimaryKey(t => t.Id)
.ForeignKey("dbo.AspNetUsers", t => t.InvitingUserId)
.ForeignKey("dbo.GamingGroup", t => t.GamingGroupId, cascadeDelete: true)
.Index(t => t.GamingGroupId)
.Index(t => t.InvitingUserId);
}